Offer SCUNet and NLM alongside the guided denoise

The AI denoise panel now picks between three bases: the existing guided
filter, non-local means and a learned SCUNet model run through
onnxruntime-node on overlapping tiles. The base is part of the render key, so
each model keeps its own cached render and switching back is instant, and jobs
report stage and tile progress instead of a bare spinner.

onnxruntime-node is pinned to 1.23.0, the last release that ships both macOS
architectures, and every Docker and desktop install skips its CUDA download
because only the CPU binaries in the package are used. The SCUNet weights and
ONNX Runtime are added to the third-party notices, the deb copyright file and
the README's denoise, API and redistribution sections.
This commit is contained in:
2026-12-01 04:03:53 +00:00
parent b34d34dacb
commit f7942d0bd0
26 changed files with 945 additions and 161 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ export interface Edits {
* generated asset and is null until one exists; `amount` blends it over the
* source. Separate from `noise`, which is a small GPU-side filter.
*/
aiDenoise: { amount: number; key: string | null; model: string };
aiDenoise: { amount: number; key: string | null; model: 'guided' | 'nlm' | 'scunet' };
/** fringe removal amounts for the two casts lens CA produces */
defringe: { purple: number; green: number };
/** spot healing, applied to the source before grading */