mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
5 lines
5.3 KiB
HTML
5 lines
5.3 KiB
HTML
<html><head>
|
|
<style type="text/css">
|
|
dl { border: 3px double #ccc; padding: 0.5em; } dt { float: left; clear: left; text-align: left; font-weight: bold; color: green; } dt:after { content: ":"; } dd { margin: 0 0 0 220px; padding: 0 0 0.5em 0; }
|
|
</style>
|
|
</head><body><h1>LSMSSegmentation</h1><h2>Brief Description</h2>Second step of the exact Large-Scale Mean-Shift segmentation workflow.<h2>Tags</h2>Segmentation,LSMS<h2>Long Description</h2>This application performs the second step of the exact Large-Scale Mean-Shift segmentation workflow (LSMS). Filtered range image and spatial image should be created with the MeanShiftSmoothing application, with modesearch parameter disabled. If spatial image is not set, the application will only process the range image and spatial radius parameter will not be taken into account. This application will produce a labeled image where neighbor pixels whose range distance is below range radius (and optionally spatial distance below spatial radius) will be grouped together into the same cluster. For large images one can use the nbtilesx and nbtilesy parameters for tile-wise processing, with the guarantees of identical results. Please note that this application will generate a lot of temporary files (as many as the number of tiles), and will therefore require twice the size of the final result in term of disk space. The cleanup option (activated by default) allows removing all temporary file as soon as they are not needed anymore (if cleanup is activated, tmpdir set and tmpdir does not exists before running the application, it will be removed as well during cleanup). The tmpdir option allows defining a directory where to write the temporary files. Please also note that the output image type should be set to uint32 to ensure that there are enough labels available.<h2>Parameters</h2><ul><li><b>[param] -in</b> <string> The filtered image (cf. Adaptive MeanShift Smoothing application).. Mandatory: True. Default Value: ""</li><li><b>[param] -inpos</b> <string> The spatial image. Spatial input is the displacement map (output of the Adaptive MeanShift Smoothing application).. Mandatory: False. Default Value: ""</li><li><b>[param] -out</b> <string> The output image. The output image is the segmentation of the filtered image. It is recommended to set the pixel type to uint32.. Mandatory: True. Default Value: ""</li><li><b>[param] -ranger</b> <float> Range radius defining the radius (expressed in radiometry unit) in the multi-spectral space.. Mandatory: False. Default Value: "15"</li><li><b>[param] -spatialr</b> <float> Spatial radius of the neighborhood.. Mandatory: False. Default Value: "5"</li><li><b>[param] -minsize</b> <int32> Minimum Region Size. If, after the segmentation, a region is of size lower than this criterion, the region is deleted.. Mandatory: False. Default Value: "0"</li><li><b>[param] -tilesizex</b> <int32> Size of tiles along the X-axis.. Mandatory: True. Default Value: "500"</li><li><b>[param] -tilesizey</b> <int32> Size of tiles along the Y-axis.. Mandatory: True. Default Value: "500"</li><li><b>[param] -tmpdir</b> <string> This applications need to write temporary files for each tile. This parameter allows choosing the path where to write those files. If disabled, the current path will be used.. Mandatory: False. Default Value: ""</li><li><b>[param] -cleanup</b> <boolean> If activated, the application will try to clean all temporary files it created. Mandatory: False. Default Value: "True"</li><li><b>[param] -inxml</b> <string> Load otb application from xml file. Mandatory: False. Default Value: ""</li><li><b>[param] -outxml</b> <string> Save otb application to xml file. Mandatory: False. Default Value: ""</li></ul><h2>Limitations</h2>This application is part of the Large-Scale Mean-Shift segmentation workflow (LSMS) and may not be suited for any other purpose.<h2>Authors</h2>David Youssefi<h2>See Also</h2>MeanShiftSmoothing, LSMSSmallRegionsMerging, LSMSVectorization<h2>Example of use</h2><ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">in: smooth.tif</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">inpos: position.tif</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">out: segmentation.tif</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">ranger: 15</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">spatialr: 5</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">minsize: 0</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">tilesizex: 256</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">tilesizey: 256</p></li></ul></body></html> |