18 #ifndef __itkVoronoiSegmentationRGBImageFilter_h
19 #define __itkVoronoiSegmentationRGBImageFilter_h
53 template<
typename TInputImage,
typename TOutputImage >
87 void GetMean(
double x[6]){
for (
int i = 0; i < 6; i++ ) { x[i] =
m_Mean[i]; } }
88 void GetSTD(
double x[6]){
for (
int i = 0; i < 6; i++ ) { x[i] =
m_STD[i]; } }
89 void SetMean(
double x[6]){
for (
int i = 0; i < 6; i++ ) {
m_Mean[i] = x[i]; } }
90 void SetSTD(
double x[6]){
for (
int i = 0; i < 6; i++ ) {
m_STD[i] = x[i]; } }
98 itkSetMacro(MaxValueOfRGB,
double);
99 itkGetConstMacro(MaxValueOfRGB,
double);
104 void SetTestMean(
unsigned int t1,
unsigned int t2,
unsigned int t3)
111 void SetTestSTD(
unsigned int t1,
unsigned int t2,
unsigned int t3)
137 TInputImage::ImageDimension);
139 TOutputImage::ImageDimension);
142 #ifdef ITK_USE_CONCEPT_CHECKING
176 #ifndef ITK_MANUAL_INSTANTIATION
177 #include "itkVoronoiSegmentationRGBImageFilter.hxx"
void SetMean(double x[6])
static const unsigned int InputImageDimension
TInputImage::Pointer InputImagePointer
Base class for VoronoiSegmentationImageFilter.
~VoronoiSegmentationRGBImageFilter()
Superclass::IndexList IndexList
double m_MeanPercentError[6]
Image< RGBHCVPixel > RGBHCVImage
void GetMeanTolerance(double x[6])
std::vector< IndexType > IndexList
Superclass::BinaryObjectImage BinaryObjectImage
SmartPointer< Self > Pointer
TInputImage::PixelType PixelType
Superclass::RegionType RegionType
Base class for all process objects that output image data.
RGBHCVImage::Pointer m_WorkingImage
void SetTestMean(unsigned int t1, unsigned int t2, unsigned int t3)
SmartPointer< const Self > ConstPointer
Superclass::PixelType PixelType
void SetSTDPercentError(double x[6])
virtual void SetInput(const InputImageType *image)
void GetTestMean(unsigned int x[3])
A templated class holding a n-Dimensional vector.
static const unsigned int OutputImageDimension
void SetMeanPercentError(double x[6])
Vector< float, 6 > RGBHCVPixel
unsigned int m_TestMean[3]
double m_MeanTolerance[6]
void TakeAPrior(const BinaryObjectImage *aprior)
void SetTestSTD(unsigned int t1, unsigned int t2, unsigned int t3)
void operator=(const Self &)
void PrintSelf(std::ostream &os, Indent indent) const
void GetMeanPercentError(double x[6])
void GetMean(double x[6])
TInputImage InputImageType
unsigned int m_TestSTD[3]
double m_STDPercentError[6]
VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage > Superclass
virtual void SetInput(const InputImageType *input)
TInputImage::IndexType IndexType
Control indentation during Print() invocation.
Image< unsigned char, 2 > BinaryObjectImage
void GetSTDPercentError(double x[6])
void GetTestSTD(unsigned int x[3])
#define itkConceptMacro(name, concept)
Superclass::InputImagePointer InputImagePointer
VoronoiSegmentationRGBImageFilter()
void GetSTDTolerance(double x[6])
TInputImage::RegionType RegionType
virtual bool TestHomogeneity(IndexList &Plist)
VoronoiSegmentationRGBImageFilter Self
Superclass::IndexType IndexType
Templated n-dimensional image class.
Superclass::InputImageType InputImageType