gives the correlation of image with kernel ker.
Details and Options
- ImageCorrelate performs the correlation operation on an image. It is a spatial filtering operation commonly used to find matches between images.
- The correlation kernel ker is given as a two-dimensional numerical matrix, a one-channel image or a multichannel image with the same number of channels as image.
- ImageCorrelate works with 2D and 3D images, operating separately on each channel.
- ImageCorrelate[image,ker] by default gives an image of the same dimensions as image.
- ImageCorrelate takes a Padding option. The default setting is Padding"Fixed".
- With a setting PaddingNone, ImageCorrelate[image,ker] normally gives an image smaller than image.
- ImageCorrelate gives an image of a real type.
- In ImageCorrelate[image,ker,f], typical settings for the correlation operator f include:
Dot standard correlation ManhattanDistance Manhattan or "city block" distance EuclideanDistance Euclidean distance SquaredEuclideanDistance squared Euclidean distance NormalizedSquaredEuclideanDistance normalized squared Euclidean distance CosineDistance angular cosine distance CorrelationDistance correlation coefficient distance
- ImageCorrelate takes a PerformanceGoal option to specify what aspect of performance to try to optimize. The default setting is PerformanceGoal"Speed".
Examplesopen allclose all
Introduced in 2008
(7.0)| Updated in 2010