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

#include <itkScalarChanAndVeseLevelSetFunction.h>

Detailed Description

template<typename TInputImage, typename TFeatureImage, typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
class itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >

LevelSet function that computes a speed image based on regional integrals of probabilities.

This class implements a level set function that computes the speed image by integrating values on the image domain.

Author
Mosaliganti K., Smith B., Gelas A., Gouaillard A., Megason S.

Based on the papers:

   "An active contour model without edges"
    T. Chan and L. Vese.
    In Scale-Space Theories in Computer Vision, pages 141-151, 1999.

    "Segmenting and Tracking Fluorescent Cells in Dynamic 3-D
     Microscopy With Coupled Active Surfaces"
     Dufour, Shinin, Tajbakhsh, Guillen-Aghion, Olivo-Marin
     In IEEE Transactions on Image Processing, vol. 14, No 9, Sep. 2005

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
ITK Sphinx Examples:
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 78 of file itkScalarChanAndVeseLevelSetFunction.h.

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

Public Types

using ConstFeatureIteratorType = ImageRegionConstIterator< FeatureImageType >
 
using ConstImageIteratorType = ImageRegionConstIteratorWithIndex< InputImageType >
 
using ConstPointer = SmartPointer< const Self >
 
using FeatureImageConstPointer = typename FeatureImageType::ConstPointer
 
using FeatureImageIteratorType = ImageRegionIteratorWithIndex< FeatureImageType >
 
using FeatureImageType = TFeatureImage
 
using ImageIteratorType = ImageRegionIteratorWithIndex< InputImageType >
 
using InputImageType = TInputImage
 
using ListImageType = Image< ListPixelType, Self::ImageDimension >
 
using ListPixelConstIterator = typename ListPixelType::const_iterator
 
using ListPixelIterator = typename ListPixelType::iterator
 
using ListPixelType = std::list< unsigned int >
 
using Pointer = SmartPointer< Self >
 
using Self = ScalarChanAndVeseLevelSetFunction
 
using Superclass = ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
 
- Public Types inherited from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
using ConstFeatureIteratorType = ImageRegionConstIterator< FeatureImageType >
 
using ConstImageIteratorType = ImageRegionConstIteratorWithIndex< InputImageType >
 
using ConstPointer = SmartPointer< const Self >
 
using FeatureImageConstPointer = typename FeatureImageType::ConstPointer
 
using FeatureImageIteratorType = ImageRegionIteratorWithIndex< FeatureImageType >
 
using ImageIteratorType = ImageRegionIteratorWithIndex< InputImageType >
 
using ListImageType = Image< ListPixelType, Self::ImageDimension >
 
using ListPixelConstIterator = typename ListPixelType::const_iterator
 
using ListPixelIterator = typename ListPixelType::iterator
 
using ListPixelType = std::list< unsigned int >
 
using Pointer = SmartPointer< Self >
 
using Self = ScalarRegionBasedLevelSetFunction
 
using Superclass = RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
 
- Public Types inherited from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
using ConstPointer = SmartPointer< const Self >
 
using FeatureImageConstPointer = typename FeatureImageType::ConstPointer
 
using FeatureImageType = TFeatureImage
 
using FeatureIndexType = typename FeatureImageType::IndexType
 
using FeatureOffsetType = typename FeatureImageType::OffsetType
 
using FeaturePixelType = typename FeatureImageType::PixelType
 
using FeatureSpacingType = typename FeatureImageType::SpacingType
 
using HeavisideFunctionConstPointer = typename HeavisideFunctionType::ConstPointer
 
using HeavisideFunctionType = HeavisideStepFunctionBase< InputPixelType, InputPixelType >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageType = TInputImage
 
using InputIndexType = typename InputImageType::IndexType
 
using InputIndexValueType = typename InputImageType::IndexValueType
 
using InputPixelType = typename InputImageType::PixelType
 
using InputPointType = typename InputImageType::PointType
 
using InputRegionType = typename InputImageType::RegionType
 
