#include <itkMIRegistrationFunction.h>
This class encapsulates a mutual information force for deformable registration algorithms. It is used by a RegistrationFilter to compute the output deformation field which will map a moving image onto a a fixed image.
Non-integer moving image values are obtained by using interpolation. The default interpolator is of type LinearInterpolateImageFunction. The user may set other interpolators via method SetMovingImageInterpolator. Note that the input interpolator must derive from baseclass InterpolateImageFunction.
This class is templated over the fixed image type, moving image type, and the deformation field type.
Definition at line 53 of file itkMIRegistrationFunction.h.
typedef SmartPointer<const Self> itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ConstPointer |
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 64 of file itkMIRegistrationFunction.h.
typedef double itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::CoordRepType |
Interpolator type.
Definition at line 100 of file itkMIRegistrationFunction.h.
typedef CovariantVector<double,itkGetStaticConstMacro(ImageDimension)> itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::CovariantVectorType |
Covariant vector type.
Definition at line 108 of file itkMIRegistrationFunction.h.
typedef ZeroFluxNeumannBoundaryCondition<ImageType> itk::FiniteDifferenceFunction< TDeformationField >::DefaultBoundaryConditionType [inherited] |
The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method.
Definition at line 92 of file itkFiniteDifferenceFunction.h.
typedef LinearInterpolateImageFunction<MovingImageType,CoordRepType> itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DefaultInterpolatorType |
Definition at line 105 of file itkMIRegistrationFunction.h.
typedef Superclass::DeformationFieldType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldType |
Deformation field type.
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 85 of file itkMIRegistrationFunction.h.
typedef Superclass::DeformationFieldTypePointer itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::DeformationFieldTypePointer |
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 87 of file itkMIRegistrationFunction.h.
typedef ConstNeighborhoodIterator<FixedImageType> itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImageNeighborhoodIteratorType [protected] |
FixedImage image neighborhood iterator type.
Definition at line 160 of file itkMIRegistrationFunction.h.
typedef Superclass::FixedImagePointer itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImagePointer |
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 79 of file itkMIRegistrationFunction.h.
typedef Superclass::FixedImageType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FixedImageType |
FixedImage image type.
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 78 of file itkMIRegistrationFunction.h.
typedef Superclass::FloatOffsetType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::FloatOffsetType |
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.
Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 96 of file itkMIRegistrationFunction.h.
typedef GradientCalculatorType::Pointer itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GradientCalculatorPointer |
Definition at line 112 of file itkMIRegistrationFunction.h.
typedef CentralDifferenceImageFunction<FixedImageType> itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GradientCalculatorType |
Gradient calculator type.
Definition at line 111 of file itkMIRegistrationFunction.h.
typedef TDeformationField itk::FiniteDifferenceFunction< TDeformationField >::ImageType [inherited] |
Extract some parameters from the image type
Definition at line 76 of file itkFiniteDifferenceFunction.h.
typedef FixedImageType::IndexType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::IndexType |
Definition at line 80 of file itkMIRegistrationFunction.h.
typedef int itk::LightObject::InternalReferenceCountType [protected, inherited] |
Define the type of the reference count according to the target. This allows the use of atomic operations
Definition at line 139 of file itkLightObject.h.
typedef InterpolatorType::Pointer itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::InterpolatorPointer |
Definition at line 102 of file itkMIRegistrationFunction.h.
typedef InterpolateImageFunction<MovingImageType,CoordRepType> itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::InterpolatorType |
Definition at line 101 of file itkMIRegistrationFunction.h.
typedef Superclass::MovingImagePointer itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImagePointer |
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 75 of file itkMIRegistrationFunction.h.
typedef Superclass::MovingImageType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MovingImageType |
MovingImage image type.
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 71 of file itkMIRegistrationFunction.h.
typedef Vector<PixelRealType,itkGetStaticConstMacro(ImageDimension)> itk::FiniteDifferenceFunction< TDeformationField >::NeighborhoodScalesType [inherited] |
The type of data structure that holds the scales with which the neighborhood is weighted to properly account for spacing and neighborhood radius.
Definition at line 103 of file itkFiniteDifferenceFunction.h.
typedef Superclass::NeighborhoodType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::NeighborhoodType |
The type of data structure that is passed to this function object to evaluate at a pixel that does not lie on a data set boundary.
Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 95 of file itkMIRegistrationFunction.h.
typedef double itk::FiniteDifferenceFunction< TDeformationField >::PixelRealType [inherited] |
Definition at line 81 of file itkFiniteDifferenceFunction.h.
typedef Superclass::PixelType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PixelType |
Inherit some enums from the superclass.
Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 93 of file itkMIRegistrationFunction.h.
typedef SmartPointer<Self> itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Pointer |
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 63 of file itkMIRegistrationFunction.h.
typedef InterpolatorType::PointType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PointType |
Definition at line 103 of file itkMIRegistrationFunction.h.
typedef Superclass::RadiusType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::RadiusType |
Neighborhood radius type
Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 94 of file itkMIRegistrationFunction.h.
typedef MIRegistrationFunction itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Self |
Standard class typedefs.
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 60 of file itkMIRegistrationFunction.h.
typedef FixedImageType::SizeType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SizeType |
Definition at line 81 of file itkMIRegistrationFunction.h.
typedef FixedImageType::SpacingType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SpacingType |
Definition at line 82 of file itkMIRegistrationFunction.h.
typedef PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField > itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::Superclass |
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
Definition at line 62 of file itkMIRegistrationFunction.h.
typedef Superclass::TimeStepType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::TimeStepType |
Define the TimeStepType to always be double.
Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 97 of file itkMIRegistrationFunction.h.
itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::MIRegistrationFunction | ( | ) | [protected] |
itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::~MIRegistrationFunction | ( | ) | [inline, protected] |
Definition at line 156 of file itkMIRegistrationFunction.h.
static void itk::LightObject::BreakOnError | ( | ) | [static, inherited] |
This method is called when itkExceptionMacro executes. It allows the debugger to break on error.
virtual TimeStepType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeGlobalTimeStep | ( | void * | ) | const [inline, virtual] |
This class uses a constant timestep of 1.
Implements itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 123 of file itkMIRegistrationFunction.h.
const NeighborhoodScalesType itk::FiniteDifferenceFunction< TDeformationField >::ComputeNeighborhoodScales | ( | ) | const [inherited] |
Compute the scales that weight the neighborhood during difference operations to properly account for spacing and neighborhood radius
virtual PixelType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ComputeUpdate | ( | const NeighborhoodType & | neighborhood, | |
void * | globalData, | |||
const FloatOffsetType & | offset = FloatOffsetType(0.0) | |||
) | [virtual] |
This method is called by a finite difference solver image filter at each pixel that does not lie on a data set boundary
Implements itk::FiniteDifferenceFunction< TDeformationField >.
virtual Pointer itk::LightObject::CreateAnother | ( | ) | const [virtual, inherited] |
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 in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, itk::CreateObjectFunction< T >, itk::MetaDataObject< MetaDataObjectType >, itk::Object, itk::TransformFactoryBase, itk::AnalyzeImageIOFactory, itk::BioRadImageIOFactory, itk::BMPImageIOFactory, itk::Brains2MaskImageIOFactory, itk::DICOMImageIO2Factory, itk::DicomImageIOFactory, itk::GDCMImageIOFactory, itk::GE4ImageIOFactory, itk::GE5ImageIOFactory, itk::GEAdwImageIOFactory, itk::GiplImageIOFactory, itk::JPEGImageIOFactory, itk::LSMImageIOFactory, itk::MetaImageIOFactory, itk::NiftiImageIOFactory, itk::NrrdImageIOFactory, itk::PNGImageIOFactory, itk::RawImageIOFactory< TPixel, VImageDimension >, itk::SiemensVisionImageIOFactory, itk::StimulateImageIOFactory, itk::TIFFImageIOFactory, itk::VTKImageIOFactory, itk::Bruker2DSEQImageIOFactory, itk::MatlabTransformIOFactory, itk::MINC2ImageIOFactory, itk::MRCImageIOFactory, itk::PhilipsRECImageIOFactory, itk::TxtTransformIOFactory, itk::VoxBoCUBImageIOFactory, itk::VTKImageIO2Factory, and itk::SpatialObjectFactoryBase.
virtual void itk::LightObject::Delete | ( | ) | [virtual, inherited] |
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.
DeformationFieldType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetDeformationField | ( | void | ) | [inline, inherited] |
Get the deformation field. This function should have been declared const. It is not for backward compatibility reasons.
Definition at line 88 of file itkPDEDeformableRegistrationFunction.h.
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetEnergy | ( | ) | const [inline, inherited] |
Definition at line 92 of file itkPDEDeformableRegistrationFunction.h.
const FixedImageType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetFixedImage | ( | void | ) | const [inline, inherited] |
Get the fixed image.
Definition at line 79 of file itkPDEDeformableRegistrationFunction.h.
virtual void* itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetGlobalDataPointer | ( | ) | const [inline, virtual] |
Return a pointer to a global data structure that is passed to this object from the solver at each calculation.
Implements itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 128 of file itkMIRegistrationFunction.h.
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetGradientStep | ( | ) | const [inline, inherited] |
Definition at line 94 of file itkPDEDeformableRegistrationFunction.h.
const MovingImageType* itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetMovingImage | ( | void | ) | const [inline, inherited] |
Get the moving image.
Definition at line 71 of file itkPDEDeformableRegistrationFunction.h.
InterpolatorType* itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetMovingImageInterpolator | ( | void | ) | [inline] |
Get the moving image interpolator.
Definition at line 119 of file itkMIRegistrationFunction.h.
virtual const char* itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
bool itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::GetNormalizeGradient | ( | ) | const [inline, inherited] |
Definition at line 96 of file itkPDEDeformableRegistrationFunction.h.
const RadiusType& itk::FiniteDifferenceFunction< TDeformationField >::GetRadius | ( | void | ) | const [inline, inherited] |
Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 146 of file itkFiniteDifferenceFunction.h.
virtual int itk::LightObject::GetReferenceCount | ( | ) | const [inline, virtual, inherited] |
Gets the reference count on this object.
Definition at line 106 of file itkLightObject.h.
virtual void itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::InitializeIteration | ( | ) | [virtual] |
Set the object's state before each iteration.
Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.
static Pointer itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightObject.
void itk::LightObject::Print | ( | std::ostream & | os, | |
Indent | indent = 0 | |||
) | const [inherited] |
Cause the object to print itself out.
Referenced by itk::WeakPointer< ProcessObject >::Print().
virtual void itk::LightObject::PrintHeader | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
void itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PrintSelf | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >.
virtual void itk::LightObject::PrintTrailer | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
virtual void itk::LightObject::Register | ( | ) | const [virtual, inherited] |
Increase the reference count (mark as used by another object).
Reimplemented in itk::Object.
virtual void itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ReleaseGlobalDataPointer | ( | void * | GlobalData | ) | const [inline, virtual] |
Release memory for global data structure.
Implements itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 136 of file itkMIRegistrationFunction.h.
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetDeformationField | ( | DeformationFieldTypePointer | ptr | ) | [inline, inherited] |
Set the deformation field image.
Definition at line 83 of file itkPDEDeformableRegistrationFunction.h.
void itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetDoInverse | ( | bool | b = false |
) | [inline] |
Definition at line 151 of file itkMIRegistrationFunction.h.
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetEnergy | ( | double | e | ) | [inline, inherited] |
Definition at line 91 of file itkPDEDeformableRegistrationFunction.h.
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetFixedImage | ( | const FixedImageType * | ptr | ) | [inline, inherited] |
Set the fixed image.
Definition at line 75 of file itkPDEDeformableRegistrationFunction.h.
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetGradientStep | ( | double | e | ) | [inline, inherited] |
Definition at line 93 of file itkPDEDeformableRegistrationFunction.h.
void itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetMinNorm | ( | float | ts = 1.0 |
) | [inline] |
Definition at line 148 of file itkMIRegistrationFunction.h.
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetMovingImage | ( | const MovingImageType * | ptr | ) | [inline, inherited] |
Set the moving image.
Definition at line 67 of file itkPDEDeformableRegistrationFunction.h.
void itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetMovingImageInterpolator | ( | InterpolatorType * | ptr | ) | [inline] |
Set the moving image interpolator.
Definition at line 115 of file itkMIRegistrationFunction.h.
void itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::SetNormalizeGradient | ( | bool | e | ) | [inline, inherited] |
Definition at line 95 of file itkPDEDeformableRegistrationFunction.h.
void itk::FiniteDifferenceFunction< TDeformationField >::SetRadius | ( | const RadiusType & | r | ) | [inline, inherited] |
Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.
Definition at line 141 of file itkFiniteDifferenceFunction.h.
virtual void itk::LightObject::SetReferenceCount | ( | int | ) | [virtual, inherited] |
Sets the reference count on this object. This is a dangerous method, use it with care.
Reimplemented in itk::Object.
void itk::FiniteDifferenceFunction< TDeformationField >::SetScaleCoefficients | ( | PixelRealType | vals[ImageDimension] | ) | [inline, inherited] |
Set the ScaleCoefficients for the difference operators. The defaults a 1.0. These can be set to take the image spacing into account.
Definition at line 152 of file itkFiniteDifferenceFunction.h.
virtual void itk::LightObject::UnRegister | ( | ) | const [virtual, inherited] |
Decrease the reference count (release by another object).
Reimplemented in itk::Object.
const unsigned int itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::ImageDimension = Superclass::ImageDimension [static] |
Inherit some enums from the superclass.
Reimplemented from itk::FiniteDifferenceFunction< TDeformationField >.
Definition at line 90 of file itkMIRegistrationFunction.h.
DeformationFieldTypePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_DeformationField [protected, inherited] |
The deformation field.
Definition at line 128 of file itkPDEDeformableRegistrationFunction.h.
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_Energy [mutable, protected, inherited] |
Definition at line 130 of file itkPDEDeformableRegistrationFunction.h.
FixedImagePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_FixedImage [protected, inherited] |
The fixed image.
Definition at line 125 of file itkPDEDeformableRegistrationFunction.h.
double itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_GradientStep [mutable, protected, inherited] |
Definition at line 132 of file itkPDEDeformableRegistrationFunction.h.
MovingImagePointer itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_MovingImage [protected, inherited] |
The moving image.
Definition at line 122 of file itkPDEDeformableRegistrationFunction.h.
bool itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_NormalizeGradient [protected, inherited] |
Definition at line 131 of file itkPDEDeformableRegistrationFunction.h.
RadiusType itk::FiniteDifferenceFunction< TDeformationField >::m_Radius [protected, inherited] |
Definition at line 203 of file itkFiniteDifferenceFunction.h.
InternalReferenceCountType itk::LightObject::m_ReferenceCount [mutable, protected, inherited] |
Number of uses of this object by other objects.
Definition at line 144 of file itkLightObject.h.
SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited] |
Mutex lock to protect modification to the reference count
Definition at line 147 of file itkLightObject.h.
PixelRealType itk::FiniteDifferenceFunction< TDeformationField >::m_ScaleCoefficients[ImageDimension] [protected, inherited] |
Definition at line 204 of file itkFiniteDifferenceFunction.h.
TimeStepType itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::m_TimeStep [protected] |
The global timestep.
Definition at line 170 of file itkMIRegistrationFunction.h.