otbcli_ExactLargeScaleMeanShiftSegmentation: 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
5
## S4 method for signature 'character'
otbcli_ExactLargeScaleMeanShiftSegmentation(x,
  inpos = NULL, out = NULL, tmpdir = NULL, spatialr = 5, ranger = 15,
  minsize = 0, tilesizex = 500, tilesizey = 500, verbose = FALSE,
  return_raster = FALSE)

Arguments

x

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

inpos

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

out

The full path and name of the output file

tmpdir

Path of temporary output files

spatialr

Computational radius in euclidian distance (m)

ranger

Range in multi-spectral space to be grouped into one

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

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

## End(Not run)

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