How to open a folder with stack of Dicom files?

20 views (last 30 days)
Hello,
I have a folder with .dcm files which I want to open in Matlab. Every .dcm file in the folder corresponds to one slice of the complete image. So, I have a folder with 56 files, which means that I have an dicom scan/image which consists of 56 slices.
After opening the stack of files, I want to select an ROI in the image. So the ROI has the same coordinates in every slice. With this I want to determine the mean HU value of every slice and create a boxplot.
However, I can't manage to open the files from the folder. If someone could help that would be great! I'm a beginner with Matlab, so I'm not sure how to do this.
Thank you!

Answers (1)

Harikrishnan Balachandran Nair
Hi Noa,
You can use the 'dicomread' function in matlab to read image data from a DICOM file. You can also use the 'DICOM Browser' App to explore a collection of DICOM files.
Hope this Helps!

Categories

Find more on DICOM Format in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!