how to write script window level

7 views (last 30 days)
mohd akmal masud
mohd akmal masud on 1 Jul 2021
Answered: Cris LaPierre on 2 Jul 2021
Hi
i want to write window level 3189 1595.
[spect map]=dicomread('I-131sphere10nisbah1', 'frame', 45);
imshow(spect[3189 1595])
but image not appear
anyone can help me

Answers (1)

Cris LaPierre
Cris LaPierre on 2 Jul 2021
You need to separate your window level from your image data with a comma. Also, the low value should come first.
[spect map]=dicomread('I-131sphere10nisbah1', 'frame', 45);
imshow(spect,[1595 3189])

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!