nx_selfcalib.nx
buildroot/runtime/nx_selfcalib.nx
about
nx_selfcalib.nx -- Recovers focal length and 7-DOF pose using Gauss-Newton optimization from correspondence data.
dependencies 1 imports · 1 importers
imports: nx_pnprefine.nx
imported by: nx_multical.nx
structs
| none |
consts
| 16 | const SC_DF: i64 = 4 // focal probe step (pixels) |
| 17 | const SC_SQ: i64 = 1024 |
| 18 | const SC_MAXSTEP: i64 = 8 |
| 19 | const SC_FMIN: i64 = 20 // a focal outside this band is not a camera, it is a diverged solve |
| 20 | const SC_FMAX: i64 = 4000 |
functions
| 23 | func sc_solve(A: *i64, b: *i64, x: *i64, n: i64) -> i64 |
| 79 | func sc_step7(cam: *i64, basis: *i64, fp: *i64, p3: *i64, obs: *i64, n: i64, w: *i64) -> i64 |
| 161 | func sc_refine7(cam: *i64, basis: *i64, fp: *i64, p3: *i64, obs: *i64, n: i64, iters: i64, w: *i64) -> i64 |