xiuhuwang 发表于 2009-5-12 22:23

imshow将矩阵显示的问题

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

ChaChing 发表于 2009-5-13 07:57

help from matlab
imshow(I,) displays the grayscale image I, specifying the display range for I in . 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 , imshow uses ; that is, the minimum value in I is displayed as black, and the maximum value is displayed as white.
页: [1]
查看完整版本: imshow将矩阵显示的问题