ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkGPUDemonsRegistrationFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Private Member Functions | |
GPUDemonsRegistrationFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_UseMovingImageGradient |
Additional Inherited Members | |
Static Public Attributes inherited from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter > | |
static const unsigned int | ImageDimension = GPUSuperclass::ImageDimension |
Static Public Attributes inherited from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter > | |
Static Public Attributes inherited from itk::GPUFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter > | |
Static Public Attributes inherited from itk::GPUInPlaceImageFilter< TDeformationField, TDeformationField, TParentImageFilter > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::GPUImageToImageFilter< TDeformationField, TDeformationField, TParentImageFilter > |
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 SetInitialDeformationField 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 GetDeformationField.
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.
typedef SmartPointer< const Self > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::ConstPointer |
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 84 of file itkGPUDemonsRegistrationFilter.h.
typedef TParentImageFilter itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::CPUSuperclass |
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 80 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::DeformationFieldPointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::DeformationFieldPointer |
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 108 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::DeformationFieldType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::DeformationFieldType |
Deformation field type.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 106 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::FiniteDifferenceFunctionType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::FiniteDifferenceFunctionType |
FiniteDifferenceFunction type.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 112 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::FixedImagePointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::FixedImagePointer |
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 98 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::FixedImageType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::FixedImageType |
FixedImage image type.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 97 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUDemonsRegistrationFunction< FixedImageType, MovingImageType, DeformationFieldType > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GPUDemonsRegistrationFunctionType |
GPUDemonsRegistrationFilterFunction type.
Definition at line 116 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::GPUSuperclass |
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 78 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::MovingImagePointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::MovingImagePointer |
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 102 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::MovingImageType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::MovingImageType |
MovingImage image type.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 101 of file itkGPUDemonsRegistrationFilter.h.
typedef SmartPointer< Self > itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::Pointer |
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 82 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUDemonsRegistrationFilter itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::Self |
Standard class typedefs.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
Definition at line 76 of file itkGPUDemonsRegistrationFilter.h.
typedef GPUSuperclass::TimeStepType itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::TimeStepType |
Inherit types from GPUSuperclass.
Reimplemented from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.
Definition at line 91 of file itkGPUDemonsRegistrationFilter.h.
|
protected |
|
inlineprotected |
Definition at line 142 of file itkGPUDemonsRegistrationFilter.h.
|
private |
|
protectedvirtual |
Apply update.
Reimplemented from itk::GPUDenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField, TParentImageFilter >.
virtual::itk::LightObject::Pointer itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >::CreateAnother | ( | void | ) | const |
|
virtual |
|
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 |
Run-time type information (and related methods).
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
|
virtual |
Switch between using the fixed image and moving image gradient for computing the deformation field updates.
|
protectedvirtual |
Initialize the state of filter and equation before each iteration.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
|
static |
Method for creation through the object factory.
Reimplemented from itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField, TParentImageFilter >.
|
private |
|
protectedvirtual |
|
virtual |
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.
|
virtual |
Switch between using the fixed image and moving image gradient for computing the deformation field updates.
|
virtual |
Switch between using the fixed image and moving image gradient for computing the deformation field updates.
|
virtual |
Switch between using the fixed image and moving image gradient for computing the deformation field updates.
|
private |
Definition at line 156 of file itkGPUDemonsRegistrationFilter.h.