Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage > Class Template Reference
[Hybrid Segmentation Filters]

#include <itkVoronoiSegmentationImageFilterBase.h>

Inheritance diagram for itk::VoronoiSegmentationImageFilterBase:

Inheritance graph
[legend]
Collaboration diagram for itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef VoronoiSegmentationImageFilterBase Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef TInputImage::Pointer InputImagePointer
typedef TInputImage::ConstPointer InputImageConstPointer
typedef TOutputImage OutputImageType
typedef TInputImage::IndexType IndexType
typedef TInputImage::SizeType SizeType
typedef TInputImage::RegionType RegionType
typedef TInputImage::PixelType PixelType
typedef VoronoiDiagram2D<
double > 
VoronoiDiagram
typedef VoronoiDiagram2DGenerator<
double > 
VoronoiDiagramGenerator
typedef VoronoiDiagram::PointType PointType
typedef VoronoiDiagram::CellType CellType
typedef VoronoiDiagram::CellAutoPointer CellAutoPointer
typedef VoronoiDiagram::Pointer VoronoiPointer
typedef CellType::PointIdIterator PointIdIterator
typedef VoronoiDiagram::SeedsType SeedsType
typedef VoronoiDiagram::SeedsIterator SeedsIterator
typedef VoronoiDiagram::NeighborIdIterator NeighborIdIterator
typedef VoronoiDiagram::VoronoiEdgeIterator EdgeIterator
typedef VoronoiDiagram::VoronoiEdge EdgeInfo
typedef std::vector< PointTypePointTypeVector
typedef std::deque< PointTypePointTypeDeque
typedef Image< bool, 2 > BinaryObjectImage
typedef BinaryObjectImage::Pointer BinaryObjectImagePointer
typedef std::vector< IndexTypeIndexList
typedef Image< unsigned char, 2 > VDImage
typedef VDImage::Pointer VDImagePointer

Public Methods

virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
virtual int GetLastStepSeeds ()
virtual int GetNumberOfSeedsToAdded ()
virtual void TakeAPrior (BinaryObjectImage *)
void RunSegment (void)
void RunSegmentOneStep (void)
VoronoiPointer GetVoronoiDiagram (void)
PointType GetSeed (int SeedID)
void DrawDiagram (VDImagePointer result, unsigned char incolor, unsigned char outcolor, unsigned char boundcolor)
void BeforeNextStep (void)
virtual void GenerateInputRequestedRegion ()
virtual void EnlargeOutputRequestedRegion (DataObject *output)
virtual void SetNumberOfSeeds (int _arg)
virtual int GetNumberOfSeeds ()
virtual void SetMinRegion (int _arg)
virtual int GetMinRegion ()
virtual void SetSteps (int _arg)
virtual int GetSteps ()
virtual void SetUseBackgroundInAPrior (bool _arg)
virtual bool GetUseBackgroundInAPrior ()
virtual void SetOutputBoundary (bool _arg)
virtual bool GetOutputBoundary ()
virtual void SetInteractiveSegmentation (bool _arg)
virtual bool GetInteractiveSegmentation ()
virtual void InteractiveSegmentationOn ()
virtual void InteractiveSegmentationOff ()
virtual void SetMeanDeviation (double _arg)
virtual double GetMeanDeviation ()
virtual void MakeSegmentBoundary (void)
virtual void MakeSegmentObject (void)
void SetSeeds (int num, SeedsIterator begin)

Static Public Methods

Pointer New ()

Protected Methods

 VoronoiSegmentationImageFilterBase ()
 ~VoronoiSegmentationImageFilterBase ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
void GenerateData (void)
virtual void ClassifyDiagram (void)
virtual void GenerateAddingSeeds (void)
void GetPixelIndexFromPolygon (PointTypeDeque VertList, IndexList *PixelPool)
virtual bool TestHomogeneity (IndexList &)
void FillPolygon (PointTypeDeque vertlist)
void drawLine (PointType p1, PointType p2)
void drawVDline (VDImagePointer result, PointType p1, PointType p2, unsigned char color)

Protected Attributes

SizeType m_Size
int m_NumberOfSeeds
int m_MinRegion
int m_Steps
int m_LastStepSeeds
int m_NumberOfSeedsToAdded
int m_NumberOfBoundary
std::vector< int > m_NumberOfPixels
std::vector< unsigned char > m_Label
double m_MeanDeviation
bool m_UseBackgroundInAPrior
bool m_OutputBoundary
bool m_InteractiveSegmentation
VoronoiDiagram::Pointer m_WorkingVD
VoronoiDiagramGenerator::Pointer m_VDGenerator
std::vector< PointTypem_SeedsToAdded

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >

/brief Base class for VoronoiSegmentationImageFilter

