22 #ifndef otbSpatialisationFilter_h 23 #define otbSpatialisationFilter_h 25 #include "itkLabelObject.h" 28 #include "itkImageRegionIterator.h" 52 template <
class TLabelMap>
70 typedef typename OutputLabelMapType::RegionType
RegionType;
71 typedef typename OutputLabelMapType::LabelObjectType::LabelType
LabelType;
86 itkSetMacro(ObjectSize, SizeType);
87 itkGetMacro(ObjectSize, SizeType);
90 itkSetMacro(NumberOfObjects, SizeType);
91 itkGetMacro(NumberOfObjects, SizeType);
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;
127 void operator=(
const Self&) =
delete;
149 #ifndef OTB_MANUAL_INSTANTIATION OutputLabelMapType::RegionType RegionType
OutputLabelMapType::ConstPointer OutputLabelMapConstPointer
itk::Index< Monteverdi_DIMENSION > IndexType
OutputLabelMapType::LabelObjectType::LabelType LabelType
Create a label map from objects description.
TLabelMap OutputLabelMapType
~SpatialisationFilter() override
OutputLabelMapType::LabelObjectType LabelObjectType
void SetAreaVector(VectorType &v)
OutputLabelMapType::IndexType IndexType
itk::SmartPointer< const Self > ConstPointer
OutputLabelMapType::Pointer OutputLabelMapPointer
Base class for filter that output LabelMap.
LabelObjectType::AttributesValueType AttributesValueType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
LabelMapSource< TLabelMap > Superclass
std::vector< AttributesValueType > VectorType
std::vector< LabelType > LabelVectorType
SpatialisationFilter Self
void SetLabels(LabelVectorType &v)
itk::SmartPointer< Self > Pointer
void SetPathVector(VectorType &v)
SizeType m_NumberOfObjects