Image Processing Toolbox User's Guide Previous page   Next Page

Color Space Conversions

The Image Processing Toolbox represents colors as RGB values, either directly (in a truecolor image) or indirectly (in an indexed image). However, there are other methods for representing colors. For example, a color can be represented by its hue, saturation, and value components (HSV). Different methods for representing colors are called color spaces.

The toolbox provides a set of routines for converting between color spaces. The image processing functions themselves assume all color data is RGB, but you can process an image that uses a different color space by first converting it to RGB, and then converting the processed image back to the original color space. For more information about color space conversion routines, see Color.


Previous page  Converting Between Image Types Converting Between Image Classes Next page

© 1994-2005 The MathWorks, Inc.