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

# otbgui\_ConnectedComponentSegmentation(1)

OTB ConnectedComponentSegmentation application

## NAME

otbgui\_ConnectedComponentSegmentation - OTB ConnectedComponentSegmentation application

## DESCRIPTION

This is the ConnectedComponentSegmentation application, version 5.2.0 Connected component segmentation and object based image filtering of the input image according to user-defined criterions.

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

### Parameters:

- **-progress**

  \<boolean\>        Report progress

 **-in**           \<string\>         Input Image  (mandatory)\
  **-out**          \<string\>         Output Shape  (mandatory)

- **-mask**

  \<string\>         Mask expression  (optional, off by default)

 **-expr**         \<string\>         Connected Component Expression  (mandatory)

- **-minsize**

  \<int32\>          Minimum Object Size  (optional, on by default, default value is 2)

- **-obia**

  \<string\>         OBIA Expression  (optional, off by default)

- **-elev**.dem

  \<string\>         DEM directory  (optional, off by default)

- **-elev**.geoid

  \<string\>         Geoid File  (optional, off by default)

- **-elev**.default \<float\>

  Default elevation  (mandatory, default value is 0)

- **-inxml**

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

## EXAMPLES

otbgui\_ConnectedComponentSegmentation -in ROI\_QB\_MUL\_4.tif -mask "((b1\>80)\*intensity\>95)" -expr "distance\<10" -minsize 15 -obia "SHAPE\_Elongation\>8" -out ConnectedComponentSegmentation.shp

## SEE ALSO

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

-

  **info otbgui\_ConnectedComponentSegmentation**

should give you access to the complete manual.
