ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkGPUDemonsRegistrationFilter.h>
Deformably register two images using the demons algorithm with GPU.
GPUDemonsRegistrationFilter implements the demons deformable algorithm that register two images by computing the deformation field which will map a moving image onto a fixed image.
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 and the deformation field type.
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 algorithm has one parameters: the number of iteration to be performed.
The output deformation field can be obtained via methods GetOutput or GetDisplacementField.
This class make use of the finite difference solver hierarchy. Update for each iteration is computed in GPUDemonsRegistrationFunction.
Definition at line 70 of file itkGPUDemonsRegistrationFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::GPUImageToImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter > | |
static Pointer | New () |
Private Attributes | |
bool | m_UseMovingImageGradient |
typedef SmartPointer< const Self > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::ConstPointer |
Definition at line 84 of file itkGPUDemonsRegistrationFilter.h.
typedef TParentImageFilter itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::CPUSuperclass |
Definition at line 80 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::DisplacementFieldPointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DisplacementFieldPointer |
Definition at line 108 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::DisplacementFieldType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DisplacementFieldType |
Deformation field type.
Definition at line 106 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::FiniteDifferenceFunctionType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FiniteDifferenceFunctionType |
FiniteDifferenceFunction type.
Definition at line 112 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::FixedImagePointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImagePointer |
Definition at line 98 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::FixedImageType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImageType |
FixedImage image type.
Definition at line 97 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUDemonsRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUDemonsRegistrationFunctionType |
GPUDemonsRegistrationFilterFunction type.
Definition at line 116 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUSuperclass |
Definition at line 78 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::MovingImagePointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImagePointer |
Definition at line 102 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::MovingImageType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImageType |
MovingImage image type.
Definition at line 101 of file itkGPUDemonsRegistrationFilter.h.
typedef SmartPointer< Self > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::Pointer |
Definition at line 82 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUDemonsRegistrationFilter itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::Self |
Standard class typedefs.
Definition at line 76 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::TimeStepType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::TimeStepType |
Inherit types from GPUSuperclass.
Definition at line 91 of file itkGPUDemonsRegistrationFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 135 of file itkGPUDemonsRegistrationFilter.h.
|
overrideprotectedvirtual |
Apply update.
Reimplemented from itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >.
virtual::itk::LightObject::Pointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::CreateAnother | ( | ) | const |
|
overridevirtual |
|
overridevirtual |
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::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >.
|
overrideprotectedvirtual |
Initialize the state of filter and equation before each iteration.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
|
overridevirtual |
Set/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. Default is 0.001.
|
private |
Definition at line 146 of file itkGPUDemonsRegistrationFilter.h.