Template Matching using Correlation Coefficients

This file includes a simple but fast correlation based template matching algorithm.

You are now following this Submission

The correlation coefficient calculation is implemented not with built-in function corr or corr2 but with conv2. Function corr is relatively slow for template matching purpose and it is also required extra considerations on controlling the boundary and selecting region of interest on the frame image. However, by using conv2, the template matching speed has been accelerated and run-time has reduced to a reasonable value.

Cite As

Yue Wu (2026). Template Matching using Correlation Coefficients (https://au.mathworks.com/matlabcentral/fileexchange/28590-template-matching-using-correlation-coefficients), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

some changes are made in description

1.0.0.0