Segmentation-meanshift otbcli_Segmentation Segmentation (meanshift) 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) meanshift 0 False ParameterNumber filter.meanshift.spatialr Spatial radius Spatial radius of the neighborhood. 5 False ParameterNumber filter.meanshift.ranger Range radius Range radius defining the radius (expressed in radiometry unit) in the multispectral space. 15 False ParameterNumber filter.meanshift.thres Mode convergence threshold Algorithm iterative scheme will stop if mean-shift vector is below this threshold or if iteration number reached maximum number of iterations. 0.1 False ParameterNumber filter.meanshift.maxiter Maximum number of iterations Algorithm iterative scheme will stop if convergence hasn't been reached after the maximum number of iterations. 100 False ParameterNumber filter.meanshift.minsize Minimum region size Minimum size of a region (in pixel unit) in segmentation. Smaller clusters will be merged to the neighboring cluster with the closest radiometry. If set to 0 no pruning is done. 100 False ParameterSelection mode Processing mode Choice of processing mode, either raster or large-scale. vector 0 False 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 one to set the writing behaviour for the output vector file. Please note that the actual behaviour depends on the file format. ulco ovw ulovw ulu 0 False 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 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 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 True 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 True 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 False ParameterNumber mode.vector.startlabel Starting geometry index Starting value of the geometry index field 1 False 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