ITK  6.0.0
Insight 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>

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 segmentation 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 segmentation, single channel or multiple channel image segmentation can be implemented by deriving image filters 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.

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

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 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 ()
 
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
 
const char * GetNameOfClass () const override
 
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 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 *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetInput (const InputImageType *input)
 
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 *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
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 float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
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 val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
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) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
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
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- 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 () const override
 
 ~ImageToImageFilter () override=default
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
- 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 DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () 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 PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
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 idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions () 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 i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~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 { true }
 
- 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 ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject >
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

Member Typedef Documentation

◆ BinaryObjectImage

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

Definition at line 105 of file itkVoronoiSegmentationImageFilterBase.h.

◆ BinaryObjectImagePointer

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

Definition at line 106 of file itkVoronoiSegmentationImageFilterBase.h.

◆ CellAutoPointer

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

Definition at line 95 of file itkVoronoiSegmentationImageFilterBase.h.

◆ CellType

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

Definition at line 94 of file itkVoronoiSegmentationImageFilterBase.h.

◆ ConstPointer

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

Definition at line 68 of file itkVoronoiSegmentationImageFilterBase.h.

◆ EdgeInfo

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

Definition at line 102 of file itkVoronoiSegmentationImageFilterBase.h.

◆ EdgeIterator

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

Definition at line 101 of file itkVoronoiSegmentationImageFilterBase.h.

◆ IndexList

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

Definition at line 107 of file itkVoronoiSegmentationImageFilterBase.h.

◆ IndexType

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

Definition at line 83 of file itkVoronoiSegmentationImageFilterBase.h.

◆ InputImageConstPointer

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

Definition at line 82 of file itkVoronoiSegmentationImageFilterBase.h.

◆ InputImagePointer

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

Definition at line 81 of file itkVoronoiSegmentationImageFilterBase.h.

◆ InputImageType

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 80 of file itkVoronoiSegmentationImageFilterBase.h.

◆ NeighborIdIterator

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

Definition at line 100 of file itkVoronoiSegmentationImageFilterBase.h.

◆ OutputImageType

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

Definition at line 88 of file itkVoronoiSegmentationImageFilterBase.h.

◆ OutputPixelType

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

Definition at line 89 of file itkVoronoiSegmentationImageFilterBase.h.

◆ PixelType

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

Definition at line 86 of file itkVoronoiSegmentationImageFilterBase.h.

◆ Pointer

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

Definition at line 67 of file itkVoronoiSegmentationImageFilterBase.h.

◆ PointIdIterator

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

Definition at line 97 of file itkVoronoiSegmentationImageFilterBase.h.

◆ PointType

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

Definition at line 93 of file itkVoronoiSegmentationImageFilterBase.h.

◆ PointTypeDeque

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

Definition at line 104 of file itkVoronoiSegmentationImageFilterBase.h.

◆ PointTypeVector

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

Definition at line 103 of file itkVoronoiSegmentationImageFilterBase.h.

◆ RegionType

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

Definition at line 85 of file itkVoronoiSegmentationImageFilterBase.h.

◆ SeedsIterator

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

Definition at line 99 of file itkVoronoiSegmentationImageFilterBase.h.

◆ SeedsType

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

Definition at line 98 of file itkVoronoiSegmentationImageFilterBase.h.

◆ Self

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 65 of file itkVoronoiSegmentationImageFilterBase.h.

◆ SizeType

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

Definition at line 84 of file itkVoronoiSegmentationImageFilterBase.h.

◆ Superclass

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

Definition at line 66 of file itkVoronoiSegmentationImageFilterBase.h.

◆ VDImage

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 110 of file itkVoronoiSegmentationImageFilterBase.h.

◆ VDImagePointer

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

Definition at line 111 of file itkVoronoiSegmentationImageFilterBase.h.

◆ VoronoiDiagram

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

Definition at line 91 of file itkVoronoiSegmentationImageFilterBase.h.

◆ VoronoiDiagramGenerator

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

Definition at line 92 of file itkVoronoiSegmentationImageFilterBase.h.

◆ VoronoiPointer

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

Definition at line 96 of file itkVoronoiSegmentationImageFilterBase.h.

Constructor & Destructor Documentation

