I = imread('pout.tif');% read the image
subplot(121), imshow(I);% display the original image
subplot(122), imhist(I)% display its histogram
I = imread('tire. tif');%Read image
J = histeq(I);%Histogram equalization
figure;%Display the original image and the equalized image
subplot(121), imshow(I); subplot(122), imshow(J )
figure;% shows the histogram of the original image and the equalized image
subplot(121), imhist(I,64); subplot(122), imhist(J,64)
MATLAB image enhancement
Guess you like
Origin blog.csdn.net/m0_38127487/article/details/115185938
Recommended
Ranking