Adobe Systems, Inc.

color_convert.hpp File Reference

Color space conversion utilities. More...

#include "gil_config.hpp"
#include "channel.hpp"
#include "gray.hpp"
#include "rgb.hpp"
#include "rgba.hpp"
#include "cmyk.hpp"
#include "lab.hpp"
#include "hsb.hpp"
#include "utilities.hpp"
#include <functional>

Go to the source code of this file.


Namespaces

namespace  detail

Classes

struct  detail::_color_converter< T1, C, T2, C >
 When the color space is the same, color convertion performs channel depth conversion. More...
struct  detail::_color_converter< T1, cmyk_t, T2, gray_t >
 CMYK to Gray. More...
struct  detail::_color_converter< T1, cmyk_t, T2, rgb_t >
 CMYK to RGB (not the fastest code in the world). More...
struct  detail::_color_converter< T1, gray_t, T2, cmyk_t >
 Gray to CMYK. More...
struct  detail::_color_converter< T1, gray_t, T2, rgb_t >
 Gray to RGB. More...
struct  detail::_color_converter< T1, rgb_t, T2, cmyk_t >
 RGB to CMYK (not the fastest code in the world). More...
struct  detail::_color_converter< T1, rgb_t, T2, gray_t >
 RGB to Gray. More...
struct  color_convert_deref_fn< DST_P >
 Function object that dereferences a pixel iterator and returns the pixel, color converted to a given color space and channel depth. More...
struct  color_converter< DST_P >
 converting one pixel to another (using the DST=SRC format) More...

Functions

template<typename P1, typename P2>
void color_convert (const P1 &src, P2 &dst)
template<typename T>
detail::rgb_to_luminance (T r, T g, T b)
template<>
bits32f detail::rgb_to_luminance< bits32f > (bits32f r, bits32f g, bits32f b)

Detailed Description

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2006
Last updated on March 18, 2006
Support for fast and simple color conversion. Accurate color conversion using color profiles can be supplied separately in a dedicated module

Definition in file color_convert.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google