-
大小: 455KB文件类型: .rar金币: 1下载: 0 次发布日期: 2021-06-14
- 语言: 其他
- 标签: Contourlet
资源简介
基于Contourlet变换的图像去噪源代码
代码片段和文件信息
function y = backsamp(y)
% BACKSAMP Backsampling the subband images of the directional filter bank
%
% y = backsamp(y)
%
% Input and output are cell vector of dyadic length
%
% This function is called at the end of the DFBDEC to obtain subband images
% with overall sampling as diagonal matrices
%
% See also: DFBDEC
% Number of decomposition tree levels
n = log2(length(y));
if (n ~= round(n)) | (n < 1)
error(‘Input must be a cell vector of dyadic length‘);
end
if n == 1
% One level the decomposition filterbank shoud be Q1r
% Undo the last resampling (Q1r = R2 * D1 * R3)
for k = 1:2
y{k} = resamp(y{k} 4);
y{k}(: 1:2:end) = resamp(y{k}(: 1:2:end) 1);
y{k}(: 2:2:end) = resamp(y{k}(: 2:2:end) 1);
end
elseif n > 2
N = 2^(n-1);
for k = 1:2^(n-2)
shift = 2*k - (2^(n-2) + 1);
% The first half channels
y{2*k-1} = resamp(y{2*k-1} 3 shift);
y{2*k} = resamp(y{2*k} 3 shift);
% The second half channels
y{2*k-1+N} = resamp(y{2*k-1+N} 1 shift);
y{2*k+N} = resamp(y{2*k+N} 1 shift);
end
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1119 2003-09-10 23:32 contourlet_toolbox\backsamp.m
文件 177851 2003-11-10 11:45 contourlet_toolbox\barbara.png
文件 2390 2003-11-12 23:50 contourlet_toolbox\ChangeLog
文件 5127 2003-11-05 00:10 contourlet_toolbox\computescale.m
文件 3537 2003-11-11 10:45 contourlet_toolbox\Contents.m
文件 706 2003-11-11 11:41 contourlet_toolbox\COPYING
文件 3437 2003-11-10 12:22 contourlet_toolbox\decdemo.m
文件 2456 2008-06-28 15:11 contourlet_toolbox\denoisedemo.asv
文件 3279 2008-07-04 21:21 contourlet_toolbox\denoisedemo.m
文件 2223 2003-11-05 22:44 contourlet_toolbox\dfbdec.m
文件 1768 2003-11-05 23:54 contourlet_toolbox\dfbdec_l.m
文件 1748 2003-11-05 08:11 contourlet_toolbox\dfbimage.m
文件 2012 2003-11-10 00:52 contourlet_toolbox\dfbrec.m
文件 1736 2003-11-06 00:18 contourlet_toolbox\dfbrec_l.m
文件 2729 2003-11-06 10:39 contourlet_toolbox\dfilters.m
文件 755 2003-04-10 10:30 contourlet_toolbox\dup.m
文件 1103 2003-04-10 10:30 contourlet_toolbox\efilter2.m
文件 1861 2003-11-05 22:25 contourlet_toolbox\extend2.m
文件 2098 2003-04-10 10:30 contourlet_toolbox\fbdec.m
文件 1507 2003-11-06 10:41 contourlet_toolbox\fbdec_l.m
文件 2360 2003-04-10 10:30 contourlet_toolbox\fbrec.m
文件 1426 2003-11-06 00:23 contourlet_toolbox\fbrec_l.m
文件 485 2003-04-10 10:30 contourlet_toolbox\ffilters.m
文件 856 2003-04-10 10:30 contourlet_toolbox\ld2quin.m
文件 662 2003-11-05 08:17 contourlet_toolbox\ldfilter.m
文件 722 2003-09-13 02:30 contourlet_toolbox\lpdec.m
文件 935 2003-09-13 02:48 contourlet_toolbox\lprec.m
文件 882 2003-11-05 08:19 contourlet_toolbox\mctrans.m
文件 775 2003-04-10 10:30 contourlet_toolbox\modulate2.m
文件 5507 2003-11-10 18:07 contourlet_toolbox\nlademo.m
............此处省略42个文件信息
- 上一篇:STM32F103C8T6 LCD12864 串行通信
- 下一篇:超声波测距器的设计
评论
共有 条评论