nx_vision_pipeline_test.nx
buildroot/runtime/nx_vision_pipeline_test.nx
about
nx_vision_pipeline_test.nx -- full-substrate integration test.
Builds a single synthetic 32x32 RGB image with known features
(skin-toned background, a bright blob, a vertical edge, a circle)
and runs every vision primitive across L0->V10 in sequence.
Verifies cross-primitive compatibility and sane output ranges.
On any failure returns a unique error code so the smoke runner
can pinpoint exactly which primitive class regressed.
Coverage:
L4 nx_image : alloc, get/set, grayscale, Sobel, gradient mag, Otsu
L8 nx_features : Harris, corners, edges, CC, Hu, BRIEF
V1 nx_color_v2 : HSV, YCbCr, Kovac skin, palette, dominant
V4 nx_geom : Hough lines, Hough circles, orientation hist
V5 nx_texture : GLCM (contrast/energy/hom), LBP image+hist
V6 nx_scale : Gauss blur, downsample, pyramid 5L, DoG, extrema
V2 nx_compose : thirds, H/V symmetry, centroid, balance
V3 nx_light : mean, stddev, range, direction hist
V8 nx_salience : intensity, combined, peak, flatness
V10 nx_aesthetics : full report (5 components + composite)
dependencies 11 imports · 0 importers
diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.
imports: syscalls.nxnx_image.nxnx_features.nxnx_color_v2.nxnx_geom.nxnx_texture.nxnx_scale.nxnx_compose.nxnx_light.nxnx_salience.nxnx_aesthetics.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
| 35 | func main() -> i64 { |