ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField > Class Template Reference

#include <itkVariationalRegistrationSSDFunction.h>

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
class itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >

This class computes SSD forces in the variational registration framework.

This class implements SSD forces given by

\[ f^{SSD}(x)=\tau\kappa(F(x)-M(x+u(x)))\nabla M(x+u(x)) \]

\(\tau\) is the step size and \(\kappa\) is the mean squared spacing. Alternative, the classical gradient \(\nabla M(x+u(x))\) can be replaced by \(\nabla F(x)\) or \(\frac{\nabla F(x) + \nabla M(x+u(x))}{2}\).

See also
VariationalRegistrationFilter
VariationalRegistrationFunction
Note
This class was developed with funding from the German Research Foundation (DFG: EH 224/3-1 and HA 235/9-1).
Author
Alexander Schmidt-Richberg
René Werner
Jan Ehrhardt

Definition at line 53 of file itkVariationalRegistrationSSDFunction.h.

+ Inheritance diagram for itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >:
+ Collaboration diagram for itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
using DisplacementFieldType = typename Superclass::DisplacementFieldType
 
typedef Superclass::DisplacementFieldTypePointer DisplacementFieldTypePointer
 
using FixedImagePointer = typename Superclass::FixedImagePointer
 
using FixedImageType = typename Superclass::FixedImageType
 
using FloatOffsetType = typename Superclass::FloatOffsetType
 
using GradientCalculatorPointer = typename GradientCalculatorType::Pointer
 
using GradientCalculatorType = CentralDifferenceImageFunction<FixedImageType>
 
using IndexType = typename FixedImageType::IndexType
 
using MaskImagePointer = typename Superclass::MaskImagePointer
 
using MaskImageType = typename Superclass::MaskImageType
 
using MovingImagePointer = typename Superclass::MovingImagePointer
 
using MovingImageType = typename Superclass::MovingImageType
 
using NeighborhoodType = typename Superclass::NeighborhoodType
 
using PixelType = typename Superclass::PixelType
 
using Pointer = SmartPointer<Self>
 
using RadiusType = typename Superclass::RadiusType
 
using Self = VariationalRegistrationSSDFunction
 
using SizeType = typename FixedImageType::SizeType
 
using SpacingType = typename FixedImageType::SpacingType
 
using Superclass = VariationalRegistrationFunction<TFixedImage, TMovingImage, TDisplacementField>
 
- Public Types inherited from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >
using ConstPointer = SmartPointer<const Self>
 
using DisplacementFieldType = TDisplacementField
 
using DisplacementFieldTypePointer = typename DisplacementFieldType::ConstPointer
 
using FixedImagePointer = typename FixedImageType::ConstPointer
 
using FixedImageType = TFixedImage
 
using MaskImagePixelType = unsigned char
 
using MaskImagePointer = typename MaskImageType::ConstPointer
 
using MaskImageType = Image<MaskImagePixelType, ImageDimension>
 
using MovingImagePointer = typename MovingImageType::ConstPointer
 
using MovingImageType = TMovingImage
 
using MovingImageWarperPointer = typename MovingImageWarperType::Pointer
 
using MovingImageWarperType
 
using Pointer = SmartPointer<Self>
 
using Self = VariationalRegistrationFunction
 
using Superclass = FiniteDifferenceFunction<TDisplacementField>
 
using TimeStepType = typename Superclass::TimeStepType
 
using WarpedImagePointer = typename WarpedImageType::ConstPointer
 
using WarpedImageType = TFixedImage
 
- Public Types inherited from itk::FiniteDifferenceFunction< TDisplacementField >
using ConstPointer
 
using DefaultBoundaryConditionType
 
using FloatOffsetType
 
using ImageType
 
using NeighborhoodScalesType
 
using NeighborhoodType
 
using PixelRealType
 
using PixelType
 
using Pointer
 
using RadiusType
 
using Self
 
using Superclass
 
using TimeStepType
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

Superclass::TimeStepType ComputeGlobalTimeStep (void *GlobalData) const override
 
PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual double GetIntensityDifferenceThreshold () const
 
virtual const char * GetNameOfClass () const
 
void InitializeIteration () override
 
virtual void SetGradientTypeToFixedImage ()
 
