Is it possible to do a 2d cross correlation (xcorr2) in only one direction?
Mostrar comentarios más antiguos
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
Respuestas (1)
Selva Karna
el 14 de Ag. de 2017
0 votos
possible for 2d and 4d also
Categorías
Más información sobre Correlation and Convolution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!