Generic Image Library: color_convert_deref_fn< SrcConstRefP, DstP, CC > Class Template Reference

###  | #  |

Public Member Functions | List of all members
color_convert_deref_fn< SrcConstRefP, DstP, CC > Class Template Reference
Image View » Algorithms and Utility Functions » Image View Transformations » color_converted_view | Pixel Dereference Adaptor » Models

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 >:

## Public Member Functions
| color_convert_deref_fn (CC cc_in)
DstP | operator() (SrcConstRefP srcP) const

## Additional Inherited Members
Public Types inherited from deref_base< color_convert_deref_fn< SrcConstRefP, DstP, default_color_converter >, DstP, DstP, const DstP &, SrcConstRefP, DstP, false >
using | argument_type
using | result_type
using | const_t
using | value_type
using | reference
using | const_reference
Static Public Attributes inherited from deref_base< color_convert_deref_fn< SrcConstRefP, DstP, default_color_converter >, DstP, DstP, const DstP &, SrcConstRefP, DstP, false >
static constexpr bool | is_mutable

## 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:

- image_view_factory.hpp