virtual void SetGradientTypeToSymmetric ()
 
virtual void SetGradientTypeToWarpedMovingImage ()
 
virtual void SetIntensityDifferenceThreshold (const double threshold)
 
- Public Member Functions inherited from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >
virtual const DisplacementFieldType * GetDisplacementField () const
 
virtual const FixedImageType * GetFixedImage () const
 
void * GetGlobalDataPointer () const override
 
virtual MaskImagePixelType GetMaskBackgroundThreshold () const
 
virtual const MaskImageType * GetMaskImage () const
 
virtual double GetMetric () const
 
virtual const MovingImageType * GetMovingImage () const
 
virtual const MovingImageWarperType * GetMovingImageWarper () const
 
virtual double GetRMSChange () const
 
virtual const TimeStepType GetTimeStep () const
 
void ReleaseGlobalDataPointer (void *GlobalData) const override
 
virtual void SetDisplacementField (DisplacementFieldType *ptr)
 
virtual void SetFixedImage (const FixedImageType *ptr)
 
virtual void SetMaskBackgroundThreshold (MaskImagePixelType threshold)
 
virtual void SetMaskImage (const MaskImageType *ptr)
 
virtual void SetMovingImage (const MovingImageType *ptr)
 
virtual void SetMovingImageWarper (MovingImageWarperType *ptr)
 
virtual void SetTimeStep (TimeStepType timeStep)
 
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TDisplacementField >
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
const RadiusType & GetRadius () const
 
const RadiusType & GetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
void SetRadius (const RadiusType &r)
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (const PixelRealType vals[ImageDimension])
 
void SetScaleCoefficients (const PixelRealType vals[ImageDimension])
 
- 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::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >
static constexpr unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TDisplacementField >
static constexpr unsigned int ImageDimension
 
static constexpr unsigned int ImageDimension
 

Protected Types

using GlobalDataStruct = typename Superclass::GlobalDataStruct
 
enum  GradientType {
  GRADIENT_TYPE_WARPED = 0 ,
  GRADIENT_TYPE_FIXED = 1 ,
  GRADIENT_TYPE_SYMMETRIC = 2
}
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 VariationalRegistrationSSDFunction ()
 
 ~VariationalRegistrationSSDFunction () override=default
 
- Protected Member Functions inherited from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >
virtual const WarpedImagePointer GetWarpedImage () const
 
 VariationalRegistrationFunction ()
 
virtual void WarpMovingImage ()
 
 ~VariationalRegistrationFunction () override=default
 
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TDisplacementField >
 FiniteDifferenceFunction ()
 
 FiniteDifferenceFunction ()
 
 ~FiniteDifferenceFunction () override=default
 
 ~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 ()
 

Private Attributes

GradientCalculatorPointer m_FixedImageGradientCalculator
 
GradientType m_GradientType
 
double m_IntensityDifferenceThreshold
 
double m_Normalizer
 
GradientCalculatorPointer m_WarpedImageGradientCalculator
 
PixelType m_ZeroUpdateReturn
 

Additional Inherited Members

- Protected Attributes inherited from itk::FiniteDifferenceFunction< TDisplacementField >
RadiusType m_Radius
 
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer = SmartPointer<const Self>

Definition at line 63 of file itkVariationalRegistrationSSDFunction.h.

◆ DisplacementFieldType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType = typename Superclass::DisplacementFieldType

Deformation field type.

Definition at line 92 of file itkVariationalRegistrationSSDFunction.h.

◆ DisplacementFieldTypePointer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
typedef Superclass::DisplacementFieldTypePointer itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldTypePointer

Definition at line 93 of file itkVariationalRegistrationSSDFunction.h.

◆ FixedImagePointer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer = typename Superclass::FixedImagePointer

Definition at line 80 of file itkVariationalRegistrationSSDFunction.h.

◆ FixedImageType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType = typename Superclass::FixedImageType

FixedImage image type.

Definition at line 79 of file itkVariationalRegistrationSSDFunction.h.

◆ FloatOffsetType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::FloatOffsetType = typename Superclass::FloatOffsetType

Definition at line 98 of file itkVariationalRegistrationSSDFunction.h.

◆ GlobalDataStruct

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::GlobalDataStruct = typename Superclass::GlobalDataStruct
protected

