DeBlur filter based of Gauss blur. Used:
- Gauss blur: iir_gauss_blur.
- STB: stb.
The DeBlur filter is an iterative UnSharp of an image.
O = I
iterations{
B = blur(O)
D = I - B
U = O + D
O = U
}
This filter was first applied in STEX (2026) in a single-component version (Y, the values of the color components were aligned in accordance with the brightness values before and after the filter).
Here this filter is implemented in a full-color version.
./stbideblur ./images/hollywood.jpg ./images/hollywood-deblur-s5-i5.png
./stbideblur [-h] [-s sigma] [-i count] [-m mixed] [-a axel] input-file output.png
-s sigma The sigma of the gauss normal distribution (number >= 0.5).
Larger values result in a stronger blur.
-i count The count iters.
-m mixed The mixed coefficient.
-a axel The axeleration coefficient.
-h display this help and exit.
You can use either sigma to specify the strengh of the blur.
The performance is independent of the blur strengh (sigma). This tool is an implementation of the paper "Recursive implementaion of the Gaussian filter" by Ian T. Young and Lucas J. van Vliet.
stb_image and stb_image_write by Sean Barrett and others is used to read and write images.
- Clone the repo or download the source
git clone --recurse-submodules https://github.com/ImageProcessing-ElectronicPublications/stbicomix - Execute
make - Done. Either use the
stbideblurexecutable directly or copy it somewhere in your PATH.
- STB: stb.
- Gauss blur: iir_gauss_blur.

