• 大小: 4.44MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-13
  • 语言: Matlab
  • 标签: contourlet  

资源简介

contourlet工具箱matlab,不是太好找

资源截图

代码片段和文件信息

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  2006-12-02 11:22  contourlet\contourlet_toolbox\backsamp.m

     文件     177851  2006-12-02 11:22  contourlet\contourlet_toolbox\barbara.png

     文件       2390  2006-12-02 11:22  contourlet\contourlet_toolbox\ChangeLog

     文件       5126  2011-09-14 17:31  contourlet\contourlet_toolbox\computescale.m

     文件       3537  2006-12-02 11:22  contourlet\contourlet_toolbox\Contents.m

     文件        706  2006-12-02 11:22  contourlet\contourlet_toolbox\COPYING

     文件       3437  2006-12-26 20:22  contourlet\contourlet_toolbox\decdemo.m

     文件       2475  2006-12-26 20:56  contourlet\contourlet_toolbox\denoisedemo.m

     文件       2223  2006-12-02 11:22  contourlet\contourlet_toolbox\dfbdec.m

     文件       1768  2006-12-02 11:22  contourlet\contourlet_toolbox\dfbdec_l.m

     文件       1748  2006-12-02 11:22  contourlet\contourlet_toolbox\dfbimage.m

     文件       2012  2006-12-02 11:22  contourlet\contourlet_toolbox\dfbrec.m

     文件       1736  2006-12-02 11:22  contourlet\contourlet_toolbox\dfbrec_l.m

     文件       2729  2006-12-02 11:22  contourlet\contourlet_toolbox\dfilters.m

     文件        755  2006-12-02 11:22  contourlet\contourlet_toolbox\dup.m

     文件       1103  2006-12-02 11:22  contourlet\contourlet_toolbox\efilter2.m

     文件        225  2006-12-26 17:43  contourlet\contourlet_toolbox\ex1.asv

     文件        225  2006-12-26 17:46  contourlet\contourlet_toolbox\ex1.m

     文件        404  2006-12-26 20:25  contourlet\contourlet_toolbox\ex2.m

     文件       1861  2006-12-02 11:22  contourlet\contourlet_toolbox\extend2.m

     文件       2098  2006-12-02 11:22  contourlet\contourlet_toolbox\fbdec.m

     文件       1507  2006-12-02 11:22  contourlet\contourlet_toolbox\fbdec_l.m

     文件       2360  2006-12-02 11:22  contourlet\contourlet_toolbox\fbrec.m

     文件       1426  2006-12-02 11:22  contourlet\contourlet_toolbox\fbrec_l.m

     文件        485  2006-12-02 11:22  contourlet\contourlet_toolbox\ffilters.m

     文件       8105  2006-12-26 20:15  contourlet\contourlet_toolbox\hs_err_pid1228.log

     文件        856  2006-12-02 11:22  contourlet\contourlet_toolbox\ld2quin.m

     文件        662  2006-12-02 11:22  contourlet\contourlet_toolbox\ldfilter.m

     文件        722  2006-12-02 11:22  contourlet\contourlet_toolbox\lpdec.m

     文件        935  2006-12-02 11:22  contourlet\contourlet_toolbox\lprec.m

............此处省略114个文件信息

评论

共有 条评论