22 #ifndef otbNormalizeAttributesLabelMapFilter_h
23 #define otbNormalizeAttributesLabelMapFilter_h
44 template <
class TLabelObject>
99 template <
class TImage>
118 itkStaticConstMacro(ImageDimension,
unsigned int, TImage::ImageDimension);
128 this->GetFunctor().SetMinAttributesValues(minValues);
134 this->GetFunctor().SetMaxAttributesValues(maxValues);
150 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
160 #ifndef OTB_MANUAL_INSTANTIATION
Functor to normalize all attributes of a LabelMap.
NormalizeAttributesLabelObjectFunctor()
NormalizeAttributesLabelObjectFunctor Self
void operator()(LabelObjectType *lo) const
LabelObjectType::AttributesValueType AttributesValueType
bool operator!=(const Self &self)
bool operator==(const Self &self)
virtual ~NormalizeAttributesLabelObjectFunctor()
void SetMaxAttributesValues(const AttributesMapType &maxValues)
TLabelObject LabelObjectType
void SetMinAttributesValues(const AttributesMapType &minValues)
LabelObjectType::AttributesMapType AttributesMapType
This class applies a functor to compute new features.
This class works with AttributesMapLabelObject, and normalizes all attributes wrt a map of minimal an...
void SetMinAttributesValues(const AttributesMapType &minValues)
LabelObjectType::AttributesMapType AttributesMapType
ImageType::LabelObjectType LabelObjectType
NormalizeAttributesLabelMapFilter(const Self &)=delete
LabelMapFeaturesFunctorImageFilter< ImageType, FunctorType > Superclass
NormalizeAttributesLabelMapFilter()
~NormalizeAttributesLabelMapFilter() override
itk::SmartPointer< const Self > ConstPointer
void SetMaxAttributesValues(const AttributesMapType &maxValues)
void operator=(const Self &)=delete
NormalizeAttributesLabelMapFilter Self
itk::SmartPointer< Self > Pointer
Functor::NormalizeAttributesLabelObjectFunctor< LabelObjectType > FunctorType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.