Dual-tree Filter Banks(waveslim)
Dual-tree Filter Banks()所属R语言包:waveslim
Filter Banks for Dual-Tree Wavelet Transforms
双树小波变换的滤波器
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Analysis and synthesis filter banks used in dual-tree wavelet algorithms.
分析和综合滤波器组的双树小波算法。
用法----------Usage----------
afb(x, af)
afb2D(x, af1, af2 = NULL)
afb2D.A(x, af, d)
sfb(lo, hi, sf)
sfb2D(lo, hi, sf1, sf2 = NULL)
sfb2D.A(lo, hi, sf, d)
参数----------Arguments----------
参数:x
vector or matrix of observations
的观测向量或矩阵
参数:af
analysis filters. First element of the list is the low-pass filter, second element is the high-pass filter.
分析过滤器。的列表中的第一个元素是低通滤波器,第二个要素是高通滤波器。
参数:af1,af2
analysis filters for the first and second dimension of a 2D array.
一个二维阵列的第一和第二维度的分析滤波器。
参数:sf
synthesis filters. First element of the list is the low-pass filter, second element is the high-pass filter.
合成滤波器。的列表中的第一个元素是低通滤波器,第二个要素是高通滤波器。
参数:sf1,sf2
synthesis filters for the first and second dimension of a 2D array.
一个二维阵列的第一和第二维度的合成滤波器。
参数:d
dimension of filtering (d = 1 or 2)
滤波尺寸(d = 1或2)
参数:lo
low-frequecy coefficients
低frequecy系数
参数:hi
high-frequency coefficients
高频系数
Details
详细信息----------Details----------
The functions afb2D.A and sfb2D.A implement the convolutions, either for analysis or synthesis, in one dimension only. Thus, they are the workhorses of afb2D and sfb2D. The output for the analysis filter bank along one dimension (afb2D.A) is a list with two elements
的功能afb2D.A和sfb2D.A实现的卷积,分析或综合,只在一维。因此,他们的工作母机afb2D和sfb2D。分析滤波器组的输出沿一维(afb2D.A)是一个有两个元素的列表
lo low-pass subband
LO低通子带
hi high-pass subband
喜高通子带
where the dimension of analysis will be half its original length. The output for the synthesis filter bank along one dimension (sfb2D.A) will be the output array, where the dimension of synthesis will be twice its original length.
其中分析的尺寸将是其原始长度的一半。沿一个维度(sfb2D.A)的合成滤波器组的输出端将输出数组,其中,合成的尺寸,将其原始长度的两倍。
值----------Value----------
In one dimension the output for the analysis filter bank (afb) is a list with two elements
在一维的分析滤波器组(afb)的输出是一个包含两个元素的列表
参数:lo
Low frequecy output
frequecy输出低
参数:hi
High frequency output
高频输出
and the output for the synthesis filter bank (sfb) is the output signal.
和合成滤波器组(sfb)输出的输出信号。
In two dimensions the output for the analysis filter bank (afb2D) is a list with four elements
在两个维度的分析滤波器组(afb2D)的输出是一个有四个元素的列表
参数:lo
low-pass subband
低通子带
参数:hi[[1]]
'lohi' subband
“lohi”子带
参数:hi[[2]]
'hilo' subband
“希洛”子带
参数:hi[[3]]
'hihi' subband
“日冰”子带
and the output for the synthesis filter bank (sfb2D) is the output array.
和用于合成滤波器组(sfb2D)的输出是输出数组中。
(作者)----------Author(s)----------
Matlab: S. Cai, K. Li and I. Selesnick; R port: B. Whitcher
参考文献----------References----------
http://taco.poly.edu/WaveletSoftware/
实例----------Examples----------
## EXAMPLE: afb, sfb[#例如:空军碱基,SFB]
af = farras()$af
sf = farras()$sf
x = rnorm(64)
x.afb = afb(x, af)
lo = x.afb$lo
hi = x.afb$hi
y = sfb(lo, hi, sf)
err = x - y
max(abs(err))
## EXAMPLE: afb2D, sfb2D[#例如:afb2D,sfb2D]
x = matrix(rnorm(32*64), 32, 64)
af = farras()$af
sf = farras()$sf
x.afb2D = afb2D(x, af, af)
lo = x.afb2D$lo
hi = x.afb2D$hi
y = sfb2D(lo, hi, sf, sf)
err = x - y
max(abs(err))
## Example: afb2D.A, sfb2D.A[#例如:afb2D.A,sfb2D.A]
x = matrix(rnorm(32*64), 32, 64)
af = farras()$af
sf = farras()$sf
x.afb2D.A = afb2D.A(x, af, 1)
lo = x.afb2D.A$lo
hi = x.afb2D.A$hi
y = sfb2D.A(lo, hi, sf, 1)
err = x - y
max(abs(err))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|