mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
5 lines
3.5 KiB
HTML
5 lines
3.5 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>LSMSSmallRegionsMerging</h1><h2>Brief Description</h2>Third (optional) step of the exact Large-Scale Mean-Shift segmentation workflow.<h2>Tags</h2>Segmentation,LSMS<h2>Long Description</h2>This application performs the third step of the exact Large-Scale Mean-Shift segmentation workflow (LSMS). Given a segmentation result (label image) and the original image, it will merge regions whose size in pixels is lower than minsize parameter with the adjacent regions with the adjacent region with closest radiometry and acceptable size. Small regions will be processed by size: first all regions of area, which is equal to 1 pixel will be merged with adjacent region, then all regions of area equal to 2 pixels, until regions of area minsize. For large images one can use the nbtilesx and nbtilesy parameters for tile-wise processing, with the guarantees of identical results.<h2>Parameters</h2><ul><li><b>[param] -in</b> <string> The input image.. Mandatory: True. Default Value: ""</li><li><b>[param] -inseg</b> <string> The segmented image input. Segmented image input is the segmentation of the input image.. Mandatory: True. Default Value: ""</li><li><b>[param] -out</b> <string> The output image. The output image is the input image where the minimal regions have been merged.. Mandatory: True. Default Value: ""</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 merged with the "nearest" region (radiometrically).. Mandatory: False. Default Value: "50"</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] -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>LSMSSegmentation, LSMSVectorization, MeanShiftSmoothing<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;">inseg: 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;">out: merged.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;">minsize: 20</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> |