如何利用MATLAB对彩色直方图均衡化
利用MATLAB对彩色图美化会达到什么结果呢?
img=imread('20200324102026.jpg');
imshow(img);
HSV=rgb2hsv(img);
H=HSV(:,:,1);
S=HSV(:,:,2);
V=HSV(:,:,3);
v1=histeq(V);
newimg=cat(3,H,S,v1);
img2=hsv2rgb(newimg);
figure
imshow(img2);

利用MATLAB对彩色图美化会达到什么结果呢?
img=imread('20200324102026.jpg');
imshow(img);
HSV=rgb2hsv(img);
H=HSV(:,:,1);
S=HSV(:,:,2);
V=HSV(:,:,3);
v1=histeq(V);
newimg=cat(3,H,S,v1);
img2=hsv2rgb(newimg);
figure
imshow(img2);
