oa::vision::find_homography
Estimate the 3x3 homography mapping source [x, y] points to destination points. LeastSquares runs normalized DLT over all points; Ransac draws max_iterations seeded 4-point samples, keeps the largest consensus set under ransac_threshold symmetric transfer error (pixels), and refits on its inliers. Both inputs are [N, 2] F32 with N >= 4. Errors Returns an error for mismatched/degenerate inputs, a nonpositive threshold or iteration bound, or when no nonsingular model exists.
Function Documentation
Estimate the 3x3 homography mapping source [x, y] points to destination points. LeastSquares runs normalized DLT over all points; Ransac draws max_iterations seeded 4-point samples, keeps the largest consensus set under ransac_threshold symmetric transfer error (pixels), and refits on its inliers. Both inputs are [N, 2] F32 with N >= 4. Errors Returns an error for mismatched/degenerate inputs, a nonpositive threshold or iteration bound, or when no nonsingular model exists.