comparison scripts/image/rgb2hsv.m @ 5642:2618a0750ae6

[project @ 2006-03-06 21:26:48 by jwe]
author jwe
date Mon, 06 Mar 2006 21:26:54 +0000
parents 4c8a2e4e0717
children 34f96dd5441b
comparison
equal deleted inserted replaced
5641:eb998631a4aa 5642:2618a0750ae6
24 ## A color n the RGB space consists of the red, green and blue intensities. 24 ## A color n the RGB space consists of the red, green and blue intensities.
25 ## 25 ##
26 ## In the HSV space each color is represented by their hue, saturation 26 ## In the HSV space each color is represented by their hue, saturation
27 ## and value (brightness). Value gives the amount of light in the color. 27 ## and value (brightness). Value gives the amount of light in the color.
28 ## Hue describes the dominant wavelegth. 28 ## Hue describes the dominant wavelegth.
29 ## Saturation is the amount of Hue mixed into the color. 29 ## Saturation is the amount of Hue mixed into the color.
30 ## @seealso{hsv2rgb}
30 ## @end deftypefn 31 ## @end deftypefn
31 ##
32 ## @seealso{hsv2rgb}
33 32
34 ## Author: Kai Habel <kai.habel@gmx.de> 33 ## Author: Kai Habel <kai.habel@gmx.de>
35 ## Adapted-by: jwe 34 ## Adapted-by: jwe
36 35
37 function hsval = rgb2hsv (rgb) 36 function hsval = rgb2hsv (rgb)