Home > freetb4matlab > image > rgb2hsv.m

rgb2hsv

PURPOSE ^

% Transform a colormap or image from the rgb space to the hsv space.

SYNOPSIS ^

function hsval = rgb2hsv (rgb)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{hsv_map} =} rgb2hsv (@var{rgb_map})
% Transform a colormap or image 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.
% @seealso{hsv2rgb}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003