2D x-correlation

Hi,
I want to "filter" an image /2D wave by calculating the 2D crosscorelation between the image an a much smaller image, an image "kernel". This smaller image is ussualy a 2D gauss,in case this makes it easier.

Thanks for any help!

cheers
Ralf
Hello Ralf,

sounds like you what you want to do is fairly standard. You may want to take a look at the ImageFilter, MatrixConvolve, and MatrixOP operations for more information on how to implement this in Igor.
Hello Ralf,

This topic was covered originally in the Image Processing Tutorial which you can find under File Menu -> Example Experiments -> Tutorials.

Image filtering is actually a convolution not correlation but the differences (in the case of gaussian filters) are not significant. If the built-in gaussian filter (under MatrixFilter) is not appropriate for your application you should try MatrixOP convolve with opt set to -1 or -2.

A.G.
WaveMetrics, Inc.