Make further use of median() and replace ULIM and ULIMV (#3346)

This commit is contained in:
Flössie
2016-06-26 15:14:45 +02:00
parent d82956bbe5
commit 787a892737
6 changed files with 85 additions and 199 deletions

View File

@@ -42,12 +42,6 @@ inline _Tp LIM01(const _Tp& a)
return std::max(_Tp(0), std::min(a, _Tp(1)));
}
template<typename _Tp>
inline const _Tp ULIM(const _Tp& a, const _Tp& b, const _Tp& c)
{
return ((b < c) ? LIM(a, b, c) : LIM(a, c, b));
}
template<typename _Tp>
inline _Tp CLIP(const _Tp& a)
{