18#ifndef itkIsolatedWatershedImageFilter_h
19#define itkIsolatedWatershedImageFilter_h
41template <
typename TInputImage,
typename TOutputImage>
64 using IndexType =
typename InputImageType::IndexType;
65 using SizeType =
typename InputImageType::SizeType;
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);
156#ifndef ITK_MANUAL_INSTANTIATION
157# include "itkIsolatedWatershedImageFilter.hxx"
Base class for all data objects in ITK.
Computes the gradient magnitude of an image region at each pixel.
SmartPointer< Self > Pointer
Templated n-dimensional image class.
Control indentation during Print() invocation.
void EnlargeOutputRequestedRegion(DataObject *output) override
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::ConstPointer InputImageConstPointer
TInputImage InputImageType
~IsolatedWatershedImageFilter() override=default
typename InputImageType::Pointer InputImagePointer
double m_IsolatedValueTolerance
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::Pointer OutputImagePointer
void VerifyInputInformation() const override
Verifies that the input images occupy the same physical space and the each index is at the same physi...
typename InputImageType::SizeType SizeType
GradientMagnitudeType::Pointer m_GradientMagnitude
Image< RealPixelType, TInputImage::ImageDimension > RealImageType
typename OutputImageType::RegionType OutputImageRegionType
void GenerateData() override
WatershedType::Pointer m_Watershed
typename InputImageType::IndexType IndexType
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
OutputImagePixelType m_ReplaceValue1
IsolatedWatershedImageFilter()
WatershedImageFilter< RealImageType > WatershedType
GradientMagnitudeImageFilter< InputImageType, RealImageType > GradientMagnitudeType
SmartPointer< Self > Pointer
typename OutputImageType::PixelType OutputImagePixelType
typename NumericTraits< InputImagePixelType >::RealType RealPixelType
void GenerateInputRequestedRegion() override
IsolatedWatershedImageFilter Self
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TOutputImage OutputImageType
OutputImagePixelType m_ReplaceValue2
Implements transparent reference counting.
A low-level image analysis algorithm that automatically produces a hierarchy of segmented,...
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....