资源简介
matlab contourlet变换 去噪 代码
代码片段和文件信息
function denoisedemo
% DENOISEDEMO Denoise demo
% Compare the denoise performance of wavelet and contourlet transforms
% Note: Noise standard deviation estimation of PDFB (function pdfb_nest)
% can take a while...
% Parameters
pfilt = ‘9-7‘;
dfilt = ‘pkva‘;
nlevs = [0 0 4 4 5]; % Number of levels for DFB at each pyramidal level
th = 3; % lead to 3*sigma threshold denoising
rho = 3; % noise level
% Test image: the usual suspect...
im = imread(‘lena.png‘);
im = double(im) / 256;
% Generate noisy image.
sig = std(im(:));
sigma = sig / rho;
nim = im + sigma * randn(size(im));
%%%%% Wavelet denoising %%%%%
% Wavelet transform using PDFB with zero number of level for DFB
y = pdfbdec(nim pfilt dfilt zeros(length(nlevs) 1));
[c s] = pdfb2vec(y);
% Threshold (typically 3*sigma)
wth = th * sigma;
c = c .* (abs(c) > wth);
% Reconstruction
y = vec2pdfb(c s);
wim = pdfbrec(y pfilt dfilt);
%%%%% Contourlet Denoising %%%%%
% Contourlet transform
y = pdfbdec(nim pfilt dfilt nlevs);
[c s] = pdfb2vec(y);
% Threshold
% Require to estimate the noise standard deviation in the PDFB domain first
% since PDFB is not an orthogonal transform
nv
- 上一篇:BP神经网络Matlab实现V1
- 下一篇:水平集的图像分割
相关资源
- 在MATLAB中用BP神经网络进行数据分类
- contourlet图像融合
- 用MATLAB(BPSK仿真+直接扩频
- contourlet、小波去噪
- contourlet matlab 工具箱
- Contourlet工具箱
- ContourletMatlab去噪
- SAR图像去噪matlab小波去噪、contourlet变
- Nonsubsampled Contourlet Transform 非下采样
- matlab多聚焦图像融合(contourlet)
- contourlet_toolbox 基于非下采样contourle
- contourlet 基于contourlet的图像融合利用
- Contourlet contourlet图像融合的matlab源代
- nsct 提出基于非采样contourlet变换的红
- nsct_toolbox 多尺度图像非下采样轮廓波
- nsct_toolbox nsct 非下采样的contourlet变换
- fuse-by-contourlet 多种融合规则
评论
共有 条评论