| 5 | 1/1 | 返回列表 |
| 查看: 1913 | 回復: 4 | ||
| 當前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | ||
百年小黑熊銅蟲 (初入文壇)
|
[求助]
圖像顯示中的displayrange賦值為空,代表什么意思,我小白一枚,程序如下 已有1人參與
|
|
|
x = dicomread('C:\Users\Administrator\Desktop\圖像重構(gòu)\腦MRI\DICOM\PA1\ST1\SE1\IM1');%讀取dicom圖片文件 figure, imshow(x, 'DisplayRange',[]); |

銅蟲 (初入文壇)

至尊木蟲 (著名寫手)
驃騎將軍
|
這個與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. |

至尊木蟲 (著名寫手)
驃騎將軍

銅蟲 (初入文壇)

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 359求調(diào)劑 +3 | 鄧鄧鄧書書 2026-03-25 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 324分 085600材料與化工 +6 | 呆鵝oor 2026-03-27 | 6/300 |
|
|
[考研] 284求調(diào)劑 +9 | 小熊~~ 2026-03-31 | 9/450 |
|
|
[考研] 085601英二數(shù)二求調(diào)劑 總分325 +4 | 余航航 2026-03-31 | 4/200 |
|
|
[考研] 求調(diào)劑 +9 | akdhjs 2026-03-31 | 10/500 |
|
|
[考研] 生物學296求調(diào)劑 +8 | 湯圓包 2026-03-29 | 12/600 |
|
|
[考研] 286求調(diào)劑 +6 | Faune 2026-03-30 | 6/300 |
|
|
[考研] 0703化學 +20 | 妮妮ninicgb 2026-03-27 | 20/1000 |
|
|
[考研] 272求調(diào)劑,接受跨專業(yè)調(diào)劑! +3 | 閑魚盧 2026-03-31 | 3/150 |
|
|
[考研] 一志愿北化085600材料專碩275|有文章專利|求調(diào)劑 +15 | Micky11223 2026-03-25 | 16/800 |
|
|
[考研] 323分 食品與營養(yǎng)調(diào)劑 +3 | 嘿ooo 2026-03-31 | 3/150 |
|
|
[考研] 317求調(diào)劑 +8 | 十閑wx 2026-03-24 | 8/400 |
|
|
[考研] 318一志愿吉林大學生物與醫(yī)藥 求調(diào)劑 +5 | 篤行致遠. 2026-03-28 | 5/250 |
|
|
[考研] 298求調(diào)劑 +4 | 種圣賜 2026-03-28 | 4/200 |
|
|
[考研]
|
y7czhao 2026-03-26 | 10/500 |
|
|
[考研] 314求調(diào)劑 +3 | 溪云珂 2026-03-26 | 3/150 |
|
|
[考研] 調(diào)劑 +4 | 柚柚yoyo 2026-03-26 | 4/200 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +3 | 邱gl 2026-03-25 | 3/150 |
|
|
[考研] 材料專碩 335 分求調(diào)劑 +4 | 拒絕冷暴力 2026-03-25 | 4/200 |
|
|
[考研] 求b區(qū)院校調(diào)劑 +4 | 周56 2026-03-24 | 5/250 |
|