18 #ifndef itkWatershedEquivalenceRelabeler_h
19 #define itkWatershedEquivalenceRelabeler_h
52 template<
typename TScalar,
unsigned int TImageDimension >
58 static constexpr
unsigned int ImageDimension = TImageDimension;
111 void GenerateData()
override;
115 using Superclass::MakeOutput;
122 static_cast< ImageType *
>( this->MakeOutput(0).GetPointer() );
123 this->SetNumberOfRequiredOutputs(1);
130 void PrintSelf(std::ostream & os,
Indent indent)
const override;
132 void GenerateOutputRequestedRegion(
DataObject *output)
override;
134 void GenerateInputRequestedRegion()
override;
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "itkWatershedEquivalenceRelabeler.hxx"
Light weight base class for most itk classes.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ImageType::Pointer GetOutputImage()
ObjectType * GetPointer() const noexcept
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
const ImageType * GetInputImage()
class ITK_FORWARD_EXPORT ProcessObject
void SetEquivalencyTable(EquivalencyTableType *et)
EquivalencyTableType::Pointer GetEquivalencyTable()
Hash table to manage integral label equivalencies.
void SetOutputImage(ImageType *img)
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)
SmartPointer< Self > Pointer
EquivalenceRelabeler(const Self &)
Base class for all data objects in ITK.
Templated n-dimensional image class.
DataObject * GetOutput(const DataObjectIdentifierType &key)