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);
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
Isolate watershed basins using two seeds.
GradientMagnitudeType::Pointer m_GradientMagnitude
InputImageType::PixelType InputImagePixelType
~IsolatedWatershedImageFilter()
TInputImage InputImageType
WatershedType::Pointer m_Watershed
void operator=(const Self &)
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
void PrintSelf(std::ostream &os, Indent indent) const
TOutputImage OutputImageType
OutputImagePixelType m_ReplaceValue1
void EnlargeOutputRequestedRegion(DataObject *output)
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
Base class for all data objects in ITK.
Templated n-dimensional image class.
void GenerateInputRequestedRegion()
InputImageType::Pointer InputImagePointer