boost::gil::PixelsCompatibleConcept

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

Synopsis

template<
    typename P1,
    typename P2>
struct PixelsCompatibleConcept;

Description

concept PixelsCompatibleConcept<PixelConcept P1, PixelConcept P2>
    : ColorBasesCompatibleConcept<P1,P2> {
    // where for each K [0..size<P1>::value):
    //    ChannelsCompatibleConcept<kth_semantic_element_type<P1,K>::type, kth_semantic_element_type<P2,K>::type>;
};

Member Functions

Template Parameters

Name

Description

P1

Models PixelConcept

P2

Models PixelConcept

Created with MrDocs