18 #ifndef itkWatershedEquivalenceRelabeler_h 19 #define itkWatershedEquivalenceRelabeler_h 52 template<
typename TScalar,
unsigned int TImageDimension >
81 return static_cast< ImageType *
> 94 return static_cast< ImageType *
> 106 return static_cast< EquivalencyTableType *
> 116 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
130 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
139 #ifndef ITK_MANUAL_INSTANTIATION 140 #include "itkWatershedEquivalenceRelabeler.hxx" SmartPointer< Self > Pointer
virtual void SetNumberOfRequiredOutputs(DataObjectPointerArraySizeType _arg)
EquivalenceRelabeler Self
ImageType::Pointer GetOutputImage()
static const unsigned int ImageDimension
Image< IdentifierType, TImageDimension > ImageType
virtual void GenerateData() override
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
ObjectType * GetPointer() const
virtual void GenerateInputRequestedRegion() override
Segmenter< Image< ScalarType, TImageDimension > > SegmenterType
void SetEquivalencyTable(EquivalencyTableType *et)
DataObject::Pointer DataObjectPointer
EquivalencyTableType::Pointer GetEquivalencyTable()
virtual void PrintSelf(std::ostream &os, Indent indent) const override
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 DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void operator=(const Self &)
void SetInputImage(ImageType *img)
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
virtual void GenerateOutputRequestedRegion(DataObject *output) override
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput(DataObjectPointerArraySizeType num, DataObject *output)
EquivalenceRelabeler(const Self &)
virtual ~EquivalenceRelabeler()
Base class for all data objects in ITK.
Templated n-dimensional image class.
DataObject * GetOutput(const DataObjectIdentifierType &key)