View source: R/RSAGA-modules.R
rsaga.filter.simple | R Documentation |
Apply a smoothing, sharpening or edge filter to a SAGA grid.
rsaga.filter.simple( in.grid, out.grid, mode = "circle", method = c("smooth", "sharpen", "edge"), radius, env = rsaga.env(), ... )
in.grid |
input: SAGA grid file (default file extension: |
out.grid |
output: SAGA grid file |
mode |
character or numeric: shape of moving window, either |
method |
character or numeric: |
radius |
positive integer: radius of moving window |
env |
list, setting up a SAGA geoprocessing environment as created by |
... |
optional arguments to be passed to |
The type of object returned depends on the intern
argument passed to the rsaga.geoprocessor()
. For intern=FALSE
it is a numerical error code (0: success), or otherwise (the default) a character vector with the module's console output.
Alexander Brenning (R interface), Olaf Conrad (SAGA module)
rsaga.filter.gauss()
## Not run: rsaga.filter.simple("dem","dem-smooth",radius=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.