Boost GIL


Public Member Functions | List of all members
color_convert_deref_fn< SrcConstRefP, DstP, CC > Class Template Reference

Function object that given a source pixel, returns it converted to a given color space and channel depth. Models: PixelDereferenceAdaptorConcept. More...

#include <image_view_factory.hpp>

Inheritance diagram for color_convert_deref_fn< SrcConstRefP, DstP, CC >:
deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC >, DstP, DstP, const DstP &, SrcConstRefP, DstP, false >

Public Member Functions

 color_convert_deref_fn (CC cc_in)
 
DstP operator() (SrcConstRefP srcP) const
 
- Public Member Functions inherited from deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC >, DstP, DstP, const DstP &, SrcConstRefP, DstP, false >
 BOOST_STATIC_CONSTANT (bool, is_mutable=IsMutable)
 

Additional Inherited Members

- Public Types inherited from deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC >, DstP, DstP, const DstP &, SrcConstRefP, DstP, false >
typedef SrcConstRefP argument_type
 
typedef DstP result_type
 
typedef color_convert_deref_fn
< SrcConstRefP, DstP, CC > 
const_t
 
typedef DstP value_type
 
typedef DstP reference
 
typedef const DstP & const_reference
 

Detailed Description

template<typename SrcConstRefP, typename DstP, typename CC = default_color_converter>
class boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >

Function object that given a source pixel, returns it converted to a given color space and channel depth. Models: PixelDereferenceAdaptorConcept.

Useful in constructing a color converted view over a given image view


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