i need to compare differences between the consequent frames?

6 views (last 30 days)
HI everyone
i have a project to complete! i took a video then partition it to frames . i need to compare differences between the frames. The proces should be as follow: 1. We shall start with the first frame of the video, it is the reference frame. 2. Compare the second frame with the first frame. 3. Compare consequent frames to find which frame has got a big differences with reference frame. 4. Now we take the new frame that shows difference with the first frame(reference frame). 5. Repeat the above mention process to find new reference frames.
6. Keep all the 'selected' frames.
i need to new algorithm or what to do that? and if you can help me .
  2 Comments
hsein Msw
hsein Msw on 11 Dec 2019
oun aloun hello,
did you finish your project ?i have the same one ...can you give me the code?
john miller
john miller on 29 Apr 2020
I want to segment the same object in selected frames and compare its size to the size in the reference frame. The objective is to use change in size to estimate distance from the object when it was captured in the refernce frame.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 2 Jan 2016
No, that is an algorithm. However, you need to figure out what you mean by "big" for "which frame has got a big differences".
  7 Comments
oun aloun
oun aloun on 4 Jan 2016
this my problem
but i will try to get a good resolution and i will convert the (Jpg) to another type
but i need good idea to solve this problem (identifies the new object in frames, and select a frame which have different from first frame and go on to last frame. )
thank you very much I am grateful with your responses(Walter Roberson)
Walter Roberson
Walter Roberson on 5 Jan 2016
Is the question now reduced to identifying frames that are identical to the previous ones? Because other than those ones, every frame introduces a new object it appears to me. If that is not what you observe then it could be that your definition of "object" is different than my definition of "object". Some of the objects I see are pretty small. I speculate that when you talk about "object" you might be referring to the coral. If your task is detecting the coral then you should say so, as then we would have particular characteristics to focus on, instead of "I know it when I see it" that might otherwise be used.

Sign in to comment.

More Answers (1)

hsein Msw
hsein Msw on 11 Dec 2019
i have the same project ... did you got the code?

Community Treasure Hunt

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

Start Hunting!