ksvd_src

所属分类:图形图像处理
开发工具:C++ Builder
文件大小:24KB
下载次数:44
上传日期:2013-12-04 14:28:47
上 传 者chengyang59
说明:  k-svd算法的实现,采用c++语言实现的一个基于K-svd算法的图像消噪程序
(k-svd with c++ written for image de-noising)

文件列表:
addnoise_function.cpp (548, 2011-07-29)
addnoise_function.h (174, 2011-07-29)
io_png.c (23459, 2011-08-25)
ksvd.cpp (20083, 2011-10-03)
ksvd.h (2202, 2011-10-03)
io_png.h (901, 2011-08-25)
lib_ormp.cpp (9539, 2011-10-03)
lib_ormp.h (1094, 2011-09-20)
lib_svd.cpp (3134, 2011-10-03)
lib_svd.h (418, 2011-09-20)
main.cpp (5694, 2012-02-20)
Makefile (1605, 2012-02-17)
mt19937ar.c (5065, 2010-09-18)
mt19937ar.h (250, 2010-09-18)
utilities.cpp (1468, 2011-09-20)
utilities.h (323, 2011-09-20)

% K-SVD 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 K-SVD 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. - 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 K-SVD image denoising. ./ksvd (1) you can moreover want to compute the bias (algorithm applied to the original image). To do this, use doBias = true. There are multiple ways to run the code: (2) if you want to use the speed-up trick, use doSpeedUp = true (recommanded) (3) if you want to obtain the best PSNR result, use doBestPSNR = true Example, run ./ksvd cinput.png 10 ImNoisy.png ImDenoised.png ImDiff.png ImBias.png ImDiffBias.png 0 1 0 # 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.

近期下载者

相关文件


收藏者