SHAPE BASED MATCHING
Shape based matching is a technique that involves matching a specific set of corner points and their gradients to find the model image in the target
First, a set of control points, , is extracted from the model image by an Edge Detection operation and the gradient direction at each is recorded.
Then at each position the gradients of the are compared to the ones computed from the image in order to compute a similarity function
with:
The upper function is limited in the interval and it peaks when all model points are perfectly aligned with the target computed points, in this case a threshold can be set as the minimum number of model points to detect in the target image
IMPROVEMENTS
ROBUSTNESS
in some application is required to be invariant to global inversion of contrast polarity so a simple improvement of the similarity function can be deployed
PERFORMANCES
The computation of the similarity function can be improved once a threshold is chosen given the partial similarity function as:
so the following relation can be established:
and given the fact that the value of the similarity function need to be lower than the threshold
it can be said that
When the condition is verified the computation of the similarity function can be stopped
PROPERTIES
- Intensity invariant as the similarity function is based on gradient direction only
- No need of computing the edges on the target image which is a risky procedure
- robustness to occlusion which can be tuned by the parameter