for loop for videos
10 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2021-11-28
NumFrames is a field of video. Use it to construct a for loop over all the frames you want to process.
5 个评论
Image Analyst
2021-11-29
@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
2021-11-29
编辑:Drain Suburu
2021-11-29
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!