VariableBlur/AverageBlur

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(VariableBlur/AverageBlur)
 
m
Line 3: Line 3:
 
'''Back to [[VariableBlur#Filters|VariableBlur]] ←'''
 
'''Back to [[VariableBlur#Filters|VariableBlur]] ←'''
 
== Description ==
 
== Description ==
: AverageBlur works by taken the average value of the pixels inside the radius.  
+
: AverageBlur works by taking the average value of the pixels inside the radius.  
 
<br>
 
<br>
  
Line 12: Line 12:
  
 
== [[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| }}

Revision as of 23:24, 13 July 2014

Back to VariableBlur

Contents

Description

AverageBlur works by taking the average value of the pixels inside the radius.


Requirements

- Progressive input only
- Supported color formats: YV12


Syntax and Parameters

AverageBlur (clip, int "radY", int "radC", int "Y", int "U", int "V")


clip   =
Input clip


int  radY = 3
int  radC = 3
radius of the kernel.
radY for luma, radC for chroma (U/V).


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.


Examples

AverageBlur with default values:

AviSource("Blah.avi")
AverageBlur(radY=3, radC=3, Y=3, U=2, V=2)





Back to VariableBlur

Personal tools