18 #ifndef itkWatershedRelabeler_h
19 #define itkWatershedRelabeler_h
63 template<
typename TScalar,
unsigned int TImageDimension >
80 itkStaticConstMacro(ImageDimension,
unsigned int, TImageDimension);
91 using Superclass::MakeOutput;
102 return itkDynamicCastInDebugMode< ImageType * >
114 return itkDynamicCastInDebugMode< ImageType * >
126 return itkDynamicCastInDebugMode< SegmentTreeType * >
131 virtual void GenerateData() ITK_OVERRIDE;
135 itkSetClampMacro(FloodLevel,
double, 0.0, 1.0);
136 itkGetConstMacro(FloodLevel,
double);
140 void GraftOutput(ImageType *graft);
142 void GraftNthOutput(
unsigned int idx, ImageType *graft);
146 virtual ~Relabeler() ITK_OVERRIDE {}
149 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
152 virtual void GenerateOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
154 virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
159 #ifndef ITK_MANUAL_INSTANTIATION
160 #include "itkWatershedRelabeler.hxx"
Light weight base class for most itk classes.
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...
SmartPointer< const Self > ConstPointer
void SetInputSegmentTree(SegmentTreeType *et)
void SetOutputImage(ImageType *img)
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObject::Pointer DataObjectPointer
Segmenter< Image< ScalarType, TImageDimension > > SegmenterType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void SetInputImage(ImageType *img)
SegmentTreeType * GetInputSegmentTree(void)
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)