DenoiseMethods

所属分类:matlab编程
开发工具:matlab
文件大小:6242KB
下载次数:102
上传日期:2010-11-10 23:19:06
上 传 者beyondjlu
说明:  图像去噪声程序 non-local means
(image denoising prgram non-local means etc)

文件列表:
Denoise Methods\BLS-GSM\Added_PyrTools\bound_extension.m (2255, 2004-01-07)
Denoise Methods\BLS-GSM\Added_PyrTools\buildWUpyr.m (1970, 2004-10-14)
Denoise Methods\BLS-GSM\Added_PyrTools\daubcqf.m (3918, 2002-11-12)
Denoise Methods\BLS-GSM\Added_PyrTools\expand.m (1083, 2004-01-23)
Denoise Methods\BLS-GSM\Added_PyrTools\mdwt.dll (8192, 2004-03-02)
Denoise Methods\BLS-GSM\Added_PyrTools\midwt.dll (8704, 2004-03-02)
Denoise Methods\BLS-GSM\Added_PyrTools\mirdwt.c (3196, 2002-11-12)
Denoise Methods\BLS-GSM\Added_PyrTools\mirdwt.dll (9216, 2004-03-02)
Denoise Methods\BLS-GSM\Added_PyrTools\mirdwt.m (5210, 2002-11-12)
Denoise Methods\BLS-GSM\Added_PyrTools\mirdwt.map (0, 2009-10-09)
Denoise Methods\BLS-GSM\Added_PyrTools\mirdwt.mexw32.manifest (616, 2009-10-09)
Denoise Methods\BLS-GSM\Added_PyrTools\mirdwt.obj (3922, 2009-10-09)
Denoise Methods\BLS-GSM\Added_PyrTools\mrdwt.c (2901, 2002-11-12)
Denoise Methods\BLS-GSM\Added_PyrTools\mrdwt.dll (8704, 2004-03-02)
Denoise Methods\BLS-GSM\Added_PyrTools\mrdwt.m (5068, 2002-11-12)
Denoise Methods\BLS-GSM\Added_PyrTools\mrdwt.map (0, 2009-10-09)
Denoise Methods\BLS-GSM\Added_PyrTools\mrdwt.mexw32.manifest (616, 2009-10-09)
Denoise Methods\BLS-GSM\Added_PyrTools\reconWUpyr.m (1682, 2003-03-19)
Denoise Methods\BLS-GSM\Added_PyrTools\shrink.m (977, 2004-01-23)
Denoise Methods\BLS-GSM\Added_PyrTools\snr.m (248, 1996-12-09)
Denoise Methods\BLS-GSM\change_log.txt (1250, 2005-03-14)
Denoise Methods\BLS-GSM\change_log.txt.$$$ (1053, 2005-02-23)
Denoise Methods\BLS-GSM\denoising_subprograms\decomp_reconst.m (1833, 2004-11-26)
Denoise Methods\BLS-GSM\denoising_subprograms\decomp_reconst_full.m (2463, 2004-11-26)
Denoise Methods\BLS-GSM\denoising_subprograms\decomp_reconst_W.m (2666, 2004-05-14)
Denoise Methods\BLS-GSM\denoising_subprograms\decomp_reconst_WU.m (2930, 2005-02-23)
Denoise Methods\BLS-GSM\denoising_subprograms\denoi_BLS_GSM.m (6926, 2005-03-14)
Denoise Methods\BLS-GSM\denoising_subprograms\denoi_BLS_GSM_band.m (7304, 2004-10-14)
Denoise Methods\BLS-GSM\denoi_demo.m (3513, 2009-10-21)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\.FBCIndex (258048, 2003-03-14)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\.FBCSemaphoreFile (6, 2003-03-14)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\.Parent (589, 2001-08-22)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\binomialFilter.m (327, 1997-04-26)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\blur.m (838, 2004-06-10)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\blurDn.m (1423, 2004-06-10)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\buildFullSFpyr2.m (3031, 2002-04-06)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\buildGpyr.m (2013, 1998-04-17)
Denoise Methods\BLS-GSM\Simoncelli_PyrTools\buildLpyr.m (2741, 1998-04-17)
... ...

A toolbox for the non-local means algorithm. by Gabriel Peyr, 2007. The non-local means is an algorithm introduced by A. Buades, B. Coll, J.M Morel. The main reference for the algorithm is A. Buades, B. Coll, J.M Morel, "A review of image denoising algorithms, with a new one" , Multiscale Modeling and Simulation (SIAM interdisciplinary journal), Vol 4 (2), pp: 490-530, 2005. This toolbox implements the algorithm in a fairly general way in a C file that can be called from Matlab. It allows to perform the traditional NL-means for denoising (for both B&W and color images) but also to use an arbitrary set of patches to perform the denoising. INSTALLATION: Un-zip the file in your directory and start matlab from the unzipped directory. First compile the main mex file using > compile_mex; If this is not working, you should select your compiler using > mex -setup Before writing your own code, be sure to add the following line path(path,'toolbox/'); so that the additional helper functions (such as image loading and resizing) are available. This is done automatically at the beginging of the test files "test_xxx.m". GETTING STARTED: I recommend that you run the file "test_nlmeans" (the best would be to run each line one by one to see the effect) to perform a traditional denoising. Then you can start to play with the parameters. SOME COMMENTS ON THE PARAMETERS: ADVANCED USES OF THE TOOLBOX: You can denoise an image using the patch of another image. This is useful for funny renderings or for textures synthesis. My recommendation is then to use a small variance for the averaging, but to iterate the NL-means processing. This way, at each iteration, the algorithm will automatically initialize its search around the previous best match (and not from the original pixel). I recommend that you run test_nlmeans_duo.m to see this method. You can perform very nice texture synthesis by denoising with NL-means a white noise. To that end, you can use the patch from another image. The file text_nl_synthesis.m does exactly that. For synthesis, you can even set the variance options.T to a very small number (like 1e-9) so that no averaging is performed and pixel recopy is simply performed. Once again this should be iterated so that the synthesis improves through iterations. This process is equivalent to traditional texture synthesis as explained in Alexei A. Efros and Thomas K. Leung "Texture Synthesis by Non-parametric Sampling" IEEE International Conference on Computer Vision (ICCV'99), You can also perform denoising (or synthesis) using patches from a synthetic dictionary. I have implemented a dictionary of binary step edges, and you can see the effect of tynehis in test_edge_synthesis.m. You can enhance the reconstruction by specifying options.do_patchwise=1. This will perform a reconstruction by averaging the overlapping patch (instead of avergaging only the central pixel). This is very usefull for texture synthesis. Copyright (c) 2007 Gabriel Peyr

近期下载者

相关文件


收藏者