Function Reference
— Function File: [x, map] = rgb2ind (rgb)
— Function File: [x, map] = rgb2ind (r, g, b)

Convert and RGB image to an Octave indexed image.

See also: ind2rgb rgb2ntsc