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

#include <itkScalarChanAndVeseLevelSetFunctionData.h>

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

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FeatureImageConstPointer = typename Superclass::FeatureImageConstPointer
 
using FeatureImagePointer = typename Superclass::FeatureImagePointer
 
using FeatureImageType = TFeatureImage
 
using FeatureIndexType = typename Superclass::FeatureIndexType
 
using FeaturePixelType = typename Superclass::FeaturePixelType
 
using FeaturePointType = typename Superclass::FeaturePointType
 
using FeatureRegionType = typename Superclass::FeatureRegionType
 
using FeatureSizeType = typename Superclass::FeatureSizeType
 
using FeatureSizeValueType = typename Superclass::FeatureSizeValueType
 
using FeatureSpacingType = typename Superclass::FeatureSpacingType
 
using InputImageConstPointer = typename Superclass::InputImageConstPointer
 
using InputImagePointer = typename Superclass::InputImagePointer
 
using InputImageType = TInputImage
 
using InputIndexType = typename Superclass::InputIndexType
 
using InputIndexValueType = typename Superclass::InputIndexValueType
 
using InputPixelType = typename Superclass::InputPixelType
 
using InputPointType = typename Superclass::InputPointType
 
using InputRegionType = typename Superclass::InputRegionType
 
using InputSizeType = typename Superclass::InputSizeType
 
using InputSizeValueType = typename Superclass::InputSizeValueType
 
using InputSpacingType = typename Superclass::InputSpacingType
 
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

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- 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 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
 

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"
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
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 61 of file itkScalarChanAndVeseLevelSetFunctionData.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 69 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureImageConstPointer

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

Definition at line 92 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureImagePointer

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

Definition at line 91 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureImageType

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

Definition at line 90 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureIndexType

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

Definition at line 98 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeaturePixelType

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

Definition at line 93 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeaturePointType

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

Definition at line 99 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureRegionType

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

Definition at line 94 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureSizeType

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

Definition at line 95 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureSizeValueType

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

Definition at line 96 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ FeatureSpacingType

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

Definition at line 97 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputImageConstPointer

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

Definition at line 80 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputImagePointer

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

Definition at line 79 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputImageType

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

Definition at line 78 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputIndexType

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

Definition at line 86 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputIndexValueType

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

Definition at line 87 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputPixelType

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

Definition at line 81 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputPointType

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

Definition at line 88 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputRegionType

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

Definition at line 82 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputSizeType

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

Definition at line 83 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputSizeValueType

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

Definition at line 84 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ InputSpacingType

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

Definition at line 85 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ Pointer

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

Definition at line 68 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ Self

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

Definition at line 66 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ Superclass

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

Definition at line 67 of file itkScalarChanAndVeseLevelSetFunctionData.h.

Constructor & Destructor Documentation

◆ ScalarChanAndVeseLevelSetFunctionData()

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

◆ ~ScalarChanAndVeseLevelSetFunctionData()

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

Member Function Documentation

◆ CreateAnother()

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

◆ GetNameOfClass()

template<typename TInputImage , typename TFeatureImage >
virtual const char* itk::ScalarChanAndVeseLevelSetFunctionData< 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::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 71 of file itkScalarChanAndVeseLevelSetFunctionData.h.

◆ m_BackgroundConstantValues

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

◆ m_ForegroundConstantValues

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

◆ m_WeightedSumOfPixelValuesInsideLevelSet

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

◆ m_WeightedSumOfPixelValuesOutsideLevelSet

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

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