for loop for videos

10 views (last 30 days)
Nara Sixty Five
Nara Sixty Five on 28 Nov 2021
Edited: Drain Suburu on 29 Nov 2021
i was wondering is there was an easy way to apply a for loop to frames on a video. i am trying to apply a mask on each frame (as if each frame were an image). i dont know if this is important, but i am applying my mask only to part of the image.

Answers (1)

Image Analyst
Image Analyst on 28 Nov 2021
NumFrames is a field of video. Use it to construct a for loop over all the frames you want to process.
  5 Comments
Image Analyst
Image Analyst on 29 Nov 2021
@Nara Sixty Five I see you removed your code. So I assume you no longer need my help. If you do however, I'm attaching all my video processing demos that I have so far.
Drain Suburu
Drain Suburu on 29 Nov 2021
Edited: Drain Suburu on 29 Nov 2021
Hi, sorry I am no longer using that account. Thanks for sharing these demos. If you can still help, my question remains. I posted it here with the code and vids.
https://www.mathworks.com/matlabcentral/answers/1598034-video-for-loops-with-masking

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!