![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkVariationalRegistrationFastNCCFunction.h>
This class computes NCC forces in the variational registration framework.
This class implements NCC forces as given in Hermosillo, Chefd'Hotel, and Faugeras. "Variational methods for multimodal image matching." IJCV 50(3), 2002: 329-343 and Avants et al. "Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain." Medical image analysis 12(1), 2008: 26-41 (except Jacobian term). We define the derivative of NCC between two images as:
is the step size and
is the mean squared spacing. Use SetRadius() (see FiniteDifferenceFunction) to set the size of the neighbourhood to compute local mean values
and
and the local sums. Alternative, the classical gradient
can be replaced by
or
.
Definition at line 64 of file itkVariationalRegistrationFastNCCFunction.h.
Classes | |
struct | NCCGlobalDataStruct |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
static const unsigned int | ImageDimension |
Protected Types | |
typedef Superclass::GlobalDataStruct | GlobalDataStruct |
![]() | |
typedef ConstNeighborhoodIterator < FixedImageType > | FixedImageNeighborhoodIteratorType |
typedef Superclass::GlobalDataStruct | GlobalDataStruct |
enum | GradientType { GRADIENT_TYPE_WARPED = 0, GRADIENT_TYPE_FIXED = 1, GRADIENT_TYPE_SYMMETRIC = 2 } |
Private Member Functions | |
void | operator= (const Self &) |
VariationalRegistrationFastNCCFunction (const Self &) | |
Additional Inherited Members | |
![]() | |
GradientCalculatorPointer | m_FixedImageGradientCalculator |
GradientType | m_GradientType |
double | m_Normalizer |
GradientCalculatorPointer | m_WarpedImageGradientCalculator |
![]() | |
RadiusType | m_Radius |
PixelRealType | m_ScaleCoefficients [ImageDimension] |
![]() | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer |
Definition at line 74 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::DisplacementFieldType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType |
Deformation field type.
Definition at line 102 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::DisplacementFieldTypePointer itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldTypePointer |
Definition at line 104 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::FixedImagePointer itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer |
Definition at line 91 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::FixedImageType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType |
FixedImage image type.
Definition at line 90 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::FloatOffsetType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::FloatOffsetType |
Definition at line 110 of file itkVariationalRegistrationFastNCCFunction.h.
|
protected |
Definition at line 136 of file itkVariationalRegistrationFastNCCFunction.h.
typedef GradientCalculatorType::Pointer itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorPointer |
Definition at line 114 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::GradientCalculatorType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::GradientCalculatorType |
Gradient calculator type.
Definition at line 113 of file itkVariationalRegistrationFastNCCFunction.h.
typedef FixedImageType::IndexType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::IndexType |
Definition at line 97 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::MaskImagePointer itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImagePointer |
Definition at line 95 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::MaskImageType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::MaskImageType |
MaskImage image type.
Definition at line 94 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::MovingImagePointer itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer |
Definition at line 87 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::MovingImageType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType |
MovingImage image type.
Definition at line 86 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::NeighborhoodType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::NeighborhoodType |
Definition at line 109 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::PixelType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::PixelType |
Inherit some types from the superclass.
Definition at line 107 of file itkVariationalRegistrationFastNCCFunction.h.
typedef SmartPointer< Self > itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::Pointer |
Definition at line 73 of file itkVariationalRegistrationFastNCCFunction.h.
typedef Superclass::RadiusType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::RadiusType |
Definition at line 108 of file itkVariationalRegistrationFastNCCFunction.h.
typedef VariationalRegistrationFastNCCFunction itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::Self |
Standard class typedefs.
Definition at line 69 of file itkVariationalRegistrationFastNCCFunction.h.
typedef FixedImageType::SizeType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::SizeType |
Definition at line 98 of file itkVariationalRegistrationFastNCCFunction.h.
typedef FixedImageType::SpacingType itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::SpacingType |
Definition at line 99 of file itkVariationalRegistrationFastNCCFunction.h.
typedef VariationalRegistrationNCCFunction< TFixedImage, TMovingImage, TDisplacementField > itk::VariationalRegistrationFastNCCFunction< TFixedImage, TMovingImage, TDisplacementField >::Superclass |
Definition at line 71 of file itkVariationalRegistrationFastNCCFunction.h.
|
protected |
|
inlineprotected |
Definition at line 131 of file itkVariationalRegistrationFastNCCFunction.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
Reimplemented from itk::VariationalRegistrationNCCFunction< TFixedImage, TMovingImage, 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.
|
overridevirtual |
Return a pointer to a global data structure that is passed to this object from the solver at each calculation.
Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::VariationalRegistrationNCCFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
Print information about the filter.
Reimplemented from itk::VariationalRegistrationNCCFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
overridevirtual |
Release memory for global data structure.
Reimplemented from itk::VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >.
|
static |
Get image dimension.
Definition at line 83 of file itkVariationalRegistrationFastNCCFunction.h.