2DCleanYUY2

From Avisynth wiki
Jump to: navigation, search
Abstract
Author kiraru2003, xeon533
Version 17.03.2003
Download _2DCleanYUY2_v0_10_mod_for_smp_YV12.zip
Category Spatial Denoisers
License GPLv2
Discussion

Contents

[edit] Description

This filter averages pixels in a configurable radius around a source pixel that are within a configurable threshold of the central pixel. This has the effect of blending low-level video noise while retaining sharp details.

[edit] Requirements

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


[edit] Syntax and Parameters

_2DCleanYUY2 (clip, int "interlaced", int "thresholdY", int "radiusX", int "radiusY", int "dmode", int "thresholdU", int "thresholdV")


clip   =
Input clip.


int  interlaced = 0
0=false, 1=true


int  thresholdY = 9
Luma threshold.


int  radiusX = 2
The next horizontal point in range to compare.
Range: 0 to 3


int  radiusY = 2
The next vertical point in range to compare.
Range: 0 to 9


int  dmode = 0
Debug view [Only works with YUY2].
  • 0 = none (default)
  • 1 = Displays edges in black over original clip
  • 2 = White background with the edges displayed in black
  • 3 = Edge, average new = (current + new + 1) / 2 and the processing value and the original value)
  • 4 = Edge, new = current you do not handle value. Ie original


int  thresholdU = -1
int  thresholdV = -1
Independent chroma (U/V) threshold.
By default both parameters are set to -1; meaning they will default to the value of thresholdY


[edit] Examples

_2DCleanYUY2 with default settings:

AviSource("Blah.avi")
_2DCleanYUY2(interlaced=0, thresholdY=9, radiusX=2, radiusY=2, dmode=0, thresholdU=-1, thresholdV=-1)


[edit] External Links

Avisynth plugin:


VirtualDub plugin:




Back to External Filters

Personal tools