ITK
4.13.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 const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceFunction< TDisplacementField > | |
static const unsigned int | ImageDimension |
Protected Types | |
typedef Superclass::GlobalDataStruct | GlobalDataStruct |
enum | GradientType { GRADIENT_TYPE_WARPED = 0, GRADIENT_TYPE_FIXED = 1, GRADIENT_TYPE_SYMMETRIC = 2 } |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
VariationalRegistrationDemonsFunction () | |
~VariationalRegistrationDemonsFunction () | |
Protected Member Functions inherited from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > | |
virtual const WarpedImagePointer | GetWarpedImage (void) const |
VariationalRegistrationFunction () | |
virtual void | WarpMovingImage (void) |
~VariationalRegistrationFunction () | |
Protected Member Functions inherited from itk::FiniteDifferenceFunction< TDisplacementField > | |
FiniteDifferenceFunction () | |
~FiniteDifferenceFunction () override | |
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 Member Functions | |
void | operator= (const Self &) |
VariationalRegistrationDemonsFunction (const Self &) | |
Additional Inherited Members | |
Protected Attributes inherited from itk::FiniteDifferenceFunction< TDisplacementField > | |
RadiusType | m_Radius |
PixelRealType | m_ScaleCoefficients [ImageDimension] |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer |
Definition at line 66 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::DisplacementFieldType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType |
Deformation field type.
Definition at line 95 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::DisplacementFieldTypePointer itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldTypePointer |
Definition at line 97 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::FixedImagePointer itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer |
Definition at line 83 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::FixedImageType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType |
FixedImage image type.
Definition at line 82 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::FloatOffsetType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::FloatOffsetType |
Definition at line 102 of file itkVariationalRegistrationDemonsFunction.h.
|
protected |
Definition at line 150 of file itkVariationalRegistrationDemonsFunction.h.
typedef GradientCalculatorType::Pointer itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorPointer |
Definition at line 107 of file itkVariationalRegistrationDemonsFunction.h.
typedef CentralDifferenceImageFunction<FixedImageType> itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorType |
Image gradient calculator type.
Definition at line 106 of file itkVariationalRegistrationDemonsFunction.h.
typedef FixedImageType::IndexType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::IndexType |
Image parameter types.
Definition at line 90 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::MaskImagePointer itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImagePointer |
Definition at line 87 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::MaskImageType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImageType |
MaskImage image type.
Definition at line 86 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::MovingImagePointer itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer |
Definition at line 79 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::MovingImageType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType |
MovingImage image type.
Definition at line 78 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::NeighborhoodType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::NeighborhoodType |
Definition at line 101 of file itkVariationalRegistrationDemonsFunction.h.
typedef Superclass::PixelType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::PixelType |
Various type definitions.
Definition at line 100 of file itkVariationalRegistrationDemonsFunction.h.
typedef SmartPointer< Self > itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::Pointer |
Definition at line 65 of file itkVariationalRegistrationDemonsFunction.h.
typedef VariationalRegistrationDemonsFunction itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::Self |
Standard class typedefs.
Definition at line 60 of file itkVariationalRegistrationDemonsFunction.h.
typedef FixedImageType::SizeType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SizeType |
Definition at line 91 of file itkVariationalRegistrationDemonsFunction.h.
typedef FixedImageType::SpacingType itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::SpacingType |
Definition at line 92 of file itkVariationalRegistrationDemonsFunction.h.
typedef VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > itk::VariationalRegistrationDemonsFunction< TFixedImage, TMovingImage, TDisplacementField >::Superclass |
Definition at line 64 of file itkVariationalRegistrationDemonsFunction.h.
|
protected |
Type of available image forces
Enumerator | |
---|---|
GRADIENT_TYPE_WARPED | |
GRADIENT_TYPE_FIXED | |
GRADIENT_TYPE_SYMMETRIC |
Definition at line 156 of file itkVariationalRegistrationDemonsFunction.h.
|
protected |
|
inlineprotected |
Definition at line 148 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
|
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 >.
|
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 143 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::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
Print information about the filter.
Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
inlinevirtual |
Select that the fixed image gradient is used for computing the forces.
Definition at line 120 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 129 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 124 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 136 of file itkVariationalRegistrationDemonsFunction.h.
|
static |
Get image dimension.
Definition at line 75 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Threshold below which the denominator term is considered zero.
Definition at line 176 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Function to compute derivatives of the fixed image.
Definition at line 167 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Set if warped or fixed image gradient is used for force computation.
Definition at line 173 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 179 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 182 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Function to compute derivatives of the warped image.
Definition at line 170 of file itkVariationalRegistrationDemonsFunction.h.
|
private |
Zero update return value (zero vector).
Definition at line 185 of file itkVariationalRegistrationDemonsFunction.h.