Generic Image Library: Algorithms and Utility Functions

###  | #  |

Classes
Algorithms and Utility Functions
PixelBased

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

## Classes
struct | num_channels< PixelBased >
| Returns the number of channels of a pixel-based GIL construct. More...

## Detailed Description

PixelBased algorithms, metafunctions and utility functions.

Example:

static_assert(num_channels<rgb8_view_t>::value == 3, "");
static_assert(num_channels<cmyk16_planar_ptr_t>::value == 4, "");
static_assert(is_planar<rgb16_planar_image_t>::value));
static_assert(std::is_same<color_space_type<rgb8_planar_ref_t>::type, rgb_t>::value, "");
static_assert(std::is_same<channel_mapping_type<cmyk8_pixel_t>::type,
channel_mapping_type<rgba8_pixel_t>::type>::value, "");
static_assert(std::is_same<channel_type<bgr8_pixel_t>::type, uint8_t>::value, "");