G=imread('***.JPG');
I=rgb2gray(G);
I1=G(:,:,1);
J1=histeq(I1);
I2=G(:,:,2);
J2=histeq(I2);
I3=G(:,:,3);
J3=histeq(I3);
newG = ones(size(G));
newG(:,:,1)=J1;
newG(:,:,2)=J2;
newG(:,:,3)=J3;
figure()
imshow(uint8(newG))
matlab图像(直方图)均衡实现
猜你喜欢
转载自blog.csdn.net/ResumeProject/article/details/120933227
今日推荐
周排行