Adobe Systems, Inc.

Color Bases
[Pixel]

A bundle of channel values/references/pointers of a given color space. More...

Classes

struct  detail::color_base< T, abgr_t >
 alpha, blue, green, and red channel values/references/pointers More...
struct  detail::color_base< T, argb_t >
 alpha, red, green, and blue channel values/references/pointers More...
struct  detail::color_base< T, bgr_t >
 blue, green and red channel values More...
struct  detail::color_base< T, bgra_t >
 blue, green, red, and alpha channel values/references/pointers More...
struct  detail::color_base< T, cmyk_t >
 cyan, magenta, yellow and black channel values/references/pointers More...
struct  detail::color_base< T, gray_t >
 gray channel value More...
struct  detail::color_base< T, hsb_t >
 luminance, a and b channel values/references/pointers More...
struct  detail::color_base< T, lab_t >
 luminance, a and b channel values/references/pointers More...
struct  detail::color_base< T, rgb_t >
 red, green and blue channel values/references/pointers More...
struct  detail::color_base< T, rgba_t >
 red, green, blue and alpha channel values/references/pointers More...

Detailed Description

The class is used in three different cases:
  • As a base for pixel values, in which case it instantiates into a set of channel values whose relative ordering is specified by the color base
  • As a base for the proxy class representing a reference to a planar pixel, in which case it instantiates into a set of channel references
  • In the construction of planar_ptr, the proxy class representing a pointer to a planar pixel, in which case in instantiates into a set of channel pointers

Color bases also provide color-space independent accessors to the channel values/references/pointers, which allows us to perform color-space-independent channel operations (see pixel_base for more).

color_base specializations are provided for each color space. See concrete specializations for more.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google