ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > Class Template Reference

#include <itkRegionBasedLevelSetFunctionData.h>

+ Inheritance diagram for itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >:
+ Collaboration diagram for itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FeatureImageConstPointer = typename FeatureImageType::ConstPointer
 
using FeatureImagePointer = typename FeatureImageType::Pointer
 
using FeatureImageType = TFeatureImage
 
using FeatureIndexType = typename FeatureImageType::IndexType
 
using FeaturePixelType = typename FeatureImageType::PixelType
 
using FeaturePointType = typename FeatureImageType::PointType
 
using FeatureRegionType = typename FeatureImageType::RegionType
 
using FeatureSizeType = typename FeatureImageType::SizeType
 
using FeatureSizeValueType = typename FeatureSizeType::SizeValueType
 
using FeatureSpacingType = typename FeatureImageType::SpacingType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageType = TInputImage
 
using InputIndexType = typename InputImageType::IndexType
 
using InputIndexValueType = typename InputIndexType::IndexValueType
 
using InputPixelType = typename InputImageType::PixelType
 
using InputPointType = typename InputImageType::PointType
 
using InputRegionType = typename InputImageType::RegionType
 
using InputSizeType = typename InputImageType::SizeType
 
using InputSizeValueType = typename InputSizeType::SizeValueType
 
using InputSpacingType = typename InputImageType::SpacingType
 
using Pointer = SmartPointer< Self >
 
using Self = RegionBasedLevelSetFunctionData
 
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
 
void CreateHeavisideFunctionOfLevelSetImage (const InputImageType *image)
 
FeatureIndexType GetFeatureIndex (const InputIndexType &inputIndex)
 
InputIndexType GetIndex (const FeatureIndexType &featureIndex)
 
virtual const char * GetNameOfClass () const
 
template<typename TIndex >
bool VerifyInsideRegion (const TIndex &featureIndex)
 
- 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
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Public Attributes

InputIndexType m_End
 
InputImagePointer m_HeavisideFunctionOfLevelSetImage
 
InputIndexType m_Start
 
double m_WeightedNumberOfPixelsInsideLevelSet
 
double m_WeightedNumberOfPixelsOutsideLevelSet
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension
 

Protected Member Functions

 RegionBasedLevelSetFunctionData ()
 
 ~RegionBasedLevelSetFunctionData () override=default
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TInputImage, typename TFeatureImage>
class itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >

Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.

This class holds cache data used during the computation of the LevelSet updates.

Based on the paper:

   "An active contour model without edges"
    T. Chan and L. Vese.
    In Scale-Space Theories in Computer Vision, pages 141-151, 1999.
Author
Mosaliganti K., Smith B., Gelas A., Gouaillard A., Megason S.

This code was taken from the Insight Journal paper:

"Cell Tracking using Coupled Active Surfaces for Nuclei and Membranes"
http://www.insight-journal.org/browse/publication/642
https://hdl.handle.net/10380/3055

That is based on the papers:

"Level Set Segmentation: Active Contours without edge"
http://www.insight-journal.org/browse/publication/322
https://hdl.handle.net/1926/1532

and

"Level set segmentation using coupled active surfaces"
http://www.insight-journal.org/browse/publication/323
https://hdl.handle.net/1926/1533

Definition at line 68 of file itkRegionBasedLevelSetFunctionData.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::ConstPointer = SmartPointer<const Self>

Definition at line 76 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureImageConstPointer

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImageConstPointer = typename FeatureImageType::ConstPointer

Definition at line 99 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureImagePointer

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImagePointer = typename FeatureImageType::Pointer

Definition at line 98 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureImageType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImageType = TFeatureImage

Definition at line 97 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureIndexType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureIndexType = typename FeatureImageType::IndexType

Definition at line 105 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeaturePixelType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeaturePixelType = typename FeatureImageType::PixelType

Definition at line 100 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeaturePointType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeaturePointType = typename FeatureImageType::PointType

Definition at line 106 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureRegionType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureRegionType = typename FeatureImageType::RegionType

Definition at line 101 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureSizeType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSizeType = typename FeatureImageType::SizeType

Definition at line 102 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureSizeValueType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSizeValueType = typename FeatureSizeType::SizeValueType

Definition at line 103 of file itkRegionBasedLevelSetFunctionData.h.

◆ FeatureSpacingType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSpacingType = typename FeatureImageType::SpacingType

Definition at line 104 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputImageConstPointer = typename InputImageType::ConstPointer

Definition at line 87 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputImagePointer

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputImagePointer = typename InputImageType::Pointer

