I have a problem in detecting persons in sequence of frames

1 view (last 30 days)
am detecting 2 images using correlation technique... if there is any difference between those images then result whether images are same are not same is displayed in command window.. since i need to compare original image with sequence of images what can i do??????

Answers (2)

Image Analyst
Image Analyst on 18 Aug 2014
Normalized cross correlation will show basically a delta function (spike at the middle) when the frames are identical. The more the frames are different from each other, the more spread out the spike will be.
Obviously you can spit out whatever information about that correlation you want to the command window using fprintf().
  2 Comments
Image Analyst
Image Analyst on 19 Aug 2014
kiruthika's "Answer" moved here since it's a comment to me rather than an Answer to the original question.
Thanks for your information sir...am new to image processing.. am converting video into sequence of images... with original image i need to compare those sequence of frame.. while using correlation only 2 images are compared at a time.. bt i need to compare all those sequences with original image.. can u suggest some commands for sir???
Image Analyst
Image Analyst on 19 Aug 2014
So, just correlate each frame with the first one. See my attached program that shows you how to extract and do something with each frame. In the demo I simply subtract the nth frame from the (n+1)th frame but you can do a correlation of the nth frame with the 1st frame.

Sign in to comment.


kiruthika
kiruthika on 20 Aug 2014
helo sir, i cant get information in your prescribed link... can u send me some other link??? thank you..

Tags

Community Treasure Hunt

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

Start Hunting!