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 commentaire

Hello Laki, may I know if you have solved this problem? Thank you !

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 11 Déc 2014

0 votes

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 le 27 Déc 2021

0 votes

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

Question posée :

le 11 Déc 2014

Community Treasure Hunt

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

Start Hunting!

Translated by