Least-squares affine transformation

Back to Affine transformation algorithms

Given

and

The problem is to find an affine transformation

where , and , such that the least-squares error

is minimized, where is the Frobenius norm. Denoting

the solution is given by

Files

Least-squares affine transformation