VariableBlur/AverageBlur
From Avisynth wiki
(Difference between revisions)
(VariableBlur/AverageBlur) |
m (minor formatting) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{FilterCat4|External_filters|Plugin_functions|Adjustment_filters|Blurring}} | |
− | + | ||
'''Back to [[VariableBlur#Filters|VariableBlur]] ←''' | '''Back to [[VariableBlur#Filters|VariableBlur]] ←''' | ||
== Description == | == Description == | ||
− | + | AverageBlur works by taking the average value of the pixels inside the radius. | |
+ | <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 | |
− | + | * Supported color formats: [[YV12]] | |
<br> | <br> | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
− | :{{Template:FuncDef|AverageBlur (clip, int "radY", int "radC", int Y, int U, int V)}} | + | :{{Template:FuncDef|AverageBlur (clip, int "radY", int "radC", int "Y", int "U", int "V")}} |
<br> | <br> | ||
::{{Par2||clip| }} | ::{{Par2||clip| }} | ||
− | :::Input clip | + | :::Input clip. |
<br> | <br> | ||
::{{Par2|radY|int|3}} | ::{{Par2|radY|int|3}} | ||
Line 36: | Line 35: | ||
AverageBlur(radY=3, radC=3, Y=3, U=2, V=2) | AverageBlur(radY=3, radC=3, Y=3, U=2, V=2) | ||
− | |||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[VariableBlur#Filters|VariableBlur]] ←''' | '''Back to [[VariableBlur#Filters|VariableBlur]] ←''' |
Latest revision as of 10:57, 21 September 2014
Back to VariableBlur ←
Contents |
[edit] Description
AverageBlur works by taking the average value of the pixels inside the radius.
[edit] Requirements
- Progressive input only
- Supported color formats: YV12
[edit] Syntax and Parameters
- AverageBlur (clip, int "radY", int "radC", int "Y", int "U", int "V")
- clip =
- Input clip.
- clip =
- int radY = 3
- int radC = 3
- radius of the kernel.
- radY for luma, radC for chroma (U/V).
- int radY = 3
- int Y = 3
- int U = 2
- int V = 2
- Controls which planes the filter is applied to:
- 3 : corresponding plane will be filtered
- 2 : corresponding plane will be copied from the source
- 1 : corresponding plane will be ignored
- from 0 to -255 : corresponding plane will be assigned the absolute value.
- Controls which planes the filter is applied to:
- int Y = 3
[edit] Examples
AverageBlur with default values:
AviSource("Blah.avi") AverageBlur(radY=3, radC=3, Y=3, U=2, V=2)
Back to VariableBlur ←