MATLAB Answers

Finding Frame Count for DICOM File

8 ビュー (過去 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!

  0 件のコメント

サインインしてコメントする。

採用された回答

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 件のコメント

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by