Finding Frame Count for DICOM File

조회 수: 20 (최근 30일)
Eli Handwerk
Eli Handwerk 2019년 7월 31일
답변: Divya Gaddipati 2019년 8월 5일
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!

채택된 답변

Divya Gaddipati
Divya Gaddipati 2019년 8월 5일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by