Voronoi SegmentationImageFilter is a class of segmenation algorithms that works on 2D image. Begin with certain number of seeds, VoronoiSegmentationImageFilter first partition the image plane to voronoi regions, and testing each region by some homogeneity operators, which need to be implemented in the private method: virtual bool TestHomogeneity(IndexList &Plist); after testing, all the regions are classified as either "internal" or "external" region and the "boundary" regions was defined as an "external" region that has at least one "internal" region as its neighbor. the algorithm then added seed points to the "boundary" regions (on the edges) and recursively "split" the boundary region until all the "boundary" become sufficiently small. the output of the segmentation can be either a binary object, which is the collection of all the "internal" region. Or a binary boundary delineate, which is defined as the connected lines between seed points of "boundary" region. This class is a base class for voronoi segmenation, single channel or multiple channel image segmenation can be implemented by deriving imagefilters from this class, by implementing the virtual methods

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

Definition at line 59 of file itkVoronoiSegmentationImageFilterBase.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef Image<bool,2> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::BinaryObjectImage
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 102 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef BinaryObjectImage::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::BinaryObjectImagePointer
 

Definition at line 103 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::CellAutoPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::CellAutoPointer
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 92 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::CellType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::CellType
 

Definition at line 91 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef SmartPointer<const Self> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::ConstPointer
 

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

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 67 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::VoronoiEdge itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::EdgeInfo
 

Definition at line 99 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::VoronoiEdgeIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::EdgeIterator
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 98 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef std::vector<IndexType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::IndexList
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 104 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::IndexType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::IndexType
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 84 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::ConstPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::InputImageConstPointer
 

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

Definition at line 82 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::InputImagePointer
 

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

Reimplemented in itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 81 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::InputImageType
 

Convenient typedefs.

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

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 80 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::NeighborIdIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::NeighborIdIterator
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 97 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TOutputImage itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::OutputImageType
 

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 83 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::PixelType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::PixelType
 

Reimplemented in itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 87 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef SmartPointer<Self> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::Pointer
 

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

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 66 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef CellType::PointIdIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::PointIdIterator
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 94 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::PointType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::PointType
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 90 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef std::deque<PointType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::PointTypeDeque
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 101 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef std::vector<PointType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::PointTypeVector
 

Definition at line 100 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::RegionType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::RegionType
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 86 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::SeedsIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SeedsIterator
 

Definition at line 96 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::SeedsType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SeedsType
 

Definition at line 95 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiSegmentationImageFilterBase itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::Self
 

Standard class typedefs.

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

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 64 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SizeType
 

Definition at line 85 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::Superclass
 

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

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 65 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef Image<unsigned char,2> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::VDImage
 

To output the drawing of Voronoi Diagram (VD) .

Definition at line 107 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VDImage::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::VDImagePointer
 

Definition at line 108 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram2D<double> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::VoronoiDiagram
 

Definition at line 88 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram2DGenerator<double> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::VoronoiDiagramGenerator
 

Definition at line 89 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
typedef VoronoiDiagram::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::VoronoiPointer
 

Definition at line 93 of file itkVoronoiSegmentationImageFilterBase.h.

Referenced by itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::TakeAPrior().


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::VoronoiSegmentationImageFilterBase   [protected]
 

template<class TInputImage, class TOutputImage>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::~VoronoiSegmentationImageFilterBase   [protected]
 


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::BeforeNextStep void   
 

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::ClassifyDiagram void    [protected, virtual]
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::DrawDiagram VDImagePointer    result,
unsigned char    incolor,
unsigned char    outcolor,
unsigned char    boundcolor
 

Draw the Voronoi Diagram structure.

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::drawLine PointType    p1,
PointType    p2
[protected]
 

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::drawVDline VDImagePointer    result,
PointType    p1,
PointType    p2,
unsigned char    color
[protected]
 

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion DataObject   output [virtual]
 

This filter does not stream and needs to produce the entire output.

See also:
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::FillPolygon PointTypeDeque    vertlist [protected]
 

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GenerateAddingSeeds void    [protected, virtual]
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GenerateData void    [protected, virtual]
 

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GenerateInputRequestedRegion   [virtual]
 

This filter does not stream and needs the entire image as input.

See also:
ProcessObject::GenerateInputRequestedRegion().

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

template<class TInputImage, class TOutputImage>
virtual const char* itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

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

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetInteractiveSegmentation   [virtual]
 

Output the segmentation on every iteration. Useful for iteractive sessions. The setting of OutputBoundary determines the type of output.

template<class TInputImage, class TOutputImage>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetLastStepSeeds   [virtual]
 

Get the number of seeds before adding new ones.

template<class TInputImage, class TOutputImage>
virtual double itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetMeanDeviation   [virtual]
 

Set/Get the mean deviation.

template<class TInputImage, class TOutputImage>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetMinRegion   [virtual]
 

Set/Get the smallest region to be divided.

template<class TInputImage, class TOutputImage>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetNumberOfSeeds   [virtual]
 

Set/Get the initial number of seeds for VD.

template<class TInputImage, class TOutputImage>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetNumberOfSeedsToAdded   [virtual]
 

Get the number of seeds to add.

