|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbLabelImageSmallRegionMergingFilter_h
22 #define otbLabelImageSmallRegionMergingFilter_h
27 #include <unordered_map>
50 template <
class TInputLabelImage>
71 typedef typename InputImageType::PointType
PointType;
80 typedef std::unordered_map<InputLabelType, InputLabelType>
LUTType;
83 itkGetMacro(Size,
unsigned int);
84 itkSetMacro(Size,
unsigned int);
102 virtual void Reset(
void)
override;
103 virtual void Synthetize(
void)
override;
108 void GenerateInputRequestedRegion()
override;
112 void ThreadedGenerateData(
const RegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
126 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
130 void operator=(
const Self&) =
delete;
164 template <
class TInputLabelImage>
192 itkGetMacro(MinSize,
unsigned int);
193 itkSetMacro(MinSize,
unsigned int);
197 void SetInputLabelImage(
const TInputLabelImage* labelImage);
215 void Update()
override;
226 void GenerateData()
override;
230 void operator=(
const Self&) =
delete;
241 #ifndef OTB_MANUAL_INSTANTIATION
itk::ProcessObject Superclass
std::unordered_map< InputLabelType, std::set< InputLabelType > > NeighboursMapType
PersistentLabelImageSmallRegionMergingFilterType::LabelPopulationType LabelPopulationType
PersistentLabelImageSmallRegionMergingFilterType::LUTType LUTType
PersistentLabelImageSmallRegionMergingFilterType::LabelStatisticType LabelStatisticType
This filter is the base class for all filter persisting data through multiple update....
itk::SmartPointer< Self > Pointer
std::unordered_map< InputLabelType, InputLabelType > LUTType
LabelStatisticType m_LabelStatistic
InputImageType::PointType PointType
PersistentLabelImageSmallRegionMergingFilter Self
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::SmartPointer< Self > Pointer
InputImageType::Pointer InputImagePointerType
LabelImageSmallRegionMergingFilterType::Pointer m_SmallRegionMergingFilter
PersistentImageFilter< TInputLabelImage, TInputLabelImage > Superclass
itk::VariableLengthVector< double > RealVectorPixelType
InputImageType::RegionType RegionType
InputImageType::PixelType InputLabelType
itk::SmartPointer< const Self > ConstPointer
This filter link a persistent filter with a StreamingImageVirtualWriter.
itk::SmartPointer< const Self > ConstPointer
LabelImageSmallRegionMergingFilter Self
itk::SmartPointer< Self > Pointer
TInputLabelImage InputImageType
std::unordered_map< InputLabelType, double > LabelPopulationType
std::vector< NeighboursMapType > m_NeighboursMapsTmp
PersistentLabelImageSmallRegionMergingFilter< TInputLabelImage > PersistentLabelImageSmallRegionMergingFilterType
InputImageType::SizeType InputSizeType
std::unordered_map< InputLabelType, RealVectorPixelType > LabelStatisticType
PersistentFilterStreamingDecorator< PersistentLabelImageSmallRegionMergingFilterType > LabelImageSmallRegionMergingFilterType
LabelPopulationType m_LabelPopulation