ITK  4.9.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 | List of all members
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 >:

Detailed Description

template<typename TInputImage, typename TOutputImage, typename 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.

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 Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TOutputImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void BeforeNextStep ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void DrawDiagram (VDImagePointer result, unsigned char incolor, unsigned char outcolor, unsigned char boundcolor)
 
virtual void EnlargeOutputRequestedRegion (DataObject *output) override
 
virtual void GenerateInputRequestedRegion () override
 
virtual int GetLastStepSeeds () const
 
virtual const char * GetNameOfClass () const
 
virtual int GetNumberOfSeedsToAdded () const
 
PointType GetSeed (int SeedID)
 
VoronoiPointer GetVoronoiDiagram (void)
 
virtual void MakeSegmentBoundary ()
 
virtual void MakeSegmentObject ()
 
void RunSegment ()
 
void RunSegmentOneStep ()
 
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)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

virtual void ClassifyDiagram ()
 
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 GenerateData () override
 
void GetPixelIndexFromPolygon (PointTypeDeque VertList, IndexList *PixelPool)
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual bool TestHomogeneity (IndexList &)
 
 VoronoiSegmentationImageFilterBase ()
 
 ~VoronoiSegmentationImageFilterBase ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter ()
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

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
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 

Member Typedef Documentation

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

Definition at line 105 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 106 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 95 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 94 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 67 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 102 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 101 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 107 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 83 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 82 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
typedef TInputImage::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::InputImagePointer

Definition at line 81 of file itkVoronoiSegmentationImageFilterBase.h.

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

Convenient typedefs.

Definition at line 80 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 100 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 88 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 89 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 86 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 66 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 97 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 93 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 104 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 103 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 85 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 99 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 98 of file itkVoronoiSegmentationImageFilterBase.h.

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

Standard class typedefs.

Definition at line 64 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 84 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 65 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 111 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 91 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 92 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiSegmentationImageFilterBase ( )
protected
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::~VoronoiSegmentationImageFilterBase ( )
protected
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::VoronoiSegmentationImageFilterBase ( const Self )
private

Member Function Documentation

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::BeforeNextStep ( )
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::ClassifyDiagram ( )
protectedvirtual
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual::itk::LightObject::Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::CreateAnother ( ) 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.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::drawLine ( PointType  p1,
PointType  p2 
)
protected
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::drawVDline ( VDImagePointer  result,
PointType  p1,
PointType  p2,
unsigned char  color 
)
protected
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::EnlargeOutputRequestedRegion ( DataObject output)
overridevirtual

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

See Also
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::FillPolygon ( PointTypeDeque  vertlist,
OutputPixelType  color = 1 
)
protected
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GenerateAddingSeeds ( )
protectedvirtual
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GenerateData ( )
overrideprotectedvirtual

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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GenerateInputRequestedRegion ( )
overridevirtual

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

See Also
ProcessObject::GenerateInputRequestedRegion().

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

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual double itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetMeanDeviation ( ) const
virtual

Set/Get the mean deviation.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetMinRegion ( ) const
virtual

Set/Get the smallest region to be divided.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual const char* itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetNameOfClass ( ) const
virtual
template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetNumberOfSeedsToAdded ( ) const
virtual

Get the number of seeds to add.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetOutputBoundary ( ) const
virtual

Enable the generation of the output boundary.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetPixelIndexFromPolygon ( PointTypeDeque  VertList,
IndexList PixelPool 
)
protected
template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetSize ( ) const
virtual

Set/Get the region size.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetUseBackgroundInAPrior ( ) const
virtual
template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::MakeSegmentBoundary ( )
virtual

Create the output binary result for boundaries.

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

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::MakeSegmentObject ( )
virtual
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
static Pointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::operator= ( const Self )
private
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::RunSegment ( )

Perform the segmentation.

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

Perform the segmentation.

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

Set/Get the mean deviation.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetOutputBoundary ( bool  _arg)
virtual

Enable the generation of the output boundary.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetSize ( SizeType  _arg)
virtual

Set/Get the region size.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::SetUseBackgroundInAPrior ( bool  _arg)
virtual
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::TakeAPrior ( const BinaryObjectImage )
inlinevirtual

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

Definition at line 164 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
virtual bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::TestHomogeneity ( IndexList )
inlineprotectedvirtual

Definition at line 264 of file itkVoronoiSegmentationImageFilterBase.h.

Member Data Documentation

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_InteractiveSegmentation
protected

Definition at line 246 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_LastStepSeeds
protected

Definition at line 235 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 242 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 233 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 237 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_NumberOfSeeds
protected
template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_NumberOfSeedsToAdded
protected

Definition at line 236 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 244 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename 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<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_Size
protected

Definition at line 231 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 234 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 243 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 250 of file itkVoronoiSegmentationImageFilterBase.h.

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

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