ITK  6.0.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::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage > Class Template Reference

#include <itkScalarChanAndVeseLevelSetFunctionData.h>

Detailed Description

template<typename TInputImage, typename TFeatureImage>
class itk::ScalarChanAndVeseLevelSetFunctionData< 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"
https://doi.org/10.54294/wvwmf8

That is based on the papers:

"Level Set Segmentation: Active Contours without edge"
https://doi.org/10.54294/8jk6oy

and

"Level set segmentation using coupled active surfaces"
https://doi.org/10.54294/23ugmy
Examples
SphinxExamples/src/Nonunit/Review/MultiphaseChanAndVeseSparseFieldLevelSetSegmentation/Code.cxx, SphinxExamples/src/Nonunit/Review/SinglephaseChanAndVeseDenseFieldLevelSetSegmentation/Code.cxx, and SphinxExamples/src/Nonunit/Review/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation/Code.cxx.

Definition at line 58 of file itkScalarChanAndVeseLevelSetFunctionData.h.

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

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FeatureImageType = TFeatureImage
 
using InputImageType = TInputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ScalarChanAndVeseLevelSetFunctionData
 
using Superclass = RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >
 
- Public Types inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >
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

const char * GetNameOfClass () const override
 
- Public Member Functions inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >
void CreateHeavisideFunctionOfLevelSetImage (const InputImageType *image)
 
FeatureIndexType GetFeatureIndex (const InputIndexType &inputIndex)
 
InputIndexType GetIndex (const FeatureIndexType &featureIndex)
 
template<typename TIndex >
bool VerifyInsideRegion (const TIndex &featureIndex)
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
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::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Public Attributes

double m_BackgroundConstantValues {}
 
double m_ForegroundConstantValues {}
 
double m_WeightedSumOfPixelValuesInsideLevelSet {}
 
double m_WeightedSumOfPixelValuesOutsideLevelSet {}
 
- Public Attributes inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >
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
 
- Static Public Attributes inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >
static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension
 

Protected Member Functions

 ScalarChanAndVeseLevelSetFunctionData ()
 
 ~ScalarChanAndVeseLevelSetFunctionData () override=default
 
- Protected Member Functions inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >
 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 {}
 

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 67 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureImageType

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

Definition at line 88 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputImageType

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

Definition at line 76 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ Pointer

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

Definition at line 66 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ Self

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

Definition at line 64 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ Superclass

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

Definition at line 65 of file itkScalarChanAndVeseLevelSetFunctionData.h.

Constructor & Destructor Documentation

◆ ScalarChanAndVeseLevelSetFunctionData()

template<typename TInputImage , typename TFeatureImage >
itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::ScalarChanAndVeseLevelSetFunctionData ( )
inlineprotected

Definition at line 105 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ ~ScalarChanAndVeseLevelSetFunctionData()

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

Member Function Documentation

◆ GetNameOfClass()

template<typename TInputImage , typename TFeatureImage >
const char* itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::GetNameOfClass ( ) const
overridevirtual

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::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >.

◆ New()

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

Method for creation through the object factory.

Member Data Documentation

◆ ImageDimension

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

Definition at line 69 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ m_BackgroundConstantValues

template<typename TInputImage , typename TFeatureImage >
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_BackgroundConstantValues {}

Definition at line 99 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ m_ForegroundConstantValues

template<typename TInputImage , typename TFeatureImage >
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_ForegroundConstantValues {}

Definition at line 100 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ m_WeightedSumOfPixelValuesInsideLevelSet

template<typename TInputImage , typename TFeatureImage >
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesInsideLevelSet {}

Definition at line 101 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ m_WeightedSumOfPixelValuesOutsideLevelSet

template<typename TInputImage , typename TFeatureImage >
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesOutsideLevelSet {}

Definition at line 102 of file itkScalarChanAndVeseLevelSetFunctionData.h.


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