I have a problem in detecting persons in sequence of frames
1 次查看(过去 30 天)
显示 更早的评论
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??????
0 个评论
回答(2 个)
Image Analyst
2014-8-18
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 个评论
Image Analyst
2014-8-19
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
2014-8-19
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!