gives the correlation of image with kernel ker.
Details and Options
- The correlation kernel is given as a two-dimensional numerical matrix.
- ImageCorrelate[image,ker] by default gives an image of the same dimensions as image.
- The kernel ker can be another image.
- The correlation kernel must have either one channel or the same number of channels as the image.
- ImageCorrelate takes a Padding option. The default setting is Padding->"Fixed".
- With a setting Padding->None, ImageCorrelate[image,ker] normally gives an image smaller than image.
- ImageCorrelate operates separately on each channel in an 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