nx_lbp_grid.nx
buildroot/runtime/nx_lbp_grid.nx
about
nx_lbp_grid.nx -- SOVEREIGN face-descriptor RUNG 3 GATE: spatial-grid LBP descriptor. Splits a normalized
image into g x g cells, each a 256-bin LBP histogram, packed into one descriptor -> keeps WHERE texture
occurs (eyes/nose/mouth regions), which a single global histogram throws away. Proven with a spatial-
LOCALITY KAT (a localized pixel change leaves a DISTANT cell's histogram bit-identical) and a real-image
resize->grid->distance check (self=0, distinct>0). SAME-vs-DIFFERENT-person recall (vs the insightface
benchmark) is the next rung. Build/run: ./_offc/nx_sov_build_run.elf nx_lbp_grid license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_lbp_core.nxnx_lbp_imgio.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 11 | func 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 |
| 12 | func copybuf(dst: *u8, src: *u8, n: i64) -> i64 { var i: i64=0; while i<n { dst[i]=src[i]; i=i+1 } return 0 } called by 1: main |
| 13 | func zeroN(p: *i64, n: i64) -> i64 { var i: i64=0; while i<n { p[i]=0; i=i+1 } return 0 } called by 1: main |
| 14 | func sumN(p: *i64, n: i64) -> i64 { var s: i64=0; var i: i64=0; while i<n { s=s+p[i]; i=i+1 } return s } called by 1: main |
| 16 | func main() -> i64 |