声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1287|回复: 1

[图像处理] 请问imshow(I)与imshow(I,[])显示图像为什么不一样啊?

[复制链接]
发表于 2009-4-1 20:40 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
I 为一副图像,为double型,isind(I)=1;imshow(I)与imshow(I,[])显示的图像有何区别啊,我想保存第二副图像,图质量不变且不能有白边,因为我要用这幅图像进行计算。不知道也没有办法解决。谢谢
回复
分享到:

使用道具 举报

发表于 2009-4-1 21:26 | 显示全部楼层
看看imshow的help
imshow(I,[low high]) displays the grayscale image I, specifying the display range for I in [low high]. The value low (and any value less than low) displays as black; the value high (and any value greater than high) displays as white. Values in between are displayed as intermediate shades of gray, using the default number of gray levels. If you use an empty matrix ([]) for [low high], imshow uses [min(I(:)) max(I(:))]; that is, the minimum value in I is displayed as black, and the maximum value is displayed as white.

评分

1

查看全部评分

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-22 17:37 , Processed in 0.053022 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表