ITK  5.0.0
Insight Segmentation and Registration 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>

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

Detailed Description

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

Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.

Definition at line 34 of file itkLevelSetDomainPartitionImageWithKdTree.h.

Public Types

using CentroidVectorType = typename ListPointType::VectorType
 
using ConstPointer = SmartPointer< const Self >
 
using IdentifierListType = typename Superclass::IdentifierListType
 
using ImageType = TImage
 
using KdTreePointer = typename TreeType::Pointer
 
using ListIndexType = typename Superclass::ListIndexType
 
using ListIteratorType = typename Superclass::ListIteratorType
 
using ListPointType = typename Superclass::ListPointType
 
using ListRegionType = typename Superclass::ListRegionType
 
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 IdentifierListType = typename Superclass::IdentifierListType
 
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

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
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
LevelSetDomainRegionVectorType
GetLevelSetDomainRegionVector () const
 
virtual const ListImageTypeGetListDomain () 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 >
virtual void SetNumberOfLevelSetFunctions (IdentifierType _arg)
 
virtual IdentifierType GetNumberOfLevelSetFunctions ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::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 flag)
 
- 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 &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

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

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

Definition at line 59 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 43 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 57 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 52 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 64 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 53 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 56 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 55 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 54 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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.

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

Definition at line 42 of file itkLevelSetDomainPartitionImageWithKdTree.h.

template<typename TImage >
using itk::LevelSetDomainPartitionImageWithKdTree< TImage >::SampleType = typename Statistics::ListSample< CentroidVectorType >

Definition at line 60 of file itkLevelSetDomainPartitionImageWithKdTree.h.

Definition at line 40 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 41 of file itkLevelSetDomainPartitionImageWithKdTree.h.

Definition at line 61 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 62 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 63 of file itkLevelSetDomainPartitionImageWithKdTree.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename TImage >
virtual::itk::LightObject::Pointer itk::LevelSetDomainPartitionImageWithKdTree< TImage >::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::LevelSetDomainPartitionImage< TImage >.

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

Standard part of all itk objects.

Reimplemented from itk::LevelSetDomainPartitionImage< TImage >.

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

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

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

Method for creation through the object factory.

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

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

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

Initialize with a precomputed kd-tree

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

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

Definition at line 45 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 90 of file itkLevelSetDomainPartitionImageWithKdTree.h.

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

Definition at line 91 of file itkLevelSetDomainPartitionImageWithKdTree.h.


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