rsaga.filter.gauss: Gauss Filter

View source: R/RSAGA-modules.R

rsaga.filter.gaussR Documentation

Gauss Filter

Description

Smooth a grid using a Gauss filter.

Usage

rsaga.filter.gauss(
  in.grid,
  out.grid,
  sigma,
  radius = ceiling(2 * sigma),
  env = rsaga.env(),
  ...
)

Arguments

in.grid

input: SAGA GIS grid file (default file extension: .sgrd)

out.grid

output: SAGA GIS grid file

sigma

numeric, >0.0001: standard deviation parameter of Gauss filter

radius

positive integer: radius of moving window

env

list, setting up a SAGA geoprocessing environment as created by rsaga.env()

...

optional arguments to be passed to rsaga.geoprocessor(), including the env RSAGA geoprocessing environment

Value

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.

Author(s)

Alexander Brenning (R interface), Olaf Conrad (SAGA module)

See Also

rsaga.filter.simple()


RSAGA documentation built on Dec. 10, 2022, 1:12 a.m.