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

#include <itkVoronoiSegmentationImageFilterBase.h>

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

List of all members.

Public Types

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

Public Member Functions

void BeforeNextStep (void)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
void DrawDiagram (VDImagePointer result, unsigned char incolor, unsigned char outcolor, unsigned char boundcolor)
virtual void EnlargeOutputRequestedRegion (DataObject *output)
virtual void GenerateInputRequestedRegion ()
virtual int GetLastStepSeeds () const
virtual const char * GetNameOfClass () const
virtual int GetNumberOfSeedsToAdded () const
PointType GetSeed (int SeedID)
VoronoiPointer GetVoronoiDiagram (void)
virtual void MakeSegmentBoundary (void)
virtual void MakeSegmentObject (void)
void RunSegment (void)
void RunSegmentOneStep (void)
virtual void TakeAPrior (const BinaryObjectImage *)
virtual void SetNumberOfSeeds (int _arg)
virtual int GetNumberOfSeeds () const
virtual void SetMinRegion (int _arg)
virtual int GetMinRegion () const
virtual void SetSteps (int _arg)
virtual int GetSteps () const
virtual void SetUseBackgroundInAPrior (bool _arg)
virtual bool GetUseBackgroundInAPrior () const
virtual void SetOutputBoundary (bool _arg)
virtual bool GetOutputBoundary () const
virtual void SetInteractiveSegmentation (bool _arg)
virtual bool GetInteractiveSegmentation () const
virtual void InteractiveSegmentationOn ()
virtual void InteractiveSegmentationOff ()
virtual void SetMeanDeviation (double _arg)
virtual double GetMeanDeviation () const
virtual void SetSize (SizeType _arg)
virtual SizeType GetSize () const
void SetSeeds (int num, SeedsIterator begin)
void SetSeeds (SeedsType &seeds)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

void operator= (const Self &)
 VoronoiSegmentationImageFilterBase (const Self &)

Detailed Description

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

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

Definition at line 106 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 94 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
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef VoronoiDiagram::VoronoiEdge itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::EdgeInfo

Definition at line 102 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef VoronoiDiagram::VoronoiEdgeIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::EdgeIterator
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef std::vector< IndexType > itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::IndexList
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef TInputImage::IndexType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::IndexType
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef TInputImage::ConstPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::InputImageConstPointer
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef TInputImage::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::InputImagePointer
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef TInputImage itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::InputImageType
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef VoronoiDiagram::NeighborIdIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::NeighborIdIterator
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 88 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef TOutputImage::PixelType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::OutputPixelType
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef TInputImage::PixelType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PixelType
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef SmartPointer< Self > itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::Pointer
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef CellType::PointIdIterator itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointIdIterator
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef VoronoiDiagram::PointType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointType
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef std::deque< PointType > itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointTypeDeque
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
typedef std::vector< PointType > itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PointTypeVector

Definition at line 103 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 99 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 98 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 84 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
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 110 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 111 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 91 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 92 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 96 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]
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiSegmentationImageFilterBase ( const Self ) [private]

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

Reimplemented in itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >, and 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]
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 bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetInteractiveSegmentation ( ) const [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 ( ) const [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 ( ) const [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 ( ) const [virtual]

Set/Get the smallest region to be divided.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual const char* itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetNumberOfSeeds ( ) const [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 ( ) const [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 ( ) const [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 207 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetSize ( ) const [virtual]

Set/Get the region size.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetSteps ( ) const [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 ( ) const [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 178 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 >>
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]
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
static Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::New ( ) [static]
template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< 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::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >, and itk::VoronoiPartitioningImageFilter< 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::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >, itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >, and itk::VoronoiPartitioningImageFilter< 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 186 of file itkVoronoiSegmentationImageFilterBase.h.

template<class TInputImage, class TOutputImage, class TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetSeeds ( SeedsType seeds) [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 198 of file itkVoronoiSegmentationImageFilterBase.h.

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

Set/Get the region size.

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.

Definition at line 164 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]

Definition at line 264 of file itkVoronoiSegmentationImageFilterBase.h.


Member Data Documentation

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

Get the image dimension from the template parameter.

Definition at line 77 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 246 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 240 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 235 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 242 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 233 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 237 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 239 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 232 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 236 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 244 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 252 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 231 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 234 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 243 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 250 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 248 of file itkVoronoiSegmentationImageFilterBase.h.


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