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.
引用格式
Yue Wu (2024). Template Matching using Correlation Coefficients (https://www.mathworks.com/matlabcentral/fileexchange/28590-template-matching-using-correlation-coefficients), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Computer Vision Toolbox > Tracking and Motion Estimation > Template Matching >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > ROI-Based Processing >
在 Help Center 和 MATLAB Answers 中查找有关 Template Matching 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!