3D cross-correlation in matlab
10,560
Correlation is similar to convolution except that one does not need to flip an input about the origin (but correlation needs taking the complex conjugate of one of the operands), so for 3D real matrices, you can use convn(x3d,y3d(end:-1:1,end:-1:1,end:-1:1))
to compute 3D cross correlation.
Author by
Nicole
Updated on June 25, 2022Comments
-
Nicole almost 2 years
I need to calculate 3D cross-correlation in MATLAB. Anyone know which function I should use? For 2–D cross-correlation it has
xcorr2
, but I don't know about is 3D. -
George Aprilis about 11 yearsif the question was helpful you should mark it as best answer :)