Valid matches allow us to improve the registration.
We use affine geometry which does not take the relief
into account:

An improvement of the registration is performed using
the valid matches obtained after the qualification step. The optimal registration
matrix is written as follows:
![]()
With

This functional is minimized by the Powel method.