UnDot

From Avisynth wiki
Jump to: navigation, search
Abstract
Author Tom Barry
Version v0.0.1.1
Download UnDot.zip
Category Spatial denoisers
License GPLv2
Discussion Doom9 Thread

Contents

Description

UnDot is a simple median filter for removing dots, that is stray orphan pixels and mosquito noise. It basicly just clips each pixel value to stay within min and max of its eight surrounding neighbors.

Note: RgTools is recommended as a modern replacement for Undot. RemoveGrain(mode=1) is identical to Undot()

Requirements

  • AviSynth 2.5.8 or later
  • Supported color formats: YUY2, YV12


Syntax and Parameters

UnDot (clip)


clip   =
Input clip; In YV12 mode, UnDot filters both luma and chroma; however, in YUY2 mode, it only filters luma.


UnDot's theory of operation is very simple: it clips each pixel to stay within the minimum and maximum values of its eight spatial neighbors (pure minmax clipping, therefore identical to RemoveGrain(mode=1)). This doesn't produce a very visible effect at all, but it helps compressibility. Because UnDot can be used without losing any details* and with hardly any speed penalty, it's a good filter to use before other smoothers.
  • * Exception: Do NOT use UnDot if your video contains any dither dissolves. Since these rely on single isolated pixels being from a different clip than those around them, UnDot will destroy the effect by whipping those deviant pixels into line with their surroundings.


Examples

AviSource("Blah.avi")
UnDot()


Changelog

Version       Date            Changes
v0.0.1.1 2003/01/18 - Use AviSynthPluginInit2 v0.0.1.0 2002/11/03 - Initial test release for AviSynth 2.5 alpha only


Archived Downloads

Version Download Mirror Mirror 2
v0.0.1.1 UnDot.zip UnDot.zip undot_25_dll_20030118.zip


External Links




Back to External Filters

Personal tools