code wiki / (root) / nx_lbp.nx

nx_lbp.nx

buildroot/runtime/nx_lbp.nx

3546 B58 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic lbp
docsdependenciesstructsconstsfunctions

about

nx_lbp.nx -- SOVEREIGN face-descriptor RUNG 1 GATE (hardware-up, integer-only). Proves the LBP operator + histogram + chi-square distance (in nx_lbp_core.nx) with a BIT-EXACT KAT and a same<different neg-control. LBP is weight-free + illumination-invariant by construction -> a capability we reproduce from first principles. BENCHMARK (measuring-stick ONLY): insightface ArcFace 512-d embeddings. Build/run: ./_offc/nx_sov_build_run.elf nx_lbp license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_lbp_core.nx nx_lbp.nx

imports: nx_syscalls.nxnx_lbp_core.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap lbp_code lp sys_write ln sys_mmap ↻ sys_write ↻ fill_uniform zero256 lbp_hist lbp_hist_region lbp_code ↻ hsum chi2 chi2_range fill_gradient sys_exit

structs

none

consts

none

functions

9func fill_uniform(img: *u8, n: i64, val: i64) -> i64 { var i: i64=0; while i<n { img[i]=val as u8; i=i+1 } return 0 }
called by 1: main
10func fill_gradient(img: *u8, w: i64, h: i64, step: i64) -> i64
called by 1: main
14func main() -> i64