Algorithms and Utility Functions

Detailed Description

Channel algorithms, metafunctions and utility functions.


 Converting from one channel type to another


 Multiplying unsigned channel values of the same type. Performs scaled multiplication result = a * b / max_value.
 Returns the inverse of a channel. result = max_value - x + min_value.


struct  channels_are_compatible
 Predicate metafunction returning whether two channels are compatible

Channels are considered compatible if their value types (ignoring constness and references) are the same. More...
