Displaying 1 result from an estimated 1 matches for "thresholdlevel".
Did you mean:
thresholdlevels
2005 Nov 23
1
assign() problem
...a value for the number of decomposition levels
#nlevels <- imwdImage$nlevels
i <- 0
varname <- paste("level",0:(imwdImage$nlevels-1),sep="")
print(varname)
while ( i < imwdImage$nlevels)
{
# set the threshold to 0 on all levels except the one in evaluation
# thresholdLevels is the list of levels to set to zero
thresholdLevels <- 1:(imwdImage$nlevels-1)
thresholdLevels[i] <- 0
thresholdedCoeff <- threshold.imwd(imwdImage,levels=thresholdLevels,
policy=c("manual"), type="hard", value=10000)
# calculate the inverse wavelet...