ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::LevelSetDomainPartitionImageWithKdTree< TImage > Class Template Reference

#include <itkLevelSetDomainPartitionImageWithKdTree.h>

Detailed Description

template<typename TImage>
class itk::LevelSetDomainPartitionImageWithKdTree< TImage >

Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.

Definition at line 35 of file itkLevelSetDomainPartitionImageWithKdTree.h.

+ Inheritance diagram for itk::LevelSetDomainPartitionImageWithKdTree< TImage >:
+ Collaboration diagram for itk::LevelSetDomainPartitionImageWithKdTree< TImage >:

Public Types

using CentroidVectorType = typename ListPointType::VectorType
 
using ConstPointer = SmartPointer< const Self >
 
using ImageType = TImage
 
using KdTreePointer = typename TreeType::Pointer
 
using NeighborsIdType = unsigned int
 
using Pointer = SmartPointer< Self >
 
using SampleType = typename Statistics::ListSample< CentroidVectorType >
 
using Self = LevelSetDomainPartitionImageWithKdTree
 
using Superclass = LevelSetDomainPartitionImage< TImage >
 
using TreeGeneratorType = typename Statistics::KdTreeGenerator< SampleType >
 
using TreePointer = typename TreeGeneratorType::Pointer
 
using TreeType = typename TreeGeneratorType::KdTreeType
 
- Public Types inherited from itk::LevelSetDomainPartitionImage< TImage >
using ConstPointer = SmartPointer< const Self >
 
using ImageConstPointer = typename ImageType::ConstPointer
 
using ImagePointer = typename ImageType::Pointer
 
using ImageType = TImage
 
using IndexType = typename ImageType::IndexType
 
using IndexValueType = typename IndexType::IndexValueType
 
using LevelSetDomainRegionVectorType = std::vector< RegionType >
 
using ListImageConstPointer = typename ListImageType::ConstPointer
 
using ListImagePointer = typename ListImageType::Pointer
 
using ListImageType = Image< IdentifierListType, ImageDimension >
 
using ListIndexType = typename ListImageType::IndexType
 
using ListIndexValueType = typename ListIndexType::IndexValueType
 
using ListIteratorType = ImageRegionIteratorWithIndex< ListImageType >
 
using ListPointType = typename ListImageType::PointType
 
using ListRegionType = typename ListImageType::RegionType
 
using ListSizeType = typename ListImageType::SizeType
 
using ListSizeValueType = typename ListSizeType::SizeValueType
 
using ListSpacingType = typename ListImageType::SpacingType
 
using PixelType = typename ImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using PointType = typename ImageType::PointType
 
using RegionType = typename ImageType::RegionType
 
using Self = LevelSetDomainPartitionImage
 
using SizeType = typename ImageType::SizeType
 
using SizeValueType = typename SizeType::SizeValueType
 
using SpacingType = typename ImageType::SpacingType
 
using Superclass = LevelSetDomainPartitionBase< TImage >
 
- Public Types inherited from itk::LevelSetDomainPartitionBase< TImage >
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LevelSetDomainPartitionBase
 
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

const char * GetNameOfClass () const override
 
void PopulateListDomain () override
 
virtual void SetKdTree (TreeType *_arg)
 
virtual void SetNumberOfNeighbors (NeighborsIdType _arg)
 
virtual NeighborsIdType GetNumberOfNeighbors ()
 
- Public Member Functions inherited from itk::LevelSetDomainPartitionImage< TImage >
const LevelSetDomainRegionVectorTypeGetLevelSetDomainRegionVector () const
 
virtual ListImageTypeGetModifiableListDomain ()
 
void SetLevelSetDomainRegionVector (const LevelSetDomainRegionVectorType &domain)
 
virtual void SetImage (const ImageType *_arg)
 
virtual const ImageTypeGetImage () const
 
- Public Member Functions inherited from itk::LevelSetDomainPartitionBase< TImage >
const char * GetNameOfClass () const override
 
virtual void SetNumberOfLevelSetFunctions (IdentifierType _arg)
 
virtual IdentifierType GetNumberOfLevelSetFunctions ()
 
- 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::LevelSetDomainPartitionImage< TImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::LevelSetDomainPartitionImage< TImage >
static constexpr unsigned int ImageDimension = TImage::ImageDimension
 

Protected Member Functions

 LevelSetDomainPartitionImageWithKdTree ()
 
void PopulateDomainWithKdTree ()
 
 ~LevelSetDomainPartitionImageWithKdTree () override=default
 
- Protected Member Functions inherited from itk::LevelSetDomainPartitionImage< TImage >
void AllocateListDomain () override
 
 LevelSetDomainPartitionImage ()=default
 
 ~LevelSetDomainPartitionImage () override=default
 
- Protected Member Functions inherited from itk::LevelSetDomainPartitionBase< TImage >
 LevelSetDomainPartitionBase ()
 
 ~LevelSetDomainPartitionBase () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
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 Attributes

KdTreePointer m_KdTree {}
 
