Finding Frame Count for DICOM File

20 visualizaciones (últimos 30 días)
Eli Handwerk
Eli Handwerk el 31 de Jul. de 2019
Respondida: Divya Gaddipati el 5 de Ag. de 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!

Respuesta aceptada

Divya Gaddipati
Divya Gaddipati el 5 de Ag. de 2019
You can use the function dicomCollection to get the number of frames.
For more information on how to use this function, refer to this link.

Más respuestas (0)

Categorías

Más información sobre DICOM Format en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by