Comix filter based of Gauss blur. Used:
- Gauss blur: iir_gauss_blur.
- STB: stb.
The Comix filter works on the difference between the unsigned difference of the original and blurry image and the blurry version of the this unsigned difference.
This filter was first applied in STEX (2025) 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.
./stbicomix [-h] [-s sigma] [-m mixed] input-file output-file
-s sigma
The sigma of the gauss normal distribution (number >= 0.5).
Larger values result in a stronger blur.
-m mixed
The mixed 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
stbicomix
executable directly or copy it somewhere in your PATH.
- STB: stb.
- Gauss blur: iir_gauss_blur.