You are here: Start » Tutorial Exercises » Gray-based Template Matching: Basic
Gray-based Template Matching: Basic
Aim:
Your task is to create a simple algorithm that can detect a marker on a printed circuit board.
Input:
Images of a printed circuit board at different angles.
The input images are stored in the gbtm_basic directory.
Output:
An application that detects the marker.
Hints
This exercise demonstrates a way to find an object in an image using Gray-based Template Matching.
To use GbTM, please use the LocateSingleObject_NCC filter.
Labeling connections is explained in this article.
Solution (FIS):
►Click here to show the solution.
Further Readings
- Template Matching - Most detailed description of the Template Matching technique.