rgb_to_luminance_fn Struct Template Reference

#include <color_convert.hpp>

List of all members.

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

Public Member Functions

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

The documentation for this struct was generated from the following file:
Generated on Thu Nov 8 21:53:24 2007 for Generic Image Library by  doxygen 1.4.4