◆ VoronoiSegmentationImageFilterBase()

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

◆ ~VoronoiSegmentationImageFilterBase()

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

Member Function Documentation

◆ BeforeNextStep()

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

◆ ClassifyDiagram()

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

◆ DrawDiagram()

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.

◆ drawLine()

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image<unsigned char, 2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::drawLine ( PointType  p1,
PointType  p2 
)
protected

◆ drawVDline()

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

◆ EnlargeOutputRequestedRegion()

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.

◆ FillPolygon()

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

◆ GenerateAddingSeeds()

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

◆ GenerateData()

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 >.

◆ GenerateInputRequestedRegion()

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 >.

◆ GetInteractiveSegmentation()

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 interactive sessions. The setting of OutputBoundary determines the type of output.

◆ GetLastStepSeeds()

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.

◆ GetMeanDeviation()

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.

◆ GetMinRegion()

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.

◆ GetNameOfClass()

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image<unsigned char, 2>>
const char* itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetNameOfClass ( ) const
overridevirtual

◆ GetNumberOfSeeds()

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.

◆ GetNumberOfSeedsToAdded()

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.

◆ GetOutputBoundary()

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.

◆ GetPixelIndexFromPolygon()

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image<unsigned char, 2>>
void itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetPixelIndexFromPolygon ( PointTypeDeque  vertlist,
IndexList PixelPool 
)
protected

◆ GetSeed()

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 219 of file itkVoronoiSegmentationImageFilterBase.h.

◆ GetSize()

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.

◆ GetSteps()

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).

◆ GetUseBackgroundInAPrior()

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

◆ GetVoronoiDiagram()

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image<unsigned char, 2>>
VoronoiPointer itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::GetVoronoiDiagram ( )
inline

Return the Voronoi Diagram structure.

Definition at line 185 of file itkVoronoiSegmentationImageFilterBase.h.

◆ InteractiveSegmentationOn()

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 interactive sessions. The setting of OutputBoundary determines the type of output.

◆ MakeSegmentBoundary()

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 >.

◆ MakeSegmentObject()

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

◆ New()

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.

◆ PrintSelf()

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 >.

◆ RunSegment()

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

Perform the segmentation.

◆ RunSegmentOneStep()

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

Perform the segmentation.

◆ SetInteractiveSegmentation()

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 interactive sessions. The setting of OutputBoundary determines the type of output.

◆ SetMeanDeviation()

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.

◆ SetMinRegion()

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.

◆ SetNumberOfSeeds()

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.

◆ SetOutputBoundary()

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.

◆ SetSeeds() [1/2]

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 196 of file itkVoronoiSegmentationImageFilterBase.h.

◆ SetSeeds() [2/2]

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 209 of file itkVoronoiSegmentationImageFilterBase.h.

◆ SetSize()

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.

◆ SetSteps()

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).

◆ SetUseBackgroundInAPrior()

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

◆ TakeAPrior()

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.

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

Definition at line 165 of file itkVoronoiSegmentationImageFilterBase.h.

◆ TestHomogeneity()

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

Member Data Documentation

◆ ImageDimension

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

Get the image dimension from the template parameter.

Definition at line 77 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_InteractiveSegmentation

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

Definition at line 265 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_Label

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 259 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_LastStepSeeds

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

Definition at line 254 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_MeanDeviation

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 261 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_MinRegion

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

Definition at line 252 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_NumberOfBoundary

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

Definition at line 256 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_NumberOfPixels

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 258 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_NumberOfSeeds

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

Definition at line 251 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_NumberOfSeedsToAdded

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

Definition at line 255 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_OutputBoundary

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

Definition at line 263 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_SeedsToAdded

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 271 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_Size

template<typename TInputImage, typename TOutputImage, typename TBinaryPriorImage = Image<unsigned char, 2>>
SizeType itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >::m_Size {}
protected

Definition at line 250 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_Steps

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

Definition at line 253 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_UseBackgroundInAPrior

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

Definition at line 262 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_VDGenerator

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

Definition at line 269 of file itkVoronoiSegmentationImageFilterBase.h.

◆ m_WorkingVD

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

Definition at line 267 of file itkVoronoiSegmentationImageFilterBase.h.


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