Realm

oa::vision::find_essential

Estimate the 3x3 essential matrix between points1 and points2 ([N, 2] F32, N >= 8) under the camera intrinsic matrix, matching findEssentialMat. Correspondences are normalized through K^-1, then the same normalized eight-point solve applies; the singular values of the result are collapsed to (s, s, 0) per the essential constraint. Errors Returns an error for mismatched/degenerate inputs, a singular camera, or nonpositive RANSAC bounds.

FnRust public API

Function Documentation

pub fn find_essential( points1: &Matrix, points2: &Matrix, camera: &Matrix, method: EstimationMethod, ransac_threshold: f32, max_iterations: i32, seed: u64 ) -> Result<EpipolarResult>
Estimate the 3x3 essential matrix between points1 and points2 ([N, 2] F32, N >= 8) under the camera intrinsic matrix, matching findEssentialMat. Correspondences are normalized through K^-1, then the same normalized eight-point solve applies; the singular values of the result are collapsed to (s, s, 0) per the essential constraint. Errors Returns an error for mismatched/degenerate inputs, a singular camera, or nonpositive RANSAC bounds.