Returns the inverse of a channel. result = max_value - x + min_value. More...
Functions | |
template<typename Channel > | |
auto | channel_invert (Channel x) -> typename channel_traits< Channel >::value_type |
Default implementation. Provide overloads for performance. | |
Returns the inverse of a channel. result = max_value - x + min_value.
Example: