18#ifndef itkVoronoiSegmentationImageFilter_h
19#define itkVoronoiSegmentationImageFilter_h
52template <
typename TInputImage,
typename TOutputImage,
typename TBinaryPriorImage = Image<
unsigned char, 2>>
72 using typename Superclass::BinaryObjectImage;
73 using typename Superclass::IndexList;
76 using typename Superclass::InputImageType;
79 itkSetMacro(Mean,
double);
80 itkGetConstMacro(Mean,
double);
85 itkSetMacro(STD,
double);
86 itkGetConstMacro(STD,
double);
90 itkSetMacro(MeanTolerance,
double);
91 itkGetConstMacro(MeanTolerance,
double);
95 itkSetMacro(STDTolerance,
double);
98 itkGetConstMacro(STDTolerance,
double);
104 itkGetConstMacro(MeanPercentError,
double);
107 itkGetConstMacro(STDPercentError,
double);
118 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
119 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
121#ifdef ITK_USE_CONCEPT_CHECKING
135 double m_Mean{ 0.0 };
137 double m_MeanTolerance{ 0.0 };
138 double m_STDTolerance{ 0.0 };
139 double m_MeanPercentError{ 0.10 };
140 double m_STDPercentError{ 1.5 };
147#ifndef ITK_MANUAL_INSTANTIATION
148# include "itkVoronoiSegmentationImageFilter.hxx"
Base class for all process objects that output image data.
Templated n-dimensional image class.
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for VoronoiSegmentationImageFilter.
std::vector< IndexType > IndexList
bool TestHomogeneity(IndexList &Plist) override
VoronoiSegmentationImageFilter()=default
void SetSTDPercentError(double x)
void TakeAPrior(const BinaryObjectImage *aprior) override
~VoronoiSegmentationImageFilter() override=default
void SetMeanPercentError(double x)
void PrintSelf(std::ostream &os, Indent indent) const override
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....