AWarpsharp2/aBlur

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (category)
m (minor formatting)
Line 1: Line 1:
[[Category:Plugin_Filters]]
+
{{FilterCat4|External_filters|Plugins_functions|Adjustment_filters|Blurring}}
[[Category:Blurring]]
+
 
 
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←'''
 
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←'''
 
--------------------------------------------------
 
--------------------------------------------------
<br>
 
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:A blurring filter that is used to blur the edge mask (the ouput of [[AWarpsharp2/aSobel|aSobel]]).
+
A blurring filter that is ususally used to blur the edge mask (the ouput of [[AWarpsharp2/aSobel|aSobel]]).<br>
 
<br>
 
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef|aBlur (''clip'', ''int'' "blur", ''int'' "type", ''int'' "chroma")}}
 
:{{Template:FuncDef|aBlur (''clip'', ''int'' "blur", ''int'' "type", ''int'' "chroma")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip.
 
<br>
 
<br>
 
::{{Par2|blur|int|3}}
 
::{{Par2|blur|int|3}}
 +
 
:::Range: 0 to 100<br>
 
:::Range: 0 to 100<br>
::::Number of blur passes over edge mask. Higher values increase blurring strength.
+
 
::::Less passes increase sharpening effect, but can produce major artifacts with high {{Template:FuncDef|depth}} and {{Template:FuncDef|thresh}}.
+
:::Number of blur passes over edge mask.  
::::You can use values higher than 100, but probably won't see any difference.
+
:::Higher values increase blurring strength. Less passes increase sharpening effect, but can produce major artifacts with high {{Template:FuncDef|depth}} and {{Template:FuncDef|thresh}}.
::::Chroma is processed with (blur+1)/2 passes.<br>
+
:::You can use values higher than 100, but probably won't see any difference. Chroma is processed with (blur+1)/2 passes.<br>
  
 
:::<span style="color:red">'''Note:'''</span> Unless {{Template:FuncDef|blur}} is specifically set, it will default to 2 if {{Template:FuncDef|type}}=0.
 
:::<span style="color:red">'''Note:'''</span> Unless {{Template:FuncDef|blur}} is specifically set, it will default to 2 if {{Template:FuncDef|type}}=0.
 
<br>
 
<br>
 
::{{Par2|type|int|1}}
 
::{{Par2|type|int|1}}
::::Type of blur:
+
:::Type of blur:
:::::* 0 : radius 6 blur.
+
::::* 0 : radius 6 blur.
:::::* 1 : radius 2 blur, requires around 8x more passes than type 0 for the same effect (will be just 2.5x slower), but produce better quality.
+
::::* 1 : radius 2 blur, requires around 8x more passes than type 0 for the same effect (will be just 2.5x slower), but produce better quality.
 
<br>
 
<br>
 
::{{Par2|chroma|int|1}}
 
::{{Par2|chroma|int|1}}
::::Processing mode for chroma planes (U and V):
+
:::Processing mode for chroma planes (U and V):
:::::* 0 : fill with zeroes
+
::::* 0 : fill with zeroes
:::::* 1 : don't care, (default)
+
::::* 1 : don't care, (default)
:::::* 2 : copy
+
::::* 2 : copy
:::::* 3 : process
+
::::* 3 : process
:::::* 4 : guide by luma
+
::::* 4 : guide by luma
:::::* 5 : same as 3, but don't process luma
+
::::* 5 : same as 3, but don't process luma
:::::* 6 : same as 4, but don't process luma
+
::::* 6 : same as 4, but don't process luma
 
<br>
 
<br>
 
== Examples ==
 
== Examples ==
Line 39: Line 42:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
 
  aBlur(blur=3, type=1, chroma=1)
 
  aBlur(blur=3, type=1, chroma=1)
<br>
 
 
<br>
 
<br>
 
--------------------------------------------------------
 
--------------------------------------------------------
 
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] &larr;'''
 
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] &larr;'''

Revision as of 08:14, 21 September 2014


Back to aWarpSharp2



Description

A blurring filter that is ususally used to blur the edge mask (the ouput of aSobel).

Syntax and Parameters

aBlur (clip, int "blur", int "type", int "chroma")


clip   =
Input clip.


int  blur = 3
Range: 0 to 100
Number of blur passes over edge mask.
Higher values increase blurring strength. Less passes increase sharpening effect, but can produce major artifacts with high depth and thresh.
You can use values higher than 100, but probably won't see any difference. Chroma is processed with (blur+1)/2 passes.
Note: Unless blur is specifically set, it will default to 2 if type=0.


int  type = 1
Type of blur:
  • 0 : radius 6 blur.
  • 1 : radius 2 blur, requires around 8x more passes than type 0 for the same effect (will be just 2.5x slower), but produce better quality.


int  chroma = 1
Processing mode for chroma planes (U and V):
  • 0 : fill with zeroes
  • 1 : don't care, (default)
  • 2 : copy
  • 3 : process
  • 4 : guide by luma
  • 5 : same as 3, but don't process luma
  • 6 : same as 4, but don't process luma


Examples

aBlur with default settings:

AviSource("Blah.avi")
aBlur(blur=3, type=1, chroma=1)



Back to aWarpSharp2

Personal tools