![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbMultiScaleConvexOrConcaveClassificationFilter.h>
Public Member Functions | |
TLabeled | GetLabelSeparator (void) |
double | GetSigma (void) |
MultiScaleConvexOrConcaveDecisionRule () | |
TLabeled | operator() (const TInput &opDeMax, const TInput &cloDeMax, const TLabeled &opDeChar, const TLabeled &cloDeChar) const |
void | SetLabelSeparator (const TLabeled &labelSeparator) |
void | SetSigma (const double &sigma) |
virtual | ~MultiScaleConvexOrConcaveDecisionRule () |
Private Attributes | |
TLabeled | m_LabelSeparator |
double | m_Sigma |
This Functor apply a classification rule on two membership value along with two labels.
Use otb::MultiScaleConvexOrConcaveClassificationFilter to apply it image-wise.
Given and
two membership values,
two labels associated, and
a tolerance value, the following decision rule is applied:
To help the distinction between labels and
, this functor adds the m_LabelSeparators value to the
labels.
This functor is the decision rule used for multi-scale classification using morphological profiles.
Definition at line 81 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
|
inline |
Constructor
Definition at line 88 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
References otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_LabelSeparator, and otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_Sigma.
|
inlinevirtual |
Destructor
Definition at line 97 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
|
inline |
Get the label separator
Definition at line 154 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
References otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_LabelSeparator.
|
inline |
Get the tolerance value
Definition at line 136 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
References otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_Sigma.
|
inline |
Label the pixel to convex, concave or flat
opDeMax | The max of the opening profile derivative |
cloDeMax | The max of the closing profile derivative |
opDeChar | The characteristic of the opening profile |
cloDeChar | The characteristic of the closing profile |
Definition at line 109 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
References otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_LabelSeparator, and otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_Sigma.
|
inline |
Set the label separator
labelSeparator | the label separator |
Definition at line 145 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
References otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_LabelSeparator.
|
inline |
Set the tolerance value
sigma | the tolerance value |
Definition at line 127 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
References otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::m_Sigma.
|
private |
Separate between convex and concave labels
Definition at line 164 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
Referenced by otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::GetLabelSeparator(), otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::MultiScaleConvexOrConcaveDecisionRule(), otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::operator()(), and otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::SetLabelSeparator().
|
private |
Sigma (tolerance) parameter
Definition at line 161 of file otbMultiScaleConvexOrConcaveClassificationFilter.h.
Referenced by otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::GetSigma(), otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::MultiScaleConvexOrConcaveDecisionRule(), otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::operator()(), and otb::Functor::MultiScaleConvexOrConcaveDecisionRule< TInput, TLabeled >::SetSigma().