ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public 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 >:

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

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- 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 ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput (unsigned int idx)
 
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 AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
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 PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
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 ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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 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 void SetGlobalDefaultDirectionTolerance (double)
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static double GetGlobalDefaultCoordinateTolerance ()
 
- 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
 
SizeType m_Size
 
int m_NumberOfSeeds { 200 }
 
SizeValueType m_MinRegion { 20 }
 
int m_Steps { 0 }
 
int m_LastStepSeeds { 0 }
 
int m_NumberOfSeedsToAdded { 0 }
 
int m_NumberOfBoundary { 0 }
 
std::vector< SizeValueTypem_NumberOfPixels
 
std::vector< unsigned char > m_Label
 
double m_MeanDeviation { 0.8 }
 
bool m_UseBackgroundInAPrior { false }
 
bool m_OutputBoundary { false }
 
bool m_InteractiveSegmentation { false }
 
VoronoiDiagram::Pointer m_WorkingVD
 
VoronoiDiagramGenerator::Pointer m_VDGenerator
 
std::vector< PointTypem_SeedsToAdded
 
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 int GetLastStepSeeds () const
 
virtual int GetNumberOfSeedsToAdded () 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
 
virtual void TakeAPrior (const BinaryObjectImage *)
 
void RunSegment ()
 
void RunSegmentOneStep ()
 
virtual void MakeSegmentBoundary ()
 
virtual void MakeSegmentObject ()
 
VoronoiPointer GetVoronoiDiagram ()
 
void SetSeeds (int num, SeedsIterator begin)
 
void SetSeeds (SeedsType &seeds)
 
PointType GetSeed (int SeedID)
 
void DrawDiagram (VDImagePointer result, unsigned char incolor, unsigned char outcolor, unsigned char boundcolor)
 
void BeforeNextStep ()
 
void GenerateInputRequestedRegion () override
 
void EnlargeOutputRequestedRegion (DataObject *output) override
 
 VoronoiSegmentationImageFilterBase ()
 
 ~VoronoiSegmentationImageFilterBase () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void GenerateData () override
 
virtual void ClassifyDiagram ()
 
virtual void GenerateAddingSeeds ()
 
void GetPixelIndexFromPolygon (PointTypeDeque vertlist, IndexList *PixelPool)
 
virtual bool TestHomogeneity (IndexList &)
 
void FillPolygon (PointTypeDeque vertlist, OutputPixelType color=1)
 
void drawLine (PointType p1, PointType p2)
 
void drawVDline (VDImagePointer result, PointType p1, PointType p2, unsigned char color)
 

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 >
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override=default
 
void VerifyInputInformation () ITKv5_CONST override
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
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
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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 ()
 
- 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
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

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 imagefilters from this class, by implementing the virtual methods

Detailed information about this algorithm can be found in: " Semi-automated color segmentation of anatomical tissue," C. Imelinska, M. Downes, and W. Yuan Computerized Medical Imaging and Graphics, Vor.24, pp 173-180, 2000.

Definition at line 59 of file itkVoronoiSegmentationImageFilterBase.h.

Member Typedef Documentation

◆ 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

Set/Get the initial number of seeds for VD.

◆ ~VoronoiSegmentationImageFilterBase()

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

Set/Get the initial number of seeds for VD.

Member Function Documentation

◆ BeforeNextStep()

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

Set/Get the initial number of seeds for VD.

◆ ClassifyDiagram()

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

Set/Get the initial number of seeds for VD.

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

◆ CreateAnother()

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.

◆ 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

Set/Get the initial number of seeds for VD.

◆ 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

Set/Get the initial number of seeds for VD.

◆ 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

Set/Get the initial number of seeds for VD.

◆ GenerateAddingSeeds()

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

Set/Get the initial number of seeds for VD.

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

◆ GenerateData()

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

◆ 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 initial number of seeds for VD.

◆ 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 initial number of seeds for VD.

◆ GetNameOfClass()

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

◆ 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

Set/Get the initial number of seeds for VD.

◆ GetPixelIndexFromPolygon()

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

Set/Get the initial number of seeds for VD.

◆ 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 initial number of seeds for VD.

◆ 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 initial number of seeds for VD.

◆ GetUseBackgroundInAPrior()

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

Set/Get the initial number of seeds for VD.

◆ GetVoronoiDiagram()

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

◆ InteractiveSegmentationOff()

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

Set/Get the initial number of seeds for VD.

◆ InteractiveSegmentationOn()

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

Set/Get the initial number of seeds for VD.

◆ 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

Set/Get the initial number of seeds for VD.

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

◆ 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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

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

Set/Get the initial number of seeds for VD.

Definition at line 287 of file itkVoronoiSegmentationImageFilterBase.h.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

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

Set/Get the initial number of seeds for VD.

Definition at line 267 of file itkVoronoiSegmentationImageFilterBase.h.


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