Realm

oa::vision::find_fundamental

Estimate the 3x3 fundamental matrix between points1 and points2 ([N, 2] F32, N >= 8), matching findFundamentalMat. LeastSquares runs the normalized eight-point solve; Ransac draws max_iterations seeded 8-point minimal samples scored by symmetric epipolar distance under ransac_threshold (pixels) and refits on the inlier set. The estimate is enforced to rank 2 before return. Errors Returns an error for mismatched/degenerate inputs, nonpositive bounds, or when no rank-2 model exists.

FnRust public API

Function Documentation

pub fn find_fundamental( points1: &Matrix, points2: &Matrix, method: EstimationMethod, ransac_threshold: f32, max_iterations: i32, seed: u64 ) -> Result<EpipolarResult>
Estimate the 3x3 fundamental matrix between points1 and points2 ([N, 2] F32, N >= 8), matching findFundamentalMat. LeastSquares runs the normalized eight-point solve; Ransac draws max_iterations seeded 8-point minimal samples scored by symmetric epipolar distance under ransac_threshold (pixels) and refits on the inlier set. The estimate is enforced to rank 2 before return. Errors Returns an error for mismatched/degenerate inputs, nonpositive bounds, or when no rank-2 model exists.