Files
lightcraft/crates/denoise
7935999d94 LR-EDIT-DETAIL-DENOISE: non-destructive AI RAW denoise with pure-Rust CPU/GPU
Recover the unpublished denoise work against current upstream. Preserve later opt-in model setup, shared Rust HTTPS downloads, pending-photo resume and an Amount-independent switch. Keep original RAWs unchanged and share the current color finish between ordinary and denoised sources.

Bound public tiling inputs, refuse corrupt-cache exports, and retain synthetic/real-model coverage. Include two Windows path spelling fixes in existing tests. No model weights, face code, media or Tract runtime are included.

Validation: cargo xtask ci (all seven gates); installed RawNIND CPU/GPU agreement 1.38e-6; native CPU preview/export on a public 24 MP Sony RAW, unchanged original SHA-256.

Co-authored-by: Codex <[email protected]>

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

Generated with Codex.
2026-10-08 22:07:20 -04:00
..

lightcraft-denoise

L1 pure-Rust AI RAW denoise primitives and CPU inference. No weights are bundled. See user workflow and limitations.

manifest and known validate opt-in models; onnx reads a bounded operator subset into net; cpu executes it and reference supplies scalar checks. bayer, tiles and run pack sensor data and blend overlapping tiles while preserving clipped highlights. product reads/writes the disposable .lcdn cache. runtime supplies the installation self-test. Synthetic networks are generated in Rust for tests.

Run cargo test -p lightcraft-denoise. Real-model tests are ignored by default and require an explicitly supplied local model. The GPU twin is lightcraft-gpu::nn; model management, background jobs and export integration live in lightcraft-engine.