21 #ifndef otbLabelizeImageFilterBase_h
22 #define otbLabelizeImageFilterBase_h
24 #include "itkImageToImageFilter.h"
25 #include "itkAddImageFilter.h"
38 template <
class TInputImage,
class TOutputImage,
class TFilter>
44 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
84 itkGetMacro(ObjectCount,
unsigned long);
94 typedef itk::AddImageFilter<OutputImageType, OutputImageType, OutputImageType>
AddImageFilterType;
102 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
105 void GenerateData()
override;
141 #ifndef OTB_MANUAL_INSTANTIATION
Base class for filter labelizing image region based on segmentation.
~LabelizeImageFilterBase() override
TFilter::Pointer RegionGrowingFilterPointerType
MultiplyFilterType::Pointer MultiplyFilterPointerType
otb::ThresholdImageToPointSetFilter< InputImageType, PointSetType > ThresholdFilterType
virtual void RegionGrowing(const IndexType)
LabelizeImageFilterBase(const Self &)=delete
LabelizeImageFilterBase Self
unsigned long m_ObjectCount
InputPixelType m_LowerThreshold
PointSetPointerType m_PointSet
RegionGrowingFilterPointerType m_RegionGrowingFilter
TInputImage::IndexType IndexType
TInputImage::PixelType InputPixelType
TInputImage InputImageType
ThresholdFilterType::Pointer ThresholdFilterPointerType
ThresholdFilterPointerType m_ThresholdPointSetFilter
TOutputImage OutputImageType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
MultiplyFilterPointerType m_MultiplyFilter
itk::PointSet< InputPixelType, 2 > PointSetType
AddImageFilterType::Pointer AddImageFilterPointerType
TOutputImage::PixelType OutputPixelType
otb::MultiplyByScalarImageFilter< InputImageType, OutputImageType > MultiplyFilterType
itk::AddImageFilter< OutputImageType, OutputImageType, OutputImageType > AddImageFilterType
PointSetType::Pointer PointSetPointerType
TFilter RegionGrowingFilterType
InputPixelType m_UpperThreshold
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
void operator=(const Self &)=delete
itk::SmartPointer< Self > Pointer
Produce a PointSet according to filtering conditions.
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.