code wiki / _hdl_build / nx_essential3d_gate.nx

nx_essential3d_gate.nx

buildroot/runtime/_hdl_build/nx_essential3d_gate.nx

6165 B141 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_essential3d_gate.nx -- benchmark the essential-matrix 8-point estimation (cadtwin P1 pose front). Two cameras view a non-coplanar 3D cloud; fit E from 12 correspondences via the SVD-free power-iteration null space; the HELD-OUT epipolar residual (6 points NOT used to fit) proves E is the true two-view geometry, not overfit. Neg-control (wrong correspondences) -> large residual. This recovers relative pose geometry from images with UNKNOWN poses = the front of two-view SfM. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_essential3d.nx nx_essential3d_gate.nx

imports: nx_essential3d.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main hg_puts r3_lookat sys_mmap r3_normalize r3_isqrt r3_cross e3_projn e3_estimate_norm e3_normset e3_isqrt e3_row e3_estimate e3_abs e3_isqrt ↻ e3_mat3T e3_mat3mul e3_abs ↻ hg_putn hg_puts ↻ e3_residual e3_abs ↻ hg_tooth hg_puts ↻ e3_row ↻ e3_estimate ↻

structs

none

consts

none

functions

8func hg_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: hg_putnhg_toothmain
9func hg_putn(v: i64) -> i64
called by 1: main calls 1: hg_puts
22func hg_tooth(name: *u8, pass: i64, fails: *i64) -> i64
called by 1: main calls 1: hg_puts
30func main() -> i64