18 #ifndef itkIsolatedWatershedImageFilter_h
19 #define itkIsolatedWatershedImageFilter_h
40 template<
typename TInputImage,
typename TOutputImage >
78 void PrintSelf(std::ostream & os,
Indent indent)
const override;
95 itkSetMacro(Threshold,
double);
96 itkGetConstMacro(Threshold,
double);
101 itkSetMacro(IsolatedValueTolerance,
double);
102 itkGetConstMacro(IsolatedValueTolerance,
double);
107 itkSetMacro(UpperValueLimit,
double);
108 itkGetConstMacro(UpperValueLimit,
double);
121 itkGetConstMacro(IsolatedValue,
double);
142 void GenerateInputRequestedRegion()
override;
145 void EnlargeOutputRequestedRegion(
DataObject *output)
override;
147 void VerifyInputInformation() ITKv5_CONST override;
148 void GenerateData() override;
152 #ifndef ITK_MANUAL_INSTANTIATION
153 #include "itkIsolatedWatershedImageFilter.hxx"
A low-level image analysis algorithm that automatically produces a hierarchy of segmented, labeled images from a scalar-valued image input.
typename OutputImageType::Pointer OutputImagePointer
Isolate watershed basins using two seeds.
GradientMagnitudeType::Pointer m_GradientMagnitude
Define numeric traits for std::vector.
WatershedType::Pointer m_Watershed
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 InputImageType::IndexType IndexType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
Computes the gradient magnitude of an image region at each pixel.
OutputImagePixelType m_ReplaceValue1
typename InputImageType::SizeType SizeType
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
typename NumericTraits< InputImagePixelType >::RealType RealPixelType
Control indentation during Print() invocation.
double m_IsolatedValueTolerance
OutputImagePixelType m_ReplaceValue2
ImageBaseType::RegionType RegionType
typename InputImageType::ConstPointer InputImageConstPointer
Base class for all data objects in ITK.
Templated n-dimensional image class.