TuttleOFX
1
|
Namespaces | |
namespace | cmyk_colorspace |
namespace | components |
namespace | gradation |
All supported gradations. | |
namespace | hsl_colorspace |
namespace | layout |
namespace | lms_colorspace |
namespace | primaries |
All supported primaries. | |
namespace | rgb_colorspace |
namespace | temperature |
namespace | transfer |
namespace | xyz_colorspace |
Data Structures | |
struct | channel_gradientDirection_t |
Compute the direction from the (x, y) coordinates of the input vector. More... | |
struct | channel_gradientDirectionAbs_t |
Compute the direction from the (x, y) coordinates of the input vector, limited between 0 and PI. More... | |
struct | channel_invert_t |
struct | pixel_invert_colors_t |
Invert colored channel values. So invert all channel values except alpha channel. More... | |
struct | pixel_invert_t |
Invert channel values. More... | |
struct | channel_norm_t |
Compute the norm from the (x, y) coordinates of the input vector. More... | |
struct | channel_normManhattan_t |
Compute the Manhattan norm from the (x, y) coordinates of the input vector. More... | |
struct | IColorParams |
Base class of all color parameters class. More... | |
struct | None |
Fake class to finish hierachy. More... | |
struct | IsRootReference |
Fake class to finish hierachy. More... | |
struct | CMYKParams |
struct | CMYK |
CMYK colorspace description. More... | |
struct | HSLParams |
struct | HSL |
HSL colorspace description. More... | |
struct | LMSParams |
struct | LMS |
LMS colorspace description. More... | |
struct | RGBParams |
struct | RGB |
RGB colorspace description. More... | |
struct | XYZParams |
struct | XYZ |
XYZ colorspace description. More... | |
struct | color_dependencies |
struct | color_dependencies< IsRootReference > |
struct | color_to_colorparams_mplfunc |
struct | FullColorParams |
struct | color_to_pixel |
struct | color_transformation_types_impl |
Utility class to compute all internal types needed by color_transformation function. More... | |
struct | color_transformation_static_for_impl_rec |
struct | color_transformation_static_for_impl_rec< ColorsFromRoot, 3, ChannelType, fromRoot > |
struct | color_transformation_static_for_impl |
struct | color_transformation_static_for_impl< ColorsFromRoot, 2, ChannelType, fromRoot > |
struct | color_transformation_static_for_impl< ColorsFromRoot, 1, ChannelType, fromRoot > |
struct | color_transformation_static_for |
Intern function of color_transformation, which statically iterate over the colorspace dependencies. More... | |
struct | channel_color_gradation_t |
change the color gradation More... | |
struct | channel_color_gradation_t< Channel, INOUT, INOUT > |
struct | channel_color_gradation_t< Channel, gradation::sRGB, gradation::Linear > |
sRGB to Lin More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::sRGB > |
Lin to sRGB. More... | |
struct | channel_color_gradation_t< Channel, gradation::Rec709, gradation::Linear > |
Rec709 to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::Rec709 > |
Lin to Rec709. More... | |
struct | channel_color_gradation_t< Channel, gradation::Cineon, gradation::Linear > |
Cineon to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::Cineon > |
Lin to Cineon. More... | |
struct | channel_color_gradation_t< Channel, gradation::Gamma, gradation::Linear > |
Gamma to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::Gamma > |
Lin to Gamma. More... | |
struct | channel_color_gradation_t< Channel, gradation::Panalog, gradation::Linear > |
Panalog to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::Panalog > |
Lin to Panalog. More... | |
struct | channel_color_gradation_t< Channel, gradation::REDLog, gradation::Linear > |
REDLog to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::REDLog > |
Lin to REDLog. More... | |
struct | channel_color_gradation_t< Channel, gradation::ViperLog, gradation::Linear > |
ViperLog to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::ViperLog > |
Lin to ViperLog. More... | |
struct | channel_color_gradation_t< Channel, gradation::REDSpace, gradation::Linear > |
REDSpace to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::REDSpace > |
Lin to REDSpace. More... | |
struct | channel_color_gradation_t< Channel, gradation::AlexaV3LogC, gradation::Linear > |
AlexaV3LogC to Lin. More... | |
struct | channel_color_gradation_t< Channel, gradation::Linear, gradation::AlexaV3LogC > |
Lin to AlexaV3LogC. More... | |
struct | pixel_color_gradation_t |
struct | transform_pixel_color_gradation_t |
struct | pixel_color_layout_t |
struct | transform_pixel_color_layout_t |
struct | channel_color_temperature_t |
change the color temperature More... | |
struct | channel_color_temperature_t< Channel, INOUT, INOUT > |
struct | channel_color_temperature_t< Channel, temperature::T_A, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_A > |
struct | channel_color_temperature_t< Channel, temperature::T_B, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_B > |
struct | channel_color_temperature_t< Channel, temperature::T_C, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_C > |
struct | channel_color_temperature_t< Channel, temperature::T_D50, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_D50 > |
struct | channel_color_temperature_t< Channel, temperature::T_D55, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_D55 > |
struct | channel_color_temperature_t< Channel, temperature::T_D58, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_D58 > |
struct | channel_color_temperature_t< Channel, temperature::T_D65, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_D65 > |
struct | channel_color_temperature_t< Channel, temperature::T_D75, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_D75 > |
struct | channel_color_temperature_t< Channel, temperature::T_9300, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_9300 > |
struct | channel_color_temperature_t< Channel, temperature::T_E, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_E > |
struct | channel_color_temperature_t< Channel, temperature::T_F2, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_F2 > |
struct | channel_color_temperature_t< Channel, temperature::T_F7, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_F7 > |
struct | channel_color_temperature_t< Channel, temperature::T_F11, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_F11 > |
struct | channel_color_temperature_t< Channel, temperature::T_DCIP3, temperature::T_INTER > |
struct | channel_color_temperature_t< Channel, temperature::T_INTER, temperature::T_DCIP3 > |
struct | pixel_color_temperature_t |
struct | transform_pixel_color_temperature_t |
Typedefs | |
typedef boost::mpl::vector4 < cmyk_colorspace::cyan_t, cmyk_colorspace::magenta_t, cmyk_colorspace::yellow_t, cmyk_colorspace::key_t > | cmyk_colorspace_t |
typedef layout< cmyk_colorspace_t > | cmyk_layout_t |
typedef ::boost::mpl::vector3 < hsl_colorspace::hue_t, hsl_colorspace::saturation_t, hsl_colorspace::lightness_t > | hsl_colorspace_t |
typedef ::boost::gil::layout < hsl_colorspace_t > | hsl_layout_t |
typedef boost::mpl::vector3 < lms_colorspace::L_t, lms_colorspace::M_t, lms_colorspace::S_t > | lms_colorspace_t |
typedef layout< lms_colorspace_t > | lms_layout_t |
typedef ::boost::gil::rgb_t | rgb_colorspace_t |
typedef ::boost::mpl::vector3 < xyz_colorspace::X_t, xyz_colorspace::Y_t, xyz_colorspace::Z_t > | xyz_colorspace_t |
typedef layout< xyz_colorspace_t > | xyz_layout_t |
Functions | |
template<class Matrix5x5 > | |
Matrix5x5 | scaleMatrix (const typename Matrix5x5::value_type rScale, const typename Matrix5x5::value_type gScale, const typename Matrix5x5::value_type bScale, const typename Matrix5x5::value_type aScale) |
Make a color scale matrix. | |
template<class Matrix5x5 > | |
Matrix5x5 | contrastMatrix (const typename Matrix5x5::value_type rScale, const typename Matrix5x5::value_type gScale, const typename Matrix5x5::value_type bScale, const typename Matrix5x5::value_type aScale) |
Make a contrast matrix. | |
template<class Matrix5x5 > | |
Matrix5x5 | saturationMatrix (const typename Matrix5x5::value_type saturation) |
Make a saturation matrix. | |
template<class Matrix5x5 > | |
Matrix5x5 | offsetMatrix (const typename Matrix5x5::value_type rOffset, const typename Matrix5x5::value_type gOffset, const typename Matrix5x5::value_type bOffset, const typename Matrix5x5::value_type aOffset) |
Offset r, g, and b. | |
template<class Matrix5x5 > | |
Matrix5x5 | xRotateMatrix (const typename Matrix5x5::value_type rs, const typename Matrix5x5::value_type rc) |
rotate about the x (red) axis. | |
template<class Matrix5x5 > | |
Matrix5x5 | yRotateMatrix (const typename Matrix5x5::value_type rs, const typename Matrix5x5::value_type rc) |
Rotate about the y (green) axis. | |
template<class Matrix5x5 > | |
Matrix5x5 | zRotateMatrix (const typename Matrix5x5::value_type rs, const typename Matrix5x5::value_type rc) |
Rotate about the z (blue) axis. | |
template<class Matrix5x5 > | |
Matrix5x5 | zShearMatrix (const typename Matrix5x5::value_type dx, const typename Matrix5x5::value_type dy) |
Shear z using x and y. | |
template<class Matrix5x5 > | |
Matrix5x5 | simpleHueRotateMatrix (const typename Matrix5x5::value_type rotate) |
Simple hue rotation. This changes luminance. | |
template<class Matrix5x5 > | |
void | xformpnt (const Matrix5x5 &matrix, const typename Matrix5x5::value_type x, const typename Matrix5x5::value_type y, const typename Matrix5x5::value_type z, typename Matrix5x5::value_type *tx, typename Matrix5x5::value_type *ty, typename Matrix5x5::value_type *tz) |
Simple hue rotation. This changes luminance. | |
template<class Matrix5x5 > | |
Matrix5x5 | hueRotateMatrix (const typename Matrix5x5::value_type rotate) |
rotate the hue, while maintaining luminance. | |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const CMYKParams ¶ms, const boost::gil::pixel< SChannelType, CMYK::layout > &src, boost::gil::pixel< DChannelType, RGB::layout > &dst) |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const CMYKParams ¶ms, const boost::gil::pixel< SChannelType, RGB::layout > &src, boost::gil::pixel< DChannelType, CMYK::layout > &dst) |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const HSLParams ¶ms, const boost::gil::pixel< SChannelType, HSL::layout > &src, boost::gil::pixel< DChannelType, RGB::layout > &dst) |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const HSLParams ¶ms, const boost::gil::pixel< SChannelType, RGB::layout > &src, boost::gil::pixel< DChannelType, HSL::layout > &dst) |
BOOST_MPL_ASSERT ((::boost::mpl::equal< ::boost::mpl::vector< XYZ, RGB, HSL >, color_dependencies< HSL >::from_root >)) | |
BOOST_MPL_ASSERT ((::boost::mpl::equal< ::boost::mpl::vector< HSL, RGB, XYZ >, color_dependencies< HSL >::to_root >)) | |
BOOST_MPL_ASSERT ((::boost::mpl::equal< ::boost::mpl::vector< XYZ, RGB >,::boost::mpl::at_c< color_dependencies< HSL >::color_steps_from_root, 0 >::type >)) | |
BOOST_MPL_ASSERT ((::boost::mpl::equal< ::boost::mpl::vector< RGB, HSL >,::boost::mpl::at_c< color_dependencies< HSL >::color_steps_from_root, 1 >::type >)) | |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const LMSParams ¶ms, const boost::gil::pixel< SChannelType, LMS::layout > &src, boost::gil::pixel< DChannelType, XYZ::layout > &dst) |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const LMSParams ¶ms, const boost::gil::pixel< SChannelType, XYZ::layout > &src, boost::gil::pixel< DChannelType, LMS::layout > &dst) |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const RGBParams ¶ms, const boost::gil::pixel< SChannelType, RGB::layout > &src, boost::gil::pixel< DChannelType, XYZ::layout > &dst) |
template<typename SChannelType , typename DChannelType > | |
void | color_transformation_step (const RGBParams ¶ms, const boost::gil::pixel< SChannelType, XYZ::layout > &src, boost::gil::pixel< DChannelType, RGB::layout > &dst) |
template<class Color , class ChannelType > | |
void | color_transformation_to_root (const FullColorParams< Color > ¶ms, const boost::gil::pixel< ChannelType, typename Color::layout > &src, boost::gil::pixel< ChannelType, XYZ::layout > &dst) |
template<class Color , typename ChannelType > | |
void | color_transformation_from_root (const boost::gil::pixel< ChannelType, XYZ::layout > &src, const FullColorParams< Color > ¶ms, boost::gil::pixel< ChannelType, typename Color::layout > &dst) |
template<class SColor , class DColor , typename ChannelType > | |
void | 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. | |
template<class GradationIN , class GradationOUT , class View > | |
void | gradation_convert_view (const View &src, View &dst, const GradationIN &gradationIn=GradationIN(), const GradationOUT &gradationOut=GradationOUT()) |
template<class GradationIN , class GradationOUT , class Pixel > | |
void | gradation_convert_pixel (const Pixel &src, Pixel &dst, const GradationIN &gradationIn=GradationIN(), const GradationOUT &gradationOut=GradationOUT()) |
template<class LayoutIN , class LayoutOUT , class View > | |
void | layout_convert_view (const View &src, View &dst, const LayoutIN &layoutIn=LayoutIN(), const LayoutOUT &layoutOut=LayoutOUT()) |
template<class LayoutIN , class LayoutOUT , class Pixel > | |
void | layout_convert_pixel (const Pixel &src, Pixel &dst, const LayoutIN &layoutIn=LayoutIN(), const LayoutOUT &layoutOut=LayoutOUT()) |
template<class TemperatureIN , class TemperatureOUT , class View > | |
void | temperature_convert_view (const View &src, View &dst, const TemperatureIN &temperatureIn=TemperatureIN(), const TemperatureOUT &temperatureOut=TemperatureOUT()) |
template<class TemperatureIN , class TemperatureOUT , class Pixel > | |
void | temperature_convert_pixel (const Pixel &src, Pixel &dst, const TemperatureIN &temperatureIn=TemperatureIN(), const TemperatureOUT &temperatureOut=TemperatureOUT()) |
Variables | |
static const double | s_redLum = 0.3086 |
static const double | s_greenLum = 0.6094 |
static const double | s_blueLum = 0.0820 |
typedef boost::mpl::vector4< cmyk_colorspace::cyan_t, cmyk_colorspace::magenta_t, cmyk_colorspace::yellow_t, cmyk_colorspace::key_t > terry::color::cmyk_colorspace_t |
typedef layout<cmyk_colorspace_t> terry::color::cmyk_layout_t |
typedef ::boost::mpl::vector3< hsl_colorspace::hue_t, hsl_colorspace::saturation_t, hsl_colorspace::lightness_t > terry::color::hsl_colorspace_t |
typedef ::boost::gil::layout<hsl_colorspace_t> terry::color::hsl_layout_t |
typedef boost::mpl::vector3< lms_colorspace::L_t, lms_colorspace::M_t, lms_colorspace::S_t > terry::color::lms_colorspace_t |
typedef layout<lms_colorspace_t> terry::color::lms_layout_t |
typedef ::boost::gil::rgb_t terry::color::rgb_colorspace_t |
typedef ::boost::mpl::vector3< xyz_colorspace::X_t, xyz_colorspace::Y_t, xyz_colorspace::Z_t > terry::color::xyz_colorspace_t |
typedef layout<xyz_colorspace_t> terry::color::xyz_layout_t |
terry::color::BOOST_MPL_ASSERT | ( | (::boost::mpl::equal< ::boost::mpl::vector< XYZ, RGB, HSL >, color_dependencies< HSL >::from_root >) | ) |
terry::color::BOOST_MPL_ASSERT | ( | (::boost::mpl::equal< ::boost::mpl::vector< HSL, RGB, XYZ >, color_dependencies< HSL >::to_root >) | ) |
terry::color::BOOST_MPL_ASSERT | ( | (::boost::mpl::equal< ::boost::mpl::vector< XYZ, RGB >,::boost::mpl::at_c< color_dependencies< HSL >::color_steps_from_root, 0 >::type >) | ) |
terry::color::BOOST_MPL_ASSERT | ( | (::boost::mpl::equal< ::boost::mpl::vector< RGB, HSL >,::boost::mpl::at_c< color_dependencies< HSL >::color_steps_from_root, 1 >::type >) | ) |
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.
Definition at line 382 of file colorspace.hpp.
Referenced by BOOST_AUTO_TEST_CASE().
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 | ||
) |
Definition at line 365 of file colorspace.hpp.
void terry::color::color_transformation_step | ( | const RGBParams & | params, |
const boost::gil::pixel< SChannelType, RGB::layout > & | src, | ||
boost::gil::pixel< DChannelType, XYZ::layout > & | dst | ||
) |
Definition at line 44 of file rgb.hpp.
References terry::numeric::pixel_zeros().
void terry::color::color_transformation_step | ( | const RGBParams & | params, |
const boost::gil::pixel< SChannelType, XYZ::layout > & | src, | ||
boost::gil::pixel< DChannelType, RGB::layout > & | dst | ||
) |
Definition at line 50 of file rgb.hpp.
References terry::numeric::pixel_zeros().
void terry::color::color_transformation_step | ( | const LMSParams & | params, |
const boost::gil::pixel< SChannelType, LMS::layout > & | src, | ||
boost::gil::pixel< DChannelType, XYZ::layout > & | dst | ||
) |
Definition at line 55 of file lms.hpp.
References terry::numeric::pixel_zeros().
void terry::color::color_transformation_step | ( | const HSLParams & | params, |
const boost::gil::pixel< SChannelType, HSL::layout > & | src, | ||
boost::gil::pixel< DChannelType, RGB::layout > & | dst | ||
) |
Definition at line 56 of file hsl.hpp.
References terry::numeric::pixel_zeros().
void terry::color::color_transformation_step | ( | const CMYKParams & | params, |
const boost::gil::pixel< SChannelType, CMYK::layout > & | src, | ||
boost::gil::pixel< DChannelType, RGB::layout > & | dst | ||
) |
Definition at line 59 of file cmyk.hpp.
References terry::numeric::pixel_zeros().
Referenced by terry::color::color_transformation_static_for_impl_rec< ColorsFromRoot, sizeLeft, ChannelType, fromRoot >::operator()(), terry::color::color_transformation_static_for_impl_rec< ColorsFromRoot, 3, ChannelType, fromRoot >::operator()(), and terry::color::color_transformation_static_for_impl< ColorsFromRoot, 2, ChannelType, fromRoot >::operator()().
void terry::color::color_transformation_step | ( | const LMSParams & | params, |
const boost::gil::pixel< SChannelType, XYZ::layout > & | src, | ||
boost::gil::pixel< DChannelType, LMS::layout > & | dst | ||
) |
Definition at line 61 of file lms.hpp.
References terry::numeric::pixel_zeros().
void terry::color::color_transformation_step | ( | const HSLParams & | params, |
const boost::gil::pixel< SChannelType, RGB::layout > & | src, | ||
boost::gil::pixel< DChannelType, HSL::layout > & | dst | ||
) |
Definition at line 62 of file hsl.hpp.
References tuttle::max(), and tuttle::min().
void terry::color::color_transformation_step | ( | const CMYKParams & | params, |
const boost::gil::pixel< SChannelType, RGB::layout > & | src, | ||
boost::gil::pixel< DChannelType, CMYK::layout > & | dst | ||
) |
Definition at line 65 of file cmyk.hpp.
References terry::numeric::pixel_zeros().
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 | ||
) |
Definition at line 350 of file colorspace.hpp.
Matrix5x5 terry::color::contrastMatrix | ( | const typename Matrix5x5::value_type | rScale, |
const typename Matrix5x5::value_type | gScale, | ||
const typename Matrix5x5::value_type | bScale, | ||
const typename Matrix5x5::value_type | aScale | ||
) |
Make a contrast matrix.
Definition at line 67 of file matrix.hpp.
void terry::color::gradation_convert_pixel | ( | const Pixel & | src, |
Pixel & | dst, | ||
const GradationIN & | gradationIn = GradationIN() , |
||
const GradationOUT & | gradationOut = GradationOUT() |
||
) |
Definition at line 925 of file gradation.hpp.
void terry::color::gradation_convert_view | ( | const View & | src, |
View & | dst, | ||
const GradationIN & | gradationIn = GradationIN() , |
||
const GradationOUT & | gradationOut = GradationOUT() |
||
) |
Definition at line 911 of file gradation.hpp.
References terry::algorithm::transform_pixels().
Matrix5x5 terry::color::hueRotateMatrix | ( | const typename Matrix5x5::value_type | rotate | ) |
rotate the hue, while maintaining luminance.
Definition at line 446 of file matrix.hpp.
References s_blueLum, s_greenLum, s_redLum, and xformpnt().
void terry::color::layout_convert_pixel | ( | const Pixel & | src, |
Pixel & | dst, | ||
const LayoutIN & | layoutIn = LayoutIN() , |
||
const LayoutOUT & | layoutOut = LayoutOUT() |
||
) |
Definition at line 95 of file layout.hpp.
void terry::color::layout_convert_view | ( | const View & | src, |
View & | dst, | ||
const LayoutIN & | layoutIn = LayoutIN() , |
||
const LayoutOUT & | layoutOut = LayoutOUT() |
||
) |
Definition at line 86 of file layout.hpp.
References terry::algorithm::transform_pixels().
Matrix5x5 terry::color::offsetMatrix | ( | const typename Matrix5x5::value_type | rOffset, |
const typename Matrix5x5::value_type | gOffset, | ||
const typename Matrix5x5::value_type | bOffset, | ||
const typename Matrix5x5::value_type | aOffset | ||
) |
Offset r, g, and b.
Definition at line 165 of file matrix.hpp.
Matrix5x5 terry::color::saturationMatrix | ( | const typename Matrix5x5::value_type | saturation | ) |
Make a saturation matrix.
Definition at line 112 of file matrix.hpp.
References s_blueLum, s_greenLum, and s_redLum.
Matrix5x5 terry::color::scaleMatrix | ( | const typename Matrix5x5::value_type | rScale, |
const typename Matrix5x5::value_type | gScale, | ||
const typename Matrix5x5::value_type | bScale, | ||
const typename Matrix5x5::value_type | aScale | ||
) |
Make a color scale matrix.
Definition at line 22 of file matrix.hpp.
Matrix5x5 terry::color::simpleHueRotateMatrix | ( | const typename Matrix5x5::value_type | rotate | ) |
Simple hue rotation. This changes luminance.
Definition at line 382 of file matrix.hpp.
References zRotateMatrix().
void terry::color::temperature_convert_pixel | ( | const Pixel & | src, |
Pixel & | dst, | ||
const TemperatureIN & | temperatureIn = TemperatureIN() , |
||
const TemperatureOUT & | temperatureOut = TemperatureOUT() |
||
) |
Definition at line 782 of file temperature.hpp.
void terry::color::temperature_convert_view | ( | const View & | src, |
View & | dst, | ||
const TemperatureIN & | temperatureIn = TemperatureIN() , |
||
const TemperatureOUT & | temperatureOut = TemperatureOUT() |
||
) |
Definition at line 773 of file temperature.hpp.
References terry::algorithm::transform_pixels().
void terry::color::xformpnt | ( | const Matrix5x5 & | matrix, |
const typename Matrix5x5::value_type | x, | ||
const typename Matrix5x5::value_type | y, | ||
const typename Matrix5x5::value_type | z, | ||
typename Matrix5x5::value_type * | tx, | ||
typename Matrix5x5::value_type * | ty, | ||
typename Matrix5x5::value_type * | tz | ||
) |
Simple hue rotation. This changes luminance.
Definition at line 428 of file matrix.hpp.
Referenced by hueRotateMatrix().
Matrix5x5 terry::color::xRotateMatrix | ( | const typename Matrix5x5::value_type | rs, |
const typename Matrix5x5::value_type | rc | ||
) |
rotate about the x (red) axis.
Definition at line 210 of file matrix.hpp.
Matrix5x5 terry::color::yRotateMatrix | ( | const typename Matrix5x5::value_type | rs, |
const typename Matrix5x5::value_type | rc | ||
) |
Rotate about the y (green) axis.
Definition at line 253 of file matrix.hpp.
Matrix5x5 terry::color::zRotateMatrix | ( | const typename Matrix5x5::value_type | rs, |
const typename Matrix5x5::value_type | rc | ||
) |
Rotate about the z (blue) axis.
Definition at line 296 of file matrix.hpp.
Referenced by simpleHueRotateMatrix().
Matrix5x5 terry::color::zShearMatrix | ( | const typename Matrix5x5::value_type | dx, |
const typename Matrix5x5::value_type | dy | ||
) |
Shear z using x and y.
Definition at line 339 of file matrix.hpp.
const double terry::color::s_blueLum = 0.0820 [static] |
Definition at line 15 of file matrix.hpp.
Referenced by hueRotateMatrix(), and saturationMatrix().
const double terry::color::s_greenLum = 0.6094 [static] |
Definition at line 14 of file matrix.hpp.
Referenced by hueRotateMatrix(), and saturationMatrix().
const double terry::color::s_redLum = 0.3086 [static] |
Definition at line 13 of file matrix.hpp.
Referenced by hueRotateMatrix(), and saturationMatrix().