Fast/Robust Template Matching

Template Matching with SSD Block Matching and Normalized CC, (color) 2D and 3D
ダウンロード: 19.3K
更新 2011/2/22


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.


Dirk-Jan Kroon (2024). Fast/Robust Template Matching (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
Windows macOS Linux
Help Center および MATLAB AnswersTemplate Matching についてさらに検索

ヒントを与えたファイル: Microscopy Image Browser (MIB), Microscopy Image Browser 2 (MIB2)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート

Faster Multiple Template search

Fixed Range to 0..1