22 #ifndef otbSpatialisationFilter_h
23 #define otbSpatialisationFilter_h
25 #include "itkLabelObject.h"
28 #include "itkImageRegionIterator.h"
52 template <
class TLabelMap>
69 typedef typename OutputLabelMapType::IndexType
IndexType;
70 typedef typename OutputLabelMapType::RegionType
RegionType;
71 typedef typename OutputLabelMapType::LabelObjectType::LabelType
LabelType;
119 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
121 void GenerateData()
override;
122 virtual void ProcessObject(
unsigned int obj);
123 void GenerateOutputInformation()
override;
149 #ifndef OTB_MANUAL_INSTANTIATION
Base class for filter that output LabelMap.
Create a label map from objects description.
SizeType m_NumberOfObjects
std::vector< AttributesValueType > VectorType
OutputLabelMapType::ConstPointer OutputLabelMapConstPointer
OutputLabelMapType::IndexType IndexType
LabelMapSource< TLabelMap > Superclass
itk::SmartPointer< Self > Pointer
void SetAreaVector(VectorType &v)
OutputLabelMapType::LabelObjectType LabelObjectType
TLabelMap OutputLabelMapType
OutputLabelMapType::Pointer OutputLabelMapPointer
void SetPathVector(VectorType &v)
~SpatialisationFilter() override
SpatialisationFilter Self
void operator=(const Self &)=delete
OutputLabelMapType::LabelObjectType::LabelType LabelType
std::vector< LabelType > LabelVectorType
itk::SmartPointer< const Self > ConstPointer
void SetLabels(LabelVectorType &v)
OutputLabelMapType::RegionType RegionType
SpatialisationFilter(const Self &)=delete
LabelObjectType::AttributesValueType AttributesValueType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.