18 #ifndef itkMorphologicalWatershedImageFilter_h
19 #define itkMorphologicalWatershedImageFilter_h
55 template <
typename TInputImage,
typename TOutputImage>
80 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
81 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
95 itkSetMacro(FullyConnected,
bool);
96 itkGetConstReferenceMacro(FullyConnected,
bool);
97 itkBooleanMacro(FullyConnected);
105 itkSetMacro(MarkWatershedLine,
bool);
106 itkGetConstReferenceMacro(MarkWatershedLine,
bool);
107 itkBooleanMacro(MarkWatershedLine);
120 PrintSelf(std::ostream & os,
Indent indent)
const override;
126 GenerateInputRequestedRegion()
override;
130 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
135 GenerateData()
override;
138 bool m_FullyConnected{
false };
140 bool m_MarkWatershedLine{
true };
146 #ifndef ITK_MANUAL_INSTANTIATION
147 # include "itkMorphologicalWatershedImageFilter.hxx"