|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ImageCorrelate
ImageCorrelate[image, ker]
gives the correlation of image with kernel ker.
ImageCorrelate[image, ker, f]
computes a generalized correlation in which the function f is used in place of Dot.
Details and OptionsDetails 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 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".
New in 7 | Last modified in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




