Morphological Profiles Analysis
Brief Description
Performs morphological profiles analysis on an input image channel.
Tags
Feature Extraction, Morphology
Long Description
This algorithm is derived from the following publication:
Martino Pesaresi and Jon Alti Benediktsson, Member, IEEE: A new approach
for the morphological segmentation of high resolution satellite imagery.
IEEE Transactions on geoscience and remote sensing, vol. 39, NO. 2,
February 2001, p. 309-320.
Depending of the profile selection, the application provides::
- The multi scale geodesic morphological opening or closing profile of the input image.
- The multi scale derivative of the opening or closing profile.
- The parameter (called characteristic) of the maximum derivative value of the multi scale closing or opening profile for which this maxima occurs.
- The labeled classification of the input image.
The behavior of the classification is :
Given :math:`x_1` and :math:`x_2` two membership values,
:math:`L_1, L_2` two labels associated, and :math:`\sigma` a tolerance
value, the following decision rule is applied:
:math:`L = \begin{cases} L_{1} & : x_{1}>x_{2} \quad and \quad x_{1}>\sigma \\ L_{2} & : x_{2}>x_{1} \quad and \quad x_{2}>\sigma \\ 0 & : otherwise. \end{cases}`
The output image can be :- A :math:`N` multi band image for the opening/closing normal or derivative profiles.
- A mono band image for the opening/closing characteristics.
- A labeled image for the classification.
Parameters
Input Image (in): The input image.
Output Image (out): The output image.
Selected Channel (channel): The selected channel index for input image
Available RAM (Mb) (ram): Available memory for processing (in MB)
Structuring Element Type (structype): Choice of the structuring element type
Ball (ball):
Cross (cross):
Profile Size (size): Size of the profiles
Initial radius (radius): Initial radius of the structuring element (in pixels)
Radius step. (step): Radius step along the profile (in pixels)
Profile (profile):
opening (opening):
closing (closing):
derivativeopening (derivativeopening):
derivativeclosing (derivativeclosing):
openingcharacteristics (openingcharacteristics):
closingcharacteristics (closingcharacteristics):
classification (classification):
Sigma value for leveling tolerance (profile.classification.sigma): Sigma value for leveling tolerance
Load otb application from xml file (inxml): Load otb application from xml file
Save otb application to xml file (outxml): Save otb application to xml file
Limitations
Generation of the morphological profile is not streamable, pay attention to this fact when setting the radius initial size and step of the structuring element.
Authors
OTB-Team
See also
otbMorphologicalOpeningProfileFilter, otbMorphologicalClosingProfileFilter, otbProfileToProfileDerivativeFilter, otbProfileDerivativeToMultiScaleCharacteristicsFilter, otbMultiScaleConvexOrConcaveClassificationFilter, classes
Example of use
in: ROI_IKO_PAN_LesHalles.tif
channel: 1
structype: ball
profile: classification
size: 5
radius: 1
step: 1
profile.classification.sigma: 1
out: output.tif
otbcli_MorphologicalProfilesAnalysis -in ROI_IKO_PAN_LesHalles.tif -channel 1 -structype ball -profile classification -size 5 -radius 1 -step 1 -profile.classification.sigma 1 -out output.tif