18 #ifndef itkIsolatedWatershedImageFilter_h
19 #define itkIsolatedWatershedImageFilter_h
40 template<
typename TInputImage,
typename TOutputImage >
63 typedef typename InputImageType::IndexType
IndexType;
64 typedef typename InputImageType::SizeType
SizeType;
93 itkSetMacro(Threshold,
double);
94 itkGetConstMacro(Threshold,
double);
99 itkSetMacro(IsolatedValueTolerance,
double);
100 itkGetConstMacro(IsolatedValueTolerance,
double);
105 itkSetMacro(UpperValueLimit,
double);
106 itkGetConstMacro(UpperValueLimit,
double);
119 itkGetConstMacro(IsolatedValue,
double);
149 void operator=(const Self &);
153 #ifndef ITK_MANUAL_INSTANTIATION
154 #include "itkIsolatedWatershedImageFilter.hxx"
IsolatedWatershedImageFilter()
A low-level image analysis algorithm that automatically produces a hierarchy of segmented, labeled images from a scalar-valued image input.
OutputImageType::Pointer OutputImagePointer
void EnlargeOutputRequestedRegion(DataObject *output) override
Isolate watershed basins using two seeds.
GradientMagnitudeType::Pointer m_GradientMagnitude
void GenerateInputRequestedRegion() override
InputImageType::PixelType InputImagePixelType
~IsolatedWatershedImageFilter()
TInputImage InputImageType
WatershedType::Pointer m_Watershed
Image< RealPixelType, TInputImage::ImageDimension > RealImageType
WatershedImageFilter< RealImageType > WatershedType
Base class for all process objects that output image data.
InputImageType::RegionType InputImageRegionType
InputImageType::IndexType IndexType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
InputImageType::ConstPointer InputImageConstPointer
InputImageType::SizeType SizeType
Computes the gradient magnitude of an image region at each pixel.
SmartPointer< const Self > ConstPointer
OutputImageType::PixelType OutputImagePixelType
OutputImageType::PixelType OutputImagePixelType
TOutputImage OutputImageType
OutputImagePixelType m_ReplaceValue1
void GenerateData() override
Base class for filters that take an image as input and produce an image as output.
GradientMagnitudeImageFilter< InputImageType, RealImageType > GradientMagnitudeType
Control indentation during Print() invocation.
NumericTraits< InputImagePixelType >::RealType RealPixelType
double m_IsolatedValueTolerance
Define additional traits for native types such as int or float.
OutputImagePixelType m_ReplaceValue2
OutputImageType::RegionType OutputImageRegionType
IsolatedWatershedImageFilter Self
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for all data objects in ITK.
Templated n-dimensional image class.
InputImageType::Pointer InputImagePointer