18#ifndef itkVoronoiSegmentationRGBImageFilter_h
19#define itkVoronoiSegmentationRGBImageFilter_h
49template <
typename TInputImage,
typename TOutputImage>
87 for (
int i = 0; i < 6; ++i)
95 for (
int i = 0; i < 6; ++i)
103 for (
int i = 0; i < 6; ++i)
111 for (
int i = 0; i < 6; ++i)
119 for (
int i = 0; i < 6; ++i)
127 for (
int i = 0; i < 6; ++i)
135 for (
int i = 0; i < 6; ++i)
143 for (
int i = 0; i < 6; ++i)
153 itkSetMacro(MaxValueOfRGB,
double);
154 itkGetConstMacro(MaxValueOfRGB,
double);
168 SetTestSTD(
unsigned int t1,
unsigned int t2,
unsigned int t3)
232#ifndef ITK_MANUAL_INSTANTIATION
233# include "itkVoronoiSegmentationRGBImageFilter.hxx"
virtual void SetInput(const InputImageType *input)
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Implements transparent reference counting.
A templated class holding a n-Dimensional vector.
typename TInputImage::Pointer InputImagePointer
typename TInputImage::PixelType PixelType
typename TInputImage::RegionType RegionType
typename TInputImage::IndexType IndexType
TBinaryPriorImage BinaryObjectImage
std::vector< IndexType > IndexList
VoronoiSegmentationImageFilterBase()
TInputImage InputImageType
void SetMean(const double x[6])
void SetTestMean(unsigned int t1, unsigned int t2, unsigned int t3)
static constexpr unsigned int OutputImageDimension
void SetInput(unsigned int, const InputImageType *input) override
VoronoiSegmentationRGBImageFilter Self
void GetTestSTD(unsigned int x[3])
double m_MeanTolerance[6]
void SetMeanPercentError(const double x[6])
void SetInput(const InputImageType *input) override
void GetTestMean(unsigned int x[3])
void TakeAPrior(const BinaryObjectImage *aprior) override
VoronoiSegmentationRGBImageFilter()
double m_MeanPercentError[6]
double m_STDPercentError[6]
TBinaryPriorImage BinaryObjectImage
void PrintSelf(std::ostream &os, Indent indent) const override
void GetMeanPercentError(double x[6])
SmartPointer< const Self > ConstPointer
bool TestHomogeneity(IndexList &Plist) override
SmartPointer< Self > Pointer
void GetSTDTolerance(double x[6])
static constexpr unsigned int InputImageDimension
void SetSTD(const double x[6])
Image< RGBHCVPixel > RGBHCVImage
unsigned int m_TestSTD[3]
void GetMean(double x[6])
void GetMeanTolerance(double x[6])
unsigned int m_TestMean[3]
VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage > Superclass
std::vector< IndexType > IndexList
void SetTestSTD(unsigned int t1, unsigned int t2, unsigned int t3)
void GetSTDPercentError(double x[6])
void SetSTDPercentError(const double x[6])
Vector< float, 6 > RGBHCVPixel
~VoronoiSegmentationRGBImageFilter() override=default
TInputImage InputImageType
RGBHCVImage::Pointer m_WorkingImage
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....