%f = imread('\matlab\toolbox\images\imdemos\autumn.tif');
f = imread('\siva\course\cs445\images\canoe_24bit.tif');

[height,width] = size(f);
%f = im2double(f);
figure(1)
imshow(f);

g = rgb2hsv(f);
figure(2)
imhist(g(:,:,3));
pause
g(:,:,3) = histeq(g(:,:,3));

f1 = hsv2rgb(g);


figure(3)
imshow(f1,[])

