I'm trying to "extend" the method described in the paper "Least-Squares Estimation of Transformation Parameters Between Two Point Patterns", by Shinji Umeyama (http://www.stanford.edu/class/cs273/refs/umeyama.pdf). What I need is to have a scaling matrix instead of a scaling scalar.
If I understand correctly, all I need can be generalized to: calculate the $D$ diagonal matrix that minimizes:
$$ \lVert A+DB \rVert^2 $$
Where A and B are rectangular matrices. That is the (55) formula fo the paper, where the second term is 0.
Can anybody help me find a formula or an algorithm?
Thank you,
Ignazio