Boost GIL

pixels_are_compatible< P1, P2 > Struct Template Reference

Returns whether two pixels are compatible. More...

#include <gil_concept.hpp>

Inherits and_< color_spaces_are_compatible< color_space_type< P1 >::type, color_space_type< P2 >::type >::type, detail::channels_are_pairwise_compatible< P1, P2, num_channels< P1 >::value-1 > >.

Detailed Description

template<typename P1, typename P2>
struct boost::gil::pixels_are_compatible< P1, P2 >

Returns whether two pixels are compatible.

Pixels are compatible if their channels and color space types are compatible. Compatible pixels can be assigned and copy constructed from one another.

The documentation for this struct was generated from the following file: