MedianBlur/MedianBlur

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Parameters)
(update)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
== Introduction ==
+
{{FilterCat4|External_filters|Plugin_functions|Adjustment_filters|Blurring}}
 
+
'''Back to [[MedianBlur]] ←'''
== Parameters ==
+
== Description ==
{{Template:FuncDef|MedianBlur (int "radiusy", int "radiusu", int "radiusv", bool "calcborder")}}
+
A spatial median blur filter with a variable radius.
 
<br>
 
<br>
 
<br>
 
<br>
:{{Par|radiusy, u, v|int|2}}
+
== Requirements ==
::Specify the radius to use:  
+
* [[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: [[YV12]]
 +
<br>
 +
== [[Script variables|Syntax and Parameters]] ==
 +
:{{Template:FuncDef|MedianBlur (clip, int "radiusy", int "radiusu", int "radiusv", bool "calcborder")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip.
 +
<br>
 +
::{{Par2|radiusy|int|2}}
 +
::{{Par2|radiusu|int|2}}
 +
::{{Par2|radiusv|int|2}}
 +
:::Specify the radius to use:  
  
 
:::*If the supplied radius is between -1 and -255 the plane is set to -radius.  
 
:::*If the supplied radius is between -1 and -255 the plane is set to -radius.  
Line 13: Line 25:
 
:::*Default is 2.  
 
:::*Default is 2.  
 
<br>
 
<br>
:{{Par|calcborder|bool|true}}
+
::{{Par2|calcborder|bool|true}}
  
 
:::*If true (default) the borders of the frame is filtered too.  
 
:::*If true (default) the borders of the frame is filtered too.  
 
:::*If false then the border is copied from the source clip.<br>
 
:::*If false then the border is copied from the source clip.<br>
 +
 +
==Examples==
 +
MedianBlur with default settings:
 +
MedianBlur(radiusy=2, radiusu=2, radiusv=2, calcborder=true)
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[MedianBlur]] &larr;'''

Latest revision as of 11:46, 27 September 2014

Back to MedianBlur

Contents

[edit] Description

A spatial median blur filter with a variable radius.

[edit] Requirements


[edit] Syntax and Parameters

MedianBlur (clip, int "radiusy", int "radiusu", int "radiusv", bool "calcborder")


clip   =
Input clip.


int  radiusy = 2
int  radiusu = 2
int  radiusv = 2
Specify the radius to use:
  • If the supplied radius is between -1 and -255 the plane is set to -radius.
  • If the the radius is 0 the plane is copied unaltered.
  • If the radius is less than -255 the plane isn't processed at all.
  • Default is 2.


bool  calcborder = true
  • If true (default) the borders of the frame is filtered too.
  • If false then the border is copied from the source clip.

[edit] Examples

MedianBlur with default settings:

MedianBlur(radiusy=2, radiusu=2, radiusv=2, calcborder=true)




Back to MedianBlur

Personal tools