Computes an image of correlation between a pattern and the input image at each possible location.
|inPatternImage||Image||Pattern to be compared with input image|
|inRoi||Region*||Range of pixels to be processed|
|inPatternRoi||Region*||Range of pixels in the pattern to be processed|
|inCorrelationMeasure||CorrelationMeasure||Measure of correlation|
The operation computes the correlation between inImage and inPatternImage. The inPatternImage is aligned at each location of the inImage and the similarity between the inPatternImage and the corresponding part of the inImage is estimated using the inCorrelationMeasure as in ImageCorrelation filter. The result is stored in the pixel of the outImage that corresponds to the location at which the center of inPatternImage was aligned to the inImage.
This operation supports automatic parallelization for multicore and multiprocessor systems.
This operation supports processing on OpenCL compatible device (when inRoi=NIL, inPatternRoi=NIL and pixel type is uint8).
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
|DomainError||Not supported correlation measure in ImageCorrelationImage.|
This filter is available on Advanced Complexity Level.