Avisynth BinomialBlur
Jump to navigation
Jump to search
BinomialBlur is a Gaussian-like blur from the VariableBlur plugin whose weights come from binomial coefficients (Pascal's triangle).
Filtering → Avisynth → Sharpen

What it does
The blur is a close, cheap approximation of a Gaussian blur. The strength is set by a variance value, separately for luma and chroma. The effective variance is rounded down to the nearest half integer (0.5, 1.0, 1.5 and so on). Each plane can be filtered, copied or left unprocessed; by default only luma is blurred.
Typical uses:
- Smooth noise or soften a clip.
- A softening step before other filters.
Settings
| Control | Parameter | Range | Hybrid default | Meaning |
|---|---|---|---|---|
| Variance (Y/C) | varY / varC | 0–100 | 1.50 / 1.50 | Variance of the blur for luma and chroma (variance = standard deviation²). Larger means blurrier. |
| Handling (Y/U/V) | Y / U / V | ignore, copy, filter | filter / copy / copy | What happens to each plane: filter it, copy it from the source, or leave it unprocessed. |
Example
Default settings on a 10-bit YUV 4:2:0 source. All values equal the plugin defaults, so no argument is written:
BinomialBlur()
How Hybrid calls it
- Loads the VariableBlur plugin (with the FFTW library it needs).
- The filter works on planar YUV (4:2:0, 4:2:2, 4:4:4).
- Only arguments that differ from the defaults are written (Handling as 3 = filter, 2 = copy, 1 = ignore).
- BinomialBlur also offers the common options and can be added to the filter queue several times.
Background
- BinomialBlur is one of several filters in the VariableBlur plugin, together with GaussianBlur, AverageBlur and Unsharp.
Sources
- Doom9 thread discussing VariableBlur
- Hybrid's tooltips
- The AviSynth+ documentation does not cover BinomialBlur.