how to compare two different video frames in matlab

i am not clear in comparing the two video frames,say me how to compare and i need the coding for comparing two video frames

Answers (1)

There are lots of ways to compare frames, such as subtracting them or taking their histograms. How do you want to do your comparison? Out of thousands of ways to compare them, I can't pick the best one for you - only you would know that.

3 Comments

I have a similar query - and I would like to compare the frames by taking their histograms - can you help me? Here's the link to my question https://uk.mathworks.com/matlabcentral/answers/337874-how-to-compare-frames-of-a-video-in-matlab-by-histogram-level
I have subtracted (using background subtraction) two frames. Now I want to draw the boundary or display a message that the video contains some activity. Below is my link. Please help me out !
You can use plot() or rectangle() to put lines into the overlay. You can use text() to put words into the overlay or helpdlg() or msgbox() to do a pop up dialog box.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!