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

5 views (last 30 days)
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

Answers (2)

Image Analyst
Image Analyst on 11 Dec 2014
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 on 27 Dec 2021
yes,sir,may be use imtool to interactively adjust the grayscale parameters to view the effect

Categories

Find more on DICOM Format in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!