Make further use of median()
and replace ULIM
and ULIMV
(#3346)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user