ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage > Class Template Reference

#include <itkVoronoiSegmentationImageFilter.h>

+ Inheritance diagram for itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >:
+ Collaboration diagram for itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >:

List of all members.

Public Types

typedef
Superclass::BinaryObjectImage 
BinaryObjectImage
typedef SmartPointer< const SelfConstPointer
typedef Superclass::IndexList IndexList
typedef Superclass::IndexType IndexType
typedef Superclass::InputImageType InputImageType
typedef SmartPointer< SelfPointer
typedef Superclass::RegionType RegionType
typedef
VoronoiSegmentationImageFilter 
Self
typedef
VoronoiSegmentationImageFilterBase
< TInputImage, TOutputImage,
TBinaryPriorImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual double GetMeanPercentError () const
virtual const char * GetNameOfClass () const
virtual double GetSTDTolerance () const
void SetMeanPercentError (double x)
virtual void SetSTDTolerance (double _arg)
void TakeAPrior (const BinaryObjectImage *aprior)
 typedef (Concept::SameDimension< InputImageDimension, OutputImageDimension >) SameDimensionCheck
 typedef (Concept::Convertible< int, typename TOutputImage::PixelType >) IntConvertibleToOutputCheck
virtual void SetMean (double _arg)
virtual double GetMean () const
virtual void SetSTD (double _arg)
virtual double GetSTD () const
virtual void SetMeanTolerance (double _arg)
virtual double GetMeanTolerance () const
virtual double GetSTDPercentError () const
void SetSTDPercentError (double x)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension

Protected Member Functions

 VoronoiSegmentationImageFilter ()
 ~VoronoiSegmentationImageFilter ()
virtual void PrintSelf (std::ostream &os, Indent indent) const

Private Member Functions

void operator= (const Self &)
virtual bool TestHomogeneity (IndexList &Plist)
 VoronoiSegmentationImageFilter (const Self &)

Private Attributes

double m_Mean
double m_MeanPercentError
double m_MeanTolerance
double m_STD
double m_STDPercentError
double m_STDTolerance

Detailed Description

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
class itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >

Perform the segmentation of 2D images (single channel) by Voronoi Diagram. Used as a node of the segmentation toolkits. The homogeneity operator here is the testing of mean and standar deviation value. By setting the tolerance level, the "internal" region was defined as those that is closed to the gold-standard value in the sense that the difference is within the tolerance value.

See VoronoiSegmentationImageFilterBase for detail description of voronoi segmenation principles.

The parameters here are: 1. the estimation of the statistics of the object. (mean and std.) 2. the tolerance for the classification. (around the mean ans std. estimated value).

The parameters can also be automatically set by given a prior, as a binary image.

Detail 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, Vor.24, pp 173-180, 2000.

Definition at line 53 of file itkVoronoiSegmentationImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef Superclass::BinaryObjectImage itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::BinaryObjectImage
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef SmartPointer< const Self > itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::ConstPointer
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef Superclass::IndexList itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::IndexList
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef Superclass::IndexType itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::IndexType
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef Superclass::InputImageType itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::InputImageType
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef SmartPointer< Self > itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::Pointer
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef Superclass::RegionType itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::RegionType
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef VoronoiSegmentationImageFilter itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::Self
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage > itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiSegmentationImageFilter ( ) [protected]

End concept checking

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::~VoronoiSegmentationImageFilter ( ) [protected]

End concept checking

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiSegmentationImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual::itk::LightObject::Pointer itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::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, TBinaryPriorImage >.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetMean ( ) const [virtual]

Set/Get the Estimation of the mean pixel value for the object.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetMeanPercentError ( ) const [virtual]
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetMeanTolerance ( ) const [virtual]

Set/Get the Tolearance of Mean for classifying the regions.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual const char* itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetSTD ( ) const [virtual]

Set/Get the estimation of the STD of the pixel value for the object.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetSTDPercentError ( ) const [virtual]

Set/Get the STD percent error.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetSTDTolerance ( ) const [virtual]

Get the Tolearance of Variance for classifying the regions.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
static Pointer itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::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, TBinaryPriorImage >.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetMean ( double  _arg) [virtual]

Set/Get the Estimation of the mean pixel value for the object.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetMeanPercentError ( double  x)

Set/Get the mean percent error.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetMeanTolerance ( double  _arg) [virtual]

Set/Get the Tolearance of Mean for classifying the regions.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetSTD ( double  _arg) [virtual]

Set/Get the estimation of the STD of the pixel value for the object.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetSTDPercentError ( double  x)

Set/Get the STD percent error.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetSTDTolerance ( double  _arg) [virtual]

Set the Tolearance of STD for classifying the regions.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::TakeAPrior ( const BinaryObjectImage aprior)

Take a prior from other segmentation node, should be an binary object.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual bool itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::TestHomogeneity ( IndexList Plist) [private, virtual]
template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::typedef ( Concept::SameDimension< InputImageDimension, OutputImageDimension )

Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::typedef ( Concept::Convertible< int, typename TOutputImage::PixelType >  )

This class requires IntConvertibleToOutputCheck in the form of ( Concept::Convertible< int, typename TOutputImage::PixelType > )


Member Data Documentation

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
const unsigned int itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::InputImageDimension = TInputImage::ImageDimension [static]

ImageDimension enumeration

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 116 of file itkVoronoiSegmentationImageFilter.h.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_Mean [private]

Definition at line 137 of file itkVoronoiSegmentationImageFilter.h.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_MeanPercentError [private]

Definition at line 141 of file itkVoronoiSegmentationImageFilter.h.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_MeanTolerance [private]

Definition at line 139 of file itkVoronoiSegmentationImageFilter.h.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_STD [private]

Definition at line 138 of file itkVoronoiSegmentationImageFilter.h.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_STDPercentError [private]

Definition at line 142 of file itkVoronoiSegmentationImageFilter.h.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_STDTolerance [private]

Definition at line 140 of file itkVoronoiSegmentationImageFilter.h.

template<class TInputImage , class TOutputImage , class TBinaryPriorImage = Image< unsigned char, 2 >>
const unsigned int itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

ImageDimension enumeration

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 118 of file itkVoronoiSegmentationImageFilter.h.


The documentation for this class was generated from the following file: