18 #ifndef itkWatershedRelabeler_h
19 #define itkWatershedRelabeler_h
63 template<
typename TScalar,
unsigned int TImageDimension >
102 return itkDynamicCastInDebugMode< ImageType * >
114 return itkDynamicCastInDebugMode< ImageType * >
126 return itkDynamicCastInDebugMode< SegmentTreeType * >
135 itkSetClampMacro(FloodLevel,
double, 0.0, 1.0);
136 itkGetConstMacro(FloodLevel,
double);
146 virtual ~Relabeler() {}
149 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
159 #ifndef ITK_MANUAL_INSTANTIATION
160 #include "itkWatershedRelabeler.hxx"
Light weight base class for most itk classes.
virtual void GenerateInputRequestedRegion() override
SmartPointer< Self > Pointer
SegmentTree< ScalarType > SegmentTreeType
ImageType * GetInputImage(void)
void operator=(const Self &)
ImageType * GetOutputImage(void)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void GraftNthOutput(unsigned int idx, ImageType *graft)
SmartPointer< const Self > ConstPointer
void SetInputSegmentTree(SegmentTreeType *et)
void GraftOutput(ImageType *graft)
void SetOutputImage(ImageType *img)
static const unsigned int ImageDimension
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObject::Pointer DataObjectPointer
Segmenter< Image< ScalarType, TImageDimension > > SegmenterType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
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 SetInputImage(ImageType *img)
SegmentTreeType * GetInputSegmentTree(void)
virtual void GenerateData() override
virtual void GenerateOutputRequestedRegion(DataObject *output) override
Image< IdentifierType, TImageDimension > ImageType
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput(DataObjectPointerArraySizeType num, DataObject *output)
Base class for all data objects in ITK.
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Templated n-dimensional image class.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
DataObject * GetOutput(const DataObjectIdentifierType &key)