.. only:: html
|updatedisclaimer|
Segmentation
============
.. only:: html
.. contents::
:local:
:depth: 1
Connected Component Segmentation
--------------------------------
Description
...........
Parameters
..........
``Input Image`` [raster]
``Mask expression`` [string]
Optional.
Default: *None*
``Connected Component Expression`` [string]
Default: *None*
``Minimum Object Size`` [number]
Default: *2*
``OBIA Expression`` [string]
Optional.
Default: *None*
``Default elevation`` [number]
Default: *0*
Outputs
.......
``Output Shape`` [vector]
Console usage
.............
::
processing.runalg('otb:connectedcomponentsegmentation', -in, -mask, -expr, -minsize, -obia, -elev.default, -out)
See also
........
Exact Large-Scale Mean-Shift segmentation, step 2
-------------------------------------------------
Description
...........
Parameters
..........
``Filtered image`` [raster]
``Spatial image`` [raster]
Optional.
``Range radius`` [number]
Default: *15*
``Spatial radius`` [number]
Default: *5*
``Minimum Region Size`` [number]
Default: *0*
``Size of tiles in pixel (X-axis)`` [number]
Default: *500*
``Size of tiles in pixel (Y-axis)`` [number]
Default: *500*
``Directory where to write temporary files`` [file]
Optional.
``Temporary files cleaning`` [boolean]
Default: *True*
Outputs
.......
``Output Image`` [raster]
Console usage
.............
::
processing.runalg('otb:exactlargescalemeanshiftsegmentationstep2', -in, -inpos, -ranger, -spatialr, -minsize, -tilesizex, -tilesizey, -tmpdir, -cleanup, -out)
See also
........
Exact Large-Scale Mean-Shift segmentation, step 3 (optional)
------------------------------------------------------------
Description
...........
Parameters
..........
``Input image`` [raster]
``Segmented image`` [raster]
``Minimum Region Size`` [number]
Default: *50*
``Size of tiles in pixel (X-axis)`` [number]
Default: *500*
``Size of tiles in pixel (Y-axis)`` [number]
Default: *500*
Outputs
.......
``Output Image`` [raster]
Console usage
.............
::
processing.runalg('otb:exactlargescalemeanshiftsegmentationstep3optional', -in, -inseg, -minsize, -tilesizex, -tilesizey, -out)
See also
........
Exact Large-Scale Mean-Shift segmentation, step 4
-------------------------------------------------
Description
...........
Parameters
..........
``Input Image`` [raster]
``Segmented image`` [raster]
``Size of tiles in pixel (X-axis)`` [number]
Default: *500*
``Size of tiles in pixel (Y-axis)`` [number]
Default: *500*
Outputs
.......
``Output GIS vector file`` [vector]
Console usage
.............
::
processing.runalg('otb:exactlargescalemeanshiftsegmentationstep4', -in, -inseg, -tilesizex, -tilesizey, -out)
See also
........
Hoover compare segmentation
---------------------------
Description
...........
Parameters
..........
``Input ground truth`` [raster]
``Input machine segmentation`` [raster]
``Background label`` [number]
Default: *0*
``Overlapping threshold`` [number]
Default: *0.75*
``Correct detection score`` [number]
Default: *0.0*
``Over-segmentation score`` [number]
Default: *0.0*
``Under-segmentation score`` [number]
Default: *0.0*
``Missed detection score`` [number]
Default: *0.0*
Outputs
.......
``Colored ground truth output`` [raster]
``Colored machine segmentation output`` [raster]
Console usage
.............
::
processing.runalg('otb:hoovercomparesegmentation', -ingt, -inms, -bg, -th, -rc, -rf, -ra, -rm, -outgt, -outms)
See also
........
Segmentation (cc)
-----------------
Description
...........
Parameters
..........
``Input Image`` [raster]
``Segmentation algorithm`` [selection]
Options:
* 0 --- cc
Default: *0*
``Condition`` [string]
Default: *None*
``Processing mode`` [selection]
Options:
* 0 --- vector
Default: *0*
``Writing mode for the output vector file`` [selection]
Options:
* 0 --- ulco
* 1 --- ovw
* 2 --- ulovw
* 3 --- ulu
Default: *0*
``Mask Image`` [raster]
Optional.
``8-neighbor connectivity`` [boolean]
Default: *True*
``Stitch polygons`` [boolean]
Default: *True*
``Minimum object size`` [number]
Default: *1*
``Simplify polygons`` [number]
Default: *0.1*
``Layer name`` [string]
Default: *layer*
``Geometry index field name`` [string]
Default: *DN*
``Tiles size`` [number]
Default: *1024*
``Starting geometry index`` [number]
Default: *1*
``OGR options for layer creation`` [string]
Optional.
Default: *None*
Outputs
.......
``Output vector file`` [vector]
Console usage
.............
::
processing.runalg('otb:segmentationcc', -in, -filter, -filter.cc.expr, -mode, -mode.vector.outmode, -mode.vector.inmask, -mode.vector.neighbor, -mode.vector.stitch, -mode.vector.minsize, -mode.vector.simplify, -mode.vector.layername, -mode.vector.fieldname, -mode.vector.tilesize, -mode.vector.startlabel, -mode.vector.ogroptions, -mode.vector.out)
See also
........
Segmentation (edison)
---------------------
Description
...........
Parameters
..........
``Input Image`` [raster]
``Segmentation algorithm`` [selection]
Options:
* 0 --- edison
Default: *0*
``Spatial radius`` [number]
Default: *5*
``Range radius`` [number]
Default: *15*
``Minimum region size`` [number]
Default: *100*
``Scale factor`` [number]
Default: *1*
``Processing mode`` [selection]
Options:
* 0 --- vector
Default: *0*
``Writing mode for the output vector file`` [selection]
Options:
* 0 --- ulco
* 1 --- ovw
* 2 --- ulovw
* 3 --- ulu
Default: *0*
``Mask Image`` [raster]
Optional.
``8-neighbor connectivity`` [boolean]
Default: *True*
``Stitch polygons`` [boolean]
Default: *True*
``Minimum object size`` [number]
Default: *1*
``Simplify polygons`` [number]
Default: *0.1*
``Layer name`` [string]
Default: *layer*
``Geometry index field name`` [string]
Default: *DN*
``Tiles size`` [number]
Default: *1024*
``Starting geometry index`` [number]
Default: *1*
``OGR options for layer creation`` [string]
Optional.
Default: *None*
Outputs
.......
``Output vector file`` [vector]
Console usage
.............
::
processing.runalg('otb:segmentationedison', -in, -filter, -filter.edison.spatialr, -filter.edison.ranger, -filter.edison.minsize, -filter.edison.scale, -mode, -mode.vector.outmode, -mode.vector.inmask, -mode.vector.neighbor, -mode.vector.stitch, -mode.vector.minsize, -mode.vector.simplify, -mode.vector.layername, -mode.vector.fieldname, -mode.vector.tilesize, -mode.vector.startlabel, -mode.vector.ogroptions, -mode.vector.out)
See also
........
Segmentation (meanshift)
------------------------
Description
...........
Parameters
..........
``Input Image`` [raster]
``Segmentation algorithm`` [selection]
Options:
* 0 --- meanshift
Default: *0*
``Spatial radius`` [number]
Default: *5*
``Range radius`` [number]
Default: *15*
``Mode convergence threshold`` [number]
Default: *0.1*
``Maximum number of iterations`` [number]
Default: *100*
``Minimum region size`` [number]
Default: *100*
``Processing mode`` [selection]
Options:
* 0 --- vector
Default: *0*
``Writing mode for the output vector file`` [selection]
Options:
* 0 --- ulco
* 1 --- ovw
* 2 --- ulovw
* 3 --- ulu
Default: *0*
``Mask Image`` [raster]
Optional.
``8-neighbor connectivity`` [boolean]
Default: *True*
``Stitch polygons`` [boolean]
Default: *True*
``Minimum object size`` [number]
Default: *1*
``Simplify polygons`` [number]
Default: *0.1*
``Layer name`` [string]
Default: *layer*
``Geometry index field name`` [string]
Default: *DN*
``Tiles size`` [number]
Default: *1024*
``Starting geometry index`` [number]
Default: *1*
``OGR options for layer creation`` [string]
Optional.
Default: *None*
Outputs
.......
``Output vector file`` [vector]
Console usage
.............
::
processing.runalg('otb:segmentationmeanshift', -in, -filter, -filter.meanshift.spatialr, -filter.meanshift.ranger, -filter.meanshift.thres, -filter.meanshift.maxiter, -filter.meanshift.minsize, -mode, -mode.vector.outmode, -mode.vector.inmask, -mode.vector.neighbor, -mode.vector.stitch, -mode.vector.minsize, -mode.vector.simplify, -mode.vector.layername, -mode.vector.fieldname, -mode.vector.tilesize, -mode.vector.startlabel, -mode.vector.ogroptions, -mode.vector.out)
See also
........
Segmentation (mprofiles)
------------------------
Description
...........
Parameters
..........
``Input Image`` [raster]
``Segmentation algorithm`` [selection]
Options:
* 0 --- mprofiles
Default: *0*
``Profile Size`` [number]
Default: *5*
``Initial radius`` [number]
Default: *1*
``Radius step.`` [number]
Default: *1*
``Threshold of the final decision rule`` [number]
Default: *1*
``Processing mode`` [selection]
Options:
* 0 --- vector
Default: *0*
``Writing mode for the output vector file`` [selection]
Options:
* 0 --- ulco
* 1 --- ovw
* 2 --- ulovw
* 3 --- ulu
Default: *0*
``Mask Image`` [raster]
Optional.
``8-neighbor connectivity`` [boolean]
Default: *True*
``Stitch polygons`` [boolean]
Default: *True*
``Minimum object size`` [number]
Default: *1*
``Simplify polygons`` [number]
Default: *0.1*
``Layer name`` [string]
Default: *layer*
``Geometry index field name`` [string]
Default: *DN*
``Tiles size`` [number]
Default: *1024*
``Starting geometry index`` [number]
Default: *1*
``OGR options for layer creation`` [string]
Optional.
Default: *None*
Outputs
.......
``Output vector file`` [vector]
Console usage
.............
::
processing.runalg('otb:segmentationmprofiles', -in, -filter, -filter.mprofiles.size, -filter.mprofiles.start, -filter.mprofiles.step, -filter.mprofiles.sigma, -mode, -mode.vector.outmode, -mode.vector.inmask, -mode.vector.neighbor, -mode.vector.stitch, -mode.vector.minsize, -mode.vector.simplify, -mode.vector.layername, -mode.vector.fieldname, -mode.vector.tilesize, -mode.vector.startlabel, -mode.vector.ogroptions, -mode.vector.out)
See also
........
Segmentation (watershed)
------------------------
Description
...........
Parameters
..........
``Input Image`` [raster]
``Segmentation algorithm`` [selection]
Options:
* 0 --- watershed
Default: *0*
``Depth Threshold`` [number]
Default: *0.01*
``Flood Level`` [number]
Default: *0.1*
``Processing mode`` [selection]
Options:
* 0 --- vector
Default: *0*
``Writing mode for the output vector file`` [selection]
Options:
* 0 --- ulco
* 1 --- ovw
* 2 --- ulovw
* 3 --- ulu
Default: *0*
``Mask Image`` [raster]
Optional.
``8-neighbor connectivity`` [boolean]
Default: *True*
``Stitch polygons`` [boolean]
Default: *True*
``Minimum object size`` [number]
Default: *1*
``Simplify polygons`` [number]
Default: *0.1*
``Layer name`` [string]
Default: *layer*
``Geometry index field name`` [string]
Default: *DN*
``Tiles size`` [number]
Default: *1024*
``Starting geometry index`` [number]
Default: *1*
``OGR options for layer creation`` [string]
Optional.
Default: *None*
Outputs
.......
``Output vector file`` [vector]
Console usage
.............
::
processing.runalg('otb:segmentationwatershed', -in, -filter, -filter.watershed.threshold, -filter.watershed.level, -mode, -mode.vector.outmode, -mode.vector.inmask, -mode.vector.neighbor, -mode.vector.stitch, -mode.vector.minsize, -mode.vector.simplify, -mode.vector.layername, -mode.vector.fieldname, -mode.vector.tilesize, -mode.vector.startlabel, -mode.vector.ogroptions, -mode.vector.out)
See also
........