Color Spaces - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Color Spaces for Use with ColorTools[Color]

 

Description

Examples

Description

• 

To construct a Color data structure, you must specify a color space. The coordinates of each color space are floats between 0 and 1 unless noted. The known color spaces are:

– 

RGB - Red Green Blue - hardware dependent additive color space

– 

Gs - Grayscale - a perceptually uniform monochrome space

– 

CMYK - Cyan Magenta Yellow Key - hardware dependent subtractive color space

– 

HSV - Hue Saturation Value - hardware dependent cylindrical color space

– 

HSL - Hue Saturation Lightness - hardware dependent cylindrical color space

– 

XYZ - CIE 1931 color space modeling retinal stimulus response

– 

xyY - CIE 1931 color space combining chromaticity (x,y) with retinal stimulus

– 

Lab - Lightness a-chroma b-chroma -CIE 1976 color space with Euclidean distance modeling perceptual distance, a is a green to magenta coordinate, while b is a blue to yellow coordinate

– 

Luv - Lightness u-chroma v-chroma - alternate CIE 1976 color space with Euclidean distance modeling perceptual distance, u is a green to magenta coordinate, while v is a blue to yellow coordinate

– 

LCHab - Lightness Chroma Hue - CIE 1976 cylindrical color system with a and b rewritten in polar coordinates with radius C (chroma) and angle H (hue)

– 

LCHuv - Lightness Chroma Hue - CIE 1976 cylindrical color system with u and v rewritten in polar coordinates with radius C (chroma) and angle H (hue)

– 

JCh - Lightness Chroma Hue - CIE CAM02 cylindrical color system

– 

Jab - Lightness a-chroma b-chroma - CIE CAM02 JCh converted to rectangular coordinates

– 

YUV - Lightness u-chroma v-chroma - YUV color the BT.470 version of the color space used in SDTV PAL video encoding, implemented via ImageTools:-RGBtoYUV. Y is luminance and U and V are red and blue chrominance respectively.

Examples

(1)

(2)

Space

Coordinates

RGB

HSV

HSL

CMY

CMYK

XYZ

LMS

xyY

Lab

Luv

LCHab

LCHuv

HCL

Jab

JCh

YUV

Gs

 

See Also

ColorTools

ColorTools[Color]

 


Download Help Document