###

#

pixels_are_compatible< P1, P2 > Struct Template Reference
Pixel » Algorithms and Utility Functions

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. More...

`#include <pixel.hpp>`

Inherits mp_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.

Template Parameters

  P1 | Models PixelConcept
  P2 | Models PixelConcept

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

- concepts/pixel.hpp