Converts from RGB to HSV colorspace.
HSV = rgb2hsv(RGB)
HSVMAP = rgb2hsv(RGBMAP)
rgb2hsv(RGB)
converts an RGB image or colormap to
the HSV colorspace. The HSV model separates Hue (color)
Saturation (ammount of color) and Value (intensity). It is
much more useful for manipulation than the RGB space and also
for segmenting images by color.
http://siptoolbox.sf.net