You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
TEMPLATE_MATCHING is a CPU efficient function which calculates matching score images between template and (color) 2D image or 3D image volume.
It calculates:
- The sum of squared difference (SSD Block Matching), robust template matching.
- The normalized cross correlation (NCC), independent of illumination, only dependent on texture
The user can combine the two images, to get template matching which works robust with his application.
Both matching methods are implemented using FFT based correlation.
Try the examples.
Please report: bugs, successes and other comment.
Cite As
Dirk-Jan Kroon (2026). Fast/Robust Template Matching (https://uk.mathworks.com/matlabcentral/fileexchange/24925-fast-robust-template-matching), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Microscopy Image Browser (MIB), Microscopy Image Browser 2 (MIB2)
General Information
- Version 1.2.0.0 (13.4 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
