Segmentation-edison
  otbcli_Segmentation
  Segmentation (edison)
  Segmentation
  Performs segmentation of an image, and output either a raster or a vector file. In vector mode, large input datasets are supported.
  
    ParameterRaster
    in
    Input Image
    The input image to segment
    False
  
  
    ParameterSelection
    filter
    Segmentation algorithm
    Choice of segmentation algorithm (mean-shift by default)
    
      
        edison
        
    
    0
  
  
    ParameterNumber
    filter.edison.spatialr
    Spatial radius
    Spatial radius defining neighborhood.
    
    
    5
  
  
    ParameterNumber
    filter.edison.ranger
    Range radius
    Range radius defining the radius (expressed in radiometry unit) in the multi-spectral space.
    
    
    15
  
  
    ParameterNumber
    filter.edison.minsize
    Minimum region size
    Minimum size of a region in segmentation. Smaller clusters will be merged to the neighboring cluster with the closest radiometry.
    
    
    100
  
  
    ParameterNumber
    filter.edison.scale
    Scale factor
    Scaling of the image before processing. This is useful for images with narrow decimal ranges (like [0,1] for instance). 
    
    
    1
  
  
    ParameterSelection
    mode
    Processing mode
    Choice of processing mode, either raster or large-scale.
    
      
        vector
        
    
    0
  
  
    OutputVector
    mode.vector.out
    Output vector file
    The output vector file or database (name can be anything understood by OGR)
    
  
  
    ParameterSelection
    mode.vector.outmode
    Writing mode for the output vector file
    This allows setting the writing behaviour for the output vector file. Please note that the actual behaviour depends on the file format.
    
      
        ulco
        ovw
        ulovw
        ulu
      
    
    0
  
  
    ParameterRaster
    mode.vector.inmask
    Mask Image
    Only pixels whose mask value is strictly positive will be segmented.
    True
  
  
    ParameterBoolean
    mode.vector.neighbor
    8-neighbor connectivity
    Activate 8-Neighborhood connectivity (default is 4).
    True
  
  
    ParameterBoolean
    mode.vector.stitch
    Stitch polygons
    Scan polygons on each side of tiles and stitch polygons which connect by more than one pixel.
    True
  
  
    ParameterNumber
    mode.vector.minsize
    Minimum object size
    Objects whose size is below the minimum object size (area in pixels) will be ignored during vectorization.
    
    
    1
  
  
    ParameterNumber
    mode.vector.simplify
    Simplify polygons
    Simplify polygons according to a given tolerance (in pixel). This option allows reducing the size of the output file or database.
    
    
    0.1
  
  
    ParameterString
    mode.vector.layername
    Layer name
    Name of the layer in the vector file or database (default is Layer).
    layer
    
    False
  
  
    ParameterString
    mode.vector.fieldname
    Geometry index field name
    Name of the field holding the geometry index in the output vector file or database.
    DN
    
    False
  
  
    ParameterNumber
    mode.vector.tilesize
    Tiles size
    User defined tiles size for tile-based segmentation. Optimal tile size is selected according to available RAM if null.
    
    
    1024
  
  
    ParameterNumber
    mode.vector.startlabel
    Starting geometry index
    Starting value of the geometry index field
    
    
    1
  
  
    ParameterString
    mode.vector.ogroptions
    OGR options for layer creation
    A list of layer creation options in the form KEY=VALUE that will be passed directly to OGR without any validity checking. Options may depend on the file format, and can be found in OGR documentation.
    
    
    True