资源简介
BM3D是目前最好的图像去噪方法之一,资源中有demo,很好实践!matlab版本的!
代码片段和文件信息
function [PSNR y_est] = BM3D(y z sigma profile print_to_screen)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% BM3D is an algorithm for attenuation of additive white Gaussian noise from
% grayscale images. This algorithm reproduces the results from the article:
%
% [1] K. Dabov A. Foi V. Katkovnik and K. Egiazarian “Image Denoising
% by Sparse 3D Transform-Domain Collaborative Filtering“
% IEEE Transactions on Image Processing vol. 16 no. 8 August 2007.
% preprint at http://www.cs.tut.fi/~foi/GCF-BM3D.
%
%
% FUNCTION INTERFACE:
%
% [PSNR y_est] = BM3D(y z sigma profile print_to_screen)
%
% ! The function can work without any of the input arguments
% in which case the internal default ones are used !
%
% BASIC USAGE EXAMPLES:
%
% Case 1) Using the default parameters (i.e. image name sigma etc.)
%
% [PSNR y_est] = BM3D;
%
% Case 2) Using an external noisy image:
%
% % Read a grayscale image and scale its intensities in range [01]
% y = im2double(imread(‘Cameraman256.png‘));
% % Generate the same seed used in the experimental results of [1]
% randn(‘seed‘ 0);
% % Standard deviation of the noise --- corresponding to intensity
% % range [0255] despite that the input was scaled in [01]
% sigma = 25;
% % Add the AWGN with zero mean and standard deviation ‘sigma‘
% z = y + (sigma/255)*randn(size(y));
% % Denoise ‘z‘. The denoised image is ‘y_est‘ and ‘NA = 1‘ because
% % the true image was not provided
% [NA y_est] = BM3D(1 z sigma);
% % Compute the putput PSNR
% PSNR = 10*log10(1/mean((y(:)-y_est(:)).^2))
% % show the noisy image ‘z‘ and the denoised ‘y_est‘
% figure; imshow(z);
% figure; imshow(y_est);
%
% Case 3) If the original image y is provided as the first input
% argument then some additional information is printed (PSNRs
% figures etc.). That is “[NA y_est] = BM3D(1 z sigma);“ in the
% above code should be replaced with:
%
% [PSNR y_est] = BM3D(y z sigma);
%
%
% INPUT ARGUMENTS (OPTIONAL):
%
% 1) y (matrix M x N): Noise-free image (needed for computing PSNR)
% replace with the scalar 1 if not available.
% 2) z (matrix M x N): Noisy image (intensities in range [01] or [0255])
% 3) sigma (double) : Std. dev. of the noise (corresponding to intensities
% in range [0255] even if the range of z is [01])
% 4) profile (char) : ‘np‘ --> Normal Profile
% ‘lc‘ --> Fast Profile
% 5) print_to_screen : 0 --> do not print output information (and do
% not plot figures)
% 1 --> print information and plot figures
%
% OUTPUTS:
% 1) PSNR (double) : Output PSNR (dB) only if the original
% image is available otherwis
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 22746 2011-02-04 16:33 BM3D.m
文件 17170 2014-01-30 18:47 BM3DDEB.m
文件 17668 2009-06-17 14:58 BM3DSHARP.m
文件 17778 2014-01-31 03:47 BM3D_CFA.m
文件 73125 2014-01-30 19:26 bm3d_CFA_thr.mexa64
文件 48288 2014-01-31 03:33 bm3d_CFA_thr.mexglx
文件 58644 2013-12-02 11:38 bm3d_CFA_thr.mexmaci64
文件 73728 2013-11-28 02:15 bm3d_CFA_thr.mexw32
文件 90624 2013-11-27 19:43 bm3d_CFA_thr.mexw64
文件 43392 2014-01-30 19:29 bm3d_CFA_wiener.mexa64
文件 31763 2014-01-31 03:33 bm3d_CFA_wiener.mexglx
文件 38052 2013-12-02 11:38 bm3d_CFA_wiener.mexmaci64
文件 56832 2013-11-28 02:26 bm3d_CFA_wiener.mexw32
文件 67584 2013-11-27 19:46 bm3d_CFA_wiener.mexw64
文件 55065 2011-06-01 18:48 bm3d_thr.mexa64
文件 41369 2011-06-01 18:41 bm3d_thr.mexglx
文件 58764 2011-06-03 17:25 bm3d_thr.mexmaci
文件 54552 2011-06-03 17:24 bm3d_thr.mexmaci64
文件 72704 2011-06-01 17:04 bm3d_thr.mexw32
文件 90624 2011-06-01 12:31 bm3d_thr.mexw64
文件 39669 2011-06-01 18:48 bm3d_thr_color.mexa64
文件 31237 2011-06-01 18:41 bm3d_thr_color.mexglx
文件 42368 2011-06-03 17:25 bm3d_thr_color.mexmaci
文件 42240 2011-06-03 17:24 bm3d_thr_color.mexmaci64
文件 56320 2011-06-01 17:02 bm3d_thr_color.mexw32
文件 68096 2011-06-01 12:30 bm3d_thr_color.mexw64
文件 147948 2011-06-01 18:48 bm3d_thr_colored_noise.mexa64
文件 120800 2011-06-01 18:42 bm3d_thr_colored_noise.mexglx
文件 148920 2011-06-03 17:28 bm3d_thr_colored_noise.mexmaci
文件 136600 2011-06-03 17:27 bm3d_thr_colored_noise.mexmaci64
文件 217088 2008-11-18 19:14 bm3d_thr_colored_noise.mexw32
............此处省略62个文件信息
相关资源
- 3种模糊图像去噪:中值滤波、维纳滤
- 脉冲噪声去噪的改进算法
- 基于梯度直方图的纹理增强图像去噪
- Matlab图像处理-图像去噪边缘增强
- 全变分法图像去噪复原处理 matlab TV算
- 双树复小波
- matlab开发-图像去噪Visushrink
- KSVD图像去噪
- 小波阈值图像去噪,可以matlab运行!
- matlab对有周期性噪声的图像去噪
- 压缩感知的图像去噪
- 小波变换图像去噪MATLAB仿真
- 基于MATLAB的小波图像去噪
- 非抽取小波图像去噪
- 自适应全变分图像去噪Matlab源代码
- 可以matlab实现的四种图像去噪程序
- 小波软阈值图像去噪
- 小波变换的图像去噪的matlab程序的源
- 贝叶斯图像去噪
- 基于形态学的权重自适应图像去噪.
- 半软阈值图像去噪
- 基于小波变换的图像去噪的matlab程序
- 小波图像去噪程序阈值
- 8 matlab图像去噪 滤波 锐化 边缘检测
- pcnn图像去噪
- 针对图像去噪的lee滤波
- 数字图像去噪(去雾)效果客观指标
- matlab图像各向异性滤波去噪
- 图像去噪的matlab代码
- 维纳滤波图像去噪
评论
共有 条评论