Previous: Plotting on top of Images, Up: Image Processing

### 32.5 Color Conversion

Octave supports conversion from the RGB color system to NTSC and HSV and vice versa.

— Function File: hsv_map = rgb2hsv (rgb_map)

> Transform a colormap from the rgb space to the hsv space.

> A color n the RGB space consists of the red, green and blue intensities.

> In the HSV space each color is represented by their hue, saturation and value (brightness). Value gives the amount of light in the color. Hue describes the dominant wavelength. Saturation is the amount of Hue mixed into the color.

> See also: hsv2rgb.

— Function File: rgb_map = hsv2rgb (hsv_map)

> Transform a colormap from the hsv space to the rgb space.

> See also: rgb2hsv.

— Function File: rgb2ntsc (rgb)

> Image format conversion.

— Function File: ntsc2rgb (yiq)

> Image format conversion.