NeighborsIdType m_NumberOfNeighbors { 10 }
 

Additional Inherited Members

- Protected Types inherited from itk::LevelSetDomainPartitionBase< TImage >
using IdentifierListConstIterator = typename IdentifierListType::const_iterator
 
using IdentifierListIterator = typename IdentifierListType::iterator
 
using IdentifierListType = std::list< IdentifierType >
 
- Protected Attributes inherited from itk::LevelSetDomainPartitionImage< TImage >
ImageConstPointer m_Image {}
 
LevelSetDomainRegionVectorType m_LevelSetDomainRegionVector {}
 
ListImagePointer m_ListDomain {}
 
- Protected Attributes inherited from itk::LevelSetDomainPartitionBase< TImage >
IdentifierType m_NumberOfLevelSetFunctions
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ CentroidVectorType

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::CentroidVectorType = typename ListPointType::VectorType

Definition at line 59 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ ConstPointer

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::ConstPointer = SmartPointer<const Self>

Definition at line 43 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ ImageType

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::ImageType = TImage

Definition at line 52 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ KdTreePointer

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::KdTreePointer = typename TreeType::Pointer

Definition at line 64 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ NeighborsIdType

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::NeighborsIdType = unsigned int

Number of neighbors level sets connected to this level set.

Definition at line 70 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ Pointer

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::Pointer = SmartPointer<Self>

Definition at line 42 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ SampleType

Definition at line 60 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ Self

Definition at line 40 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ Superclass

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::Superclass = LevelSetDomainPartitionImage<TImage>

Definition at line 41 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ TreeGeneratorType

Definition at line 61 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ TreePointer

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::TreePointer = typename TreeGeneratorType::Pointer

Definition at line 62 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ TreeType

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::TreeType = typename TreeGeneratorType::KdTreeType

Definition at line 63 of file itkLevelSetDomainPartitionImageWithKdTree.h.

Constructor & Destructor Documentation

◆ LevelSetDomainPartitionImageWithKdTree()

template<typename TImage >
itk::LevelSetDomainPartitionImageWithKdTree< TImage >::LevelSetDomainPartitionImageWithKdTree ( )
protected

◆ ~LevelSetDomainPartitionImageWithKdTree()

template<typename TImage >
itk::LevelSetDomainPartitionImageWithKdTree< TImage >::~LevelSetDomainPartitionImageWithKdTree ( )
overrideprotecteddefault

Member Function Documentation

◆ GetNameOfClass()

template<typename TImage >
const char* itk::LevelSetDomainPartitionImageWithKdTree< TImage >::GetNameOfClass ( ) const
overridevirtual

◆ GetNumberOfNeighbors()

template<typename TImage >
virtual NeighborsIdType itk::LevelSetDomainPartitionImageWithKdTree< TImage >::GetNumberOfNeighbors ( )
virtual

Get/Set number of neighbors in the kd-tree leaf node

◆ New()

template<typename TImage >
static Pointer itk::LevelSetDomainPartitionImageWithKdTree< TImage >::New ( )
static

Method for creation through the object factory.

◆ PopulateDomainWithKdTree()

template<typename TImage >
void itk::LevelSetDomainPartitionImageWithKdTree< TImage >::PopulateDomainWithKdTree ( )
protected

Populate a list image with each pixel being a list of overlapping level set support at that pixel

◆ PopulateListDomain()

template<typename TImage >
void itk::LevelSetDomainPartitionImageWithKdTree< TImage >::PopulateListDomain ( )
overridevirtual

Populate a list image with each pixel being a list of overlapping level set support at that pixel

Reimplemented from itk::LevelSetDomainPartitionImage< TImage >.

◆ SetKdTree()

template<typename TImage >
virtual void itk::LevelSetDomainPartitionImageWithKdTree< TImage >::SetKdTree ( TreeType _arg)
virtual

Initialize with a precomputed kd-tree

◆ SetNumberOfNeighbors()

template<typename TImage >
virtual void itk::LevelSetDomainPartitionImageWithKdTree< TImage >::SetNumberOfNeighbors ( NeighborsIdType  _arg)
virtual

Get/Set number of neighbors in the kd-tree leaf node

Member Data Documentation

◆ ImageDimension

template<typename TImage >
constexpr unsigned int itk::LevelSetDomainPartitionImageWithKdTree< TImage >::ImageDimension = Superclass::ImageDimension
staticconstexpr

Definition at line 45 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ m_KdTree

template<typename TImage >
KdTreePointer itk::LevelSetDomainPartitionImageWithKdTree< TImage >::m_KdTree {}
private

Definition at line 92 of file itkLevelSetDomainPartitionImageWithKdTree.h.

◆ m_NumberOfNeighbors

template<typename TImage >
NeighborsIdType itk::LevelSetDomainPartitionImageWithKdTree< TImage >::m_NumberOfNeighbors { 10 }
private

Definition at line 93 of file itkLevelSetDomainPartitionImageWithKdTree.h.


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