template<class TInputImage, class TOutputImage>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetOutputBoundary   [virtual]
 

Enable the generation of the output boundary.

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetPixelIndexFromPolygon PointTypeDeque    VertList,
IndexList   PixelPool
[protected]
 

template<class TInputImage, class TOutputImage>
PointType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetSeed int    SeedID [inline]
 

Get the point specified by the ID given.

Definition at line 184 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetSteps   [virtual]
 

Set/Get the number of iterations to run (if set to 0: the classification run process runs until no more cells can be divided).

template<class TInputImage, class TOutputImage>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetUseBackgroundInAPrior   [virtual]
 

template<class TInputImage, class TOutputImage>
VoronoiPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetVoronoiDiagram void    [inline]
 

Return the Voroni Diagram structure.

Definition at line 170 of file itkVoronoiSegmentationImageFilterBase.h.

References itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_NumberOfSeeds, and itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_WorkingVD.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::InteractiveSegmentationOff   [virtual]
 

Output the segmentation on every iteration. Useful for iteractive sessions. The setting of OutputBoundary determines the type of output.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::InteractiveSegmentationOn   [virtual]
 

Output the segmentation on every iteration. Useful for iteractive sessions. The setting of OutputBoundary determines the type of output.

template<class TInputImage, class TOutputImage>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::itkStaticConstMacro ImageDimension   ,
unsigned    int,
TInputImage::ImageDimension   
 

Get the image dimension from the template parameter.

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

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::MakeSegmentBoundary void    [virtual]
 

Create the output binary result for boundaries.

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::MakeSegmentObject void    [virtual]
 

Create the output binary result for boundaries.

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

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

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::RunSegment void   
 

Perform the segmentation.

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::RunSegmentOneStep void   
 

Perform the segmentation.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetInteractiveSegmentation bool    _arg [virtual]
 

Output the segmentation on every iteration. Useful for iteractive sessions. The setting of OutputBoundary determines the type of output.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetMeanDeviation double    _arg [virtual]
 

Set/Get the mean deviation.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetMinRegion int    _arg [virtual]
 

Set/Get the smallest region to be divided.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetNumberOfSeeds int    _arg [virtual]
 

Set/Get the initial number of seeds for VD.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetOutputBoundary bool    _arg [virtual]
 

Enable the generation of the output boundary.

template<class TInputImage, class TOutputImage>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetSeeds int    num,
SeedsIterator    begin
[inline]
 

Seeds positions are randomly set. If you need to set seeds position then use the SetSeeds method after the InitializeSegment method .

Definition at line 176 of file itkVoronoiSegmentationImageFilterBase.h.

References itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_WorkingVD.

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetSteps int    _arg [virtual]
 

Set/Get the number of iterations to run (if set to 0: the classification run process runs until no more cells can be divided).

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetUseBackgroundInAPrior bool    _arg [virtual]
 

template<class TInputImage, class TOutputImage>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::TakeAPrior BinaryObjectImage   [inline, virtual]
 

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

Reimplemented in itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

Definition at line 156 of file itkVoronoiSegmentationImageFilterBase.h.

References itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_WorkingVD, and itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::VoronoiPointer.

template<class TInputImage, class TOutputImage>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::TestHomogeneity IndexList   [inline, protected, virtual]
 

Reimplemented in itk::VoronoiPartitioningImageFilter< TInputImage, TOutputImage >.

Definition at line 236 of file itkVoronoiSegmentationImageFilterBase.h.


Member Data Documentation

template<class TInputImage, class TOutputImage>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_InteractiveSegmentation [protected]
 

Definition at line 220 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
std::vector<unsigned char> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_Label [protected]
 

Definition at line 216 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_LastStepSeeds [protected]
 

Definition at line 212 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
double itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_MeanDeviation [protected]
 

Definition at line 217 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_MinRegion [protected]
 

Definition at line 210 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_NumberOfBoundary [protected]
 

Definition at line 214 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
std::vector<int> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_NumberOfPixels [protected]
 

Definition at line 215 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_NumberOfSeeds [protected]
 

Definition at line 209 of file itkVoronoiSegmentationImageFilterBase.h.

Referenced by itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetVoronoiDiagram().

template<class TInputImage, class TOutputImage>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_NumberOfSeedsToAdded [protected]
 

Definition at line 213 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_OutputBoundary [protected]
 

Definition at line 219 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
std::vector<PointType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_SeedsToAdded [protected]
 

Definition at line 225 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_Size [protected]
 

Definition at line 208 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_Steps [protected]
 

Definition at line 211 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_UseBackgroundInAPrior [protected]
 

Definition at line 218 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
VoronoiDiagramGenerator::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_VDGenerator [protected]
 

Definition at line 223 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage>
VoronoiDiagram::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::m_WorkingVD [protected]
 

Definition at line 222 of file itkVoronoiSegmentationImageFilterBase.h.

Referenced by itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::GetVoronoiDiagram(), itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::SetSeeds(), and itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >::TakeAPrior().


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:48:55 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000