The Cozy Hut of Dr. Zhang分享 http://blog.sciencenet.cn/u/zjzhang

博文

实战---灰度图像的水平集分解(书Page69,图3.16)

已有 4825 次阅读 2011-11-10 23:13 |个人分类:图像分析(matlab,PDE)|系统分类:科研笔记

>> RGB=imread('lady.bmp');
>> I=rgb2gray(RGB);
>> subplot(2,3,1);
>> imshow(I);
>> title('原始灰度图像');
>> subplot(2,3,2);
>> imshow(I,[50,255]);
>> title('灰度值大于50');
>> subplot(2,3,3);
>> imshow(I,[100,255]);
>> title('灰度值大于100');
>> subplot(2,3,4);
>> imshow(I,[150,255]);
>> title('灰度值大于150');
>> subplot(2,3,5);
>> imshow(I,[200,255]);
>> title('灰度值大于200');
>> subplot(2,3,6);
>> imshow(I,[250,255]);
>> title('灰度值大于250');
注:王大凯等编著的《图像处理的偏微分方程方法》。


https://blog.sciencenet.cn/blog-287000-506729.html

上一篇:图像类型转换---rgb2ind函数(将真彩色图像转换为索引图像)
下一篇:特殊图像显示---颜色条的添加
收藏 IP: 121.33.190.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-27 10:26

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部