Vapoursynth MiniDeen

From wiki.selur.net
Revision as of 21:53, 14 November 2026 by Selur (talk | contribs) (New filter page (via create-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MiniDeen is a spatial denoiser: every pixel becomes the average of the neighbors in a square around it that differ from it by less than a threshold. Edges and detail are mostly kept.

Filtering → Vapoursynth → DeNoise

MiniDeen controls in Hybrid
MiniDeen controls in Hybrid

What it does

For each pixel the neighbors within Radius are compared with it; only those closer than Threshold are averaged (the center pixel counts three times). Radius and threshold are set per plane.

Settings

Control Parameter Range / values Hybrid default Meaning
Threshold (Y/U/V) threshold 2 – 255 10 / 12 / 12 Largest difference of a neighbor that is still averaged, on the 8-bit scale; smaller values filter more gently.
Radius (Y/U/V) radius 3x3 – 15x15 3x3 Size of the square (radius 1–7).
Planes planes all, chroma only, luma only all Planes that are filtered.

Example

Default settings on a 10-bit YUV 4:2:0 source:

# denoising using neo-minideen
clip = core.neo_minideen.MiniDeen(clip, threshold=[10,12,12])

How Hybrid calls it

  • MiniDeen works on 8–16-bit integer YUV and gray clips; other formats are converted first.
  • The threshold is always written; the plugin scales it to the bit depth. The radius only when a plane is not 3x3, the planes only when not all.
  • MiniDeen also offers the common options (Masked, ApplyOnlyTo, Merge, OnRegion, Gimmick).

Background

MiniDeenNeo

The plugin is a combined AviSynth+ and VapourSynth port of VapourSynth-MiniDeen, which goes back to dubhater's original. The SIMD versions (SSE2, AVX2) give the same result as the C code; on macOS (arm64) only the C version is available.

Sources