Convert a RGB image to the equivalent HSV image
HSV = rgb2hsv(RGB)
A RGB image (matrix), the dimension of RGB should be M x N x 3 .
Output image, which has the same size and type as RGB.
rgb2hsv convert a RGB image to the equivalent HSV image
Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.