mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-07 00:05:28 -04:00
51 lines
879 B
ReStructuredText
51 lines
879 B
ReStructuredText
WATERSHED SEGMENTATION
|
|
======================
|
|
|
|
Description
|
|
-----------
|
|
|
|
Parameters
|
|
----------
|
|
|
|
- ``Grid[Raster]``:
|
|
- ``Output[Selection]``:
|
|
- ``Method[Selection]``:
|
|
- ``Join Segments based on Threshold Value[Selection]``:
|
|
- ``Threshold[Number]``:
|
|
- ``Allow Edge Pixels to be Seeds[Boolean]``:
|
|
- ``Borders[Boolean]``:
|
|
|
|
Outputs
|
|
-------
|
|
|
|
- ``Segments[Raster]``:
|
|
- ``Seed Points[Vector]``:
|
|
- ``Borders[Raster]``:
|
|
|
|
See also
|
|
---------
|
|
|
|
|
|
Console usage
|
|
-------------
|
|
|
|
|
|
::
|
|
|
|
processing.runalg('saga:watershedsegmentation', grid, output, down, join, threshold, edge, bborders, segments, seeds, borders)
|
|
|
|
Available options for selection parameters:
|
|
|
|
output(Output)
|
|
0 - [0] Seed Value
|
|
1 - [1] Segment ID
|
|
|
|
down(Method)
|
|
0 - [0] Minima
|
|
1 - [1] Maxima
|
|
|
|
join(Join Segments based on Threshold Value)
|
|
0 - [0] do not join
|
|
1 - [1] seed to saddle difference
|
|
2 - [2] seeds difference
|