22 #ifndef otbLabelMapFeaturesFunctorImageFilter_h
23 #define otbLabelMapFeaturesFunctorImageFilter_h
25 #include "itkInPlaceLabelMapFilter.h"
52 template <
class TImage,
class TFunctor>
68 itkStaticConstMacro(ImageDimension,
unsigned int, TImage::ImageDimension);
76 if (m_Functor != functor)
111 m_Functor(labelObject);
115 void PrintSelf(std::ostream& os, itk::Indent indent)
const override
118 Superclass::PrintSelf(os, indent);
This class applies a functor to compute new features.
void operator=(const Self &)=delete
LabelMapFeaturesFunctorImageFilter(const Self &)=delete
const FunctorType & GetFunctor() const
~LabelMapFeaturesFunctorImageFilter() override
itk::SmartPointer< const Self > ConstPointer
itk::InPlaceLabelMapFilter< TImage > Superclass
LabelMapFeaturesFunctorImageFilter Self
void PrintSelf(std::ostream &os, itk::Indent indent) const override
LabelMapFeaturesFunctorImageFilter()
itk::SmartPointer< Self > Pointer
void ThreadedProcessLabelObject(LabelObjectType *labelObject) override
ImageType::LabelObjectType LabelObjectType
FunctorType & GetFunctor()
void SetFunctor(FunctorType &functor)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.