How to open a folder with stack of Dicom files?

27 vues (au cours des 30 derniers jours)
Noa Hoogeweg
Noa Hoogeweg le 17 Jan 2022
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!

Réponses (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!

Catégories

En savoir plus sur DICOM Format dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by