mirror of
https://github.com/storytold/lightcraft.git
synced 2026-12-02 15:01:19 -05:00
312b2dc8bb
The CPU collaborative filter ran the 2-D DCT on every member of every group, so a block was transformed each time it joined a group, and the Wiener step transformed the pilot's blocks again for every group. Each block's coefficients are now worked out the first time a group asks for them and reused. The output is bit-for-bit the same. Co-Authored-By: Claude <noreply@anthropic.com>
lightcraft-denoise-core
L1 model metadata, bounded archive/cache formats and Bayer packing/tiling helpers.
No weights or inference backend. See the user workflow.
lightcraft-denoise re-exports these types for CPU/GPU users; the engine uses this
crate directly when inference is disabled. The default download catalog is empty.
Run cargo test -p lightcraft-denoise-core; optional catalog checks use --features rawnind-model.
The Bayer runner rejects non-finite source samples before inference and non-finite results after gain matching, highlight protection and tile blending. Finite negative and HDR source samples remain supported. These guards do not implement Raw Details or Super Resolution.