ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage > Class Template Reference

#include <itkVoronoiSegmentationImageFilter.h>

Detailed Description

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

Perform the segmentation of 2D images (single channel) by Voronoi Diagram. Used as a node of the segmentation toolkits. The homogeneity operator here is the testing of mean and standard deviation value. By setting the tolerance level, the "internal" region was defined as those that is closed to the gold-standard value in the sense that the difference is within the tolerance value.

See VoronoiSegmentationImageFilterBase for detail description of voronoi segmentation principles.

The parameters here are:

  1. the estimation of the statistics of the object. (mean and std.)
  2. the tolerance for the classification. (around the mean ans std. estimated value).

The parameters can also be automatically set by given a prior, as a binary image.

Detail 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 53 of file itkVoronoiSegmentationImageFilter.h.

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

Public Types

using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = VoronoiSegmentationImageFilter
 
using Superclass = VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >
 
- Public Types inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >
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

virtual double GetMeanPercentError () const
 
const char * GetNameOfClass () const override
 
virtual double GetSTDTolerance () const
 
void SetMeanPercentError (double x)
 
virtual void SetSTDTolerance (double _arg)
 
void TakeAPrior (const BinaryObjectImage *aprior) override
 
virtual void SetMean (double _arg)
 
virtual double GetMean () const
 
virtual void SetSTD (double _arg)
 
virtual double GetSTD () const
 
virtual void SetMeanTolerance (double _arg)
 
virtual double GetMeanTolerance () const
 
virtual double GetSTDPercentError () const
 
void SetSTDPercentError (double x)
 
- Public Member Functions inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >
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 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::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >
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 InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >
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

void PrintSelf (std::ostream &os, Indent indent) const override
 
 VoronoiSegmentationImageFilter ()=default
 
 ~VoronoiSegmentationImageFilter () override=default
 
- Protected Member Functions inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >
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
 
 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 ()
 

Private Member Functions

bool TestHomogeneity (IndexList &Plist) override
 

Private Attributes

double m_Mean { 0.0 }
 
double m_MeanPercentError { 0.10 }
 
double m_MeanTolerance { 0.0 }
 
double m_STD { 0.0 }
 
double m_STDPercentError { 1.5 }
 
double m_STDTolerance { 0.0 }
 

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)
 
- Protected Attributes inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >
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 {}
 

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 63 of file itkVoronoiSegmentationImageFilter.h.

◆ Pointer

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

Definition at line 62 of file itkVoronoiSegmentationImageFilter.h.

◆ Self

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

Standard class type aliases.

Definition at line 60 of file itkVoronoiSegmentationImageFilter.h.

◆ Superclass

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

Definition at line 61 of file itkVoronoiSegmentationImageFilter.h.

Constructor & Destructor Documentation

◆ VoronoiSegmentationImageFilter()

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

◆ ~VoronoiSegmentationImageFilter()

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

Member Function Documentation

◆ GetMean()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetMean ( ) const
virtual

Set/Get the Estimation of the mean pixel value for the object.

◆ GetMeanPercentError()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetMeanPercentError ( ) const
virtual

◆ GetMeanTolerance()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetMeanTolerance ( ) const
virtual

Set/Get the Tolerance of Mean for classifying the regions.

◆ GetNameOfClass()

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

◆ GetSTD()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetSTD ( ) const
virtual

Set/Get the estimation of the STD of the pixel value for the object.

◆ GetSTDPercentError()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetSTDPercentError ( ) const
virtual

Set/Get the STD percent error.

◆ GetSTDTolerance()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::GetSTDTolerance ( ) const
virtual

Get the Tolerance of Variance for classifying the regions.

◆ New()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
static Pointer itk::VoronoiSegmentationImageFilter< 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::VoronoiSegmentationImageFilter< 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 >.

◆ SetMean()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetMean ( double  _arg)
virtual

Set/Get the Estimation of the mean pixel value for the object.

◆ SetMeanPercentError()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetMeanPercentError ( double  x)

Set/Get the mean percent error.

◆ SetMeanTolerance()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetMeanTolerance ( double  _arg)
virtual

Set/Get the Tolerance of Mean for classifying the regions.

◆ SetSTD()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetSTD ( double  _arg)
virtual

Set/Get the estimation of the STD of the pixel value for the object.

◆ SetSTDPercentError()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetSTDPercentError ( double  x)

Set/Get the STD percent error.

◆ SetSTDTolerance()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
virtual void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::SetSTDTolerance ( double  _arg)
virtual

Set the Tolerance of STD for classifying the regions.

◆ TakeAPrior()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
void itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::TakeAPrior ( const BinaryObjectImage aprior)
overridevirtual

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

Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage, TBinaryPriorImage >.

◆ TestHomogeneity()

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
bool itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::TestHomogeneity ( IndexList Plist)
overrideprivatevirtual

Member Data Documentation

◆ InputImageDimension

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

ImageDimension enumeration

Definition at line 118 of file itkVoronoiSegmentationImageFilter.h.

◆ m_Mean

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_Mean { 0.0 }
private

Definition at line 135 of file itkVoronoiSegmentationImageFilter.h.

◆ m_MeanPercentError

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_MeanPercentError { 0.10 }
private

Definition at line 139 of file itkVoronoiSegmentationImageFilter.h.

◆ m_MeanTolerance

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_MeanTolerance { 0.0 }
private

Definition at line 137 of file itkVoronoiSegmentationImageFilter.h.

◆ m_STD

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_STD { 0.0 }
private

Definition at line 136 of file itkVoronoiSegmentationImageFilter.h.

◆ m_STDPercentError

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_STDPercentError { 1.5 }
private

Definition at line 140 of file itkVoronoiSegmentationImageFilter.h.

◆ m_STDTolerance

template<typename TInputImage , typename TOutputImage , typename TBinaryPriorImage = Image<unsigned char, 2>>
double itk::VoronoiSegmentationImageFilter< TInputImage, TOutputImage, TBinaryPriorImage >::m_STDTolerance { 0.0 }
private

Definition at line 138 of file itkVoronoiSegmentationImageFilter.h.

◆ OutputImageDimension

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

Definition at line 119 of file itkVoronoiSegmentationImageFilter.h.


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