RgTools/VerticalCleaner

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Syntax and Parameters)
m (Undo revision 5227 by Reel.Deal (talk))
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{FilterCat4|External_filters|Plugin_functions|Denoisers|Spatial_denoisers}}
 
'''Back to [[RgTools#Filters|RgTools]] ←'''
 
'''Back to [[RgTools#Filters|RgTools]] ←'''
 
== Description ==
 
== Description ==
: A fast vertical median identical to the original [[VerticalCleaner]].
+
A fast vertical median identical to the original [[VerticalCleaner]].
 +
<br>
 
<br>
 
<br>
 
 
== Requirements ==
 
== Requirements ==
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
+
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
:- Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
+
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
<br>
 
<br>
  
 
== [[Script variables|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>
 +
::{{Par2| |clip| }}
 +
:::Input clip must be [[planar]].
 
<br>
 
<br>
 
::{{Par2|mode|int|1}}
 
::{{Par2|mode|int|1}}
Line 32: Line 36:
 
  VerticalCleaner(mode=1, modeU=1, modeV=1, planar=false)
 
  VerticalCleaner(mode=1, modeU=1, modeV=1, planar=false)
  
<br>
 
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[RgTools#Filters|RgTools]] &larr;'''
 
'''Back to [[RgTools#Filters|RgTools]] &larr;'''

Latest revision as of 06:01, 14 January 2015

Back to RgTools

Contents

[edit] Description

A fast vertical median identical to the original VerticalCleaner.

[edit] Requirements


[edit] Syntax and Parameters

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


clip   =
Input clip must be 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.


[edit] Examples

VerticalCleaner with default values:

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




Back to RgTools

Personal tools