18 #ifndef itkMorphologicalWatershedImageFilter_h
19 #define itkMorphologicalWatershedImageFilter_h
51 template<
typename TInputImage,
typename TOutputImage >
75 itkStaticConstMacro(InputImageDimension,
unsigned int,
76 TInputImage::ImageDimension);
77 itkStaticConstMacro(OutputImageDimension,
unsigned int,
78 TOutputImage::ImageDimension);
93 itkSetMacro(FullyConnected,
bool);
94 itkGetConstReferenceMacro(FullyConnected,
bool);
95 itkBooleanMacro(FullyConnected);
103 itkSetMacro(MarkWatershedLine,
bool);
104 itkGetConstReferenceMacro(MarkWatershedLine,
bool);
105 itkBooleanMacro(MarkWatershedLine);
117 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
122 void GenerateInputRequestedRegion() ITK_OVERRIDE;
125 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
129 void GenerateData() ITK_OVERRIDE;
134 bool m_FullyConnected;
136 bool m_MarkWatershedLine;
142 #ifndef ITK_MANUAL_INSTANTIATION
143 #include "itkMorphologicalWatershedImageFilter.hxx"
InputImageType::RegionType InputImageRegionType
InputImageType::ConstPointer InputImageConstPointer
Base class for all process objects that output image data.
OutputImageType::ConstPointer OutputImageConstPointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< const Self > ConstPointer
MorphologicalWatershedImageFilter Self
TInputImage InputImageType
InputImageType::Pointer InputImagePointer
~MorphologicalWatershedImageFilter() override
SmartPointer< Self > Pointer
OutputImageType::PixelType OutputImagePixelType
InputImageType::PixelType InputImagePixelType
Base class for filters that take an image as input and produce an image as output.
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
OutputImageType::Pointer OutputImagePointer
InputImageType::PixelType InputImagePixelType
Base class for all data objects in ITK.
Watershed segmentation implementation with morphogical operators.
TOutputImage OutputImageType