Definition at line 86 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputImageType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputImageType = TInputImage

Definition at line 85 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputIndexType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputIndexType = typename InputImageType::IndexType

Definition at line 93 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputIndexValueType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputIndexValueType = typename InputIndexType::IndexValueType

Definition at line 94 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputPixelType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputPixelType = typename InputImageType::PixelType

Definition at line 88 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputPointType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputPointType = typename InputImageType::PointType

Definition at line 95 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputRegionType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputRegionType = typename InputImageType::RegionType

Definition at line 89 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputSizeType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputSizeType = typename InputImageType::SizeType

Definition at line 90 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputSizeValueType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputSizeValueType = typename InputSizeType::SizeValueType

Definition at line 91 of file itkRegionBasedLevelSetFunctionData.h.

◆ InputSpacingType

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputSpacingType = typename InputImageType::SpacingType

Definition at line 92 of file itkRegionBasedLevelSetFunctionData.h.

◆ Pointer

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::Pointer = SmartPointer<Self>

Definition at line 75 of file itkRegionBasedLevelSetFunctionData.h.

◆ Self

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::Self = RegionBasedLevelSetFunctionData

Definition at line 73 of file itkRegionBasedLevelSetFunctionData.h.

◆ Superclass

template<typename TInputImage , typename TFeatureImage >
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::Superclass = LightObject

Definition at line 74 of file itkRegionBasedLevelSetFunctionData.h.

Constructor & Destructor Documentation

◆ RegionBasedLevelSetFunctionData()

template<typename TInputImage , typename TFeatureImage >
itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::RegionBasedLevelSetFunctionData ( )
protected

◆ ~RegionBasedLevelSetFunctionData()

template<typename TInputImage , typename TFeatureImage >
itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::~RegionBasedLevelSetFunctionData ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage , typename TFeatureImage >
virtual::itk::LightObject::Pointer itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::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::LightObject.

Reimplemented in itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >.

◆ CreateHeavisideFunctionOfLevelSetImage()

template<typename TInputImage , typename TFeatureImage >
void itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::CreateHeavisideFunctionOfLevelSetImage ( const InputImageType image)

◆ GetFeatureIndex()

template<typename TInputImage , typename TFeatureImage >
FeatureIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::GetFeatureIndex ( const InputIndexType inputIndex)

◆ GetIndex()

template<typename TInputImage , typename TFeatureImage >
InputIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::GetIndex ( const FeatureIndexType featureIndex)

◆ GetNameOfClass()

template<typename TInputImage , typename TFeatureImage >
virtual const char* itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::GetNameOfClass ( ) const
virtual

Return the name of this class as a string. Used by the object factory (implemented in New()) to instantiate objects of a named type. Also used for debugging and other output information.

Reimplemented from itk::LightObject.

Reimplemented in itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >.

◆ New()

template<typename TInputImage , typename TFeatureImage >
static Pointer itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::New ( )
static

Method for creation through the object factory.

◆ VerifyInsideRegion()

template<typename TInputImage , typename TFeatureImage >
template<typename TIndex >
bool itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::VerifyInsideRegion ( const TIndex &  featureIndex)
inline

Definition at line 117 of file itkRegionBasedLevelSetFunctionData.h.

Member Data Documentation

◆ ImageDimension

template<typename TInputImage , typename TFeatureImage >
constexpr unsigned int itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::ImageDimension = TFeatureImage::ImageDimension
staticconstexpr

Definition at line 78 of file itkRegionBasedLevelSetFunctionData.h.

◆ m_End

template<typename TInputImage , typename TFeatureImage >
InputIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_End

Definition at line 143 of file itkRegionBasedLevelSetFunctionData.h.

◆ m_HeavisideFunctionOfLevelSetImage

template<typename TInputImage , typename TFeatureImage >
InputImagePointer itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_HeavisideFunctionOfLevelSetImage

Definition at line 141 of file itkRegionBasedLevelSetFunctionData.h.

◆ m_Start

template<typename TInputImage , typename TFeatureImage >
InputIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_Start

Definition at line 142 of file itkRegionBasedLevelSetFunctionData.h.

◆ m_WeightedNumberOfPixelsInsideLevelSet

template<typename TInputImage , typename TFeatureImage >
double itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedNumberOfPixelsInsideLevelSet

Definition at line 138 of file itkRegionBasedLevelSetFunctionData.h.

◆ m_WeightedNumberOfPixelsOutsideLevelSet

template<typename TInputImage , typename TFeatureImage >
double itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedNumberOfPixelsOutsideLevelSet

Definition at line 139 of file itkRegionBasedLevelSetFunctionData.h.


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