Generic Image Library: Algorithms and Utility Functions

###  | #  |

- Main Page
- Modules
- Namespaces
- Classes
- Files

Modules | Classes
Algorithms and Utility Functions
Channel

Channel algorithms, metafunctions and utility functions. More...

## Modules
| channel_convert
| Converting from one channel type to anotherConversion is done as a simple linear mapping of one channel range to the other, such that the minimum/maximum value of the source maps to the minimum/maximum value of the destination. One implication of this is that the value 0 of signed channels may not be preserved!
| channel_multiply
| Multiplying unsigned channel values of the same type. Performs scaled multiplication result = a * b / max_value.
| channel_invert
| Returns the inverse of a channel. result = max_value - x + min_value.

## Classes
struct | channels_are_compatible< T1, T2 >
| Predicate metafunction returning whether two channels are compatibleChannels are considered compatible if their value types (ignoring constness and references) are the same. More...

## Detailed Description

Channel algorithms, metafunctions and utility functions.