nx_multical.nx
buildroot/runtime/nx_multical.nx
about
nx_multical.nx -- Jointly calibrates multiple camera views with a shared focal length and per-view poses using Gauss-Newton optimization.
dependencies 1 imports · 1 importers
imports: nx_selfcalib.nx
imported by: nx_distcal.nx
structs
| none |
consts
| 18 | const MC_DF: i64 = 4 // focal probe step (pixels) |
| 19 | const MC_SQ: i64 = 1024 |
| 20 | const MC_MAXSTEP: i64 = 8 |
| 21 | const MC_FMIN: i64 = 20 // outside this band it is not a camera, it is a diverged solve |
| 22 | const MC_FMAX: i64 = 4000 |
| 23 | const MC_MAXV: i64 = 6 // views; the work buffers below are sized for this |
functions
| 28 | func mc_work() -> *i64 |
| 43 | func mc_resid(cams: *i64, bases: *i64, f: i64, p3: *i64, obs: *i64, np: i64, nv: i64, r: *i64) -> i64 |
| 56 | func mc_step(cams: *i64, bases: *i64, fp: *i64, p3: *i64, obs: *i64, np: i64, nv: i64, w: *i64) -> i64 |
| 169 | func mc_refine(cams: *i64, bases: *i64, fp: *i64, p3: *i64, obs: *i64, np: i64, nv: i64, iters: i64, w: *i64) -> i64 |