RGB2HSV

 

 Red-green-blue to hue-saturation-value conversion.

  H = RGB2HSV(M) converts an RGB color map to an HSVMR4UU2 color map.

  Each map is a matrix with any number of rows, exactly three columns,

  and elements in the interval 0 to 1.  The columns of the input matrix,

  M, represent intensity of red, blue and green, respectively.  The

  columns of the resulting output matrix, H, represent hue, saturation

  and color value, respectively.

 

 

  See also HSV2RGB3HTW6, COLORMAPBOEE9I, RGBPLOTHQUQXI.