声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 920|回复: 1

[综合讨论] imshow将矩阵显示的问题

[复制链接]
发表于 2009-5-12 22:23 | 显示全部楼层 |阅读模式

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

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

x
矩阵的值是怎么来定的啊?
0的时候全黑,1的时候全白
可是对255阶的时候255才是全白吧
这个东西怎么区分啊
或者说,imshow函数怎么用啊,用的时候注意什么?
回复
分享到:

使用道具 举报

发表于 2009-5-13 07:57 | 显示全部楼层
help from matlab
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 15:40 , Processed in 0.068087 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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