https://github.com/gfacciol/dctdenoising
https://github.com/gfacciol/dctdenoising
algorithm image-denoising image-processing ipol
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gfacciol/dctdenoising
- Owner: gfacciol
- License: gpl-3.0
- Created: 2015-11-13T08:55:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-04T11:51:22.000Z (over 2 years ago)
- Last Synced: 2025-03-16T18:21:28.268Z (2 months ago)
- Topics: algorithm, image-denoising, image-processing, ipol
- Language: C
- Size: 3.74 MB
- Stars: 16
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
% Multiscale DCT image denoising.
# ABOUT
* Author : Nicola Pierazzo
* Author : Gabriele Facciolo
* Copyright : (C) 2017 IPOL Image Processing On Line http://www.ipol.im/
* Licence : GPL v3+, see GPLv3.txt
* Based on the 2010 implementation of DCT denoising by:
Guoshen Yu and Guillermo Sapiro
* Latest version available at: https://github.com/gfacciol/DCTdenoising# OVERVIEW
This source code provides an implementation of the "Multiscale DCT denoising"
algorithm described in the IPOL article: http://www.ipol.im/pub/art/2017/201# UNIX/LINUX/MAC USER GUIDE
The code is compilable on Unix/Linux and Mac OS.
- Compilation.
Automated compilation requires the Cmake and make.- Dependencies.
This code requires the libpng, libtiff, libjpeg, and libfftw.- Image formats.
Only the PNG, JPEG, and TIFF (float) formats are supported.
-------------------------------------------------------------------------
Usage:
1. Download the code package and extract it. Go to that directory.2. Compile the source code (on Unix/Linux/Mac OS).
mkdir build; cd build;
cmake ..; make;3. Runing DCT image denoising: parameters
./dctdenoising sigma [input [output]] # noise std, noisy image, output
[-w patch_size (default 8)] # DCT denoising patch size
[-1 | -2 guide] # -1: only hard thresh., -2: provide guide
[-no_adaptive_aggregation] # disable adaptive aggregation weights
[-n scales(4)] # multiscale: number of scales
[-c factor(.5)] # multiscale: recomposition factor
[-single output_singlescale] # multiscale: save also one-scale resultThe flag -1 permits to run DCT denoising only with the hard thresholding step,
while -2 allows to specify the guide for the wiener filtering step.
When not set both steps are executed using the output of the first one as guide
for the second one.
Setting no_adaptive_aggregation disables the aggregation weights.Example, run
./dctdenoising 15 ../noisy.tiff denoised.png
To visualize tiff (float) images use PVFLIP (https://github.com/gfacciol/pvflip)
or ImageJ (https://imagej.nih.gov/ij/index.html)# ABOUT THIS FILE
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without any warranty.