Boost GIL


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

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

#include <pixel.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&);
};
void color_convert(const SrcP &src, DstP &dst)
helper function for converting one pixel to another using GIL default color-converters where ScrP mod...
Definition: color_convert.hpp:342

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