close all; i=imread('RGB_Image.jpg'); subplot(1,2,1);imshow(i); %subplot(1,2,2);imhist(i); imh=imadjust(i,[0.3,0.6],[0,1]); %imh1=histeq(i); imwrite(imh,'RGB_ref.jpg'); figure; subplot(2,2,1);imshow(imh);title('adjusted'); subplot(2,2,2);imhist(imh); subplot(2,2,3);imshow(imh1);title('histeq'); subplot(2,2,4);imhist(imh1);
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more