TuttleOFX  1
tuttle::plugin::colorTransform Namespace Reference

Data Structures

struct  ColorTransformParams
struct  MatrixProdPixel
class  ColorTransformPlugin
 ColorTransform plugin. More...
class  ColorTransformProcess
 ColorTransform process. More...

Functions

template<class Matrix5x5 >
Matrix5x5 colorTransformMatrix (const ColorTransformParams &params)
template<class ChannelColor , class Pixel >
boost::gil::channel_type
< Pixel >::type 
get_color_if_exist_impl (const Pixel &p, const typename boost::gil::channel_type< Pixel >::type &, const boost::mpl::true_)
template<class ChannelColor , class Pixel >
boost::gil::channel_type
< Pixel >::type 
get_color_if_exist_impl (const Pixel &, const typename boost::gil::channel_type< Pixel >::type &elseValue, const boost::mpl::false_)
template<class ChannelColor , class Pixel >
boost::gil::channel_type
< Pixel >::type 
get_color_if_exist (const Pixel &p, const typename boost::gil::channel_type< Pixel >::type &elseValue)
template<std::size_t y, class Matrix5x5 , class Pixel >
boost::gil::channel_type
< Pixel >::type 
matrixProdChannelImpl (const Matrix5x5 &matrix, const Pixel &src)
template<class ChannelColor , std::size_t y, class Matrix5x5 , class Pixel >
void matrixProdChannelAssignImpl (Pixel &dst, const Matrix5x5 &matrix, const Pixel &src, const boost::mpl::true_)
template<class ChannelColor , std::size_t y, class Matrix5x5 , class Pixel >
void matrixProdChannelAssignImpl (Pixel &dst, const Matrix5x5 &matrix, const Pixel &src, const boost::mpl::false_)
template<class ChannelColor , std::size_t y, class Matrix5x5 , class Pixel >
void matrixProdChannelAssign (Pixel &dst, const Matrix5x5 &matrix, const Pixel &src)
 mDeclarePluginFactory (ColorTransformPluginFactory,{},{})

Variables

static const std::string kParamHueShift = "hueShift"
static const std::string kParamSaturation = "saturation"
static const std::string kParamBrightnessRGB = "brightnessGlobal"
static const std::string kParamBrightness = "brightness"
static const std::string kParamPivotRGB = "pivotGlobal"
static const std::string kParamPivot = "pivot"
static const std::string kParamContrastRGB = "contrastGlobal"
static const std::string kParamContrast = "contrast"
static const std::string kParamOffsetRGB = "offsetGlobal"
static const std::string kParamOffset = "offset"
static const bool kSupportTiles = false

Function Documentation

template<class ChannelColor , class Pixel >
boost::gil::channel_type<Pixel>::type tuttle::plugin::colorTransform::get_color_if_exist ( const Pixel &  p,
const typename boost::gil::channel_type< Pixel >::type &  elseValue 
)

Definition at line 116 of file ColorTransformAlgorithm.hpp.

template<class ChannelColor , class Pixel >
boost::gil::channel_type<Pixel>::type tuttle::plugin::colorTransform::get_color_if_exist_impl ( const Pixel &  p,
const typename boost::gil::channel_type< Pixel >::type &  ,
const boost::mpl::true_   
)

Definition at line 106 of file ColorTransformAlgorithm.hpp.

template<class ChannelColor , class Pixel >
boost::gil::channel_type<Pixel>::type tuttle::plugin::colorTransform::get_color_if_exist_impl ( const Pixel &  ,
const typename boost::gil::channel_type< Pixel >::type &  elseValue,
const boost::mpl::false_   
)

Definition at line 111 of file ColorTransformAlgorithm.hpp.

template<class ChannelColor , std::size_t y, class Matrix5x5 , class Pixel >
void tuttle::plugin::colorTransform::matrixProdChannelAssign ( Pixel &  dst,
const Matrix5x5 &  matrix,
const Pixel &  src 
) [inline]

Definition at line 149 of file ColorTransformAlgorithm.hpp.

template<class ChannelColor , std::size_t y, class Matrix5x5 , class Pixel >
void tuttle::plugin::colorTransform::matrixProdChannelAssignImpl ( Pixel &  dst,
const Matrix5x5 &  matrix,
const Pixel &  src,
const boost::mpl::true_   
) [inline]

Definition at line 140 of file ColorTransformAlgorithm.hpp.

template<class ChannelColor , std::size_t y, class Matrix5x5 , class Pixel >
void tuttle::plugin::colorTransform::matrixProdChannelAssignImpl ( Pixel &  dst,
const Matrix5x5 &  matrix,
const Pixel &  src,
const boost::mpl::false_   
) [inline]

Definition at line 146 of file ColorTransformAlgorithm.hpp.

template<std::size_t y, class Matrix5x5 , class Pixel >
boost::gil::channel_type<Pixel>::type tuttle::plugin::colorTransform::matrixProdChannelImpl ( const Matrix5x5 &  matrix,
const Pixel &  src 
) [inline]

Definition at line 125 of file ColorTransformAlgorithm.hpp.

tuttle::plugin::colorTransform::mDeclarePluginFactory ( ColorTransformPluginFactory  )

Variable Documentation

const bool tuttle::plugin::colorTransform::kSupportTiles = false [static]

Definition at line 12 of file ColorTransformPluginFactory.cpp.