Definition at line 170 of file itkVariationalRegistrationSSDFunction.h.

◆ GradientCalculatorPointer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorPointer = typename GradientCalculatorType::Pointer

Definition at line 102 of file itkVariationalRegistrationSSDFunction.h.

◆ GradientCalculatorType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorType = CentralDifferenceImageFunction<FixedImageType>

Image gradient calculator type.

Definition at line 101 of file itkVariationalRegistrationSSDFunction.h.

◆ IndexType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::IndexType = typename FixedImageType::IndexType

Image parameter types.

Definition at line 87 of file itkVariationalRegistrationSSDFunction.h.

◆ MaskImagePointer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImagePointer = typename Superclass::MaskImagePointer

Definition at line 84 of file itkVariationalRegistrationSSDFunction.h.

◆ MaskImageType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImageType = typename Superclass::MaskImageType

MaskImage image type.

Definition at line 83 of file itkVariationalRegistrationSSDFunction.h.

◆ MovingImagePointer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer = typename Superclass::MovingImagePointer

Definition at line 76 of file itkVariationalRegistrationSSDFunction.h.

◆ MovingImageType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType = typename Superclass::MovingImageType

MovingImage image type.

Definition at line 75 of file itkVariationalRegistrationSSDFunction.h.

◆ NeighborhoodType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::NeighborhoodType = typename Superclass::NeighborhoodType

Definition at line 97 of file itkVariationalRegistrationSSDFunction.h.

◆ PixelType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::PixelType = typename Superclass::PixelType

Various type definitions.

Definition at line 95 of file itkVariationalRegistrationSSDFunction.h.

◆ Pointer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::Pointer = SmartPointer<Self>

Definition at line 62 of file itkVariationalRegistrationSSDFunction.h.

◆ RadiusType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::RadiusType = typename Superclass::RadiusType

Definition at line 96 of file itkVariationalRegistrationSSDFunction.h.

◆ Self

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::Self = VariationalRegistrationSSDFunction

Standard class type alias.

Definition at line 60 of file itkVariationalRegistrationSSDFunction.h.

◆ SizeType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::SizeType = typename FixedImageType::SizeType

Definition at line 88 of file itkVariationalRegistrationSSDFunction.h.

◆ SpacingType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::SpacingType = typename FixedImageType::SpacingType

Definition at line 89 of file itkVariationalRegistrationSSDFunction.h.

◆ Superclass

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
using itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::Superclass = VariationalRegistrationFunction<TFixedImage, TMovingImage, TDisplacementField>

Definition at line 61 of file itkVariationalRegistrationSSDFunction.h.

Member Enumeration Documentation

◆ GradientType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
enum itk::VariationalRegistrationSSDFunction::GradientType
protected

Type of available image forces

Enumerator
GRADIENT_TYPE_WARPED 
GRADIENT_TYPE_FIXED 
GRADIENT_TYPE_SYMMETRIC 

Definition at line 177 of file itkVariationalRegistrationSSDFunction.h.

Constructor & Destructor Documentation

◆ VariationalRegistrationSSDFunction()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::VariationalRegistrationSSDFunction ( )
protected

Referenced by GetNameOfClass().

◆ ~VariationalRegistrationSSDFunction()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::~VariationalRegistrationSSDFunction ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeGlobalTimeStep()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
Superclass::TimeStepType itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeGlobalTimeStep ( void * GlobalData) const
inlineoverridevirtual

Computes the time step for an update. Returns the constant time step scaled with the mean squared spacing.

See also
SetTimeStep()

Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.

Definition at line 161 of file itkVariationalRegistrationSSDFunction.h.

References itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >::GetTimeStep(), and m_Normalizer.

◆ ComputeUpdate()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
PixelType itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::ComputeUpdate ( const NeighborhoodType & neighborhood,
void * globalData,
const FloatOffsetType & offset = FloatOffsetType(0.0) )
overridevirtual

This method is called by a finite difference solver image filter at each pixel that does not lie on a data set boundary

Implements itk::FiniteDifferenceFunction< TDisplacementField >.

◆ CreateAnother()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual::itk::LightObject::Pointer itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::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.

