| denoise | R Documentation | 
Filter noise from a RasterStack by decomposing into principal components and subsequent reconstruction using only a subset of components
denoise(
  x,
  k = NULL,
  expl.var = NULL,
  weighted = TRUE,
  use.cpp = TRUE,
  verbose = TRUE,
  ...
)
x | 
 RasterStack to be filtered  | 
k | 
 number of components to be kept for reconstruction
(ignored if   | 
expl.var | 
 minimum amount of variance to be kept after reconstruction
(should be set to NULL or omitted if   | 
weighted | 
 logical. If   | 
use.cpp | 
 logical. Determines whether to use Rcpp
functionality, defaults to   | 
verbose | 
 logical. If   | 
... | 
 additional arguments passed to   | 
a denoised RasterStack
anomalize(), deseason()
data("vdendool")
vdd_dns <- denoise(vdendool, expl.var = 0.8)
opar <- par(mfrow = c(1,2))
plot(vdendool[[1]], main = "original")
plot(vdd_dns[[1]], main = "denoised")
par(opar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.