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
The following are required, VariableBlur will not run or load without them.
- *** Required due to OpenMP multithreading (vcomp100.dll).
- *** 32-bit libfftwf3-3.dll needs to be in the search path (C:\Windows\SysWOW64 64-bit OS or C:\windows\system32 32-bit OS)
AverageBlur works by taking the average value of the pixels inside the radius.
BinomialBlur works by repeating a 5x5 or 3x3 kernel based on pascals triangle multiple times to blur the image.
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|
Sharpens the image using unsharp filtering (see Unsharp Filter for an explanation).
|RGB24, RGB32, YUY2, YV12|
Version Date Changes
v0.7 05/24/2012 - 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
v0.6 05/22/2012 - 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 03/14/2011 - Add gfunc/gfuncc/pcr/pcrc parameters to GaussianBlur/unsharp (tritical)
v0.4+ 08/30/2008 - Memory leak fix by Neuron2
v0.4 05/24/2005 - Fixed bug with converting float to unsigned char without proper clamping. Also included an sharp filter and optional integrated Gaussian coefficients. v0.3 05/06/2005 - GaussianBlur is included, old Gaussian is renamed to BinomialBlur.
v0.2 01/24/2005 - 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 01/19/2005 - Initial release
- Doom9 Forum - VariableBlur discussion.
- An Efficient Algorithm for Gaussian Blur Using Finite-state Machines | mirror
Back to External Filters ←