ITK
6.0.0
Insight 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 71 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 104 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::DisplacementFieldType = typename GPUSuperclass::DisplacementFieldType |
Deformation field type.
Definition at line 103 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FiniteDifferenceFunctionType = typename GPUSuperclass::FiniteDifferenceFunctionType |
FiniteDifferenceFunction type.
Definition at line 107 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImagePointer = typename GPUSuperclass::FixedImagePointer |
Definition at line 96 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::FixedImageType = typename GPUSuperclass::FixedImageType |
FixedImage image type.
Definition at line 95 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::GPUDemonsRegistrationFunctionType = GPUDemonsRegistrationFunction<FixedImageType, MovingImageType, DisplacementFieldType> |
GPUDemonsRegistrationFilterFunction type.
Definition at line 111 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 100 of file itkGPUDemonsRegistrationFilter.h.
using itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >::MovingImageType = typename GPUSuperclass::MovingImageType |
MovingImage image type.
Definition at line 99 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 92 of file itkGPUDemonsRegistrationFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotected |
Apply update.
|
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 overlapping region between the two images. This is value is only available for the previous iteration and NOT the current iteration.
|
override |
|
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 147 of file itkGPUDemonsRegistrationFilter.h.