Scroll to navigation

OTBGUI_SEGMENTATION(1) User Commands OTBGUI_SEGMENTATION(1)

NAME

otbgui_Segmentation - OTB Segmentation application

DESCRIPTION

This is the Segmentation application, version 5.2.0 Performs segmentation of an image, and output either a raster or a vector file. In vector mode, large input datasets are supported.

Complete documentation: http://www.orfeo-toolbox.org/Applications/Segmentation.html

Parameters:

<boolean> Report progress


-in <string> Input Image (mandatory)

<string> Segmentation algorithm [meanshift/cc/watershed/mprofiles] (mandatory, default value is meanshift)
<int32> Spatial radius (mandatory, default value is 5)
<float> Range radius (mandatory, default value is 15)
<float> Mode convergence threshold (mandatory, default value is 0.1)
<int32> Maximum number of iterations (mandatory, default value is 100)
<int32> Minimum region size (mandatory, default value is 100)
<string> Condition (mandatory)
Depth Threshold (mandatory, default value is 0.01)
<float> Flood Level (mandatory, default value is 0.1)
<int32> Profile Size (mandatory, default value is 5)
<int32> Initial radius (mandatory, default value is 1)
<int32> Radius step. (mandatory, default value is 1)
<float> Threshold of the final decision rule (mandatory, default value is 1)
<string> Processing mode [vector/raster] (mandatory, default value is vector)


-mode.vector.out <string> Output vector file (mandatory)

<string> Writing mode for the output vector file [ulco/ovw/ulovw/ulu] (mandatory, default value is ulco)
<string> Mask Image (optional, off by default)
<boolean> 8-neighbor connectivity (optional, off by default)
<boolean> Stitch polygons (optional, on by default)
<int32> Minimum object size (optional, off by default, default value is 1)
<float> Simplify polygons (optional, off by default, default value is 0.1)
<string> Layer name (mandatory, default value is layer)
<string> Geometry index field name (mandatory, default value is DN)
<int32> Tiles size (mandatory, default value is 1024)
<int32> Starting geometry index (mandatory, default value is 1)
<string list> OGR options for layer creation (optional, off by default)
<string> [pixel] Output labeled image [pixel=uint8/uint16/int16/uint32/int32/float/double] (default value is uint32) (mandatory)
<string> Load otb application from xml file (optional, off by default)

EXAMPLES

Example of use with vector mode and watershed segmentation otbgui_Segmentation -in QB_Toulouse_Ortho_PAN.tif -mode vector -mode.vector.out SegmentationVector.sqlite -filter watershed Example of use with raster mode and mean-shift segmentation otbgui_Segmentation -in QB_Toulouse_Ortho_PAN.tif -mode raster -mode.raster.out SegmentationRaster.tif uint16 -filter meanshift

SEE ALSO

The full documentation for otbgui_Segmentation is maintained as a Texinfo manual. If the info and otbgui_Segmentation programs are properly installed at your site, the command

info otbgui_Segmentation

should give you access to the complete manual.

December 2015 otbgui_Segmentation 5.2.0