ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkFastSymmetricForcesDemonsRegistrationFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = FixedImageType::ImageDimension |
Static Public Attributes inherited from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > | |
Static Public Attributes inherited from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > | |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TDisplacementField, TDisplacementField > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TDisplacementField, TDisplacementField > | |
Static Public Attributes inherited from itk::ImageSource< TDisplacementField > |
Protected Types | |
typedef AdderType::Pointer | AdderPointer |
typedef AddImageFilter < DisplacementFieldType, DisplacementFieldType, DisplacementFieldType > | AdderType |
typedef Superclass::FiniteDifferenceFunctionType | FiniteDifferenceFunctionType |
typedef MultiplyByConstantType::Pointer | MultiplyByConstantPointer |
typedef MultiplyImageFilter < DisplacementFieldType, itk::Image< TimeStepType, ImageDimension > , DisplacementFieldType > | MultiplyByConstantType |
typedef FiniteDifferenceFunctionType::TimeStepType | TimeStepType |
Private Member Functions | |
DemonsRegistrationFunctionType * | DownCastDifferenceFunctionType () |
const DemonsRegistrationFunctionType * | DownCastDifferenceFunctionType () const |
FastSymmetricForcesDemonsRegistrationFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
AdderPointer | m_Adder |
MultiplyByConstantPointer | m_Multiplier |
Deformably register two images using a symmetric forces demons algorithm.
This class was contributed by Tom Vercauteren, INRIA & Mauna Kea Technologies based on a variation of the DemonsRegistrationFilter.
FastSymmetricForcesDemonsRegistrationFilter 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 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 DemonsRegistrationFunction.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/510
Definition at line 73 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
protected |
Definition at line 174 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
protected |
Definition at line 171 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef SmartPointer< const Self > itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::ConstPointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 82 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef ESMDemonsRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DemonsRegistrationFunctionType |
DemonsRegistrationFilterFunction type.
FIXME: Why is this the only permissible function ?
Definition at line 121 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef Superclass::DisplacementFieldPointer itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldPointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 101 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef Superclass::DisplacementFieldType itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::DisplacementFieldType |
Deformation field type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 100 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
protected |
FiniteDifferenceFunction type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 154 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef Superclass::FixedImagePointer itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImagePointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 93 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef Superclass::FixedImageType itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::FixedImageType |
FixedImage image type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 89 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef DemonsRegistrationFunctionType::GradientType itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GradientType |
Definition at line 123 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef Superclass::MovingImagePointer itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImagePointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 97 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef Superclass::MovingImageType itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::MovingImageType |
MovingImage image type.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 96 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
protected |
Definition at line 173 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
protected |
other typedefs
Definition at line 167 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef SmartPointer< Self > itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Pointer |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 81 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef FastSymmetricForcesDemonsRegistrationFilter itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Self |
Standard class typedefs.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 79 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
typedef PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::Superclass |
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 80 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
protected |
Take timestep type from the FiniteDifferenceFunction.
Reimplemented from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >.
Definition at line 158 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
protected |
|
inlineprotected |
Definition at line 142 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
private |
|
protectedvirtual |
This method allocates storage in m_UpdateBuffer. It is called from FiniteDifferenceFilter::GenerateData().
Reimplemented from itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >.
|
protectedvirtual |
Apply update.
|
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::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
private |
Downcast the DifferenceFunction using a dynamic_cast to ensure that it is of the correct type. this method will throw an exception if the function is not of the expected type.
|
private |
|
virtual |
|
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 value is calculated for the current iteration
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
virtual |
|
virtual |
|
protectedvirtual |
Initialize the state of filter and equation before each iteration.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
static |
Method for creation through the object factory.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
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::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
protectedvirtual |
Set/Get the desired limits of the Gaussian kernel width.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
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 |
|
virtual |
|
static |
Inherit some enums and typedefs from the superclass.
Reimplemented from itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
Definition at line 104 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
private |
Definition at line 189 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.
|
private |
Definition at line 188 of file itkFastSymmetricForcesDemonsRegistrationFilter.h.