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!