2D x-correlation
schmaud
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
sounds like you what you want to do is fairly standard. You may want to take a look at the
ImageFilter
,MatrixConvolve
, andMatrixOP
operations for more information on how to implement this in Igor.April 11, 2011 at 07:19 pm - Permalink
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.
April 12, 2011 at 10:02 am - Permalink