Vapoursynth NNEDI3AA
NNEDI3AA (Emulgator's method) anti-aliases by doubling the picture in both directions with the neural network interpolator NNEDI3 and scaling it back with Spline36.
Filtering → Vapoursynth → Line

What it does
NNEDI3 doubles the height, the picture is transposed, NNEDI3 doubles it again, and after transposing back Spline36 scales it to the source size with a half-pixel shift correction. Both directions are rebuilt by the network, which removes jaggies with little blur. NNEDI3 runs with its default settings; the filter has no settings of its own.
Settings
| Control | Parameter | Range / values | Hybrid default | Meaning |
|---|---|---|---|---|
| Tools: NNEDI3 | – | znedi3, sneedif, nnedi3vk, vszipcu | znedi3 | Implementation: znedi3 (CPU), sneedif (OpenCL), nnedi3vk (Vulkan), vszipcu (NVIDIA CUDA); a Device field appears for the GPU ones. |
Example
Default settings on a 10-bit YUV 4:2:0 source (640x356):
# Anti Aliasing using NNedia3aa
clip = antiAliasing.nnedi3aa(clip, tools={'nnedi3': 'znedi3'})
How Hybrid calls it
- NNEDI3AA works on 8–16-bit integer YUV and RGB clips and on 32-bit float RGB; other formats are converted first.
- Only the implementation and, for a GPU implementation, the device are written.
- NNEDI3AA also offers the common options (Masked, ApplyOnlyTo, Merge, OnRegion, Gimmick).
Background
NNEDI3 defaults
According to the znedi3 README the defaults are a 32x4 neighborhood, 32 neurons and quality 1, with the newer prescreener for integer clips and the old one for float. For control over these values use DAA or Santiag.
Sources
- znedi3 README
- VapoursynthScriptsInHybrid (the script collection Hybrid uses)
- Hybrid's tooltips