otbcli_LSMSSmallRegionsMerging: Calculates a mean shift filtering (required for object based...

Description Usage Arguments Note Author(s) Examples

Description

Calculates a mean shift filtering

Usage

1
2
3
4
## S4 method for signature 'character'
otbcli_LSMSSmallRegionsMerging(x, inseg = NULL,
  out = NULL, minsize = 20, tilesizex = 500, tilesizey = 500,
  verbose = FALSE, return_raster = FALSE, ram = "8192")

Arguments

x

A Raster* object or a gdall raster containing the filterd input file

inseg

A Raster* object or a gdall raster containing the segmented input file

out

The full path and name of the output file

minsize

Minimum size of the extracted segments

tilesizex

Size of individual processing tiles in x direction

tilesizey

Size of individual processing tiles in y direction

verbose

switch for system messages default is FALSE

return_raster

boolean if TRUE a raster stack is returned

ram

reserved memory in MB

Note

the otb is used for the calculation of the statistics.

Author(s)

Thomas Nauss

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)
otbcli_LSMSSmallRegionsMerging(input=paste0(getwd(),"4490600_5321400.tif"),spatialr=5)

## End(Not run)

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