Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::default_channel_converter Struct Reference

Same as channel_converter, except it takes the destination channel by reference, which allows us to move the templates from the class level to the method level. More...

#include <channel_algorithm.hpp>

Public Member Functions

template<typename Ch1 , typename Ch2 >
void operator() (const Ch1 &src, Ch2 &dst) const
 

Detailed Description

Same as channel_converter, except it takes the destination channel by reference, which allows us to move the templates from the class level to the method level.

This is important when invoking it on heterogeneous pixels.

Member Function Documentation

template<typename Ch1 , typename Ch2 >
void boost::gil::default_channel_converter::operator() ( const Ch1 &  src,
Ch2 &  dst 
) const
inline

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