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!