ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkVoronoiSegmentationRGBImageFilter.h>
Segmentation of 2D RGB images using Voronoi Diagram. This is not a standard 3 channel image filter, it also investigates the HSV color space information. from RGBHSV, the user can specify or by giving a prior binary mask, the algorithm will decide which 3 channels out of the 6 channels will be used for homogeneity testing. the homogeneity testing requires all the three testing channels to have the similar mean and standard deviation value from the gold-standard in the sense that the difference will be under the tolerance value.
Input parameters are: (1) Image data, in the format: itkImage<itkVector<PixelType,3>, 2>. (2) Object statistics: mean and standard deviation (3) Tolerance level for the classifier. This level is usually set around the mean and standard deviation values.
These parameters can also be automatically set by providing a binary image prior.
Detailed information about this algorithm can be found in: " Semi-automated color segmentation of anatomical tissue," C. Imelinska, M. Downes, and W. Yuan Computerized Medical Imaging and Graphics, Vol.24, pp 173-180, 2000.
Definition at line 54 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Superclass::BinaryObjectImage itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::BinaryObjectImage |
Convenient typedefs.
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 69 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef SmartPointer< const Self > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 62 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Superclass::IndexList itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::IndexList |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 73 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Superclass::IndexType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::IndexType |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 74 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Superclass::InputImagePointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 77 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Superclass::InputImageType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs.
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 78 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Superclass::PixelType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::PixelType |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 76 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef SmartPointer< Self > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 61 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Superclass::RegionType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RegionType |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 75 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Image< RGBHCVPixel > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RGBHCVImage |
Definition at line 80 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef Vector< float, 6 > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RGBHCVPixel |
Definition at line 79 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef VoronoiSegmentationRGBImageFilter itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 59 of file itkVoronoiSegmentationRGBImageFilter.h.
typedef VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
Definition at line 60 of file itkVoronoiSegmentationRGBImageFilter.h.
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::VoronoiSegmentationRGBImageFilter | ( | ) | [protected] |
End concept checking
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::~VoronoiSegmentationRGBImageFilter | ( | ) | [protected] |
End concept checking
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::VoronoiSegmentationRGBImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
virtual double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMaxValueOfRGB | ( | ) | const [virtual] |
Maximum value of the RGB, needed for color space coversions. default as 8 bit per channel, if it is different, need to be set before doing anything.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMean | ( | double | x[6] | ) | [inline] |
Definition at line 87 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMeanPercentError | ( | double | x[6] | ) | [inline] |
Definition at line 85 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMeanTolerance | ( | double | x[6] | ) | [inline] |
Definition at line 91 of file itkVoronoiSegmentationRGBImageFilter.h.
virtual const char* itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetSTD | ( | double | x[6] | ) | [inline] |
Definition at line 88 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetSTDPercentError | ( | double | x[6] | ) | [inline] |
Definition at line 86 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetSTDTolerance | ( | double | x[6] | ) | [inline] |
Definition at line 92 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetTestMean | ( | unsigned int | x[3] | ) | [inline] |
Definition at line 118 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetTestSTD | ( | unsigned int | x[3] | ) | [inline] |
Definition at line 123 of file itkVoronoiSegmentationRGBImageFilter.h.
static Pointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
virtual void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetInput | ( | const InputImageType * | input | ) | [virtual] |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetInput | ( | unsigned | int, |
const InputImageType * | image | ||
) | [virtual] |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetMaxValueOfRGB | ( | double | _arg | ) | [virtual] |
Maximum value of the RGB, needed for color space coversions. default as 8 bit per channel, if it is different, need to be set before doing anything.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetMean | ( | double | x[6] | ) | [inline] |
Definition at line 89 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetMeanPercentError | ( | double | x[6] | ) |
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetSTD | ( | double | x[6] | ) | [inline] |
Definition at line 90 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetSTDPercentError | ( | double | x[6] | ) |
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetTestMean | ( | unsigned int | t1, |
unsigned int | t2, | ||
unsigned int | t3 | ||
) | [inline] |
Set the three channels to test the mean and STD respectivley 0:red, 1:green, 2:blue, 3:hue, 4:chroma, 5:value.
Definition at line 104 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetTestSTD | ( | unsigned int | t1, |
unsigned int | t2, | ||
unsigned int | t3 | ||
) | [inline] |
Definition at line 111 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::TakeAPrior | ( | const BinaryObjectImage * | aprior | ) |
virtual bool itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::TestHomogeneity | ( | IndexList & | Plist | ) | [private, virtual] |
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< int, typename TOutputImage::PixelType > | ) |
This class requires IntConvertibleToOutputCheck in the form of ( Concept::Convertible< int, typename TOutputImage::PixelType > )
const unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 137 of file itkVoronoiSegmentationRGBImageFilter.h.
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_MaxValueOfRGB [private] |
Definition at line 164 of file itkVoronoiSegmentationRGBImageFilter.h.
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_Mean[6] [private] |
Definition at line 158 of file itkVoronoiSegmentationRGBImageFilter.h.
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_MeanPercentError[6] [private] |
Definition at line 162 of file itkVoronoiSegmentationRGBImageFilter.h.
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_MeanTolerance[6] [private] |
Definition at line 160 of file itkVoronoiSegmentationRGBImageFilter.h.
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_STD[6] [private] |
Definition at line 159 of file itkVoronoiSegmentationRGBImageFilter.h.
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_STDPercentError[6] [private] |
Definition at line 163 of file itkVoronoiSegmentationRGBImageFilter.h.
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_STDTolerance[6] [private] |
Definition at line 161 of file itkVoronoiSegmentationRGBImageFilter.h.
unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_TestMean[3] [private] |
Definition at line 165 of file itkVoronoiSegmentationRGBImageFilter.h.
unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_TestSTD[3] [private] |
Definition at line 166 of file itkVoronoiSegmentationRGBImageFilter.h.
RGBHCVImage::Pointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_WorkingImage [private] |
Definition at line 167 of file itkVoronoiSegmentationRGBImageFilter.h.
const unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static] |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 139 of file itkVoronoiSegmentationRGBImageFilter.h.