default_color_converter_impl< rgb_t, cmyk_t > Struct Template Reference
[Color Space Converion]

#include <color_convert.hpp>

List of all members.


Detailed Description

template<>
struct boost::gil::default_color_converter_impl< rgb_t, cmyk_t >

RGB to CMYK (not the fastest code in the world).

k = min(1 - r, 1 - g, 1 - b) c = (1 - r - k) / (1 - k) m = (1 - g - k) / (1 - k) y = (1 - b - k) / (1 - k)


Public Member Functions

template<typename P1, typename P2>
void operator() (const P1 &src, P2 &dst) const

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

Generated on Sat May 2 13:50:17 2009 for Generic Image Library by  doxygen 1.5.6