MATLAB: Increase hue of image

hueImage Processing Toolbox

Hi guys, I am new to MATLAB. How to make changes on the hue of image, for example increase the hue of image?

Best Answer

Take the hue image, and multiply it by something.
hsvImage = rgb2hav(rgbImage);
hsvImage(:,:,1) = hsvImage(:,:,1) * someFactor;
rgbImage = hsv2rgb(hsvImage);
I think you really mean increase the saturation, but whatever... The saturation channel is 2, so switch to that if you really want that.