Comparing 1st & 10th frame of a video

3 ビュー (過去 30 日間)
Dimple Chawla
Dimple Chawla 2012 年 4 月 17 日
hi, i want to differentiate 2 frames randomly by 1 or any other from a selected video.
firstly, i applied mmreader() to read video & then count no. of frames, then i retrieved all frames using for loop & so on, i do know how to do further via region property difference or by any other way out.
reply asap. Thanks

回答 (1 件)

Image Analyst
Image Analyst 2012 年 4 月 17 日
differenceImage = double(image1) - double(image2);

Community Treasure Hunt

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

Start Hunting!

Translated by