As a conclusion to this chapter, it is essential to say a few words about the topic of comparison.
Let and
be two images to be analyzed, and let
and
be two characteristic points identified in the first and second images, respectively. To determine whether these two image points represent the same point, typically observed from different viewpoints and thus affected by affine transformations (translations, scaling changes, rotations), homographies, and possibly changes in brightness, it is necessary to define some form of metric
to perform this comparison.
Associated with each descriptor, a specific metric can be defined. In general, the most commonly used metrics are L1 (Manhattan, SAD) and L2 (Euclidean, SSD).
Since the points extracted from the two images will certainly be more than one, a scanning process must be performed, and each point from the first image will be associated only with that point from the second image which has the minimum distance according to the selected metric:
| (7.1) |
Typically, to reduce the number of incorrect matches, the association is confirmed only if the metric is below a specified threshold and the ratio between the best match and the second-best match is below a second uniqueness threshold.
Finally, after finding , the best association of point
on the second image, it can be verified that
does not have better associations on the first image.
Paolo medici