ITK
5.0.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 |
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::ConstPointer = SmartPointer< const Self > |
Definition at line 83 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::CPUSuperclass = TParentImageFilter |
Definition at line 81 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DisplacementFieldPointer = typename GPUSuperclass::DisplacementFieldPointer |
Definition at line 105 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DisplacementFieldType = typename GPUSuperclass::DisplacementFieldType |
Deformation field type.
Definition at line 104 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FiniteDifferenceFunctionType = typename GPUSuperclass::FiniteDifferenceFunctionType |
FiniteDifferenceFunction type.
Definition at line 108 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImagePointer = typename GPUSuperclass::FixedImagePointer |
Definition at line 97 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImageType = typename GPUSuperclass::FixedImageType |
FixedImage image type.
Definition at line 96 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUDemonsRegistrationFunctionType = GPUDemonsRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > |
GPUDemonsRegistrationFilterFunction type.
Definition at line 112 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUSuperclass = GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter > |
Definition at line 80 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImagePointer = typename GPUSuperclass::MovingImagePointer |
Definition at line 101 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImageType = typename GPUSuperclass::MovingImageType |
MovingImage image type.
Definition at line 100 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::Pointer = SmartPointer< Self > |
Definition at line 82 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::Self = GPUDemonsRegistrationFilter |
Standard class type aliases.
Definition at line 78 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::TimeStepType = typename GPUSuperclass::TimeStepType |
Inherit types from GPUSuperclass.
Definition at line 93 of file itkGPUDemonsRegistrationFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 131 of file itkGPUDemonsRegistrationFilter.h.
|
overrideprotected |
Apply update.
virtual::itk::LightObject::Pointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::CreateAnother | ( | ) | const |
|
override |
|
override |
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 >.
|
overrideprotected |
Initialize the state of filter and equation before each iteration.
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
override |
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 142 of file itkGPUDemonsRegistrationFilter.h.