主要内容

plotdt

绘制双树或双密度小波变换

语法

描述

例子

plotdt (wt表示一维或二维小波滤波器组分解的系数,wt

例子

全部折叠

绘制噪声多普勒信号的复双树小波变换。

加载噪声多普勒信号。得到第4级的复双树小波变换。

负载noisdopp;Wt = dddtree(“cplxdt”noisdopp 4“dtf1”);

把系数画出来。

plotdt (wt)

图CPLXDT包含10个轴对象。标题类型为TREE的坐标轴对象1:CPLXDT包含一个类型为line的对象。坐标轴对象2包含一个line类型的对象。Axes对象3包含一个line类型的对象。Axes对象4包含一个line类型的对象。Axes对象5包含一个line类型的对象。Axes对象6包含一个line类型的对象。Axes对象7包含一个line类型的对象。Axes对象8包含一个line类型的对象。Axes对象9包含一个line类型的对象。 Axes object 10 contains an object of type line.

绘制图像的复定向双树小波变换。

加载xbox的形象。得到第3级的复定向双树小波变换。

负载xbox;Wt = dddtre2 (“cplxdt”xbox 3“dtf1”);

把系数画出来。

plotdt (wt)

图CPLXDT - LEVEL 3包含40个轴对象和其他类型为uicontrol, uipanel的对象。标题为C indexOf 1 1 1基线的坐标轴对象1包含一个图像类型的对象。轴对象2的标题C indexOf 1 2 1基线包含一个类型为image的对象。轴对象3的标题C indexOf 1 1 2基线包含一个类型为image的对象。轴对象4的标题C indexOf 1 2 2基线包含一个类型为image的对象。轴对象5与标题C indexOf 2 1 1基线包含一个类型为image的对象。轴对象6,标题C indexOf 2 2 1基线包含一个类型为image的对象。轴对象7与标题C indexOf 2 1 2基线包含一个类型为image的对象。轴对象8的标题C indexOf 2 2 2基线包含一个类型为image的对象。轴对象9,标题C indexOf 3 1 1基线包含一个类型为image的对象。 Axes object 10 with title C indexOf 3 2 1 baseline contains an object of type image. Axes object 11 with title C indexOf 3 1 2 baseline contains an object of type image. Axes object 12 with title C indexOf 3 2 2 baseline contains an object of type image. Axes object 13 with title C indexOf 1 1 1 baseline contains an object of type image. Axes object 14 with title C indexOf 1 2 1 baseline contains an object of type image. Axes object 15 with title C indexOf 1 1 2 baseline contains an object of type image. Axes object 16 with title C indexOf 1 2 2 baseline contains an object of type image. Axes object 17 with title C indexOf 2 1 1 baseline contains an object of type image. Axes object 18 with title C indexOf 2 2 1 baseline contains an object of type image. Axes object 19 with title C indexOf 2 1 2 baseline contains an object of type image. Axes object 20 with title C indexOf 2 2 2 baseline contains an object of type image. Axes object 21 with title C indexOf 3 1 1 baseline contains an object of type image. Axes object 22 with title C indexOf 3 2 1 baseline contains an object of type image. Axes object 23 with title C indexOf 3 1 2 baseline contains an object of type image. Axes object 24 with title C indexOf 3 2 2 baseline contains an object of type image. Axes object 25 with title C indexOf 1 1 1 baseline contains an object of type image. Axes object 26 with title C indexOf 1 2 1 baseline contains an object of type image. Axes object 27 with title C indexOf 1 1 2 baseline contains an object of type image. Axes object 28 with title C indexOf 1 2 2 baseline contains an object of type image. Axes object 29 with title C indexOf 2 1 1 baseline contains an object of type image. Axes object 30 with title C indexOf 2 2 1 baseline contains an object of type image. Axes object 31 with title C indexOf 2 1 2 baseline contains an object of type image. Axes object 32 with title C indexOf 2 2 2 baseline contains an object of type image. Axes object 33 with title C indexOf 3 1 1 baseline contains an object of type image. Axes object 34 with title C indexOf 3 2 1 baseline contains an object of type image. Axes object 35 with title C indexOf 3 1 2 baseline contains an object of type image. Axes object 36 with title C indexOf 3 2 2 baseline contains an object of type image. Axes object 37 with title C indexOf 1 1 baseline contains an object of type image. Axes object 38 with title C indexOf 2 1 baseline contains an object of type image. Axes object 39 with title C indexOf 1 2 baseline contains an object of type image. Axes object 40 with title C indexOf 2 2 baseline contains an object of type image.

从下拉列表中选择所需的关卡细节系数。

输入参数

全部折叠

小波变换,作为结构返回dddtreedddtree2使用这些字段:

小波分解类型(滤波器组),指定为之一dwt的“ddt”“realdt”“cplxdt”,,“realdddt”,或“cplxdddt”“realdt”而且“realdddt”只对二维小波变换有效。的类型,dwt的,是针对一维数据或二维图像的临界采样(非冗余)离散小波变换。其他分解类型是过采样小波变换。有关转换类型的详细信息,请参见dddtree为一维小波变换和dddtree2二维小波变换。

小波分解的级别,指定为正整数。

分解(分析)和重建(合成)过滤器,指定为具有以下字段的结构:

一级分解筛选器指定为N2或N-乘3矩阵的单树小波变换,或1乘2单元阵列的两个N2或N-by-3矩阵用于双树小波变换。矩阵是N-by-3表示双密度小波变换。对于一个N-by-2矩阵,矩阵的第一列是缩放(低通)滤波器,第二列是小波(高通)滤波器。对于一个N-by-3矩阵,矩阵的第一列是缩放(低通)滤波器,第二列和第三列是小波(高通)滤波器。对于双树变换,单元格数组的每个元素都包含对应树的第一阶段分析过滤器。

级别> 1的分析过滤器,指定为N2或N-乘3矩阵的单树小波变换,或1乘2单元阵列的两个N2或N-by-3矩阵用于双树小波变换。矩阵是N-by-3表示双密度小波变换。对于一个N-by-2矩阵,矩阵的第一列是缩放(低通)滤波器,第二列是小波(高通)滤波器。对于一个N-by-3矩阵,矩阵的第一列是缩放(低通)滤波器,第二列和第三列是小波(高通)滤波器。对于双树变换,单元格数组的每个元素都包含对应树的分析过滤器。

一级重构筛选器,指定为N2或N-乘3矩阵的单树小波变换,或1乘2单元阵列的两个N2或N-by-3矩阵用于双树小波变换。矩阵是N-by-3表示双密度小波变换。对于一个N-by-2矩阵,矩阵的第一列是缩放(低通)滤波器,第二列是小波(高通)滤波器。对于一个N-by-3矩阵,矩阵的第一列是缩放(低通)滤波器,第二列和第三列是小波(高通)滤波器。对于双树变换,单元格数组的每个元素都包含对应树的第一阶段合成滤波器。

级别> 1的重建过滤器,指定为N2或N-乘3矩阵的单树小波变换,或1乘2单元阵列的两个N2或N-by-3矩阵用于双树小波变换。矩阵是N-by-3表示双密度小波变换。对于一个N-by-2矩阵,矩阵的第一列是缩放(低通)滤波器,第二列是小波(高通)滤波器。对于一个N-by-3矩阵,矩阵的第一列是缩放(低通)滤波器,第二列和第三列是小波(高通)滤波器。对于双树变换,单元格数组的每个元素都包含对应树的第一阶段合成滤波器。

小波变换系数,用1 × (水平+1)单元阵列矩阵。单元阵列矩阵元素的大小和结构取决于小波变换的类型以及分解是一维还是二维。对于一维小波变换,系数按变换类型组织如下:

  • dwt的- - - - - -cfs {j}

    • J = 1,2,…水平是水平。

    • cfs{水平+ 1}是低通系数或缩放系数。

  • “ddt”- - - - - -cfs {j} (:,:, k)

    • J = 1,2,…水平是水平。

    • K = 1,2是小波滤波器。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “cplxdt”- - - - - -cfs {j} (:,:,)

    • J = 1,2,…水平是水平。

    • M = 1,2是实部和虚部。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “realdddt”- - - - - -cfs {j} (:,:, d, k)

    • J = 1,2,…水平是水平。

    • D = 1,2,3是方向。

    • K = 1,2是小波变换树。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “cplxdddt”- - - - - -cfs {j} (:,:, d, k、m)

    • J = 1,2,…水平是水平。

    • K = 1,2是小波变换树。

    • M = 1,2是实部和虚部。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

对于二维小波变换,系数按变换类型组织如下:

  • dwt的- - - - - -cfs {j} (:,: d)

    • J = 1,2,…水平是水平。

    • D = 1,2,3是方向。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “ddt”- - - - - -cfs {j} (:,: d)

    • J = 1,2,…水平是水平。

    • D = 1 2 3 4 5 6 7 8是方向。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “realddt”- - - - - -cfs {j} (:,:, d, k)

    • J = 1,2,…水平是水平。

    • D = 1,2,3是方向。

    • K = 1,2是小波变换树。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “cplxdt”- - - - - -cfs {j} (:,:, d, k、m)

    • J = 1,2,…水平是水平。

    • D = 1,2,3是方向。

    • K = 1,2是小波变换树。

    • M = 1,2是实部和虚部。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “realdddt”- - - - - -cfs {j} (:,:, d, k)

    • J = 1,2,…水平是水平。

    • D = 1,2,3是方向。

    • K = 1,2是小波变换树。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

  • “cplxdddt”- - - - - -cfs {j} (:,:, d, k、m)

    • J = 1,2,…水平是水平。

    • D = 1,2,3是方向。

    • K = 1,2是小波变换树。

    • M = 1,2是实部和虚部。

    • cfs{水平+ 1}(:,)是低通系数或缩放系数。

在R2013b中引入