Color-Space Transformations

Igor supports the most common color-space transformations under the ImageTransform operation. Additional color-space transformations are available via the colorSpaceConversions procedure file. For more about color conversions see Gamma FAQ)

Color-Space conversions in ImageTransform

Color transformations in ImageTransform consist of converting a three-layer wave (e.g., RGB) into another three-layer wave (e.g., XYZ).

rgb2gray
rgb2hsl
convert2gray
cmap2rgb
hsl2rgb
rgb2xyz
xyz2rgb
cmyk2rgb
rgb2I123

Color-Space conversions in colorSpaceConversions procedures

The color transformations in procedures are designed to convert a single color at a time. Using optional input parameters you can use the procedures to set function variables to individual components or to print them to the history.

RGB2Lab
Lab2RGB
RGB2XYZ
XYZ2RGB
RGB2XYZccir
XYZccir2RGB
RGB2XYZitu
XYZitu2RGB
RGB2YUV
YUV2RGB
RGB2YIQ
YIQ2RGB
YUV2YIQ
YIQ2YUV
RGB2YCbCr
YCbCr2RGB
HSL2RGB
HSV2RGB