- publishing free software manuals
GNU Octave Manual Version 3
by John W. Eaton, David Bateman, Søren Hauberg
Paperback (6"x9"), 568 pages
ISBN 095461206X
RRP £24.95 ($39.95)

Get a printed copy>>>

30.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.

ISBN 095461206XGNU Octave Manual Version 3See the print edition