ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkCurvatureRegistrationFilter.h>
Deformably register two images using the fast curvature algorithm.
CurvatureRegistrationFilter implements the fast (i.e., O(n log n) ) registration method described in B. Fischer and J. Modersitzki, "A unified approach to fast image registration and a new curvature based registration technique," Linear Algebra and its Applications, vol. 380, pp. 107-124, 2004.
A deformation field is represented as a image whose pixel type is some vector type with at least N elements, where N is the dimension of the fixed image. The vector type must support element access via operator []. It is assumed that the vector elements behave like floating point scalars.
This class is templated over the fixed image type, moving image type, the deformation field type, and the images forces function. Fundamentally, any image force function in the PDE framework should work (e.g., mean squares, demons, correlation, mutual information, etc.).
The input fixed and moving images are set via methods SetFixedImage and SetMovingImage respectively. An initial deformation field maybe set via SetInitialDisplacementField or SetInput. If no initial field is set, a zero field is used as the initial condition.
The output deformation field can be obtained via methods GetOutput or GetDisplacementField.
This class makes use of the finite difference solver hierarchy. Update for each iteration is computed in the function class defined by the template parameter TImageForceFunction.
The algorithm has three parameters: the number of iteration to be performed, the time step, and the weight of the curvature regularization term in the overall cost function.
"CNS Deficits: Interaction of Age and Alcoholism" NIAAA AA05965, PI: A. Pfefferbaum
"INIA: Imaging Core" NIAAA AA13521, PI: A. Pfefferbaum
Definition at line 100 of file itkCurvatureRegistrationFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | DeformationVectorDimension = DisplacementFieldPixelType::Dimension |
static const unsigned int | ImageDimension = FixedImageType::ImageDimension |
Static Public Attributes inherited from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > | |
static const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > | |
static const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TDisplacementField > | |
static const unsigned int | OutputImageDimension |
Private Attributes | |
float | m_ConstraintWeight |
RealTypeDFT * | m_DiagonalElements [ImageDimension] |
RealTypeDFT * | m_DisplacementFieldComponentImage |
RealTypeDFT * | m_DisplacementFieldComponentImageDCT |
unsigned int | m_FixedImageDimensions [ImageDimension] |
fftw_plan | m_PlanBackwardDCT |
fftw_plan | m_PlanForwardDCT |
TimeStepType | m_TimeStep |
typedef SmartPointer< const Self > itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::ConstPointer |
Definition at line 109 of file itkCurvatureRegistrationFilter.h.
typedef DisplacementFieldComponentImageType::Pointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DisplacementFieldComponentImagePointer |
Definition at line 152 of file itkCurvatureRegistrationFilter.h.
typedef Image< RealTypeDFT, TDisplacementField::ImageDimension > itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DisplacementFieldComponentImageType |
Definition at line 151 of file itkCurvatureRegistrationFilter.h.
typedef DisplacementFieldPixelType::ValueType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DisplacementFieldComponentType |
Definition at line 137 of file itkCurvatureRegistrationFilter.h.
typedef TDisplacementField::PixelType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DisplacementFieldPixelType |
Definition at line 136 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::DisplacementFieldPointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DisplacementFieldPointer |
Definition at line 134 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::DisplacementFieldType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DisplacementFieldType |
Deformation field type.
Definition at line 132 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::FiniteDifferenceFunctionType |
FiniteDifferenceFunction type.
Definition at line 156 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::FixedImagePointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::FixedImagePointer |
Definition at line 123 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::FixedImageType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::FixedImageType |
FixedImage image type.
Definition at line 122 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::MovingImagePointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::MovingImagePointer |
Definition at line 128 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::MovingImageType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::MovingImageType |
MovingImage image type.
Definition at line 127 of file itkCurvatureRegistrationFilter.h.
typedef SmartPointer< Self > itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::Pointer |
Definition at line 108 of file itkCurvatureRegistrationFilter.h.
typedef double itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::RealTypeDFT |
Definition at line 142 of file itkCurvatureRegistrationFilter.h.
typedef TImageForceFunction itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::RegistrationFunctionType |
CurvatureRegistrationFilterFunction type.
Definition at line 159 of file itkCurvatureRegistrationFilter.h.
typedef CurvatureRegistrationFilter itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::Self |
Standard class typedefs.
Definition at line 106 of file itkCurvatureRegistrationFilter.h.
typedef PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::Superclass |
Definition at line 107 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::TimeStepType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::TimeStepType |
Inherit types from superclass.
Definition at line 116 of file itkCurvatureRegistrationFilter.h.
|
protected |
|
protected |
|
protectedvirtual |
Apply update.
Reimplemented from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, 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::Object.
|
virtual |
Get the metric value. The metric value is the mean square difference in intensity between the fixed image and transforming moving image computed over the the overlapping region between the two images. This is value is only available for the previous iteration and NOT the current iteration.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
protectedvirtual |
Initialize the state of filter before starting first iteration.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField >.
|
inline |
Set the constraint vs. image forces weight.
Definition at line 162 of file itkCurvatureRegistrationFilter.h.
|
inline |
Set the time step.
Definition at line 165 of file itkCurvatureRegistrationFilter.h.
|
static |
Definition at line 138 of file itkCurvatureRegistrationFilter.h.
|
static |
Definition at line 124 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 193 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 200 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 190 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 191 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 186 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 196 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 195 of file itkCurvatureRegistrationFilter.h.
|
private |
Definition at line 198 of file itkCurvatureRegistrationFilter.h.