A digital image processing example that converting RGB image to HSV image without using rgb2hsv function in matlab.