Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::detail::rgb_to_luminance_fn< RedChannel, GreenChannel, BlueChannel, GrayChannelValue > Struct Template Reference

red * .3 + green * .59 + blue * .11 + .5 More...

#include <color_convert.hpp>

Public Member Functions

GrayChannelValue operator() (const RedChannel &red, const GreenChannel &green, const BlueChannel &blue) const
 

Detailed Description

template<typename RedChannel, typename GreenChannel, typename BlueChannel, typename GrayChannelValue>
struct boost::gil::detail::rgb_to_luminance_fn< RedChannel, GreenChannel, BlueChannel, GrayChannelValue >

red * .3 + green * .59 + blue * .11 + .5

Member Function Documentation

template<typename RedChannel , typename GreenChannel , typename BlueChannel , typename GrayChannelValue >
GrayChannelValue boost::gil::detail::rgb_to_luminance_fn< RedChannel, GreenChannel, BlueChannel, GrayChannelValue >::operator() ( const RedChannel &  red,
const GreenChannel &  green,
const BlueChannel &  blue 
) const
inline

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