Is it possible to do a 2d cross correlation (xcorr2) in only one direction?
이전 댓글 표시
I am trying to calculate the distance a froth has moved between two consecutive frames, but I'm only interested in the vertical displacement, i.e. the y direction.
xcorr2 works great but is expensive computational wise.
here is my code:
img1
img2
ccr = xcross2(img1,img2)
I was thinking I could just apply xcorr to each column for the image, but not sure this will save on computations
답변 (1개)
Selva Karna
2017년 8월 14일
0 개 추천
possible for 2d and 4d also
카테고리
도움말 센터 및 File Exchange에서 Correlation and Convolution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!