nullevels.imwd(wavethresh)
nullevels.imwd()所属R语言包:wavethresh
Sets whole resolution levels of coefficients equal to zero in a imwd object.
设定全分辨率级别的系数等于零在imwd对象。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Sets whole resolution levels of coefficients equal to zero in a imwd.object
在imwd.object设置等于零的系数全分辨率级别
用法----------Usage----------
## S3 method for class 'imwd':
nullevels(imwd, levelstonull, ...)
参数----------Arguments----------
参数:imwd
An object of class imwd.
对象的类imwd。
参数:levelstonull
An integer vector specifying which resolution levels of coefficients of imwd that you wish to set to zero.
指定一个整数向量分辨率级别系数的imwd,你想设置为零。
参数:...
any other arguments
任何其他参数
Details
详细信息----------Details----------
Setting whole resolution levels of coefficients to zero can be very useful. For examples, one can construct a linear smoothing method by setting all coefficients above a particular resolution (the primary resolution equal to zero. Also setting particular levels equal to zero can also be useful for removing noise which is specific to a particular resolution level (as long as important signal is not also contained at that level).
整个的分辨率级别的系数设置为零,可以是非常有用的。对于实施例中,一个可以构造一个线性平滑方法还设置特殊的等于零的水平,也可以是用于去除噪声,这是特定于一个特定的分辨率等级(如,通过设置特定的分辨率以上的所有系数(主分辨率等于零。作为重要的信号是不是也包含在这一水平)。
Note that this function removes the horiztonal, diagonal and vertical detail coefficients at the resolution level specified. It does not remove the father wavelet coefficients at those resolution levels.
请注意,此功能消除了horiztonal,斜向和垂直细节系数在指定的分辨率级别。它不会删除的父亲在这些分辨率级别的小波系数。
To remove individual coefficients on a systematic basis you probably want to look at the threshold function.
要删除单个系数有系统的基础,你可能想看看threshold功能。
值----------Value----------
An object of class imwd where the coefficients in resolution levels specified by levelstonull have been set to zero.
类的一个对象imwd其中系数levelstonull所指定的分辨率水平已被设置为零。
RELEASE----------RELEASE----------
Version 3.9.5 Copyright Guy Nason 1998
版本3.9.5版权所有1998年盖利晨
(作者)----------Author(s)----------
G P Nason
参见----------See Also----------
nullevels, imwd, imwd.object, threshold.
nullevels,imwd,imwd.object,threshold。
实例----------Examples----------
#[]
# Do the wavelet transform of the Lennon image[列侬图像做小波变换]
#[]
data(lennon)
lenimwd <- imwd(lennon)
#[]
# Set scales (resolution levels) 2, 4 and 6 equal to zero.[设置秤(分辨率水平)2,4和6等于零。]
#[]
lenwdNL <- nullevels(lenimwd, levelstonull=c(2,4,6))
#[]
# Now let's plot the coefficients using a nice blue-heat colour map[现在,让我们用一个漂亮的蓝色热的彩色图绘制系数]
#[]
# You will see that coefficients at levels 2, 4 and 6 are black (i.e. zero)[你会看到系数是黑色的(即零的水平,2,4,6)]
# You can see that coefficients at other levels are unaffected and still[你可以看到,其他级别系数不受影响,仍然]
# show the Lennon coefficients.[显示列侬系数。]
#[]
## Not run: plot(lenwdNL)[#不运行:图(lenwdNL)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|