フィルターのクリア

How can I properly create histogram of DICOM image?

13 ビュー (過去 30 日間)
Veronika
Veronika 2017 年 4 月 19 日
回答済み: Walter Roberson 2017 年 4 月 22 日
Dear all,
I have DICOM image and I would like to create histogram of it. But I created only this:
grayImage = dicomread('000054.dcm');
figure()
imhist(grayImage);
[X,map] = imread('trees.tif');
grid on;
title('Histogram testovacího obrazu');
caption = sprintf('Histogram testovacího obrazu %s');
title(caption, 'FontSize',fontSize, 'Interpreter', 'None');
ylabel('Četnost');
I attach this DICOM image. But I would like to better displayed this histogram (different range of x axe).
Can you advice me? Thank you for your answers.
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 4 月 22 日
What is the intention of the line
[X,map] = imread('trees.tif');
?

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2017 年 4 月 22 日
xlim([0 4095])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDICOM Format についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by