18 #ifndef itkWatershedRelabeler_h 19 #define itkWatershedRelabeler_h 63 template<
typename TScalar,
unsigned int TImageDimension >
92 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
102 return itkDynamicCastInDebugMode< ImageType * >
114 return itkDynamicCastInDebugMode< ImageType * >
126 return itkDynamicCastInDebugMode< SegmentTreeType * >
135 itkSetClampMacro(FloodLevel,
double, 0.0, 1.0);
136 itkGetConstMacro(FloodLevel,
double);
149 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
159 #ifndef ITK_MANUAL_INSTANTIATION 160 #include "itkWatershedRelabeler.hxx"
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...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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 void PrintSelf(std::ostream &os, Indent indent) const override
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.
DataObject * GetOutput(const DataObjectIdentifierType &key)