# VariableBlur/BinomialBlur

From Avisynth wiki

**Back to VariableBlur ←**

## Contents |

## [edit] 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).

## [edit] Requirements

- Progressive input only
- Supported color formats: YV12

## [edit] Syntax and Parameters

- BinomialBlur (clip, float "varY", float "varC", int "Y", int "U", int "V", bool "useMMX")

*clip*=

- Input 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

- Variance to use;

*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:

*bool*useMMX =*true*

- If true MMX instructions will be used. Default true for variance>1 else false.

## [edit] 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 ←**