|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkWatershedEquivalenceRelabeler_h
19 #define itkWatershedEquivalenceRelabeler_h
53 template <
typename TScalar,
unsigned int TImageDimension>
59 static constexpr
unsigned int ImageDimension = TImageDimension;
97 typename ImageType::Pointer
110 EquivalencyTableType::Pointer
118 GenerateData()
override;
122 using Superclass::MakeOutput;
129 typename ImageType::Pointer img = static_cast<ImageType *>(this->MakeOutput(0).GetPointer());
130 this->SetNumberOfRequiredOutputs(1);
140 PrintSelf(std::ostream & os,
Indent indent)
const override;
143 GenerateOutputRequestedRegion(
DataObject * output)
override;
146 GenerateInputRequestedRegion()
override;
151 #ifndef ITK_MANUAL_INSTANTIATION
152 # include "itkWatershedEquivalenceRelabeler.hxx"
Hash table to manage integral label equivalencies.
void operator=(const Self &)
const ImageType * GetInputImage()
EquivalencyTableType::Pointer GetEquivalencyTable()
DataObject * GetOutput(const DataObjectIdentifierType &key)
Control indentation during Print() invocation.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
void SetInputImage(ImageType *img)
ImageType::Pointer GetOutputImage()
Light weight base class for most itk classes.
ObjectType * GetPointer() const noexcept
EquivalenceRelabeler(const Self &)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
virtual void SetNthOutput(DataObjectPointerArraySizeType idx, DataObject *output)
virtual void SetNthInput(DataObjectPointerArraySizeType idx, DataObject *input)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
class ITK_FORWARD_EXPORT ProcessObject
Templated n-dimensional image class.
void SetEquivalencyTable(EquivalencyTableType *et)
void SetOutputImage(ImageType *img)
SmartPointer< Self > Pointer
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
Base class for all data objects in ITK.