putD.wd3D(wavethresh)
putD.wd3D()所属R语言包:wavethresh
Put wavelet coefficient array into a 3D wavelet object
把小波系数数组转换成一个三维小波对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function put an array of wavelet coefficients, corresponding to a particular resolution level into a wd wavelet decomposition object.
此函数把一个数组的小波系数,对应于一个特定的成wd小波分解对象的分辨率等级。
The pyramid of coefficients in a wavelet decomposition (returned from the wd3D function, say) are packed into a single array in WaveThresh3.
打包成一个单一的阵列中wd3D的金字塔小波分解的系数(从WaveThresh3函数返回,说了)。
用法----------Usage----------
## S3 method for class 'wd3D':
putD(x, v, ...)
参数----------Arguments----------
参数:x
3D Wavelet decomposition object into which you wish to insert the wavelet coefficients.
三维小波分解的对象,在其中您要插入的小波系数。
参数:v
This argument is a list with the following components:
这个参数是一个列表有以下组件:
aA 3-dimensional array with each dimension of length equal to two to the power of lev which is the level at which you wish to insert the coefficients into x.
一个3维的数组,每个维度的长度等于2,这是你要插入到x的系数在哪一级的力量,利。
levThe level at which you wish to insert the coefficients into x.
levThe水平上,你希望插入到x系数。
blockA character string indicating which coefficient block you wish to insert the coefficients into. This can be one of GGG, GGH, GHG, GHH, HGG, HGH, HHG. Additionally this can be HHH when the lev argument above is zero.
blockA字符的字符串,表示你要插入系数系数块。这可以是一个GGG,GGH,温室气体,GHH,HGG,HGH,HHG。此外,此时,可以HHH利上述论点是零。
参数:...
Other arguments
其他参数
Details
详细信息----------Details----------
The need for this function is a consequence of the pyramidal structure of Mallat's algorithm and the memory efficiency gain achieved by storing the pyramid as an array.
需要此功能的Mallat的算法和实现存储金字塔作为一个数组的内存使用效率增益的金字塔结构的结果。
Note that this function is a method for the generic function putD.
请注意,这个函数是一个方法的通用函数putD。
值----------Value----------
A new wd3D.object is returned with the coefficients at level lev in block given by block are replaced by the contents of a, if a is of the correct dimensions!
一个新的wd3D.object返回系数水平lev块的块被替换的内容a,a是正确的尺寸!
RELEASE----------RELEASE----------
Version 3.9.6 Copyright Guy Nason 1997
版本3.9.6版权所有1997年盖利晨
(作者)----------Author(s)----------
G P Nason
参见----------See Also----------
accessD, accessD.wd3D, print.wd3D, putD, putDwd3Dcheck, summary.wd3D, threshold.wd3D, wd3D, wd3D.object, wr3D.
accessD,accessD.wd3D,print.wd3D,putD,putDwd3Dcheck,summary.wd3D,threshold.wd3D,wd3D,wd3D.object,wr3D。
实例----------Examples----------
#[]
# Generate some test data[生成一些测试数据。]
#[]
a <- array(rnorm(8*8*8), dim=c(8,8,8))
#[]
# Perform the 3D DWT[执行3D DWT]
#[]
awd3D <- wd3D(a)
#[]
# Replace the second level coefficients by uniform random variables[更换的第二个层次均匀分布的随机变量的系数]
# in block GGG (for some reason)[在块GGG(出于某种原因)]
#[]
#[]
newsubarray <- list(a = array(runif(4*4*4), dim=c(4,4,4)), lev=2, block="GGG")
awd3D <- putD(awd3D, v=newsubarray)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|