MedianBlur/MedianBlurB: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Created page with "== Introduction == A binary median blur filter. It will take advantage of integer SSE if present. == Parameters == {{Template:FuncDef|MedianBlurB (int "radiusy", int "radiusu..."
 
update
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Introduction ==
{{FilterCat4|External_filters|Plugin_functions|Adjustment_filters|Blurring}}
A binary median blur filter. It will take advantage of integer SSE if present.
'''Back to [[MedianBlur]] ←'''
 
== Description ==
== Parameters ==
A binary median blur filter. It will take advantage of [[ISSE]] if present.
{{Template:FuncDef|MedianBlurB (int "radiusy", int "radiusu", int "radiusv", int "thresholdy", int "thresholdu", int "thresholdv", bool "calcborder")}}
<br>
<br>
== Requirements ==
* [[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|MedianBlurB (clip, int "radiusy", int "radiusu", int "radiusv", int "thresholdy", int "thresholdu", int "thresholdv", bool "calcborder")}}
<br>
<br>
::{{Par2| |clip| }}
:::Input clip.
<br>
<br>
:{{Par|radiusy, u, v|int|2}}
::{{Par2|radiusy|int|2}}
::Specify the radius to use:  
::{{Par2|radiusu|int|2}}
::{{Par2|radiusv|int|2}}
:::Specify the radius to use:  


:::*Default is 2.
:::*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.  
:::*If the the radius is 0 the plane is copied unaltered.  
:::*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.
:::*If the radius is less than -255 the plane isn't processed at all.
:::*Default is 2.
<br>
<br>
:{{Par|thresholdy, u, v|int|127}}
::{{Par2|thresholdy|int|127}}
::{{Par2|thresholdu|int|127}}
::{{Par2|thresholdv|int|127}}
:::*Specify the threshold to use to make the mask. Afterwards the mask is median blured.
:::*Specify the threshold to use to make the mask. Afterwards the mask is median blured.
:::*Default is 127.
:::*Default is 127.
<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>
<br>
==Examples==
MedianBlurB with default settings:
MedianBlurB(radiusy=2, radiusu=2, radiusv=2, thresholdy=127, thresholdu=127, thresholdv=127, calcborder=true)
<br>
<br>
-----------------------------------------------
'''Back to [[MedianBlur]] &larr;'''

Latest revision as of 11:53, 27 September 2014

Back to MedianBlur

Description

A binary median blur filter. It will take advantage of ISSE if present.

Requirements


MedianBlurB (clip, int "radiusy", int "radiusu", int "radiusv", int "thresholdy", int "thresholdu", int "thresholdv", 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.


int  thresholdy = 127
int  thresholdu = 127
int  thresholdv = 127
  • Specify the threshold to use to make the mask. Afterwards the mask is median blured.
  • Default is 127.


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.


Examples

MedianBlurB with default settings:

MedianBlurB(radiusy=2, radiusu=2, radiusv=2, thresholdy=127, thresholdu=127, thresholdv=127, calcborder=true)




Back to MedianBlur