TuttleOFX  1
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

Definition at line 73 of file color_convert.hpp.


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]

Definition at line 74 of file color_convert.hpp.


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