TuttleOFX
1
|
GIL default color space conversions. More...
#include <functional>
#include <boost/gil/gil_config.hpp>
#include <boost/gil/channel_algorithm.hpp>
#include <boost/gil/pixel.hpp>
#include <boost/gil/gray.hpp>
#include <boost/gil/rgb.hpp>
#include <boost/gil/rgba.hpp>
#include <boost/gil/cmyk.hpp>
#include <boost/gil/metafunctions.hpp>
#include <boost/gil/utilities.hpp>
#include <boost/gil/color_base_algorithm.hpp>
Go to the source code of this file.
Data Structures | |
struct | boost::gil::default_color_converter_impl< C1, C2 > |
Color Convertion function object. To be specialized for every src/dst color space. More... | |
struct | boost::gil::default_color_converter_impl< C, C > |
When the color space is the same, color convertion performs channel depth conversion. More... | |
struct | boost::gil::detail::rgb_to_luminance_fn< RedChannel, GreenChannel, BlueChannel, GrayChannelValue > |
red * .3 + green * .59 + blue * .11 + .5 More... | |
struct | boost::gil::detail::rgb_to_luminance_fn< uint8_t, uint8_t, uint8_t, GrayChannelValue > |
struct | boost::gil::default_color_converter_impl< gray_t, rgb_t > |
Gray to RGB. More... | |
struct | boost::gil::default_color_converter_impl< gray_t, cmyk_t > |
Gray to CMYK. More... | |
struct | boost::gil::default_color_converter_impl< gray_t, C2 > |
Converting GRAY to any pixel type. Note: Supports homogeneous pixels only. More... | |
struct | boost::gil::default_color_converter_impl< rgb_t, gray_t > |
RGB to Gray. More... | |
struct | boost::gil::default_color_converter_impl< rgb_t, cmyk_t > |
RGB to CMYK (not the fastest code in the world) More... | |
struct | boost::gil::default_color_converter_impl< cmyk_t, rgb_t > |
CMYK to RGB (not the fastest code in the world) More... | |
struct | boost::gil::default_color_converter_impl< cmyk_t, gray_t > |
CMYK to Gray. More... | |
struct | boost::gil::default_color_converter_impl< cmyk_t, C2 > |
Converting CMYK to any pixel type. Note: Supports homogeneous pixels only. More... | |
struct | boost::gil::default_color_converter_impl< gray_t, rgba_t > |
Converting grayscale pixel type to RGBA. Note: Supports homogeneous pixels only. More... | |
struct | boost::gil::default_color_converter_impl< rgb_t, rgba_t > |
Converting grayscale pixel type to RGBA. Note: Supports homogeneous pixels only. More... | |
struct | boost::gil::default_color_converter_impl< rgba_t, C2 > |
Converting RGBA to any pixel type. Note: Supports homogeneous pixels only. More... | |
struct | boost::gil::default_color_converter_impl< rgba_t, rgba_t > |
Unfortunately RGBA to RGBA must be explicitly provided - otherwise we get ambiguous specialization error. More... | |
struct | boost::gil::default_color_converter |
class for color-converting one pixel to another More... | |
Namespaces | |
namespace | boost |
namespace | boost::gil |
namespace | boost::gil::detail |
Functions | |
template<typename GrayChannel , typename RedChannel , typename GreenChannel , typename BlueChannel > | |
channel_traits< GrayChannel > ::value_type | boost::gil::detail::rgb_to_luminance (const RedChannel &red, const GreenChannel &green, const BlueChannel &blue) |
template<typename Pixel > | |
channel_type< Pixel >::type | boost::gil::detail::alpha_or_max_impl (const Pixel &p, mpl::true_) |
template<typename Pixel > | |
channel_type< Pixel >::type | boost::gil::detail::alpha_or_max_impl (const Pixel &, mpl::false_) |
template<typename Pixel > | |
channel_type< Pixel >::type | boost::gil::alpha_or_max (const Pixel &p) |
template<typename SrcP , typename DstP > | |
void | boost::gil::color_convert (const SrcP &src, DstP &dst) |
helper function for converting one pixel to another using GIL default color-converters where ScrP models HomogeneousPixelConcept DstP models HomogeneousPixelValueConcept |
GIL default color space conversions.
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.