18#ifndef itkMorphologicalWatershedImageFilter_h
19#define itkMorphologicalWatershedImageFilter_h
54template <
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);
137 bool m_FullyConnected{
false };
139 bool m_MarkWatershedLine{
true };
145#ifndef ITK_MANUAL_INSTANTIATION
146# include "itkMorphologicalWatershedImageFilter.hxx"
Base class for all data objects in ITK.
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
Watershed segmentation implementation with morphological operators.
void EnlargeOutputRequestedRegion(DataObject *) override
~MorphologicalWatershedImageFilter() override=default
MorphologicalWatershedImageFilter()
void GenerateInputRequestedRegion() override
void GenerateData() override
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::ConstPointer OutputImageConstPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....