18 #ifndef itkWatershedEquivalenceRelabeler_h
19 #define itkWatershedEquivalenceRelabeler_h
52 template<
typename TScalar,
unsigned int TImageDimension >
58 itkStaticConstMacro(ImageDimension,
unsigned int, TImageDimension);
111 virtual void GenerateData() ITK_OVERRIDE;
116 virtual
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
122 static_cast< ImageType *
>( this->MakeOutput(0).GetPointer() );
123 this->SetNumberOfRequiredOutputs(1);
130 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
132 virtual void GenerateOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
134 virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "itkWatershedEquivalenceRelabeler.hxx"
SmartPointer< Self > Pointer
Light weight base class for most itk classes.
EquivalenceRelabeler Self
ImageType::Pointer GetOutputImage()
Image< IdentifierType, TImageDimension > ImageType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ObjectType * GetPointer() const
Segmenter< Image< ScalarType, TImageDimension > > SegmenterType
void SetEquivalencyTable(EquivalencyTableType *et)
DataObject::Pointer DataObjectPointer
EquivalencyTableType::Pointer GetEquivalencyTable()
Hash table to manage integral label equivalencies.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
void SetOutputImage(ImageType *img)
EquivalencyTable EquivalencyTableType
const ImageType * GetInputImage(void)
SmartPointer< const Self > ConstPointer
virtual ~EquivalenceRelabeler() override
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void operator=(const Self &)
void SetInputImage(ImageType *img)
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput(DataObjectPointerArraySizeType num, DataObject *output)
EquivalenceRelabeler(const Self &)
Base class for all data objects in ITK.
Templated n-dimensional image class.
DataObject * GetOutput(const DataObjectIdentifierType &key)