Use DICOMINFO to find number of images in sequence?

2 views (last 30 days)
Hello, thanks for reading this,
I can read single files of a sequence using dicominfo([pathname filename]), but the info that gets shown is exlusive for that image. I was wondering if it was possible to read a single DICOM file and get the total number of images in the sequence (I don't care about the other information right now).
I have a temporary workaround where I simply read all the *.dcm files in a folder to get the total number of images in the sequence, but I was wondering if I could skip this step and simply get it with dicominfo.
Thanks!

Answers (0)

Community Treasure Hunt

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

Start Hunting!