Xcorr2d_FFTW_R.Rd
This function calculates the 2D cross-correlation of two matrices a and b using R-ffwtools-package.
a
b
Xcorr2d_FFTW_R(a, b)
A matrix (2D array) of values.
A matrix representing the 2D cross-correlation of the input matrices.
PIV_obtain_grid
Ahmed Homoudi
a <- matrix(c(1, 2, 3, 4), ncol = 2) b <- matrix(c(5, 6, 7, 8), ncol = 2) cc <- Xcorr2d_FFT_R(a, b) image(cc)