nx_image_clarity.nx
buildroot/runtime/nx_image_clarity.nx
about
nx_clarity.nx -- photographic vs image-level clarity.
Per-region Sobel + salience-peak window + focal-vs-ambient ratio.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_image.nxnx_salience.nx
imported by: nobody (leaf or entry point)
structs
| 26 | struct ClarityVerdict |
consts
| 14 | const NX_CLARITY_NONE: i64 = 0 |
| 15 | const NX_CLARITY_PHOTOGRAPHIC: i64 = 1 |
| 16 | const NX_CLARITY_IMAGE_LEVEL: i64 = 2 |
| 17 | const NX_CLARITY_MIXED: i64 = 3 |
| 19 | const NX_CLARITY_FOCAL_RADIUS_Q10: i64 = 128 |
| 20 | const NX_CLARITY_SHARP_FLOOR_Q10: i64 = 256 |
| 21 | const NX_CLARITY_PHOTO_RATIO_Q10: i64 = 2048 |
| 22 | const NX_CLARITY_LEVEL_RATIO_Q10: i64 = 1280 |
| 23 | const NX_CLARITY_RATIO_CAP: i64 = 10240 |
| 24 | const NX_CLARITY_SOBEL_TO_Q10: i64 = 16 |
functions
| 36 | func nx_clarity_compute(gray: *Image, verdict: *ClarityVerdict) -> i64 |