ITK
4.1.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.
typedef SmartPointer< const Self > itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::ConstPointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
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 |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 134 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::DisplacementFieldType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DisplacementFieldType |
Deformation field type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 132 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::FiniteDifferenceFunctionType |
FiniteDifferenceFunction type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 156 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::FixedImagePointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::FixedImagePointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 123 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::FixedImageType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::FixedImageType |
FixedImage image type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 122 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::MovingImagePointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::MovingImagePointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 128 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::MovingImageType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::MovingImageType |
MovingImage image type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 127 of file itkCurvatureRegistrationFilter.h.
typedef SmartPointer< Self > itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::Pointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
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.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 106 of file itkCurvatureRegistrationFilter.h.
typedef PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::Superclass |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 107 of file itkCurvatureRegistrationFilter.h.
typedef Superclass::TimeStepType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::TimeStepType |
Inherit types from superclass.
Reimplemented from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >.
Definition at line 116 of file itkCurvatureRegistrationFilter.h.
itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::CurvatureRegistrationFilter | ( | ) | [protected] |
itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::~CurvatureRegistrationFilter | ( | ) | [protected] |
itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::CurvatureRegistrationFilter | ( | const Self & | ) | [private] |
virtual void itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::ApplyUpdate | ( | const TimeStepType & | dt | ) | [protected, virtual] |
Apply update.
Reimplemented from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >.
virtual::itk::LightObject::Pointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::CreateAnother | ( | void | ) | 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::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
virtual double itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::GetMetric | ( | ) | const [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 const char* itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
virtual void itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::Initialize | ( | ) | [protected, virtual] |
Initialize the state of filter before starting first iteration.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
static Pointer itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
void itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
void itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Set/Get the desired limits of the Gaussian kernel width.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
void itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::SetConstraintWeight | ( | const float | w | ) | [inline] |
Set the constraint vs. image forces weight.
Definition at line 162 of file itkCurvatureRegistrationFilter.h.
void itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::SetTimeStep | ( | const TimeStepType | ts | ) | [inline] |
Set the time step.
Definition at line 165 of file itkCurvatureRegistrationFilter.h.
const unsigned int itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::DeformationVectorDimension = DisplacementFieldPixelType::Dimension [static] |
Definition at line 138 of file itkCurvatureRegistrationFilter.h.
const unsigned int itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::ImageDimension = FixedImageType::ImageDimension [static] |
Inherit some enums and typedefs from the superclass.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 124 of file itkCurvatureRegistrationFilter.h.
float itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_ConstraintWeight [private] |
Definition at line 194 of file itkCurvatureRegistrationFilter.h.
RealTypeDFT* itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_DiagonalElements[ImageDimension] [private] |
Definition at line 201 of file itkCurvatureRegistrationFilter.h.
RealTypeDFT* itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_DisplacementFieldComponentImage [private] |
Definition at line 191 of file itkCurvatureRegistrationFilter.h.
RealTypeDFT* itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_DisplacementFieldComponentImageDCT [private] |
Definition at line 192 of file itkCurvatureRegistrationFilter.h.
unsigned int itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_FixedImageDimensions[ImageDimension] [private] |
Definition at line 189 of file itkCurvatureRegistrationFilter.h.
fftw_plan itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_PlanBackwardDCT [private] |
Definition at line 197 of file itkCurvatureRegistrationFilter.h.
fftw_plan itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_PlanForwardDCT [private] |
Definition at line 196 of file itkCurvatureRegistrationFilter.h.
TimeStepType itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >::m_TimeStep [private] |
Definition at line 199 of file itkCurvatureRegistrationFilter.h.