TuttleOFX  1
colorspace.hpp File Reference
#include "colorspace/xyz.hpp"
#include <tuttle/common/utils/global.hpp>
#include <terry/basic_colors.hpp>
#include <terry/numeric/init.hpp>
#include <terry/numeric/operations.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/size.hpp>
#include <boost/mpl/push_back.hpp>
#include <boost/mpl/push_front.hpp>
#include <boost/mpl/pop_back.hpp>
#include <boost/mpl/pop_front.hpp>
#include <boost/mpl/transform.hpp>
#include <boost/mpl/transform_view.hpp>
#include <boost/mpl/zip_view.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/mpl/equal.hpp>
#include <boost/mpl/for_each.hpp>
#include <boost/mpl/at.hpp>
#include <boost/mpl/print.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/fusion/mpl.hpp>
#include <boost/fusion/container/vector.hpp>
#include <boost/fusion/include/mpl.hpp>
#include <boost/fusion/adapted/mpl.hpp>
#include <boost/fusion/sequence/intrinsic.hpp>
#include <boost/fusion/algorithm/iteration/for_each.hpp>
#include <boost/integer/static_min_max.hpp>
#include <boost/assert.hpp>
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <vector>
#include <typeinfo>
#include <iostream>
Include dependency graph for colorspace.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  terry::color::color_dependencies< color >
struct  terry::color::color_dependencies< color >::details
struct  terry::color::color_dependencies< IsRootReference >
struct  terry::color::color_to_colorparams_mplfunc< Color >
struct  terry::color::FullColorParams< Color >
struct  terry::color::color_to_pixel< Color, ChannelType >
struct  terry::color::color_transformation_types_impl< ColorsFromRoot, sizeLeft, ChannelType, fromRoot >
 Utility class to compute all internal types needed by color_transformation function. More...
struct  terry::color::color_transformation_static_for_impl_rec< ColorsFromRoot, sizeLeft, ChannelType, fromRoot >
struct  terry::color::color_transformation_static_for_impl_rec< ColorsFromRoot, 3, ChannelType, fromRoot >
struct  terry::color::color_transformation_static_for_impl< ColorsFromRoot, colorsSize, ChannelType, fromRoot >
struct  terry::color::color_transformation_static_for_impl< ColorsFromRoot, 2, ChannelType, fromRoot >
struct  terry::color::color_transformation_static_for_impl< ColorsFromRoot, 1, ChannelType, fromRoot >
struct  terry::color::color_transformation_static_for< ColorsFromRoot, ChannelType, fromRoot >
 Intern function of color_transformation, which statically iterate over the colorspace dependencies. More...

Namespaces

namespace  terry
namespace  terry::color

Functions

template<class Color , class ChannelType >
void terry::color::color_transformation_to_root (const FullColorParams< Color > &params, const boost::gil::pixel< ChannelType, typename Color::layout > &src, boost::gil::pixel< ChannelType, XYZ::layout > &dst)
template<class Color , typename ChannelType >
void terry::color::color_transformation_from_root (const boost::gil::pixel< ChannelType, XYZ::layout > &src, const FullColorParams< Color > &params, boost::gil::pixel< ChannelType, typename Color::layout > &dst)
template<class SColor , class DColor , typename ChannelType >
void terry::color::color_transformation (const FullColorParams< SColor > &sParams, const boost::gil::pixel< ChannelType, typename SColor::layout > &src, const FullColorParams< DColor > &dParams, boost::gil::pixel< ChannelType, typename DColor::layout > &dst)
 To convert a pixel from a colorspace to another.