How to convert a DICOM image into a specific Gray Scale ?

Hi...
I'm Currently am working on Lung images which are in DICOM format. Nodules are best seen in 'Mediastinum WINDOW'. Various windows available in a external DICOM viewer software. ex. lung window, skull window, Bone window...etc
These windows are adjusted using two parameters: window Level (L) window width (W)
Values for mediastinum window is, L: 10 W: 450
How to implement the above values in Matlab ?
imadjust gives a image similar for values around L:-500 W:2000

1 件のコメント

Jingyang Xie
Jingyang Xie 2021 年 12 月 26 日
Hello Laki, may I know if you have solved this problem? Thank you !

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

回答 (2 件)

Image Analyst
Image Analyst 2014 年 12 月 11 日

0 投票

You can pass in specific values for imadjust(). Or you can make up your own window/level curves and use intlut() to transform your image.
yanqi liu
yanqi liu 2021 年 12 月 27 日

0 投票

yes,sir,may be use imtool to interactively adjust the grayscale parameters to view the effect

質問済み:

2014 年 12 月 11 日

回答済み:

2021 年 12 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by