Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

MatchTemplate

FFT based template matching in Free Pascal

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Pure FPC implementation of FFT based template matching.

Template matching is a technique for finding areas of an image that match (are similar) to a smaller image.

Exported:

pascal
type ETMFormula = (TM_CCORR, TM_CCORR_NORMED, TM_CCOEFF, TM_CCOEFF_NORMED, TM_SQDIFF, TM_SQDIFF_NORMED);
function MatchTemplate(constref img, sub: T2DIntArray; Formula: ETMFormula=TM_CCOEFF_NORMED): T2DRealArray;