using InputSizeType = typename InputImageType::SizeType
 
using InputSizeValueType = typename InputImageType::SizeValueType
 
using Pointer = SmartPointer< Self >
 
using ScalarValueType = PixelType
 
using Self = RegionBasedLevelSetFunction
 
using SharedDataPointer = typename SharedDataType::Pointer
 
using SharedDataType = TSharedData
 
using Superclass = FiniteDifferenceFunction< TInputImage >
 
using TimeStepType = double
 
using VectorType = FixedArray< ScalarValueType, Self::ImageDimension >
 
- Public Types inherited from itk::FiniteDifferenceFunction< TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using DefaultBoundaryConditionType = ZeroFluxNeumannBoundaryCondition< ImageType >
 
using FloatOffsetType = Vector< float, Self::ImageDimension >
 
using ImageType = TInputImage
 
using NeighborhoodScalesType = Vector< PixelRealType, Self::ImageDimension >
 
using NeighborhoodType = ConstNeighborhoodIterator< TInputImage, DefaultBoundaryConditionType >
 
using PixelRealType = double
 
using PixelType = typename ImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using RadiusType = typename ConstNeighborhoodIterator< TInputImage >::RadiusType
 
using Self = FiniteDifferenceFunction
 
using Superclass = LightObject
 
using TimeStepType = double
 
- 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::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
const char * GetNameOfClass () const override
 
void UpdatePixel (const unsigned int idx, NeighborhoodIterator< TInputImage > &iterator, InputPixelType &newValue, bool &status)
 
- Public Member Functions inherited from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
virtual VectorType AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
virtual void CalculateAdvectionImage ()
 
virtual ScalarValueType ComputeCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd)
 
TimeStepType ComputeGlobalTimeStep (void *GlobalData) const override
 
PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0)) override
 
virtual ScalarValueType CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
ScalarValueType GetAdvectionWeight () const
 
virtual const FeatureImageTypeGetFeatureImage () const
 
void * GetGlobalDataPointer () const override
 
const char * GetNameOfClass () const override
 
virtual void Initialize (const RadiusType &r)
 
virtual ScalarValueType LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
void ReleaseGlobalDataPointer (void *GlobalData) const override
 
void SetAdvectionWeight (const ScalarValueType &iA)
 
void SetDomainFunction (const HeavisideFunctionType *f)
 
virtual void SetFeatureImage (const FeatureImageType *f)
 
void SetFunctionId (const unsigned int iFid)
 
void SetInitialImage (InputImageType *f)
 
void SetSharedData (SharedDataPointer sharedDataIn)
 
void UpdateSharedData (bool forceUpdate)
 
void SetAreaWeight (const ScalarValueType &nu)
 
ScalarValueType GetAreaWeight () const
 
void SetLambda1 (const ScalarValueType &lambda1)
 
ScalarValueType GetLambda1 () const
 
void SetLambda2 (const ScalarValueType &lambda2)
 
ScalarValueType GetLambda2 () const
 
void SetOverlapPenaltyWeight (const ScalarValueType &gamma)
 
ScalarValueType GetOverlapPenaltyWeight () const
 
virtual void SetCurvatureWeight (const ScalarValueType c)
 
ScalarValueType GetCurvatureWeight () const
 
void SetReinitializationSmoothingWeight (const ScalarValueType c)
 
ScalarValueType GetReinitializationSmoothingWeight () const
 
void SetVolumeMatchingWeight (const ScalarValueType &tau)
 
ScalarValueType GetVolumeMatchingWeight () const
 
void SetVolume (const ScalarValueType &volume)
 
ScalarValueType GetVolume () const
 
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TInputImage >
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
const RadiusTypeGetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
virtual void InitializeIteration ()
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (const PixelRealType vals[ImageDimension])
 
- 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::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension
 
- Static Public Attributes inherited from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension
 
- Static Public Attributes inherited from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TInputImage >
static constexpr unsigned int ImageDimension
 

