码迷,mamicode.com
首页 > 其他好文 > 详细

matlab直方图均衡

时间:2016-04-13 11:24:34      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:

 

 1 clear all;
 2 i=imread(‘cameraman.tif‘);
 3 figure;
 4 subplot(2,2,1);
 5 imshow(i);
 6 title(‘原始图像‘);
 7 subplot(2,2,2);
 8 imhist(i);
 9 title(‘直方图‘);
10 
11 hi =histeq(i);
12 subplot(2,2,3);
13 imshow(hi);
14 title(‘均衡过后图像‘);
15 subplot(2,2,4);
16 imhist(hi);
17 title(‘均衡过后直方图‘);

 

技术分享

 

matlab直方图均衡

标签:

原文地址:http://www.cnblogs.com/zhaopengcheng/p/5386005.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!