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
+4 -2
View File
@@ -722,7 +722,9 @@
<tr><td>Sharpen — Detail</td><td>How much fine structure is included; lower values protect smooth areas.</td></tr>
<tr><td>Noise reduction — Luminance</td><td>Smooths luminance noise at the cost of fine detail.</td></tr>
<tr><td>Noise reduction — Detail</td><td>How much texture survives the smoothing.</td></tr>
<tr><td>Denoise</td><td>Detail-preserving pass that runs on the server for difficult high-ISO frames; the result is cached per parameter set.</td></tr>
<tr><td>Denoise</td><td>Detail-preserving pass that runs on the server for difficult high-ISO frames; the result is cached per model, so switching back to a model you already rendered is instant.</td></tr>
<tr><td>AI denoise — Model</td><td><b>Guided</b> (default, fastest, keeps the most fine texture), <b>SCUNet</b> (learned model, removes the most grain and smooths more) or <b>NLM</b> (non-local means, between the two). Pick one and press Generate; the model is saved with the photo.</td></tr>
<tr><td>AI denoise — Amount</td><td>Blends the rendered result into the frame. The server always renders at full strength, so the slider is instant and never re-runs the model.</td></tr>
</tbody>
</table>
@@ -1244,7 +1246,7 @@
<tr><td><code>previews/&lt;id&gt;.p16.png</code></td><td>16-bit sidecar: the decoded samples before JPEG quantisation.</td></tr>
<tr><td><code>previews/&lt;id&gt;.t16.png</code></td><td>Camera-native grid thumbnail generated from the sidecar.</td></tr>
<tr><td><code>thumbs/&lt;id&gt;.jpg</code></td><td>Grid thumbnail.</td></tr>
<tr><td><code>denoised/&lt;id&gt;.&lt;hash&gt;.jpg</code></td><td>Cached denoise result per parameter set.</td></tr>
<tr><td><code>denoised/&lt;id&gt;.&lt;hash&gt;.jpg</code></td><td>Cached denoise result, one per model (Guided, SCUNet, NLM) per photo.</td></tr>
<tr><td><code>proofs/</code>, <code>proofThumbs/</code></td><td>Published client proofs and their thumbnails.</td></tr>
<tr><td><code>tether/&lt;event&gt;/</code></td><td>The tethered capture drop folder.</td></tr>
<tr><td><code>secret.key</code></td><td>Generated key sealing SMTP and API credentials. Back it up with the database.</td></tr>