ParamFreeDenoise
所属分类:图形图像处理
开发工具:Visual C++
文件大小:7300KB
下载次数:8
上传日期:2015-03-13 10:14:07
上 传 者:
lu_weishuang
说明: 像素级非局部均值去噪,文献“Parameter-Free Fast Pixelwise Non-Local Means Denoising”里的算法
(Pixel-level non-local means denoising literature Parameter-Free Fast Pixelwise Non-Local Means Denoising in the algorithm)
文件列表:
src\addgaussnoise.c (3493, 2014-07-18)
src\CMakeLists.txt (302, 2015-03-13)
src\getopt.c (22292, 2007-09-26)
src\getopt.h (4529, 2007-09-26)
src\img_diff_ipol.cpp (3494, 2015-03-13)
src\img_mse_ipol.c (4250, 2015-03-13)
src\io_png.c (23435, 2012-08-20)
src\io_png.h (901, 2012-08-20)
src\libauxiliary.c (1942, 2014-07-18)
src\libauxiliary.h (258, 2013-02-06)
src\mt19937ar.c (4789, 2012-08-22)
src\mt19937ar.h (158, 2012-08-22)
src\NLMeansP.c (12628, 2015-03-13)
src\nlmp.c (15001, 2015-03-13)
src\tailor.h (7760, 2007-09-26)
src\unistd.h (200, 2015-03-13)
third_party\CMakeLists.txt (134, 2015-03-13)
third_party\libpng\aclocal.m4 (346246, 2012-07-08)
third_party\libpng\ANNOUNCE (4937, 2012-07-08)
third_party\libpng\arm\filter_neon.S (7337, 2012-07-08)
third_party\libpng\autogen.sh (877, 2012-07-08)
third_party\libpng\CHANGES (186030, 2012-07-08)
third_party\libpng\CMakeLists.txt (10177, 2014-12-03)
third_party\libpng\config.guess (42037, 2012-07-08)
third_party\libpng\config.h.in (3166, 2012-07-09)
third_party\libpng\config.sub (30315, 2012-07-08)
third_party\libpng\configure (452266, 2012-07-08)
third_party\libpng\configure.ac (5978, 2012-07-08)
third_party\libpng\contrib\gregbook\COPYING (18332, 2014-02-05)
third_party\libpng\contrib\gregbook\LICENSE (2423, 2014-02-05)
third_party\libpng\contrib\gregbook\Makefile.mingw32 (4035, 2014-02-05)
third_party\libpng\contrib\gregbook\Makefile.sgi (3070, 2014-02-05)
third_party\libpng\contrib\gregbook\Makefile.unx (4142, 2014-02-05)
third_party\libpng\contrib\gregbook\Makefile.w32 (3448, 2014-02-05)
third_party\libpng\contrib\gregbook\makevms.com (3689, 2014-02-05)
third_party\libpng\contrib\gregbook\readpng.c (10176, 2014-02-05)
third_party\libpng\contrib\gregbook\readpng.h (3348, 2014-02-05)
third_party\libpng\contrib\gregbook\readpng2.c (25417, 2014-02-05)
third_party\libpng\contrib\gregbook\readpng2.h (4063, 2014-02-05)
... ...
--------------------------------------------------------------------------------
This directory contains the source code associated to the following
IPOL article:
Title: Parameter-Free Fast Pixelwise Non-Local Means Denoising
Authors: Jacques Froment
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
About:
* Author : Jacques Froment
* Version : 1.2
* Release Date : October 27, 2014
* Licence : GPL v3+ (see GPLv3.txt) but BSD (see BSD.txt) for src/nlmp.c
* File src/nlmp.c implements algorithms possibly linked to the patents
A. Buades, T. Coll and J.M. Morel, Image data processing method by
reducing image noise, and camera integrating means for implementing
said method, EP Patent 1,749,278 (Feb. 7, 2007).
This source code is made available for the exclusive aim of serving
as scientific tool to verify the soundness and completeness of the
algorithm description. Compilation, execution and redistribution
of this source code may violate patents rights in certain countries.
The situation being different for every country and changing
over time, it is your responsibility to determine which patent
rights restrictions apply to you before you compile, use,
modify, or redistribute this source code. A patent lawyer is qualified
to make this determination.
If and only if they don't conflict with any patent terms, you can
benefit from the following license terms attached to this source code.
--------------------------------------------------------------------------------
Overview:
This source code provides a fast and parameter-free implementation of the
pixelwise Non-Local Means image denoising method (NLMP for short).
- Compilation.
The compilation has been tested on Unix/Linux only.
Automated compilation requires the make program.
- Library.
This code requires the libpng library.
To enable parallel processing the OpenMP library is needed.
- Image format.
Only the PNG format is supported.
--------------------------------------------------------------------------------
Usage:
1. Download the code package and extract it. Go to that directory.
2. Compile the source code (on Unix/Linux/Mac OS).
There are two ways to compile the code.
(1) RECOMMENDED, with Open Multi-Processing multithread parallelization
(http://openmp.org/). Roughly speaking, it accelerates the program using the
multiple processors in the computer. Run
make opti OMP=1
OR
(2) If the complier does not support OpenMp, run
make opti
(compiler optimization may be disable by removing the word "opti").
3. Run the Fast Pixelwise Non-Local Means code by
./NLMeansP
and get the PSNR between original and denoised image by
./img_mse_ipol
4. Example (you should provide a PNG noise-free image named "U.png"):
make opti OMP=1
./NLMeansP U.png 20 V.png Vd.png
./img_mse_ipol U.PNG Vd.png
--------------------------------------------------------------------------------
List of files ([R] means Reviewed file):
BSD.txt : BSD license for src/nlmp.c
GPLv3.txt : GPL v3+ license for other files
Makefile : compilation instructions for the make command
README.txt : this README file
In the src subdirectory:
addgaussnoise.c : Add a gaussian noise to an image using Mersenne Twister
pseudo-RNG coden (main file)
img_mse_ipol.c : Compute the RMSE and the PSNR of two images in PNG format
img_diff_ipol.cpp : Compute the difference of two images in PNG format
(same code as in Antoni Buades, Bartomeu Coll, and Jean-Michel
Morel, "Non-Local Means Denoising", IPOL 2011).
io_png.c : PNG read/write simplified interface
io_png.h : header (include file) for io_png.c
libauxiliary.c : Contains the addgaussnoise() function
libauxiliary.h : header (include file) for libauxiliary.
mt19937ar.c : Mersenne Twister pseudo-RNG code
mt19937ar.h : header (include file) for mt19937ar.c
NLMeansP.c [R] : pixelwise NLMP (basic and SIL algorithms), main file
nlmp.c [R] : pixelwise NLMP (basic and SIL algorithms), nlmp() function
--------------------------------------------------------------------------------
History of changes:
V1.2 - October 27, 2014: added img_diff_ipol.cpp to display image difference in
the demo.
V1.1 - September 8, 2014: Second submitted version to reflect manuscript V. 1.02.
changes regarding V. 1.0:
- Minor change in NLMeansP.c, function SetParam_a (no change for integer values
of sigma);
- The exp() function called to compute NLM-weights is now tabulated using a LUT
(for faster access);
- Add -c (clock) option to print the CPU time of the denoising process only
(excluding I/O).
V1.0 - July 18, 2014 : First submitted version
--------------------------------------------------------------------------------
近期下载者:
相关文件:
收藏者: