MatchTemplate
FFT based template matching in Free Pascal
- Quiet · last change 11-15-2022
- ★ 2 on GitHub
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:
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;
