How can I properly create histogram of DICOM image?

10 Ansichten (letzte 30 Tage)
Veronika
Veronika am 19 Apr. 2017
Beantwortet: Walter Roberson am 22 Apr. 2017
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 22 Apr. 2017
xlim([0 4095])

Weitere Antworten (0)

Kategorien

Mehr zu DICOM Format finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by