ColorSpace

ColorSpace

is an option for Image and related functions that specifies the color space to which color values refer.

Details

  • Color spaces supported by Image and Image3D include:
  • "Grayscale"gray level
    "RGB"red, green, blue
    "CMYK"cyan, magenta, yellow, black
    "HSB"hue, saturation, brightness
    "XYZ"CIE XYZ
    "LAB"CIE
    "LCH"CIE
    "LUV"CIE
    ColorProfileData[][i]color profile with the specified rendering intent i
  • With ColorSpace->ColorProfileData[][i], rendering intent can be specified. Possible settings are "PerceptualProfile" (default), "SaturationProfile", "MediaRelativeColorimetricProfile", and "ICCAbsoluteColorimetricProfile".

Examples

open allclose all

Basic Examples  (3)

Create an RGB image from an array of data:

In[1]:=
Click for copyable input
Out[1]=

Change the interpretation of the channel values:

In[1]:=
Click for copyable input
Out[1]=

Color space can be stored as a ColorProfileData object:

In[1]:=
Click for copyable input
Out[1]=

Properties & Relations  (2)

See Also

ColorConvert  ImageColorSpace  ColorProfileData

Introduced in 2008
(7.0)
| Updated in 2014
(10.0)