---
name: "otbcli_LSMSSmallRegionsMerging"
section: "1"
platform: "linux"
package: "otb-bin"
version: "6.6.1+dfsg-1+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/otbcli_LSMSSmallRegionsMerging"
---

# otbcli\_LSMSSmallRegionsMerging(1)

OTB LSMSSmallRegionsMerging application

## NAME

otbcli\_LSMSSmallRegionsMerging - OTB LSMSSmallRegionsMerging application

## DESCRIPTION

This is the LSMSSmallRegionsMerging application, version 5.2.0 Third (optional) step of the exact Large-Scale Mean-Shift segmentation workflow.

Complete documentation: http://www.orfeo-toolbox.org/Applications/LSMSSmallRegionsMerging.html

### Parameters:

- **-progress**

  \<boolean\>        Report progress

 **-in**        \<string\>         Input image  (mandatory)\
  **-inseg**     \<string\>         Segmented image  (mandatory)\
  **-out**       \<string\> \[pixel\] Output Image  \[pixel=uint8/uint16/int16/uint32/int32/float/double\] (default value is uint32) (mandatory)

- **-minsize**

  \<int32\>          Minimum Region Size  (optional, on by default, default value is 50)

- **-tilesizex** \<int32\>

  Size of tiles in pixel (X-axis)  (mandatory, default value is 500)

- **-tilesizey** \<int32\>

  Size of tiles in pixel (Y-axis)  (mandatory, default value is 500)

- **-inxml**

  \<string\>         Load otb application from xml file  (optional, off by default)

## EXAMPLES

otbcli\_LSMSSmallRegionsMerging -in smooth.tif -inseg segmentation.tif -out merged.tif -minsize 20 -tilesizex 256 -tilesizey 256

## SEE ALSO

The full documentation for **otbcli\_LSMSSmallRegionsMerging** is maintained as a Texinfo manual.  If the **info** and **otbcli\_LSMSSmallRegionsMerging** programs are properly installed at your site, the command

-

  **info otbcli\_LSMSSmallRegionsMerging**

should give you access to the complete manual.
