I just ran the following lines of codes and noticed that when i first read a rgb image and then convert the image to hsv model and then reconvert it back to rgb model the pixel values of the image changes before and after conversion.
in short :
rgb1 = rgb image before conversion ;
rgb2 = rgb image after converting to HSV and then re-converting back to rgb
rgb1 >= rgb2
why rgb1 is >= rgb2 ?? shouldn't it be equal on every pixels?
MATLAB CODE :
rgb1 = imread('peppers.png');
hsv = rgb2hsv(rgb1);
rgb2 = hsv2rgb(hsv);
g = find(rgb1<rgb2);
%g returns empty matrix
%So rgb1 has to be >= rgb2 on every pixel value