I found an algorithm where a cross correlation (normxcorr2
) is applied between two images with the same size in order to measure the displacement of the particle inside the image between the two instants.
For example, for this case ( fixed image left and moving image right), the algorithm shows as displacement the vector (-0.0076, 0.5383)
I didn't get why this calculation is meaningful especially that in this case the parameters for normxcorr2
have the same size !
Could someone clarify to me why it's relevant to do cross correlation in this case?