code wiki / (root) / nx_lbp_imgio.nx

nx_lbp_imgio.nx

buildroot/runtime/nx_lbp_imgio.nx

1516 B33 linesdepth 8pulls 12 transitivereach 3 importersview sourcekind librarytopic lbp
docsdependenciesstructsconstsfunctions

about

nx_lbp_imgio.nx -- shared SOVEREIGN image loader for the LBP face-descriptor arc (NO main): PNG file -> 8-bit luma grayscale, plus a fixed-size variant for the spatial-grid descriptor. Honest scope: 8-bit samples + RGB(A) (nch>=3) only -- matches the gallery PNGs; other encodings return failure, not garbage. license_tier: ORIGINAL

dependencies 3 imports · 3 importers

nx_syscalls.nx nx_png_decoder.nx nx_lbp_core.nx nx_lbp_imgio.nx nx_lbp_batch.nx nx_lbp_grid.nx nx_lbp_img.nx

imports: nx_syscalls.nxnx_png_decoder.nxnx_lbp_core.nx

imported by: nx_lbp_batch.nxnx_lbp_grid.nxnx_lbp_img.nx

structs

none

consts

none

functions

10func load_gray(path: *u8, wout: *i64, hout: *i64) -> *u8
27func load_gray_fixed(path: *u8, dw: i64, dh: i64, dst: *u8) -> i64