| 查看: 1837 | 回复: 4 | |||
[求助]
图像显示中的displayrange赋值为空,代表什么意思,我小白一枚,程序如下 已有1人参与
|
|
x = dicomread('C:\Users\Administrator\Desktop\图像重构\脑MRI\DICOM\PA1\ST1\SE1\IM1');%读取dicom图片文件 figure, imshow(x, 'DisplayRange',[]); |
» 猜你喜欢
假如你的研究生提出不合理要求
已经有7人回复
实验室接单子
已经有4人回复
全日制(定向)博士
已经有4人回复
对氯苯硼酸纯化
已经有3人回复
求助:我三月中下旬出站,青基依托单位怎么办?
已经有12人回复
不自信的我
已经有12人回复
所感
已经有4人回复
要不要辞职读博?
已经有7人回复
北核录用
已经有3人回复
26申博(荧光探针方向,有机合成)
已经有4人回复
» 本主题相关价值贴推荐,对您同样有帮助:
基于Kmeans的图像聚类算法
已经有10人回复

libralibra
至尊木虫 (著名写手)
骠骑将军
- 程序强帖: 40
- 应助: 817 (博后)
- 金币: 12914.1
- 红花: 64
- 帖子: 2238
- 在线: 287.3小时
- 虫号: 696514
- 注册: 2009-02-05
- 专业: 计算机软件
【答案】应助回帖
★ ★ ★
感谢参与,应助指数 +1
百年小黑熊: 金币+3, ★★★很有帮助, 谢谢!你给我指明了方向,我刚开始学习matlab,也刚注册小木虫,没多少分 2014-05-02 10:48:38
感谢参与,应助指数 +1
百年小黑熊: 金币+3, ★★★很有帮助, 谢谢!你给我指明了方向,我刚开始学习matlab,也刚注册小木虫,没多少分 2014-05-02 10:48:38
|
这个与imshow(x,[])是一样的,将图片中最小灰度显示为黑,最大灰度显示为白,然后中间灰度平均分布. 如果图片的灰度特别在直方图上看不是平均分布在0-255之间,而是偏向某一端的时候,这个设置很有用. 'DisplayRange' — Display range of grayscale image[min(I( ) max(I( )] (default) | two-element vectorDisplay range of a grayscale image, specified as a two-element vector [LOW HIGH]. imshow displays the value low (and any value less than low) as black, and the value high (and any value greater than high) as white. Values in between are displayed as intermediate shades of gray, using the default number of gray levels. If you specify an empty matrix ([]), imshow uses [min(I( ) max(I( )]; that is, use the minimum value in I as black, and the maximum value as white. |

2楼2014-05-01 16:17:17

3楼2014-05-01 17:45:49
libralibra
至尊木虫 (著名写手)
骠骑将军
- 程序强帖: 40
- 应助: 817 (博后)
- 金币: 12914.1
- 红花: 64
- 帖子: 2238
- 在线: 287.3小时
- 虫号: 696514
- 注册: 2009-02-05
- 专业: 计算机软件

4楼2014-05-01 18:11:54

5楼2014-05-02 10:46:01












回复此楼
) max(I(