PANDORE Version 6 |
GREYC-IMAGE |
pcrosscorrelation
Cross-correlation between an image and a pattern.
Synopsis
pcrosscorrelation [-m mask] [im_in1|-] [im_in2|-] [im_out|-]
Description
pconvolution measures
for each pixel the degree of matching between
the pattern im_in2 and the image im_in1
centered at the pixel.
Inputs
- im_in1: a grayscale image (Img2duc).
- im_in2: a grayscale image of pattern.
Outputs
- im_out: a Float image with pixels between 0 et 1.
Result
Returns SUCCESS or FAILURE.
Examples
Detection of the occurrences of the pattern letter.pan
in the image page.pan.
pcrosscorrelation page.pan letter.pan image1.pan
See also
Template Matching
C++ prototype
Errc PCrossCorrelation( const Img2duc &im_in1, const Img2duc &im_in2, Img2dsf &im_out );
Version française
Corrélation croisée entre une image et un motif.
Author: Régis Clouard