Correlation: template matching

Building the Cantata Workspace


  1. Convert the input image $DIP/data/gull.viff to floating point using the operator Convert Type.
  2. Select a small (10x10) pattern from the image using the Extract operator.
  3. Perform the correlation between the image and the pattern using the Linear Operator. See Statistics operator to find the coordinates of the maximum point of the result
  4. Perform the normalized correlation:

Exercises


DIP Feedback Form

Copyright © 1995 KRI, ISTEC, Ramiro Jordán, Roberto Lotufo. All Rights Reserved.