MATLAB: Spatial correlation of 3d matrices

correlation

Hi, I'm trying to compute the similarity of two 3d images. Is there any way to get the spatial correlation of these two images? Many thanks!

Best Answer

How about
ifftn(fftn(Image1).*conj(fftn(Image2)),'symmetric')
with zero-padding if appropriate.
Related Question