Protected Member Functions

ScalarValueType ComputeExternalTerm (const FeaturePixelType &iValue, const FeatureIndexType &iIdx) override
 
ScalarValueType ComputeInternalTerm (const FeaturePixelType &iValue, const FeatureIndexType &iIdx) override
 
void ComputeParameters () override
 
 ScalarChanAndVeseLevelSetFunction ()
 
void UpdateSharedDataInsideParameters (const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange) override
 
void UpdateSharedDataOutsideParameters (const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange) override
 
void UpdateSharedDataParameters () override
 
 ~ScalarChanAndVeseLevelSetFunction () override=default
 
- Protected Member Functions inherited from itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
ScalarValueType ComputeOverlapParameters (const FeatureIndexType &featIndex, ScalarValueType &product) override
 
 ScalarRegionBasedLevelSetFunction ()
 
 ~ScalarRegionBasedLevelSetFunction () override=default
 
- Protected Member Functions inherited from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
ScalarValueType ComputeGlobalTerm (const ScalarValueType &imagePixel, const InputIndexType &inputIndex)
 
void ComputeHessian (const NeighborhoodType &it, GlobalDataStruct *globalData)
 
void ComputeHImage ()
 
ScalarValueType ComputeLaplacian (GlobalDataStruct *gd)
 
ScalarValueType ComputeVolumeRegularizationTerm ()
 
 RegionBasedLevelSetFunction ()
 
 ~RegionBasedLevelSetFunction () override=default
 
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TInputImage >
 FiniteDifferenceFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~FiniteDifferenceFunction () 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 PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
static VectorType InitializeZeroVectorConstant ()
 
- Protected Attributes inherited from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
ScalarValueType m_AdvectionWeight
 
ScalarValueType m_AreaWeight
 
OffsetValueType m_Center
 
ScalarValueType m_CurvatureWeight
 
HeavisideFunctionConstPointer m_DomainFunction
 
FeatureImageConstPointer m_FeatureImage
 
unsigned int m_FunctionId
 
InputImageConstPointer m_InitialImage
 
double m_InvSpacing [Self::ImageDimension]
 
ScalarValueType m_Lambda1
 
ScalarValueType m_Lambda2
 
ScalarValueType m_OverlapPenaltyWeight
 
ScalarValueType m_ReinitializationSmoothingWeight
 
SharedDataPointer m_SharedData
 
bool m_UpdateC
 
ScalarValueType m_Volume
 
ScalarValueType m_VolumeMatchingWeight
 
OffsetValueType m_xStride [Self::ImageDimension]
 
std::slice x_slice [Self::ImageDimension]
 
- Protected Attributes inherited from itk::FiniteDifferenceFunction< TInputImage >
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 
- Static Protected Attributes inherited from itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >
static double m_DT
 
static double m_WaveDT
 
static VectorType m_ZeroVectorConstant
 

Member Typedef Documentation

◆ ConstFeatureIteratorType

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstFeatureIteratorType = ImageRegionConstIterator<FeatureImageType>

Definition at line 113 of file itkScalarRegionBasedLevelSetFunction.h.

◆ ConstImageIteratorType

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ConstImageIteratorType = ImageRegionConstIteratorWithIndex<InputImageType>

Definition at line 111 of file itkScalarRegionBasedLevelSetFunction.h.

◆ ConstPointer

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

Definition at line 87 of file itkScalarChanAndVeseLevelSetFunction.h.

◆ FeatureImageConstPointer

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageConstPointer = typename FeatureImageType::ConstPointer

Definition at line 109 of file itkScalarChanAndVeseLevelSetFunction.h.

◆ FeatureImageIteratorType

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::FeatureImageIteratorType = ImageRegionIteratorWithIndex<FeatureImageType>

Definition at line 112 of file itkScalarRegionBasedLevelSetFunction.h.

◆ FeatureImageType

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

Definition at line 108 of file itkScalarChanAndVeseLevelSetFunction.h.

