VariableBlur/BinomialBlur
From Avisynth wiki
Back to VariableBlur ←
Contents |
Description
BinomialBlur works by repeating a 5x5 or 3x3 kernel based on pascals triangle multiple times to blur the image. With a variance above 1 the result is very close to a true Gaussian blur and much faster (for variance below ~30).
Requirements
- Progressive input only
- Supported color formats: YV12
Syntax and Parameters
- BinomialBlur (clip, float "varY", float "varC", int "Y", int "U", int "V", bool "useMMX")
- clip =
- Input clip.
- clip =
- float varY = 1.5
- float varC = 1.5
- Variance to use; varY for luma, varC for chroma (U/V).
- Remember variance=sd^2. The variance is rounded down to the nearest half integer(0.5,1.0,1.5 etc). Radius 1 in version <=0.2 is equal to variance 0.5. Default 1.5
- float varY = 1.5
- 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
- bool useMMX = true
- If true MMX instructions will be used. Default true for variance>1 else false.
- bool useMMX = true
Examples
BinomialBlur with default values:
AviSource("Blah.avi") BinomialBlur(varY=1.5, varC=1.5, Y=3, U=2, V=2, useMMX=true)
Back to VariableBlur ←