资源简介

《MATLAB机器视觉与深度学习实战》 配套代码(01-15)

资源截图

代码片段和文件信息

clc; clear all; close all;
I = imread(‘tire.tif‘);
J = histeq(I);
figure; 
subplot(2 2 1); imshow(I []); title(‘原图‘);
subplot(2 2 2); imshow(J []); title(‘原图均衡化后的图像‘);
subplot(2 2 3); imhist(I 64); title(‘原图的直方图‘);
subplot(2 2 4); imhist(J 64); title(‘均衡化后的直方图‘);

评论

共有 条评论