18#ifndef itkWatershedRelabeler_h
19#define itkWatershedRelabeler_h
64template <
typename TScalar,
unsigned int TImageDimension>
141 itkSetClampMacro(FloodLevel,
double, 0.0, 1.0);
142 itkGetConstMacro(FloodLevel,
double);
172#ifndef ITK_MANUAL_INSTANTIATION
173# include "itkWatershedRelabeler.hxx"
SmartPointer< Self > Pointer
Templated n-dimensional image class.
Control indentation during Print() invocation.
DataObject * GetOutput(const DataObjectIdentifierType &key)
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
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.
void GraftNthOutput(unsigned int idx, ImageType *graft)
void SetOutputImage(ImageType *img)
~Relabeler() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
SegmentTreeType * GetInputSegmentTree()
SmartPointer< const Self > ConstPointer
void GenerateOutputRequestedRegion(DataObject *output) override
static constexpr unsigned int ImageDimension
ImageType * GetOutputImage()
void GenerateData() override
void GenerateInputRequestedRegion() override
void SetInputSegmentTree(SegmentTreeType *et)
DataObject::Pointer DataObjectPointer
ImageType * GetInputImage()
void GraftOutput(ImageType *graft)
Segmenter< Image< ScalarType, TImageDimension > > SegmenterType
Image< IdentifierType, TImageDimension > ImageType
SmartPointer< Self > Pointer
SegmentTree< ScalarType > SegmentTreeType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
void SetInputImage(ImageType *img)
void operator=(const Self &)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
TTarget itkDynamicCastInDebugMode(TSource x)