ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkVariationalRegistrationDemonsFunction.h>
This class computes different Demon forces in the variational registration framework.
This class implements active, passive and symmetric Demons forces given by
with as the step size and as the mean squared spacing.
Definition at line 55 of file itkVariationalRegistrationDemonsFunction.h.
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 |
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 |
VariationalRegistrationDemonsFunction () | |
~VariationalRegistrationDemonsFunction () override | |
Protected Member Functions inherited from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > | |
virtual const WarpedImagePointer | GetWarpedImage (void) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
VariationalRegistrationFunction () | |
virtual void | WarpMovingImage (void) |
~VariationalRegistrationFunction () override | |
Protected Member Functions inherited from itk::FiniteDifferenceFunction< TDisplacementField > | |
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 | |
Protected Attributes inherited from itk::FiniteDifferenceFunction< TDisplacementField > | |
RadiusType | m_Radius |
PixelRealType | m_ScaleCoefficients [ImageDimension] |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer = SmartPointer< const Self > |
Definition at line 68 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType = typename Superclass::DisplacementFieldType |
Deformation field type.
Definition at line 97 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::DisplacementFieldTypePointer itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldTypePointer |
Definition at line 99 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer = typename Superclass::FixedImagePointer |
Definition at line 85 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType = typename Superclass::FixedImageType |
FixedImage image type.
Definition at line 84 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::FloatOffsetType = typename Superclass::FloatOffsetType |
Definition at line 104 of file itkVariationalRegistrationDemonsFunction.h.
|
protected |
Definition at line 151 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorPointer = typename GradientCalculatorType::Pointer |
Definition at line 108 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorType = CentralDifferenceImageFunction<FixedImageType> |
Image gradient calculator type.
Definition at line 107 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::IndexType = typename FixedImageType::IndexType |
Image parameter types.
Definition at line 92 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImagePointer = typename Superclass::MaskImagePointer |
Definition at line 89 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImageType = typename Superclass::MaskImageType |
MaskImage image type.
Definition at line 88 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer = typename Superclass::MovingImagePointer |
Definition at line 81 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType = typename Superclass::MovingImageType |
MovingImage image type.
Definition at line 80 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::NeighborhoodType = typename Superclass::NeighborhoodType |
Definition at line 103 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::PixelType = typename Superclass::PixelType |
Various type definitions.
Definition at line 102 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::Pointer = SmartPointer< Self > |
Definition at line 67 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::Self = VariationalRegistrationDemonsFunction |
Standard class type alias.
Definition at line 62 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SizeType = typename FixedImageType::SizeType |
Definition at line 93 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SpacingType = typename FixedImageType::SpacingType |
Definition at line 94 of file itkVariationalRegistrationDemonsFunction.h.
using itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::Superclass = VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > |
Definition at line 66 of file itkVariationalRegistrationDemonsFunction.h.
|
protected |
Type of available image forces
Enumerator | |
---|---|
GRADIENT_TYPE_WARPED | |
GRADIENT_TYPE_FIXED | |
GRADIENT_TYPE_SYMMETRIC |
Definition at line 157 of file itkVariationalRegistrationDemonsFunction.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 149 of file itkVariationalRegistrationDemonsFunction.h.
|
override |
This method is called by a finite difference solver image filter at each pixel that does not lie on a data set boundary
|
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.
|
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 144 of file itkVariationalRegistrationDemonsFunction.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
overridevirtual |
Set the object's state before each iteration.
Reimplemented from itk::FiniteDifferenceFunction< TDisplacementField >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Print information about the filter.
Reimplemented from itk::LightObject.
|
inlinevirtual |
Select that the fixed image gradient is used for computing the forces.
Definition at line 121 of file itkVariationalRegistrationDemonsFunction.h.
References itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GRADIENT_TYPE_FIXED, and itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientType.
|
inlinevirtual |
Select that fixed and warped image gradients are used for computing the forces.
Definition at line 130 of file itkVariationalRegistrationDemonsFunction.h.
References itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GRADIENT_TYPE_SYMMETRIC, and itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientType.
|
inlinevirtual |
Select that the warped image gradient is used for computing the forces.
Definition at line 125 of file itkVariationalRegistrationDemonsFunction.h.
References itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GRADIENT_TYPE_WARPED, and itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::m_GradientType.
|
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 137 of file itkVariationalRegistrationDemonsFunction.h.
|
static |
Get image dimension.
Definition at line 77 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Threshold below which the denominator term is considered zero.
Definition at line 174 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Function to compute derivatives of the fixed image.
Definition at line 165 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Set if warped or fixed image gradient is used for force computation.
Definition at line 171 of file itkVariationalRegistrationDemonsFunction.h.
Referenced by itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientTypeToFixedImage(), itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientTypeToSymmetric(), and itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SetGradientTypeToWarpedMovingImage().
|
private |
Threshold below which two intensity value are assumed to match.
Definition at line 177 of file itkVariationalRegistrationDemonsFunction.h.
Referenced by itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GetIntensityDifferenceThreshold(), and itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SetIntensityDifferenceThreshold().
|
private |
Precalculated normalizer for spacing consideration.
Definition at line 180 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Function to compute derivatives of the warped image.
Definition at line 168 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Zero update return value (zero vector).
Definition at line 183 of file itkVariationalRegistrationDemonsFunction.h.