How can I write code to calculate frames differnces of video frames
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ali Noori
am 3 Jan. 2015
Kommentiert: Mehmed
am 13 Dez. 2023
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146669/image.png)
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 3 Jan. 2015
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 Kommentare
Image Analyst
am 5 Jul. 2023
@Mehmed Ozkan go ahead. If you need a citation, just use the URL for this conversation. More movie demos are attached to give you more smiles.
Mehmed
am 13 Dez. 2023
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
Weitere Antworten (1)
ibrahim zeleke
am 4 Jun. 2015
How can I write code to detect the motion of a human lip in real time video??
1 Kommentar
Image Analyst
am 4 Jun. 2015
See the Computer Vision System Toolbox: http://www.mathworks.com/products/computer-vision/features.html#object-tracking-and-motion-estimation
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for IP Cameras finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!