CSvMat CLBF3000::fitgeotrans(CSvMat& movingpoints, CSvMat& fixpoints) { /* function tform = findNonreflectiveSimilarity(uv,xy) % % For a nonreflective similarity: % % let sc = s*cos(theta) % let ss = s*sin(theta) % % [ sc -ss % [u v] = [x y 1] * ss sc % tx ty] % % There are 4 unknowns: sc,ss,tx,ty. % % Another way to write this is: % % u = [x y 1 0] * [sc % ss % tx % ty] % % v = [y -x 0 1] * [sc..