Performs morphological operations on an input image channel
This application performs binary morphological operations on a mono band image
This section describes in details the parameters available for this application. Table 5.37, page 540 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is BinaryMorphologicalOperation.
Parameter key | Parameter type |
Parameter description |
in | Input image |
Input Image |
out | Output image |
Feature Output Image |
channel | Int |
Selected Channel |
ram | Int |
Available RAM (Mb) |
structype | Choices |
Structuring Element Type |
structype ball | Choice |
Ball |
structype cross | Choice |
Cross |
structype.ball.xradius | Int |
The Structuring Element X Radius |
structype.ball.yradius | Int |
The Structuring Element Y Radius |
filter | Choices |
Morphological Operation |
filter dilate | Choice |
Dilate |
filter erode | Choice |
Erode |
filter opening | Choice |
Opening |
filter closing | Choice |
Closing |
filter.dilate.foreval | Float |
Foreground Value |
filter.dilate.backval | Float |
Background Value |
filter.erode.foreval | Float |
Foreground Value |
filter.erode.backval | Float |
Background Value |
filter.opening.foreval | Float |
Foreground Value |
filter.opening.backval | Float |
Background Value |
|
||
filter.closing.foreval | Float |
Foreground Value |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
Input Image The input image to be filtered.
Feature Output Image Output image containing the filtered output image.
Selected Channel The selected channel index
Available RAM (Mb) Available memory for processing (in MB)
Structuring Element Type Choice of the structuring element type Available choices are:
Morphological Operation Choice of the morphological operation Available choices are:
Load otb application from xml file Load otb application from xml file
Save otb application to xml file Save otb application to xml file
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
None
This application has been written by OTB-Team.
These additional ressources can be useful for further information: