This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/DIPCV/lab2/lab2_9.m
2023-04-13 12:17:20 +08:00

10 lines
No EOL
236 B
Matlab

close all
clear
clc
disp('====E4_5_2.m====');
I=imread('tire.tif');
J=histeq(I);
subplot(2,2,1),imshow(I),ylabel('原图像');
subplot(2,2,2),imhist(I);
subplot(2,2,3),imshow(J),ylabel('直方图均衡图像');
subplot(2,2,4),imhist(J);