MATLAB工具包——curvelet变换的理解(转)

本文介绍了MATLAB中curvelet变换的理解,通过分析fdct_wrapping和DCT基本示例,探讨了尺度s、角度w以及位置a b对变换的影响。展示了curvelet在表达图像曲线特征上的优势,并指出其符合最优图像表示的多分辨、带通和方向性特征。
摘要由CSDN通过智能技术生成

curvelet下载的curvelet工具包,有以下三个文件:fdct_usfft_matlab、fdct_wrapping_matlab、mecv三个文件夹添加到matlab路径中即可。

curvelet matlab示例代码理解:

1. fdct_wrapping

 function C = fdct_wrapping(x, is_real, finest, nbscales, nbangles_coarse)
% fdct_wrapping.m - Fast Discrete Curvelet Transform via wedge wrapping - Version 1.0
%
% Inputs
%   x           M-by-N matrix 输入为MxN的矩阵
%
% Optional Inputs
%   is_real     Type of the transform 转化的类型
%                   0: complex-valued curvelets 复数值的曲波变化
%                   1: real-valued curvelets 实数值的曲波变化
%               [default set to 0] 默认设置为0
%   finest      Chooses one of two possibilities for the coefficients at the
%               finest level: 选择一种表示方式计算最优级的系数
%                   1: curvelets 曲波变化
%                   2: wavelets 小波变化
%               [default set to 2] 默认设置为2
%   nbscales    number of scales including the coarsest wavelet level 
%               包含最粗小波级在内的伸缩数
%               [default set to ceil(log2(min(M,N)) - 3)]
%   nbangles_coarse
%               number of angles at the 2nd coarsest level, minimum 8,
%               第二粗糙级的角度数,最小为8
%               must be a multiple of 4. [default set to 16]
%               必须为4的倍数,默认为16
% Outputs
%   C           Cell array of curvelet coefficients.
%               C{j}{l}(k1,k2) is the coefficient at
%                   - scale j: integer, from finest to coarsest scale,
%                     从最佳尺度到最粗尺度
%                   - angle l: integer, starts at the top-left corner and
%                   increases clockwise,
%                     从左上角开始顺时针增长
%                   - position k1,k2: both integers, size varies with j
%                   and l.
%               If is_real is 1, there are two types of curvelets,
%               'cosine' and 'sine'. For a given scale j, the 'cosine'
%               coefficients are stored in the first two quadrants (low
%               values of l), the 'sine' coefficients in the last two
%               quadrants (high values of l).  
%
% See also ifdct_wrapping.m, fdct_wrapping_param
  • 1
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值