◆ ImageIteratorType

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ImageIteratorType = ImageRegionIteratorWithIndex<InputImageType>

Definition at line 110 of file itkScalarRegionBasedLevelSetFunction.h.

◆ InputImageType

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

Definition at line 97 of file itkScalarChanAndVeseLevelSetFunction.h.

◆ ListImageType

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListImageType = Image<ListPixelType, Self::ImageDimension>

Definition at line 118 of file itkScalarRegionBasedLevelSetFunction.h.

◆ ListPixelConstIterator

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelConstIterator = typename ListPixelType::const_iterator

Definition at line 116 of file itkScalarRegionBasedLevelSetFunction.h.

◆ ListPixelIterator

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelIterator = typename ListPixelType::iterator

Definition at line 117 of file itkScalarRegionBasedLevelSetFunction.h.

◆ ListPixelType

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ListPixelType = std::list<unsigned int>

Definition at line 115 of file itkScalarRegionBasedLevelSetFunction.h.

◆ Pointer

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

Definition at line 86 of file itkScalarChanAndVeseLevelSetFunction.h.

◆ Self

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

Definition at line 84 of file itkScalarChanAndVeseLevelSetFunction.h.

◆ Superclass

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
using itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::Superclass = ScalarRegionBasedLevelSetFunction<TInputImage, TFeatureImage, TSharedData>

Definition at line 85 of file itkScalarChanAndVeseLevelSetFunction.h.

Constructor & Destructor Documentation

◆ ScalarChanAndVeseLevelSetFunction()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ScalarChanAndVeseLevelSetFunction ( )
inlineprotected

Definition at line 137 of file itkScalarChanAndVeseLevelSetFunction.h.

◆ ~ScalarChanAndVeseLevelSetFunction()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::~ScalarChanAndVeseLevelSetFunction ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeExternalTerm()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
ScalarValueType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeExternalTerm ( const FeaturePixelType iValue,
const FeatureIndexType iIdx 
)
overrideprotectedvirtual

Compute the external term.

Parameters
[in]iValueFeature Image Value
[in]iIdxFeature Image Index

Implements itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.

◆ ComputeInternalTerm()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
ScalarValueType itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeInternalTerm ( const FeaturePixelType iValue,
const FeatureIndexType iIdx 
)
overrideprotectedvirtual

Compute the internal term.

Parameters
[in]iValueFeature Image Value
[in]iIdxFeature Image Index

Implements itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.

◆ ComputeParameters()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::ComputeParameters ( )
overrideprotectedvirtual

Compute Parameters for the inner and outer parts.

Implements itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.

◆ GetNameOfClass()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
const char* itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::GetNameOfClass ( ) const
overridevirtual
See also
LightObject::GetNameOfClass()

Reimplemented from itk::LightObject.

◆ New()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
static Pointer itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::New ( )
static

Method for creation through the object factory.

◆ UpdateSharedDataInsideParameters()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataInsideParameters ( const unsigned int &  iId,
const FeaturePixelType iVal,
const ScalarValueType iChange 
)
overrideprotectedvirtual

Update the background and foreground constants for pixel updates. Called only when sparse filters are used to prevent iteration through the entire image.

Implements itk::ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.

◆ UpdateSharedDataOutsideParameters()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataOutsideParameters ( const unsigned int &  iId,
const FeaturePixelType iVal,
const ScalarValueType iChange 
)
overrideprotectedvirtual

◆ UpdateSharedDataParameters()

template<typename TInputImage , typename TFeatureImage , typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, ScalarChanAndVeseLevelSetFunctionData<TInputImage, TFeatureImage>>>
void itk::ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage, TSharedData >::UpdateSharedDataParameters ( )
overrideprotectedvirtual

Update and save the inner and outer parameters in the shared data structure.

Implements itk::RegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData >.

Member Data Documentation

◆ ImageDimension

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

Definition at line 95 of file itkScalarChanAndVeseLevelSetFunction.h.


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