ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | 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

using BinaryObjectImage = TBinaryPriorImage
 
using BinaryObjectImagePointer = typename BinaryObjectImage::Pointer
 
using CellAutoPointer = typename VoronoiDiagram::CellAutoPointer
 
using CellType = typename VoronoiDiagram::CellType
 
using ConstPointer = SmartPointer< const Self >
 
using EdgeInfo = typename VoronoiDiagram::VoronoiEdge
 
using EdgeIterator = typename VoronoiDiagram::VoronoiEdgeIterator
 
using IndexList = std::vector< IndexType >
 
using IndexType = typename TInputImage::IndexType
 
using InputImageConstPointer = typename TInputImage::ConstPointer
 
using InputImagePointer = typename TInputImage::Pointer
 
using InputImageType = TInputImage
 
using NeighborIdIterator = typename VoronoiDiagram::NeighborIdIterator
 
using OutputImageType = TOutputImage
 
using OutputPixelType = typename TOutputImage::PixelType
 
using PixelType = typename TInputImage::PixelType
 
using Pointer = SmartPointer< Self >
 
using PointIdIterator = typename CellType::PointIdIterator
 
using PointType = typename VoronoiDiagram::PointType
 
using PointTypeDeque = std::deque< PointType >
 
using PointTypeVector = std::vector< PointType >
 
using RegionType = typename TInputImage::RegionType
 
using SeedsIterator = typename VoronoiDiagram::SeedsIterator
 
using SeedsType = typename VoronoiDiagram::SeedsType
 
using Self = VoronoiSegmentationImageFilterBase
 
using SizeType = typename TInputImage::SizeType
 
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >
 
using VDImage = Image< unsigned char, 2 >
 
using VDImagePointer = typename VDImage::Pointer
 
using VoronoiDiagram = VoronoiDiagram2D< double >
 
using VoronoiDiagramGenerator = VoronoiDiagram2DGenerator< double >
 
using VoronoiPointer = typename VoronoiDiagram::Pointer
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TOutputImage >
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

void BeforeNextStep ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void DrawDiagram (VDImagePointer result, unsigned char incolor, unsigned char outcolor, unsigned char boundcolor)
 
void EnlargeOutputRequestedRegion (DataObject *output) override
 
void GenerateInputRequestedRegion () override
 
virtual int GetLastStepSeeds () const
 
virtual const char * GetNameOfClass () const
 
virtual int GetNumberOfSeedsToAdded () const
 
PointType GetSeed (int SeedID)
 
VoronoiPointer GetVoronoiDiagram ()
 
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 (SizeValueType _arg)
 
virtual SizeValueType 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
 
void PopBackInput () override
 
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)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
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 ()
 
MultiThreaderTypeGetMultiThreader () 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)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (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 SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
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 constexpr unsigned int ImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static constexpr 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)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual bool TestHomogeneity (IndexList &)
 
 VoronoiSegmentationImageFilterBase ()
 
 ~VoronoiSegmentationImageFilterBase () override=default
 
- 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 ()
 
void VerifyInputInformation () ITKv5_CONST override
 
 ~ImageToImageFilter () override
 
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 ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
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
 
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 () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () 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)
 
 ~Object () override
 
- 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 {false}
 
std::vector< unsigned char > m_Label
 
int m_LastStepSeeds {0}
 
double m_MeanDeviation {0.8}
 
SizeValueType m_MinRegion {20}
 
int m_NumberOfBoundary {0}
 
std::vector< SizeValueTypem_NumberOfPixels
 
int m_NumberOfSeeds {200}
 
int m_NumberOfSeedsToAdded {0}
 
bool m_OutputBoundary {false}
 
std::vector< PointTypem_SeedsToAdded
 
SizeType m_Size
 
int m_Steps {0}
 
bool m_UseBackgroundInAPrior {false}
 
VoronoiDiagramGenerator::Pointer m_VDGenerator
 
VoronoiDiagram::Pointer m_WorkingVD
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Additional Inherited Members

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

Member Typedef Documentation

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

Definition at line 106 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 107 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 96 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 95 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 69 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 103 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 102 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 108 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 84 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 83 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 82 of file itkVoronoiSegmentationImageFilterBase.h.

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

Convenient type alias.

Definition at line 81 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 101 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 89 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 90 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 87 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 68 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 98 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 94 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 105 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 104 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 86 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 100 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 99 of file itkVoronoiSegmentationImageFilterBase.h.

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

Standard class type aliases.

Definition at line 66 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 85 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 67 of file itkVoronoiSegmentationImageFilterBase.h.

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

To output the drawing of Voronoi Diagram (VD) .

Definition at line 111 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 112 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 92 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 93 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 97 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 ( )
overrideprotecteddefault

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 >>
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 DynamicThreadedGenerateData(). 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 can be threaded, it should NOT provide a GenerateData() method but should provide a DynamicThreadedGenerateData() instead.

See Also
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
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 SizeValueType 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 208 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 ( )
inline

Return the Voroni Diagram structure.

Definition at line 179 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 >::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 >.

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 ( SizeValueType  _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 187 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 199 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 165 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 265 of file itkVoronoiSegmentationImageFilterBase.h.

Member Data Documentation

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
constexpr unsigned int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::ImageDimension = TInputImage::ImageDimension
static

Get the image dimension from the template parameter.

Definition at line 78 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
bool itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_InteractiveSegmentation {false}
protected

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

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
int itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_LastStepSeeds {0}
protected

Definition at line 236 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 243 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
SizeValueType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_MinRegion {20}
protected

Definition at line 234 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 238 of file itkVoronoiSegmentationImageFilterBase.h.

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image< unsigned char, 2 >>
std::vector< SizeValueType > itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_NumberOfPixels
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_NumberOfSeeds {200}
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_NumberOfSeedsToAdded {0}
protected

Definition at line 237 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 245 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 253 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 232 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 235 of file itkVoronoiSegmentationImageFilterBase.h.

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

Definition at line 244 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 251 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

Definition at line 249 of file itkVoronoiSegmentationImageFilterBase.h.


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