How to know the number of frames in a single image?

4 ビュー (過去 30 日間)
Naif Alsalem
Naif Alsalem 2022 年 4 月 3 日
コメント済み: Naif Alsalem 2022 年 4 月 7 日
Hi there,
I have a .RAW image that contains many frames. Is there a way to know how many frames are there in a single image?
  8 件のコメント
Walter Roberson
Walter Roberson 2022 年 4 月 7 日
mean(I, 3)
would average the pixels over the third dimension.
Naif Alsalem
Naif Alsalem 2022 年 4 月 7 日
Thanks, Walter.

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

回答 (1 件)

Esha Chakraborty
Esha Chakraborty 2022 年 4 月 6 日
Hi Naif,
I understand that you want to find the number of frames in a single RAW image. You can retrieve this data from the Preview of the Image Acquisition toolbox, that displays the image data from your image acquisition device.
If you toggle the Preview switch to On, then it displays status messages below the tab, when you capture an image snapshot or record a video. The messages provide information about the current acquisition mode, the number of frames or seconds captured, and the file name or workspace variable name that the data is saved as.
You can refer to the documentation of Preview and Acquire Data in Image Acquisition Explorer - MATLAB & Simulink (mathworks.com) for further details.
  1 件のコメント
Walter Roberson
Walter Roberson 2022 年 4 月 6 日
It is not obvious to me that this is relevant? The user has a existing .RAW file that was created by an infrared sensor; they are not using the Image Acquisition Toolbox. (At some point it might make sense for them to switch to live work using that toolbox, but currently they are working with stored files.)

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by