18 #ifndef itkMorphologicalWatershedImageFilter_h
19 #define itkMorphologicalWatershedImageFilter_h
51 template<
typename TInputImage,
typename TOutputImage >
77 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
78 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
92 itkSetMacro(FullyConnected,
bool);
93 itkGetConstReferenceMacro(FullyConnected,
bool);
94 itkBooleanMacro(FullyConnected);
102 itkSetMacro(MarkWatershedLine,
bool);
103 itkGetConstReferenceMacro(MarkWatershedLine,
bool);
104 itkBooleanMacro(MarkWatershedLine);
116 void PrintSelf(std::ostream & os,
Indent indent)
const override;
121 void GenerateInputRequestedRegion()
override;
124 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
128 void GenerateData()
override;
131 bool m_FullyConnected{
false };
133 bool m_MarkWatershedLine{
true };
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "itkMorphologicalWatershedImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
typename OutputImageType::ConstPointer OutputImageConstPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
typename InputImageType::ConstPointer InputImageConstPointer
Base class for all data objects in ITK.
Watershed segmentation implementation with morphogical operators.
InputImagePixelType m_Level