otbEdge: Calculates edges for a given kernel size

Description Usage Arguments Value Note Author(s) Examples

Description

Calculates edges for a given kernel size

Usage

1
2
3
4
otbEdge(input = NULL, output_name = "edge", ram = "8192",
  filter = "gradient", filter.touzi.xradius = 1, filter.touzi.yradius = 1,
  channel = NULL, return_raster = FALSE, path_output = NULL,
  verbose = FALSE)

Arguments

input

of GeoTiff containing 1 ore more gray value band(s)

output_name

the output mono band image containing the edge features

ram

reserved memory in MB

filter

the choice of edge detection method (gradient/sobel/touzi)

filter.touzi.xradius

x radius of the Touzi processing neighborhood (if filter==touzi) (default value is 1 pixel)

filter.touzi.yradius

y radius of the Touzi processing neighborhood (if filter==touzi) (default value is 1 pixel)

channel

sequence of bands to be processed

return_raster

boolean if TRUE a raster stack is returned

verbose

switch for system messages default is FALSE

Value

list of geotiffs containing thelocal statistics for each channel

Note

the otb is used for filtering. please provide a GeoTiff file

Author(s)

Chris Reudenbach

Examples

1
2
3
4
5
6
7
## Not run: 
url<-"http://www.ldbv.bayern.de/file/zip/5619/DOP%2040_CIR.zip"
res <- curl::curl_download(url, "testdata.zip")
unzip(res,junkpaths = TRUE,overwrite = TRUE)
otbedge(input=paste0(getwd(),"4490600_5321400.tif"),filter = "sobel")

## End(Not run)

environmentalinformatics-marburg/satelliteTools documentation built on May 16, 2019, 8:16 a.m.