Avisynth Undot

From wiki.selur.net
Jump to navigation Jump to search

Undot removes single stray pixels ("dots"). It has no settings.

Filtering → Avisynth → DeRing

Undot controls in Hybrid
Undot controls in Hybrid

What it does

Each pixel is limited to the range of values of its eight neighbours. An isolated bright or dark speck is pulled back into that range and disappears; everything else stays as it is. The filter is very light, and on clean material it barely changes anything. The border pixels of the frame are skipped.

It gives the same result as RemoveGrain mode 1, except that mode 1 also processes the border pixels. Stronger cleaning is available with RemoveGrain mode 2 and higher.

Settings

Control Parameter Range Hybrid default Meaning
Undot – on/off off Enables the filter. There are no further settings.

Example

Enabled on a 10-bit YUV 4:2:0 source:

Undot()

How Hybrid calls it

  • Hybrid loads UnDot.dll and calls Undot() without parameters.
  • Accepted input: YV12, YV16, YV24 and YUY2. Interlaced input is not treated specially.
  • Undot also offers the common options and can be added to the filter queue several times.

Background

  • Undot is a small, old AviSynth 2.5 plugin (file dated 2006). It is thought to come from Kassandro, the author of RemoveGrain.
  • Undot is also available as an optional post filter in TemporalDegrain2; that is a separate setting.

Sources