VariableBlur
Abstract | |
---|---|
Author | tsp, tritical |
Version | v0.7 |
Download | variableblur0.7_x86_x64.7z |
Category | Blurring |
License | GPLv2 |
Discussion | Doom9 Thread |
Contents |
Description
VariableBlur is a Gaussian, binomial or average blur filter with a variable radius (variance). Also includes an unsharp mask filter based on the Gaussian filter meaning it is fast for big variance.
The binomial filter part is based on a paper by Frederick M. Waltz and John W. V. Miller. An Efficient Algorithm for Gaussian Blur Using Finite-state Machines. SPIE Conf. on Machine Vision Systems for Inspection and Metrology VII page 3521-37
Requirements
- SSE2 capable CPU (GaussianBlur function only)
Runtime dependencies
The following are required, VariableBlur will not run or load without them.
- FFTW 3.3.5 (
fftw-3.3.5-dll32.zip
orfftw-3.3.5-dll64.zip
)
- *** 32-bit libfftw3f-3.dll needs to be in the search path (C:\Windows\SysWOW64 64-bit OS or C:\windows\system32 32-bit OS)
- *** 64-bit libfftw3f-3.dll needs to be in the search path (C:\windows\system32 64-bit OS)
Filters
Filter | Description | Color format |
---|---|---|
AverageBlur |
AverageBlur works by taking the average value of the pixels inside the radius. |
YV12 |
BinomialBlur |
BinomialBlur works by repeating a 5x5 or 3x3 kernel based on pascals triangle multiple times to blur the image. |
YV12 |
GaussianBlur |
GaussianBlur works by converting the image to the frequency domain using FFTW and complex multiplying it with the Gaussian kernel in the frequency domain before converting the result back to the spatial domain giving the same result as doing a convolution in the spatial domain just faster for large kernel sizes. |
RGB24, RGB32, YUY2, YV12 |
Unsharp |
Sharpens the image using unsharp filtering (see Unsharp Filter for an explanation). |
RGB24, RGB32, YUY2, YV12 |
Changelog
Version Date Changes
v0.7(x86/x64) 2019/04/06 - Changes by Asd-g - Update to AviSynth 2.6 api - x64 version: used the original source code and just replaced 32-bit registers with 64-bit registers - Compiled Intel XE 2019 compiler, includes x86 and x64 plugins
v0.7 2012/05/24 - Fix integrate=true giving incorrect results due to lack of precision in weight calculation. Integrate=true now gives results much closer to integrate=false, as would be expected. - Add support for YUY2, RGB24, and RGB32 input to GaussianBlur/Unsharp - Compiled with MSVC++ 2010, requires the corresponding Redistributable Package (x86). Required due to OpenMP multithreading (vcomp100.dll).
v0.6 2012/05/22 - Fix border=3 bug for gfunc/gfuncc >= 0 (gamma processing was not done on border values) - Make radius for GaussianBlur 4*std instead of 3*std - Add border=4 (mirroring) option to gaussianblur and make it the default - Dynamically load FFTW (libfftwf3-3.dll) instead of statically linking to old .lib - Multithread GaussianBlur using OpenMP and use FFTW multithreaded plans - SSE/SSE2 optimizations. GaussianBlur now requires SSE2 capable CPU.
v0.5 2011/03/14 - Add gfunc/gfuncc/pcr/pcrc parameters to GaussianBlur/unsharp (tritical)
v0.4+ 2008/08/30 - Memory leak fix by Neuron2
v0.4 2005/05/24 - Fixed bug with converting float to unsigned char without proper clamping. Also included an sharp filter and optional integrated Gaussian coefficients. v0.3 2005/05/06 - GaussianBlur is included, old Gaussian is renamed to BinomialBlur.
v0.2 2005/01/24 - optimization of the Gaussian blur (now uses a 5x5 mask instead of 3x3) and the average blur(smarter algorithm resulting in a factor 20 to 100 speed increase)
v0.1 2005/01/19 - Initial release
Archived Downloads
Version | Download | Mirror |
---|---|---|
v0.7 (x86/x64) | variableblur0.7_x86_x64.7z | variableblur0.7_x86_x64.7z |
v0.7 | variableblur.zip | |
v0.5(x64) | VariableBlur05_x64.7z | variableblur05_x64.7z /// variableblur05_x64src.7z |
v0.4+ | VariableBlur.zip | VariableBlur.zip |
v0.4 | VariableBlur040.zip | VariableBlur040.zip |
v0.3 | variableblur_25_dll_20050506.zip | variableblur_25_dll_20050506.zip |
- v0.5 x64 version was compiled by yo4kazu. Main download includes binary and source. This version is outdated, only here for reference.
External Links
- Doom9 Forum - VariableBlur discussion.
- An Efficient Algorithm for Gaussian Blur Using Finite-state Machines
Back to External Filters ←