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

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

#include <itkVoronoiSegmentationImageFilterBase.h>

Inheritance diagram for itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >:

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

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 TOutputImage::PixelType OutputPixelType
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 TBinaryPriorImage BinaryObjectImage
typedef BinaryObjectImage::Pointer BinaryObjectImagePointer
typedef std::vector< IndexTypeIndexList
typedef Image< unsigned char, 2 > VDImage
typedef VDImage::Pointer VDImagePointer

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
virtual int GetLastStepSeeds ()
virtual int GetNumberOfSeedsToAdded ()
virtual void TakeAPrior (const 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 Member Functions

Pointer New ()

Protected Member Functions

 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, OutputPixelType color=1)
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 TBinaryPriorImage = Image<unsigned char,2>>
class itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >

/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, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TBinaryPriorImage itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::BinaryObjectImage
 

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

Definition at line 103 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef BinaryObjectImage::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::BinaryObjectImagePointer
 

Definition at line 104 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::CellAutoPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::CellAutoPointer
 

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

Definition at line 93 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::CellType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::CellType
 

Definition at line 92 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef SmartPointer<const Self> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::ConstPointer
 

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

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

Definition at line 67 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::VoronoiEdge itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::EdgeInfo
 

Definition at line 100 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::VoronoiEdgeIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::EdgeIterator
 

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

Definition at line 99 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef std::vector<IndexType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::IndexList
 

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

Definition at line 105 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TInputImage::IndexType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::IndexType
 

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

Definition at line 84 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TInputImage::ConstPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::InputImageConstPointer
 

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

Definition at line 82 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TInputImage::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TInputImage itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::InputImageType
 

Convenient typedefs.

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

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

Definition at line 80 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::NeighborIdIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::NeighborIdIterator
 

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

Definition at line 98 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TOutputImage itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TOutputImage::PixelType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::OutputPixelType
 

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

Definition at line 88 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TInputImage::PixelType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PixelType
 

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

Definition at line 87 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef SmartPointer<Self> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::Pointer
 

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

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

Definition at line 66 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef CellType::PointIdIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointIdIterator
 

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

Definition at line 95 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::PointType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointType
 

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

Definition at line 91 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef std::deque<PointType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointTypeDeque
 

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

Definition at line 102 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef std::vector<PointType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointTypeVector
 

Definition at line 101 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TInputImage::RegionType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::RegionType
 

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

Definition at line 86 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::SeedsIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SeedsIterator
 

Definition at line 97 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::SeedsType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SeedsType
 

Definition at line 96 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiSegmentationImageFilterBase itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::Self
 

Standard class typedefs.

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

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

Definition at line 64 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef TInputImage::SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SizeType
 

Definition at line 85 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::Superclass
 

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

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

Definition at line 65 of file itkVoronoiSegmentationImageFilterBase.h.

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

To output the drawing of Voronoi Diagram (VD) . Definition at line 108 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 109 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram2D<double> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiDiagram
 

Definition at line 89 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram2DGenerator<double> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiDiagramGenerator
 

Definition at line 90 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
typedef VoronoiDiagram::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiPointer
 

Definition at line 94 of file itkVoronoiSegmentationImageFilterBase.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::BeforeNextStep void   ) 
 

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::ClassifyDiagram void   )  [protected, virtual]
 

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

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

Draw the Voronoi Diagram structure.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::drawLine PointType  p1,
PointType  p2
[protected]
 

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

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::FillPolygon PointTypeDeque  vertlist,
OutputPixelType  color = 1
[protected]
 

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GenerateAddingSeeds void   )  [protected, virtual]
 

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

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
virtual const char* itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, TBinaryPriorImage >, and itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetLastStepSeeds  )  [virtual]
 

Get the number of seeds before adding new ones.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual double itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetMeanDeviation  )  [virtual]
 

Set/Get the mean deviation.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetMinRegion  )  [virtual]
 

Set/Get the smallest region to be divided.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetNumberOfSeeds  )  [virtual]
 

Set/Get the initial number of seeds for VD.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetNumberOfSeedsToAdded  )  [virtual]
 

Get the number of seeds to add.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetOutputBoundary  )  [virtual]
 

Enable the generation of the output boundary.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetPixelIndexFromPolygon PointTypeDeque  VertList,
IndexList PixelPool
[protected]
 

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
PointType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetSeed int  SeedID  )  [inline]
 

Get the point specified by the ID given. Definition at line 185 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetUseBackgroundInAPrior  )  [virtual]
 

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
VoronoiPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetVoronoiDiagram void   )  [inline]
 

Return the Voroni Diagram structure. Definition at line 171 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension 
 

Get the image dimension from the template parameter.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::MakeSegmentBoundary void   )  [virtual]
 

Create the output binary result for boundaries.

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

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::MakeSegmentObject void   )  [virtual]
 

Create the output binary result for boundaries.

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

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

Method for creation through the object factory.

Reimplemented from itk::Object.

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

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

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

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::RunSegment void   ) 
 

Perform the segmentation.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::RunSegmentOneStep void   ) 
 

Perform the segmentation.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetMeanDeviation double  _arg  )  [virtual]
 

Set/Get the mean deviation.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetMinRegion int  _arg  )  [virtual]
 

Set/Get the smallest region to be divided.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetNumberOfSeeds int  _arg  )  [virtual]
 

Set/Get the initial number of seeds for VD.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetOutputBoundary bool  _arg  )  [virtual]
 

Enable the generation of the output boundary.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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 177 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::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, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetUseBackgroundInAPrior bool  _arg  )  [virtual]
 

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::TakeAPrior const BinaryObjectImage  )  [inline, virtual]
 

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

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

Definition at line 157 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::TestHomogeneity IndexList  )  [inline, protected, virtual]
 

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

Definition at line 237 of file itkVoronoiSegmentationImageFilterBase.h.


Member Data Documentation

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_InteractiveSegmentation [protected]
 

Definition at line 221 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 217 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_LastStepSeeds [protected]
 

Definition at line 213 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
double itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_MeanDeviation [protected]
 

Definition at line 218 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_MinRegion [protected]
 

Definition at line 211 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_NumberOfBoundary [protected]
 

Definition at line 215 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
std::vector<int> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_NumberOfPixels [protected]
 

Definition at line 216 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_NumberOfSeeds [protected]
 

Definition at line 210 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_NumberOfSeedsToAdded [protected]
 

Definition at line 214 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_OutputBoundary [protected]
 

Definition at line 220 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
std::vector<PointType> itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_SeedsToAdded [protected]
 

Definition at line 226 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_Size [protected]
 

Definition at line 209 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_Steps [protected]
 

Definition at line 212 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_UseBackgroundInAPrior [protected]
 

Definition at line 219 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
VoronoiDiagramGenerator::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_VDGenerator [protected]
 

Definition at line 224 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image<unsigned char,2>>
VoronoiDiagram::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_WorkingVD [protected]
 

Definition at line 223 of file itkVoronoiSegmentationImageFilterBase.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:51:45 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000