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.