typename channel_traits<ChannelDst>::reference operator()( typename channel_traits<ChannelSrc>::const_reference ch1, typename channel_traits<ChannelDst>::reference ch2 ) const { return ch2 = std::max( ChannelDst( ch1 ), ch2 ); }
GIL_FORCEINLINE typename channel_traits<ChannelDst>::reference operator()(const Scalar s, typename channel_traits<ChannelDst>::reference ch) const { return ch -= ChannelDst(s); }
GIL_FORCEINLINE typename channel_traits<ChannelDst>::reference operator()(typename channel_traits<ChannelSrc>::const_reference ch1, typename channel_traits<ChannelDst>::reference ch2) const { return ch2 -= ChannelDst(ch1); }
typename channel_traits<ChannelDst>::reference operator()( const Scalar& s, typename channel_traits<ChannelDst>::reference ch ) const { return ch += ChannelDst(s); }