◆ GetIntensityDifferenceThreshold()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual double itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::GetIntensityDifferenceThreshold ( ) const
inlinevirtual

Get the threshold below which the absolute difference of intensity yields a match. When the intensities match between a moving and fixed image pixel, the update vector (for that iteration) will be the zero vector.

Definition at line 152 of file itkVariationalRegistrationSSDFunction.h.

References m_IntensityDifferenceThreshold.

◆ GetNameOfClass()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual const char * itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.

References VariationalRegistrationSSDFunction().

◆ InitializeIteration()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
void itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::InitializeIteration ( )
overridevirtual

Set the object's state before each iteration.

Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.

◆ New()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
static Pointer itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
void itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::PrintSelf ( std::ostream & os,
Indent indent ) const
overrideprotectedvirtual

Print information about the filter.

Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.

◆ SetGradientTypeToFixedImage()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual void itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientTypeToFixedImage ( )
inlinevirtual

Select that the fixed image gradient is used for computing the forces.

Definition at line 117 of file itkVariationalRegistrationSSDFunction.h.

References GRADIENT_TYPE_FIXED, and m_GradientType.

◆ SetGradientTypeToSymmetric()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual void itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientTypeToSymmetric ( )
inlinevirtual

Select that fixed and warped image gradients are used for computing the forces.

Definition at line 132 of file itkVariationalRegistrationSSDFunction.h.

References GRADIENT_TYPE_SYMMETRIC, and m_GradientType.

◆ SetGradientTypeToWarpedMovingImage()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual void itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientTypeToWarpedMovingImage ( )
inlinevirtual

Select that the warped image gradient is used for computing the forces.

Definition at line 124 of file itkVariationalRegistrationSSDFunction.h.

References GRADIENT_TYPE_WARPED, and m_GradientType.

◆ SetIntensityDifferenceThreshold()

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
virtual void itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::SetIntensityDifferenceThreshold ( const double threshold)
inlinevirtual

Set the threshold below which the absolute difference of intensity yields a match. When the intensities match between a moving and fixed image pixel, the update vector (for that iteration) will be the zero vector. Default is 0.001.

Definition at line 142 of file itkVariationalRegistrationSSDFunction.h.

References m_IntensityDifferenceThreshold.

Member Data Documentation

◆ ImageDimension

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
unsigned int itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::ImageDimension = Superclass::ImageDimension
staticconstexpr

Get image dimension.

Definition at line 72 of file itkVariationalRegistrationSSDFunction.h.

◆ m_FixedImageGradientCalculator

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
GradientCalculatorPointer itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::m_FixedImageGradientCalculator
private

Function to compute derivatives of the fixed image.

Definition at line 186 of file itkVariationalRegistrationSSDFunction.h.

◆ m_GradientType

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
GradientType itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientType
private

Set if warped or fixed image gradient is used for force computation.

Definition at line 192 of file itkVariationalRegistrationSSDFunction.h.

Referenced by SetGradientTypeToFixedImage(), SetGradientTypeToSymmetric(), and SetGradientTypeToWarpedMovingImage().

◆ m_IntensityDifferenceThreshold

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::m_IntensityDifferenceThreshold
private

Threshold below which two intensity value are assumed to match.

Definition at line 195 of file itkVariationalRegistrationSSDFunction.h.

Referenced by GetIntensityDifferenceThreshold(), and SetIntensityDifferenceThreshold().

◆ m_Normalizer

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
double itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::m_Normalizer
private

Precalculated normalizer for spacing consideration.

Definition at line 198 of file itkVariationalRegistrationSSDFunction.h.

Referenced by ComputeGlobalTimeStep().

◆ m_WarpedImageGradientCalculator

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
GradientCalculatorPointer itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::m_WarpedImageGradientCalculator
private

Function to compute derivatives of the warped image.

Definition at line 189 of file itkVariationalRegistrationSSDFunction.h.

◆ m_ZeroUpdateReturn

template<typename TFixedImage, typename TMovingImage, typename TDisplacementField>
PixelType itk::VariationalRegistrationSSDFunction< TFixedImage, TMovingImage, TDisplacementField >::m_ZeroUpdateReturn
private

Zero update return value (zero vector).

Definition at line 201 of file itkVariationalRegistrationSSDFunction.h.


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