UnDot

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (External Links: copy pasta oops)
(add deprecated note)
 
Line 9: Line 9:
 
== Description ==
 
== 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.
 
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.
 +
<br>
 +
<br>
 +
<span style="color:red">'''Note: [[RgTools]] is recommended as a modern replacement for Undot. [[RgTools/RemoveGrain|RemoveGrain(mode=1)]] is identical to <code>Undot()</code>'''</span>
 
<br>
 
<br>
 
<br>
 
<br>

Latest revision as of 20:37, 24 November 2022

Abstract
Author Tom Barry
Version v0.0.1.1
Download UnDot.zip
Category Spatial denoisers
License GPLv2
Discussion Doom9 Thread

Contents

[edit] 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()

[edit] Requirements

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


[edit] 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.


[edit] Examples

AviSource("Blah.avi")
UnDot()


[edit] 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


[edit] Archived Downloads

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


[edit] External Links




Back to External Filters

Personal tools