RgTools/VerticalCleaner

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(RgTools/VerticalCleaner)
 
m (Syntax and Parameters)
Line 9: Line 9:
 
<br>
 
<br>
  
== Syntax and Parameters ==
+
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef| VerticalCleaner (''clip'', ''int'' "mode", ''int'' "modeU", ''int'' "modeV", ''bool'' "planar")}}
 
:{{Template:FuncDef| VerticalCleaner (''clip'', ''int'' "mode", ''int'' "modeU", ''int'' "modeV", ''bool'' "planar")}}
 
<br>
 
<br>
Line 26: Line 26:
 
:::This allows to skip any colorspace checks whatsoever, making the filter always assume that planar input is passed.
 
:::This allows to skip any colorspace checks whatsoever, making the filter always assume that planar input is passed.
 
<br>
 
<br>
 +
 
== Examples ==
 
== Examples ==
 
VerticalCleaner with default values:
 
VerticalCleaner with default values:

Revision as of 00:28, 22 June 2014

Back to RgTools

Contents

Description

A fast vertical median identical to the original VerticalCleaner.


Requirements

- Progressive input only
- Supported color formats: Y8, YV12, YV16, YV24, YV411


Syntax and Parameters

VerticalCleaner (clip, int "mode", int "modeU", int "modeV", bool "planar")


int  mode = 1
int  modeU = mode
int  modeV = modeU
Modes:
  • 0 : copy input
  • 1 : vertical median
  • 2 : relaxed vertical median (preserves more detail)
By default if modeU is not set it defaults to the value of mode. If modeV is not set it defaults to the value of modeU.
Note: The default mode of the original VerticalCleaner is 2.


bool  planar = false
Parameter to keep compatibility with the original plugin; it's use is not recommended.
This allows to skip any colorspace checks whatsoever, making the filter always assume that planar input is passed.


Examples

VerticalCleaner with default values:

AviSource("Blah.avi")
VerticalCleaner(mode=1, modeU=1, modeV=1, planar=false)





Back to RgTools

Personal tools