bm3d_vs

所属分类:图形图像处理
开发工具:Visual C++
文件大小:816KB
下载次数:51
上传日期:2013-08-01 11:18:17
上 传 者deqiang0612
说明:  基于3d块匹配的去噪算法,目前已知去噪效果更好的算法,内含VS 工程源码
(bm3d denosing algorithm, which can produce the state-of-art denosing image, VS C++ source code)

文件列表:
bm3d_src (0, 2012-09-04)
bm3d_src\bm3d (0, 2012-08-29)
bm3d_src\bm3d\bm3d (0, 2012-08-28)
bm3d_src\bm3d\bm3d\bm3d.vcproj (4735, 2012-08-28)
bm3d_src\bm3d\bm3d\bm3d.vcproj.MICRORAPID.deqiang.user (1417, 2012-09-04)
bm3d_src\bm3d\bm3d\Debug (0, 2012-08-28)
bm3d_src\bm3d\bm3d\Debug\bm3d.exe.embed.manifest (2048, 2012-08-28)
bm3d_src\bm3d\bm3d\Debug\BuildLog.htm (8732, 2012-08-28)
bm3d_src\bm3d\bm3d\Debug\lib_transforms.obj (189647, 2012-08-28)
bm3d_src\bm3d\bm3d\Debug\main.obj (185874, 2012-08-28)
bm3d_src\bm3d\bm3d\Debug\vc90.idb (240640, 2012-08-28)
bm3d_src\bm3d\bm3d\Debug\vc90.pdb (249856, 2012-08-28)
bm3d_src\bm3d\bm3d.ncb (2173952, 2012-09-04)
bm3d_src\bm3d\bm3d.sln (878, 2012-08-28)
bm3d_src\bm3d\bm3d.suo (12800, 2012-09-04)
bm3d_src\bm3d.cpp (54879, 2012-09-04)
bm3d_src\bm3d.h (4788, 2012-04-13)
bm3d_src\io_png.c (22401, 2010-09-07)
bm3d_src\io_png.h (753, 2010-09-07)
bm3d_src\lib_transforms.cpp (13021, 2012-04-13)
bm3d_src\lib_transforms.h (1500, 2012-04-13)
bm3d_src\main.cpp (6889, 2012-04-13)
bm3d_src\Makefile (1100, 2011-12-15)
bm3d_src\mt19937ar.c (5065, 2010-09-18)
bm3d_src\mt19937ar.h (250, 2010-09-18)
bm3d_src\utilities.cpp (21659, 2012-04-13)
bm3d_src\utilities.h (2899, 2012-04-13)

% BM3D image denoising. # ABOUT * Author : Marc Lebrun * Copyright : (C) 2011 IPOL Image Processing On Line http://www.ipol.im/ * Licence : GPL v3+, see GPLv3.txt # OVERVIEW This source code provides an implementation of the BM3D image denoising. # UNIX/LINUX/MAC USER GUIDE The code is compilable on Unix/Linux and Mac OS. - Compilation. Automated compilation requires the make program. - Library. This code requires the libpng library and the fftw library. - 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 OMP=1 OR (2) If the complier does not support OpenMp, run make 3. Run BM3D image denoising. ./BM3Ddenoising The generic way to run the code is: ./BM3Ddenoising cinput.png sigma ImNoisy.png ImBasic.png ImDenoised.png ImDiff.png ImBias.png ImDiffBias.png computeBias 2DtransformStep1 useSD1 2DtransformStep2 useSD2 ColorSpace with : - cinput.png is a noise-free image; - sigma is the value of the noise which will be added to cinput.png; - ImNoisy.png will contain the noisy image; - ImBasic.png will contain the result of the first step of the algorithm; - ImDenoised.png will contain the final result of the algorithm; - ImDiff.png will contain the difference between cinput.png and ImDenoised.png; - ImBias.png will contain the result of the algorithm applied on cinput.png; - ImDiffBias.png will contain the difference between cinput.png and ImBias.png; - computeBias : see (3); - 2DtransformStep1: choice of the 2D transform which will be applied in the first step of the algorithm. See (4); - useSD1 : see (1) below; - 2DtransformStep2: choice of the 2D transform which will be applied in the second step of the algorithm. See (4); - useSD2 : see (2); - ColorSpace : choice of the color space on which the image will be applied. See (5). There are multiple ways to run the code: (1) for the first step, users can choose if they prefer to use standard variation for the weighted aggregation (useSD1 = 1) (2) for the second step, users can choose if they prefer to use standard variation for the weighted aggregation (useSD2 = 1) (3) you can moreover want to compute the bias (algorithm applied to the original image). To do this, use computeBias = 1. (4) you can choose the DCT transform or the Bior1.5 transform for the 2D transform in the step 1 (tau_2D_hard = dct or bior) and/or the step 2. (tau_2d_wien = dct or bior). (5) you can choose the colorspace for both steps between : rgb, yuv, ycbcr and opp. Example, run ./BM3Ddenoising cinput.png 10 ImNoisy.png ImBasic.png ImDenoised.png ImDiff.png ImBias.png ImDiffBias.png 1 bior 0 dct 1 opp # ABOUT THIS FILE Copyright 2011 IPOL Image Processing On Line http://www.ipol.im/ 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.

近期下载者

相关文件


收藏者