red * .3 + green * .59 + blue * .11 + .5
More...
#include <color_convert.hpp>
|
GrayChannelValue | operator() (const RedChannel &red, const GreenChannel &green, const BlueChannel &blue) const |
|
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
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: