ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkMultiResolutionPDEDeformableRegistration.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = FixedImageType::ImageDimension |
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 > |
Private Member Functions | |
MultiResolutionPDEDeformableRegistration (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Framework for performing multi-resolution PDE deformable registration.
MultiResolutionPDEDeformableRegistration provides a generic framework to peform multi-resolution deformable registration.
At each resolution level a PDEDeformableRegistrationFilter is used to register two images by computing the deformation field which will map a moving image onto a fixed image.
A deformation field is represented as an 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.
The internal PDEDeformationRegistrationFilter can be set using SetRegistrationFilter. By default a DemonsRegistrationFilter is used.
The input fixed and moving images are set via methods SetFixedImage and SetMovingImage respectively. An initial deformation field maybe set via SetInitialDisplacementField if is matches the characteristics of the coarsest pyramid level. If no such assumption can be made (e.g. the deformation field has the same characteristics as the input images), an initial deformation field can still be set via SetArbitraryInitialDisplacementField or SetInput. The filter will then take care of mathching the coarsest level characteristics. If no initial field is set a zero field is used as the initial condition.
MultiResolutionPyramidImageFilters are used to downsample the fixed and moving images. A VectorExpandImageFilter is used to upsample the deformation as we move from a coarse to fine solution.
This class is templated over the fixed image type, the moving image type, and the Deformation Field type.
The current implementation of this class does not support streaming.
Definition at line 81 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef SmartPointer< const Self > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.
Definition at line 91 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef DemonsRegistrationFilter< FloatImageType, FloatImageType, DisplacementFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::DefaultRegistrationType |
The default registration type.
Definition at line 129 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef DisplacementFieldType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::DisplacementFieldPointer |
Definition at line 112 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef TDisplacementField itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::DisplacementFieldType |
Deformation field image type.
Definition at line 111 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef FieldExpanderType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FieldExpanderPointer |
Definition at line 141 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef VectorResampleImageFilter< DisplacementFieldType, DisplacementFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FieldExpanderType |
The deformation field expander type.
Definition at line 140 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef FixedImageType::ConstPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImageConstPointer |
Definition at line 103 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef FixedImageType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImagePointer |
Definition at line 102 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef FixedImagePyramidType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImagePyramidPointer |
Definition at line 133 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef MultiResolutionPyramidImageFilter< FixedImageType, FloatImageType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImagePyramidType |
The fixed multi-resolution image pyramid type.
Definition at line 132 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef TFixedImage itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FixedImageType |
Fixed image type.
Definition at line 98 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef Image< TRealType, itkGetStaticConstMacro(ImageDimension) > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::FloatImageType |
Internal float image type.
Definition at line 122 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef MovingImageType::ConstPointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImageConstPointer |
Definition at line 108 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef MovingImageType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImagePointer |
Definition at line 107 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef MovingImagePyramidType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImagePyramidPointer |
Definition at line 137 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef MultiResolutionPyramidImageFilter< MovingImageType, FloatImageType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImagePyramidType |
The moving multi-resolution image pyramid type.
Definition at line 136 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef TMovingImage itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::MovingImageType |
Moving image type.
Definition at line 106 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef Array< unsigned int > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::NumberOfIterationsType |
Definition at line 143 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef SmartPointer< Self > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::Pointer |
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.
Definition at line 90 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef RegistrationType::Pointer itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::RegistrationPointer |
Definition at line 126 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef PDEDeformableRegistrationFilter< FloatImageType, FloatImageType, DisplacementFieldType > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::RegistrationType |
The internal registration type.
Definition at line 125 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef MultiResolutionPDEDeformableRegistration itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::Self |
Standard class typedefs
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.
Definition at line 87 of file itkMultiResolutionPDEDeformableRegistration.h.
typedef ImageToImageFilter< TDisplacementField, TDisplacementField > itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::Superclass |
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.
Definition at line 89 of file itkMultiResolutionPDEDeformableRegistration.h.
|
protected |
|
private |
|
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.
|
protectedvirtual |
The current implementation of this class does not supprot streaming. As such it produces the output for the largest possible region.
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
Generate output data by performing the registration at each resolution level.
Reimplemented from itk::ImageSource< TDisplacementField >.
|
protectedvirtual |
The current implementation of this class does not support streaming. As such it requires the largest possible region for the moving, fixed and input deformation field.
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.
|
protectedvirtual |
By default, the output deformation field has the same spacing, origin and LargestPossibleRegion as the input/initial deformation field.
If the initial deformation field is not set, the output information is copied from the fixed image.
Reimplemented from itk::ProcessObject.
|
virtual |
Get the current resolution level being processed.
|
inline |
Get output deformation field.
Definition at line 173 of file itkMultiResolutionPDEDeformableRegistration.h.
|
virtual |
Get the moving image pyramid.
const FixedImageType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetFixedImage | ( | void | ) | const |
Get the fixed image.
|
virtual |
Get the fixed image pyramid.
const MovingImageType* itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDisplacementField, TRealType >::GetMovingImage | ( | void | ) | const |
Get the moving image.
|
virtual |
Get the moving image pyramid.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.
|
virtual |
Get number of iterations per multi-resolution levels.
|
virtual |
Get number of multi-resolution levels.
|
virtual |
Get the number of valid inputs. For MultiResolutionPDEDeformableRegistration, this checks whether the fixed and moving images have been set. While MultiResolutionPDEDeformableRegistration can take a third input as an initial deformation field, this input is not a required input.
Reimplemented from itk::ProcessObject.
|
virtual |
Get the internal registrator.
|
protectedvirtual |
This method returns true to indicate that the registration should terminate at the current resolution level.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
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::ImageToImageFilter< TDisplacementField, TDisplacementField >.
|
protectedvirtual |
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::ImageToImageFilter< TDisplacementField, TDisplacementField >.
|
inlinevirtual |
Set initial deformation field. No assumption is made on the input. It will therefore be smoothed and resampled to match the images characteristics at the coarsest level of the pyramid.
Definition at line 167 of file itkMultiResolutionPDEDeformableRegistration.h.
|
virtual |
Set the moving image pyramid.
|
virtual |
Set the fixed image.
|
virtual |
Set the fixed image pyramid.
|
inlinevirtual |
Set initial deformation field to be used as is (no smoothing, no subsampling at the coarsest level of the pyramid.
Definition at line 159 of file itkMultiResolutionPDEDeformableRegistration.h.
|
virtual |
Set the moving image.
|
virtual |
Set the moving image pyramid.
|
virtual |
Set number of iterations per multi-resolution levels.
|
virtual |
Set number of iterations per multi-resolution levels.
|
virtual |
Set number of multi-resolution levels.
|
virtual |
Set the internal registrator.
|
virtual |
Stop the registration after the current iteration.
|
inlineprotectedvirtual |
Override VeriyInputInformation() since this filter's inputs do not need to occoupy the same physical space.
Reimplemented from itk::ImageToImageFilter< TDisplacementField, TDisplacementField >.
Definition at line 283 of file itkMultiResolutionPDEDeformableRegistration.h.
|
static |
ImageDimension.
Definition at line 119 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 299 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 295 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 293 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 296 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 294 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 300 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 298 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Definition at line 292 of file itkMultiResolutionPDEDeformableRegistration.h.
|
private |
Flag to indicate user stop registration request.
Definition at line 303 of file itkMultiResolutionPDEDeformableRegistration.h.