18 #ifndef itkMorphologicalWatershedImageFilter_h
19 #define itkMorphologicalWatershedImageFilter_h
54 template <
typename TInputImage,
typename TOutputImage>
79 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
80 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
94 itkSetMacro(FullyConnected,
bool);
95 itkGetConstReferenceMacro(FullyConnected,
bool);
96 itkBooleanMacro(FullyConnected);
104 itkSetMacro(MarkWatershedLine,
bool);
105 itkGetConstReferenceMacro(MarkWatershedLine,
bool);
106 itkBooleanMacro(MarkWatershedLine);
119 PrintSelf(std::ostream & os,
Indent indent)
const override;
125 GenerateInputRequestedRegion()
override;
129 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
134 GenerateData()
override;
137 bool m_FullyConnected{
false };
139 bool m_MarkWatershedLine{
true };
145 #ifndef ITK_MANUAL_INSTANTIATION
146 # include "itkMorphologicalWatershedImageFilter.hxx"