How can I write code to calculate frames differnces of video frames

2 ビュー (過去 30 日間)
Ali Noori
Ali Noori 2015 年 1 月 3 日
コメント済み: Mehmed 2023 年 12 月 13 日
From attached picture, you can see the difference between frame (h8.png) that contain on white area and frame h4.png is 4 frames and difference between h13.png & h8.png is 5 frames, the difference between h26.png & h13.png is 13 frames and the difference between h29.png & h26.png is 3 frames. How can I write code to calculate differences between frames that contain on white areas.

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 3 日
I think I already gave you code to do video processing (attached again just in case). So you just keep track, in the frame index loop, which frame have white blobs in them. Then just use the diff() function:
frameDifferences = diff(framesWithWhiteBlobs);
  5 件のコメント
Mehmed
Mehmed 2023 年 12 月 13 日
Excuse me for the late response Image Analyst, it gave me so many smiles and sent me down so many new rabbit holes. Learned a lot! Thank you

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

その他の回答 (1 件)

ibrahim zeleke
ibrahim zeleke 2015 年 6 月 4 日
How can I write code to detect the motion of a human lip in real time video??

カテゴリ

Help Center および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by