Performs morphological operations on a grayscale input image
This application performs grayscale morphological operations on a mono band image
This section describes in details the parameters available for this application. Table 4.86, page 623 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is GrayScaleMorphologicalOperation.
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 |
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: