Stb Image Despeckle.
origin | despeckle | stbimmetrics (vifp1) |
---|---|---|
(lossless) | (default opts: radius = 5, coef. = 0.25) | (black - bad, white - good) |
submodules:
$ git submodule init
$ git submodule update
build dependencies:
- build-essential
- cmake
$ sudo apt-get install build-essential cmake
$ mkdir build
$ cd build
$ cmake ..
$ make
The first and second parameters specify the paths to the image and the result {PNG}. The -c
option sets the despeckle factor. The -r
option sets the radius despeckle.
./stbidespeckle [options] image_in image_out.png
options:
-c N.N coef (default 0.250000)
-r NUM radius (default 5)
-h show this help message and exit