oa::image::estimate_affine_2d
Least-squares estimate the 2x3 affine transform mapping source points to destination points, matching estimateAffine2D without refinement. Both inputs must be [N, 2] F32 matrices with N >= 3 equal rows. Errors Returns an error unless both inputs share an [N, 2] F32 shape with N >= 3 and the normal equations are nonsingular.
Function Documentation
Least-squares estimate the 2x3 affine transform mapping source points to destination points, matching estimateAffine2D without refinement. Both inputs must be [N, 2] F32 matrices with N >= 3 equal rows. Errors Returns an error unless both inputs share an [N, 2] F32 shape with N >= 3 and the normal equations are nonsingular.