Boost GIL


Public Member Functions | Public Attributes | List of all members
PixelConvertibleConcept< SrcP, DstP > Struct Template Reference

Pixel convertible concept. More...

#include <gil_concept.hpp>

Public Member Functions

void constraints ()
 

Public Attributes

SrcP src
 
DstP dst
 

Detailed Description

template<typename SrcP, typename DstP>
struct boost::gil::PixelConvertibleConcept< SrcP, DstP >

Pixel convertible concept.

Convertibility is non-symmetric and implies that one pixel can be converted to another, approximating the color. Conversion is explicit and sometimes lossy.

template <PixelConcept SrcPixel, MutablePixelConcept DstPixel>
concept PixelConvertibleConcept {
void color_convert(const SrcPixel&, DstPixel&);
};

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