21 #ifndef otbMultiScaleConvexOrConcaveClassificationFilter_h
22 #define otbMultiScaleConvexOrConcaveClassificationFilter_h
30 namespace MultiScaleConvexOrConcaveDecisionRule_tags
80 template <
class TInput,
class TLabeled>
109 TLabeled
operator()(
const TInput& opDeMax,
const TInput& cloDeMax,
const TLabeled& opDeChar,
const TLabeled& cloDeChar)
const
113 if (opDeMax > cloDeMax &&
static_cast<double>(opDeMax) >
m_Sigma)
117 else if (cloDeMax > opDeMax &&
static_cast<double>(cloDeMax) >
m_Sigma)
185 template <
class TInputImage,
class TOutputImage>
A generic functor filter templated by its functor.
This Functor apply a classification rule on two membership value along with two labels.
virtual ~MultiScaleConvexOrConcaveDecisionRule()
TLabeled operator()(const TInput &opDeMax, const TInput &cloDeMax, const TLabeled &opDeChar, const TLabeled &cloDeChar) const
TLabeled m_LabelSeparator
TLabeled GetLabelSeparator(void)
MultiScaleConvexOrConcaveDecisionRule()
void SetLabelSeparator(const TLabeled &labelSeparator)
void SetSigma(const double &sigma)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.