There are several techniques to obtain an optimal estimate of the rigid rotation and translation transformation between points belonging to the same space. An optimal estimate refers to the maximum likelihood estimate, where the observation noise is completely additive in the space
in which the points reside.
Said are therefore two sets of points
and
such that they are related by
To solve the optimal problem
that transforms all points from
to
, a least squares criterion is required that optimizes a cost function of the form
A notable result concerning the translation vector is obtained by applying the classic derivatives
to equation (1.69), which is null at
| (1.70) |
The optimal rotation must therefore minimize
An initial technique for calculating the rotation makes use of principal components (see section 2.10.1).
The principal components extracted from each set of points separately form a basis of the space. It is possible to determine a rotation that aligns these bases since the matrices of the column eigenvectors and
yield
directly. However, there may exist multiple solutions (each of which should be verified), and due to noise, deriving the axes through PCA can become extremely unreliable (for example, if the resulting distribution were circular, any estimation would be impossible).
The best approach to minimize (1.71) is to minimize or rather maximize:
| (1.72) |
minimizing the system of equations (1.69) is equivalent to maximizing the trace of the matrix
where
is the correlation matrix between the two point clouds defined as
| (1.73) |
| (1.74) |
This solution, much more stable than the PCA-based one and always valid for , requires particular attention only in two-dimensional and three-dimensional cases to handle potential reflections (in such cases, the determinant of the resulting matrix may be negative).
The "disadvantage" of the SVD-based technique compared to the PCA-based one is the requirement that the associations between the points of the two distributions be correct.
The combination of the two techniques along with an iterative approach is called Iterative Closest Point (ICP).
Paolo medici