Finding Frame Count for DICOM File
17 views (last 30 days)
Show older comments
Eli Handwerk
on 31 Jul 2019
Answered: Divya Gaddipati
on 5 Aug 2019
I'm pretty new to MATLAB, and was wondering if there is a way to get the number of frames in a DICOM ultrasound video. I need this number because I am looping through each frame to analyze them each separately, but I can't seem to find a direct way to access this information. I was looking into dicominfo(filename) to extract the metadata, but I couldn't find any sort of frame count in there, or how to pull the specific variable. Any tips? I feel like this is probably pretty simple and I'll feel stupid for letting it go over my head, but oh well!
Thanks!
0 Comments
Accepted Answer
Divya Gaddipati
on 5 Aug 2019
You can use the function dicomCollection to get the number of frames.
0 Comments
More Answers (0)
See Also
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!