Namespace color::akin

TOC

Description

Get corresponding or akin formats across different models.

List

cmy
Description
Hold CMY category that is aking to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::cmy;

Where category_name is non CMY category.
Example
typedef ::color::rgb< float > rgb_t;//!< Our RGB
typedef ::color::akin::cmy< rgb_t::category_type >::akin_type cmy_category_t;
typedef ::model< cmy_category_t > cmy_t;//!< CMY that match format of our RGB.

cmyk
Description
Hold CMYK category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::cmyk;

Where category_name is non CMYK category.
Example
::color::akin::cmyk< ::color::rgb< float >::category_type >::akin_type;
gray
Description
Hold gray category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::gray;

Where category_name is non Gray category.
Example
::color::akin::gray< ::color::rgb< float >::category_type >::akin_type;
hsl
Description
Hold HSL category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::HSL;

Where category_name is non HSL category.
Example
::color::akin::HSL< ::color::rgb< float >::category_type >::akin_type;
hsv
Description
Hold HSV category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::hsv;

Where category_name is non HSV category.
Example
::color::akin::hsv< ::color::rgb< float >::category_type >::akin_type;
rgb
Description
Hold RGB category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::rgb;

Where category_name is non RGB category.
Example
::color::akin::rgb< ::color::rgb< float >::category_type >::akin_type;
xyz
Description
Hold XYZ category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::xyz;

Where category_name is non XYZ category.
Example
::color::akin::xyz< ::color::rgb< float >::category_type >::akin_type;
yiq
Description
Hold YIQ category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::yiq;

Where category_name is non YIQ category.
Example
::color::akin::yiq< ::color::rgb< float >::category_type >::akin_type;
yuv
Description
Hold YUV category that is akin to provided category.
Declaration
template < typename category_name >
  struct ::color::akin::yuv;

Where category_name is non YUV category.
Example
::color::akin::yuv< ::color::rgb< float >::category_type >::akin_type;