| 查看: 1921 | 回复: 4 | ||
[求助]
图像显示中的displayrange赋值为空,代表什么意思,我小白一枚,程序如下 已有1人参与
|
|
x = dicomread('C:\Users\Administrator\Desktop\图像重构\脑MRI\DICOM\PA1\ST1\SE1\IM1');%读取dicom图片文件 figure, imshow(x, 'DisplayRange',[]); |
» 猜你喜欢
314求调剂
已经有5人回复
314求调剂
已经有11人回复
还有化工二轮调剂的学校吗
已经有28人回复
材料化工总分334求调剂
已经有12人回复
296求调剂
已经有5人回复
297求调剂
已经有14人回复
考研二轮调剂
已经有5人回复
求机械专硕297第二批调剂
已经有5人回复
本科郑州大学,一志愿华东师范大学282求调剂
已经有25人回复
283求调剂
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
基于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(