18#ifndef itkWatershedEquivalenceRelabeler_h
19#define itkWatershedEquivalenceRelabeler_h
53template <
typename TScalar,
unsigned int TImageDimension>
98 typename ImageType::Pointer
111 EquivalencyTableType::Pointer
149#ifndef ITK_MANUAL_INSTANTIATION
150# include "itkWatershedEquivalenceRelabeler.hxx"
SmartPointer< Self > Pointer
Hash table to manage integral label equivalencies.
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
DataObject * GetOutput(const DataObjectIdentifierType &key)
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual void SetNumberOfRequiredOutputs(DataObjectPointerArraySizeType _arg)
virtual void SetNthInput(DataObjectPointerArraySizeType idx, DataObject *input)
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
virtual void SetNthOutput(DataObjectPointerArraySizeType idx, DataObject *output)
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Implements transparent reference counting.
ObjectType * GetPointer() const noexcept
void GenerateInputRequestedRegion() override
static constexpr unsigned int ImageDimension
void GenerateOutputRequestedRegion(DataObject *output) override
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
~EquivalenceRelabeler() override=default
void SetInputImage(ImageType *img)
void SetEquivalencyTable(EquivalencyTableType *et)
ImageType::Pointer GetOutputImage()
DataObject::Pointer DataObjectPointer
const ImageType * GetInputImage()
void SetOutputImage(ImageType *img)
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
EquivalencyTableType::Pointer GetEquivalencyTable()
Image< IdentifierType, TImageDimension > ImageType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Segmenter< Image< ScalarType, TImageDimension > > SegmenterType
EquivalenceRelabeler Self
EquivalencyTable EquivalencyTableType
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateData() override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....