ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType > Class Template Reference

#include <itkFEMRegistrationFilter.h>

+ Inheritance diagram for itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >:
+ Collaboration diagram for itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >:

Detailed Description

template<typename TMovingImage, typename TFixedImage, typename TFemObjectType>
class itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >

FEM Image registration filter. The image registration problem is modelled here with the finite element method. Image registration is, in general, an ill-posed problem. Thus, we use an optimization scheme where the optimization criterion is given by a regularized variational energy. The variational energy arises from modeling the image as a physical body on which external forces act. The body is allowed to deform so as to minimize the applied force. The resistance of the physical body to deformation, determined by the physics associated with the body, serves to regularize the solution. The forces applied to the body are, generally, highly non-linear and so the body is allowed to deform slowly and incrementally. The direction it deforms follows the gradient of the potential energy (the force) we define. The potential energies we may choose from are given by the itk image-to-image metrics. The choices and the associated direction of descent are : Mean Squares (minimize), Normalized Cross-Correlation (maximize), and Mutual Information (maximize). Note that we have to set the direction (SetDescentDirection) when we choose a metric.

The forces driving the problem may also be given by user-supplied landmarks. The corners of the image, in this example, are always pinned. This example is designed for 2D or 3D images. A rectilinear mesh is generated automatically given the correct element type (Quadrilateral or Hexahedral). Our specific Solver for this example uses trapezoidal time stepping. This is a method for solving a second-order PDE in time. The solution is penalized by the zeroth (mass matrix) and first derivatives (stiffness matrix) of the shape functions. There is an option to perform a line search on the energy after each iteration. Optimal parameter settings require experimentation. The following approach tends to work well : Choose the relative size of density to elasticity (e.g. Rho / E ~= 1.) such that the image deforms locally and slowly. This also affects the stability of the solution. Choose the time step to control the size of the deformation at each step. Choose enough iterations to allow the solution to converge (this may be automated).

To use this filter the user will at a minimum set the Fixed and Moving images. If the user does not specify a mesh using the SetInputFEMObject() then a mesh will be created automatically of the approriate type (2d=quads and 3d=hex). The user has significant control over the registration process including setting number of resolution levels, material properties, and the metric used to define correspondence between images.

Note
This code works for only 2 or 3 dimensions b/c we do not have > 3D elements.
TODO : Keep the full field around (if using re-gridding). Introduce compensation for kinematic non-linearity in time (if using Eulerian frame).
Examples:
Examples/RegistrationITKv3/DeformableRegistration1.cxx, Examples/RegistrationITKv3/DeformableRegistration11.cxx, Examples/RegistrationITKv4/DeformableRegistration1.cxx, and Examples/RegistrationITKv4/DeformableRegistration11.cxx.

Definition at line 118 of file itkFEMRegistrationFilter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef double CoordRepType
 
typedef
VectorLinearInterpolateImageFunction
< FieldType, CoordRepType
DefaultInterpolatorType
 
typedef
itk::VectorExpandImageFilter
< FieldType, FieldType
ExpanderType
 
typedef
ExpanderType::ExpandFactorsType 
ExpandFactorsType
 
typedef TFemObjectType FEMObjectType
 
typedef
itk::ImageRegionIteratorWithIndex
< FieldType
FieldIterator
 
typedef FieldType::Pointer FieldPointer
 
typedef itk::Image< VectorType,
itkGetStaticConstMacro(ImageDimension)> 
FieldType
 
typedef TFixedImage FixedImageType
 
typedef double Float
 
typedef
itk::ImageRegionIteratorWithIndex
< FloatImageType
FloatImageIterator
 
typedef Image< float,
itkGetStaticConstMacro(ImageDimension)> 
FloatImageType
 
typedef
itk::ImageRegionIteratorWithIndex
< FixedImageType
ImageIterator
 
typedef
FiniteDifferenceFunctionLoad
< MovingImageType,
FixedImageType
ImageMetricLoadType
 
typedef FixedImageType::SizeType ImageSizeType
 
typedef
itk::fem::ImageToRectilinearFEMObjectFilter
< TMovingImage > 
ImageToMeshType
 
typedef
itk::VectorIndexSelectionCastImageFilter
< FieldType, FloatImageType
IndexSelectCasterType
 
typedef
InterpolationGridType::PointType 
InterpolationGridPointType
 
typedef
InterpolationGridType::SizeType 
InterpolationGridSizeType
 
typedef itk::Image
< Element::ConstPointer,
ImageDimension
InterpolationGridType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef
VectorInterpolateImageFunction
< FieldType, CoordRepType
InterpolatorType
 
typedef std::vector< typename
LoadLandmark::Pointer
LandmarkArrayType
 
typedef LinearSystemWrapperItpack LinearSystemSolverType
 
typedef Load::ArrayType LoadArray
 
typedef MaterialLinearElasticity MaterialType
 
typedef
PDEDeformableRegistrationFunction
< FixedImageType,
MovingImageType, FieldType
MetricBaseType
 
typedef MetricBaseType::Pointer MetricBaseTypePointer
 
typedef TMovingImage MovingImageType
 
typedef FixedImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef FixedImageType::PointType PointType
 
typedef FEMRegistrationFilter Self
 
enum  Sign {
  positive = 1,
  negative = -1
}
 
typedef SolverCrankNicolson
< ImageDimension
SolverType
 
typedef FixedArray< double,
ImageDimension
StandardDeviationsType
 
typedef ImageToImageFilter
< TMovingImage, TFixedImage > 
Superclass
 
typedef itk::Vector< float,
itkGetStaticConstMacro(ImageDimension)> 
VectorType
 
typedef itk::WarpImageFilter
< MovingImageType,
FixedImageType, FieldType
WarperType
 
- Public Types inherited from itk::ImageToImageFilter< TMovingImage, TFixedImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TMovingImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TFixedImage > Superclass
 
- Public Types inherited from itk::ImageSource< TFixedImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TFixedImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef MultiThreader MultiThreaderType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void AddLandmark (PointType source, PointType target)
 
void ChooseMetric (unsigned int whichmetric)
 
void ClearLandmarks ()
 
void ComputeJacobian ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void CreateMeshFromImageOff ()
 
virtual void CreateMeshFromImageOn ()
 
void DeleteLandmark (unsigned int i)
 
void EnforceDiffeomorphism (float thresh, SolverType *S, bool onlywriteimages)
 
virtual bool GetCreateMeshFromImage ()
 
FieldTypeGetDisplacementField ()
 
Float GetElasticity (unsigned int which=0)
 
FixedImageTypeGetFixedImage ()
 
ImageSizeType GetImageSize ()
 
FEMObjectTypeGetInputFEMObject (unsigned int level=0)
 
virtual const InterpolatorTypeGetInterpolator () const
 
FloatImageTypeGetJacobianImage ()
 
void GetLandmark (unsigned int i, PointType &source, PointType &target)
 
unsigned int GetMetricType ()
 
virtual InterpolatorTypeGetModifiableInterpolator ()
 
MovingImageTypeGetMovingImage ()
 
virtual const char * GetNameOfClass () const
 
MovingImageTypeGetOriginalMovingImage ()
 
virtual const
StandardDeviationsType
GetStandardDeviations () const
 
virtual bool GetUseLandmarks ()
 
virtual bool GetUseNormalizedGradient ()
 
FixedImageTypeGetWarpedImage ()
 
unsigned int GetWidthOfMetricRegion (unsigned int which=0)
 
void InsertLandmark (unsigned int i, PointType source, PointType target)
 
void IterativeSolve (SolverType *S)
 
void MultiResSolve ()
 
void PrintVectorField (unsigned int modnum=1000)
 
void RunRegistration ()
 
virtual void SetCreateMeshFromImage (bool _arg)
 
void SetDescentDirectionMaximize ()
 
void SetDescentDirectionMinimize ()
 
void SetElasticity (Float i, unsigned int which=0)
 
void SetElement (Element::Pointer e)
 
void SetFixedImage (FixedImageType *T)
 
void SetGamma (Float r, unsigned int which=0)
 
void SetInputFEMObject (FEMObjectType *F, unsigned int level=0)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
void SetMaterial (MaterialType::Pointer m)
 
void SetMaximumIterations (unsigned int i, unsigned int which)
 
void SetMovingImage (MovingImageType *R)
 
void SetNumberOfIntegrationPoints (unsigned int i, unsigned int which=0)
 
void SetRho (Float r, unsigned int which=0)
 
virtual void SetUseLandmarks (bool _arg)
 
virtual void SetUseNormalizedGradient (bool _arg)
 
void SetWidthOfMetricRegion (unsigned int i, unsigned int which=0)
 
virtual void UseLandmarksOff ()
 
virtual void UseLandmarksOn ()
 
virtual void UseNormalizedGradientOff ()
 
virtual void UseNormalizedGradientOn ()
 
void WarpImage (const MovingImageType *R)
 
void SetDisplacementField (FieldType *F)
 
void SetMeshPixelsPerElementAtEachResolution (unsigned int i, unsigned int which=0)
 
virtual void SetTimeStep (Float _arg)
 
virtual Float GetTimeStep ()
 
virtual void SetAlpha (Float _arg)
 
virtual Float GetAlpha ()
 
virtual void SetUseMassMatrix (bool _arg)
 
virtual bool GetUseMassMatrix ()
 
virtual void UseMassMatrixOn ()
 
virtual void UseMassMatrixOff ()
 
virtual void SetEnergyReductionFactor (Float _arg)
 
virtual Float GetEnergyReductionFactor ()
 
virtual void SetDoLineSearchOnImageEnergy (unsigned int _arg)
 
virtual unsigned int GetDoLineSearchOnImageEnergy ()
 
virtual void SetEmployRegridding (unsigned int _arg)
 
virtual unsigned int GetEmployRegridding ()
 
virtual void SetLineSearchMaximumIterations (unsigned int _arg)
 
virtual unsigned int GetLineSearchMaximumIterations ()
 
virtual MetricBaseTypeGetModifiableMetric ()
 
virtual const MetricBaseTypeGetMetric () const
 
virtual void SetMetric (MetricBaseType *_arg)
 
void SetMaxLevel (unsigned int level)
 
virtual unsigned int GetMaxLevel ()
 
virtual void SetStandardDeviations (StandardDeviationsType _arg)
 
virtual void SetStandardDeviations (double value)
 
virtual void SetMaximumKernelWidth (unsigned int _arg)
 
virtual unsigned int GetMaximumKernelWidth () const
 
virtual void SetMaximumError (double _arg)
 
virtual double GetMaximumError () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TMovingImage, TFixedImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TMovingImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TFixedImage >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = FixedImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TMovingImage, TFixedImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TFixedImage >
static const unsigned int OutputImageDimension
 

Protected Member Functions

void ApplyImageLoads (MovingImageType *i1, FixedImageType *i2)
 
void ApplyLoads (ImageSizeType Isz, double *spacing=nullptr)
 
void CreateLinearSystemSolver ()
 
void CreateMesh (unsigned int ElementsPerSide, SolverType *solver)
 
Float EvaluateEnergy ()
 
Float EvaluateResidual (SolverType *mySolver, Float t)
 
FieldPointer ExpandVectorField (ExpandFactorsType *expandFactors, FieldType *f)
 
 FEMRegistrationFilter ()
 
void FindBracketingTriplet (SolverType *mySolver, Float *a, Float *b, Float *c)
 
FloatImageTypeGetMetricImage (FieldType *F)
 
Float GoldenSection (SolverType *mySolver, Float tol=0.01, unsigned int MaxIters=25)
 
void InterpolateVectorField (SolverType *S)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void SampleVectorFieldAtNodes (SolverType *S)
 
void SmoothDisplacementField ()
 
 ~FEMRegistrationFilter () override
 
virtual void SetLoad (ImageMetricLoadType *_arg)
 
virtual ImageMetricLoadTypeGetModifiableLoad ()
 
virtual const ImageMetricLoadTypeGetLoad () const
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TMovingImage, TFixedImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter () override
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TFixedImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void GenerateData () override
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void InitializeField ()
 

Private Attributes

Float m_Alpha
 
bool m_CreateMeshFromImage
 
ImageSizeType m_CurrentImageScaling
 
unsigned int m_CurrentLevel
 
FixedImageType::SizeType m_CurrentLevelImageSize
 
Sign m_DescentDirection
 
unsigned int m_DoLineSearchOnImageEnergy
 
vnl_vector< Floatm_E
 
Element::Pointer m_Element
 
unsigned int m_EmployRegridding
 
Float m_Energy
 
Float m_EnergyReductionFactor
 
FEMObjectType::Pointer m_FEMObject
 
FieldType::Pointer m_Field
 
FieldType::RegionType m_FieldRegion
 
FieldType::SizeType m_FieldSize
 
unsigned int m_FileCount
 
FixedImageType::Pointer m_FixedImage
 
FloatImageType::Pointer m_FloatImage
 
ImageSizeType m_FullImageSize
 
vnl_vector< Floatm_Gamma
 
ImageSizeType m_ImageOrigin
 
ImageSizeType m_ImageScaling
 
InterpolatorPointer m_Interpolator
 
LandmarkArrayType m_LandmarkArray
 
unsigned int m_LineSearchMaximumIterations
 
ImageMetricLoadType::Pointer m_Load
 
MaterialType::Pointer m_Material
 
double m_MaximumError
 
unsigned int m_MaximumKernelWidth
 
vnl_vector< unsigned int > m_Maxiters
 
unsigned int m_MaxLevel
 
vnl_vector< unsigned int > m_MeshPixelsPerElementAtEachResolution
 
MetricBaseTypePointer m_Metric
 
vnl_vector< unsigned int > m_MetricWidth
 
Float m_MinE
 
Float m_MinJacobian
 
MovingImageType::Pointer m_MovingImage
 
vnl_vector< unsigned int > m_NumberOfIntegrationPoints
 
MovingImageType::Pointer m_OriginalMovingImage
 
vnl_vector< Floatm_Rho
 
StandardDeviationsType m_StandardDeviations
 
Float m_TimeStep
 
FieldType::Pointer m_TotalField
 
unsigned int m_TotalIterations
 
bool m_UseLandmarks
 
bool m_UseMassMatrix
 
bool m_UseNormalizedGradient
 
FixedImageType::Pointer m_WarpedImage
 
WarperType::Pointer m_Warper
 
unsigned int m_WhichMetric
 
FixedImageType::IndexType m_Windex
 
FixedImageType::RegionType m_Wregion
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TMovingImage, TFixedImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TFixedImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef SmartPointer<const Self> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ConstPointer

Definition at line 124 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef double itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::CoordRepType

Typedef support for the interpolation function

Definition at line 164 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef VectorLinearInterpolateImageFunction<FieldType, CoordRepType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::DefaultInterpolatorType

Definition at line 168 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::VectorExpandImageFilter<FieldType, FieldType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ExpanderType

Definition at line 176 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef ExpanderType::ExpandFactorsType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ExpandFactorsType

Definition at line 177 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef TFemObjectType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FEMObjectType

Definition at line 134 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::ImageRegionIteratorWithIndex<FieldType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FieldIterator

Definition at line 159 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef FieldType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FieldPointer

Definition at line 179 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::Image<VectorType, itkGetStaticConstMacro(ImageDimension)> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FieldType

Definition at line 153 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef TFixedImage itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FixedImageType

Definition at line 133 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef double itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::Float

Definition at line 148 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::ImageRegionIteratorWithIndex<FloatImageType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FloatImageIterator

Definition at line 158 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef Image<float, itkGetStaticConstMacro(ImageDimension)> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FloatImageType

Definition at line 143 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::ImageRegionIteratorWithIndex<FixedImageType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ImageIterator

Definition at line 157 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef FiniteDifferenceFunctionLoad<MovingImageType, FixedImageType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ImageMetricLoadType

Instantiate the load class with the correct image type.

Definition at line 183 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef FixedImageType::SizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ImageSizeType

Definition at line 136 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::fem::ImageToRectilinearFEMObjectFilter<TMovingImage> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ImageToMeshType

Definition at line 174 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::VectorIndexSelectionCastImageFilter<FieldType, FloatImageType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::IndexSelectCasterType

Definition at line 161 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef InterpolationGridType::PointType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InterpolationGridPointType

Definition at line 172 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef InterpolationGridType::SizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InterpolationGridSizeType

Definition at line 171 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::Image<Element::ConstPointer, ImageDimension> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InterpolationGridType

Definition at line 170 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef InterpolatorType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InterpolatorPointer

Definition at line 166 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef VectorInterpolateImageFunction<FieldType, CoordRepType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InterpolatorType

Definition at line 165 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef std::vector<typename LoadLandmark::Pointer> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::LandmarkArrayType

Definition at line 151 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef LinearSystemWrapperItpack itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::LinearSystemSolverType

Definition at line 144 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef Load::ArrayType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::LoadArray

Definition at line 149 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef MaterialLinearElasticity itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::MaterialType

Definition at line 156 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef PDEDeformableRegistrationFunction<FixedImageType, MovingImageType, FieldType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::MetricBaseType

Definition at line 185 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef MetricBaseType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::MetricBaseTypePointer

Definition at line 187 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef TMovingImage itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::MovingImageType

Definition at line 130 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef FixedImageType::PixelType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::PixelType

Definition at line 135 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef SmartPointer<Self> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::Pointer

Definition at line 123 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef FixedImageType::PointType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::PointType

Definition at line 137 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef FEMRegistrationFilter itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::Self

Definition at line 121 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef SolverCrankNicolson<ImageDimension> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SolverType

Definition at line 145 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef FixedArray< double, ImageDimension > itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::StandardDeviationsType

Definition at line 188 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef ImageToImageFilter<TMovingImage, TFixedImage> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::Superclass

Definition at line 122 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::Vector<float, itkGetStaticConstMacro(ImageDimension)> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::VectorType

Definition at line 152 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
typedef itk::WarpImageFilter<MovingImageType, FixedImageType, FieldType> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::WarperType

Definition at line 154 of file itkFEMRegistrationFilter.h.

Member Enumeration Documentation

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
enum itk::fem::FEMRegistrationFilter::Sign
Enumerator
positive 
negative 

Definition at line 147 of file itkFEMRegistrationFilter.h.

Constructor & Destructor Documentation

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FEMRegistrationFilter ( )
protected
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::~FEMRegistrationFilter ( )
overrideprotected

Member Function Documentation

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::AddLandmark ( PointType  source,
PointType  target 
)

Add a way to include landmarks.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ApplyImageLoads ( MovingImageType i1,
FixedImageType i2 
)
protected

The image loads are entered into the solver.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ApplyLoads ( ImageSizeType  Isz,
double *  spacing = nullptr 
)
protected

The non-image loads are entered into the solver.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ChooseMetric ( unsigned int  whichmetric)

Select the metric used for image correspondence. The options are: 0 = Mean squares 1 = Cross correlation 2 = Mutual information 3 = Demons

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ClearLandmarks ( )
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ComputeJacobian ( )

Compute the jacobian of the current deformation field.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual::itk::LightObject::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::CreateAnother ( ) const
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::Object.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::CreateLinearSystemSolver ( )
protected

Builds the itpack linear system wrapper with appropriate parameters. Currently undefined.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::CreateMesh ( unsigned int  ElementsPerSide,
SolverType solver 
)
protected

This function generates a regular mesh of ElementsPerSide^D size.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::CreateMeshFromImageOff ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::CreateMeshFromImageOn ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::DeleteLandmark ( unsigned int  i)
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::EnforceDiffeomorphism ( float  thresh,
SolverType S,
bool  onlywriteimages 
)

We check the jacobian of the current deformation field. If it is < threshold, we begin diffeomorphism enforcement: 1) Warp the moving image. 2) Set the vector field to zero. 3) Set the warped moving image as the new moving image, resizing if necessary.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::EvaluateEnergy ( )
protected

Evaluates the image similarity energy by calling the image metric.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::EvaluateResidual ( SolverType mySolver,
Float  t 
)
protected

This is used to calculate residual error.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FieldPointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ExpandVectorField ( ExpandFactorsType expandFactors,
FieldType f 
)
protected

Re-size the vector field (smaller to larger).

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::FindBracketingTriplet ( SolverType mySolver,
Float a,
Float b,
Float c 
)
protected
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetAlpha ( )
virtual

Get/Set Difference parameter for the trapezoidal rule. This is usually set to 1.0, which is the default value.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetCreateMeshFromImage ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FieldType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetDisplacementField ( void  )
inline

Outputs the FE deformation field interpolated over the entire image domain.

Definition at line 254 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetDoLineSearchOnImageEnergy ( )
virtual

Get/Set the minimum energy between the current and next solution by linear search.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetElasticity ( unsigned int  which = 0)
inline

Gets the stiffness Matrix weight.

Definition at line 391 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetEmployRegridding ( )
virtual

Get/Set the number of iterations before regridding is employed.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetEnergyReductionFactor ( )
virtual

Get/Set the energy below which we decide the solution has converged.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FixedImageType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetFixedImage ( void  )
inline

Definition at line 211 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
ImageSizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetImageSize ( )
inline

Return the size of the full size image.

Definition at line 469 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FEMObjectType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetInputFEMObject ( unsigned int  level = 0)
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual const InterpolatorType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetInterpolator ( ) const
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FloatImageType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetJacobianImage ( )
inline

Get the image that gives the jacobian of the deformation field.

Definition at line 248 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetLandmark ( unsigned int  i,
PointType source,
PointType target 
)
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetLineSearchMaximumIterations ( )
virtual

Get/Set the line search maximum number of iterations. The default value is 100.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual const ImageMetricLoadType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetLoad ( ) const
protectedvirtual

Get/Set the solver's current load.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual double itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetMaximumError ( ) const
virtual

Set/Get the desired maximum error of the Gaussian kernel approximate.

See Also
GaussianOperator.
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetMaximumKernelWidth ( ) const
virtual

Set/Get the desired limits of the Gaussian kernel width.

See Also
GaussianOperator.
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetMaxLevel ( )
virtual

Get/Set the maximum number of levels for multi-resolution.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual const MetricBaseType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetMetric ( ) const
virtual

Get/Set the Metric used to define correspondence between images.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FloatImageType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetMetricImage ( FieldType F)
protected

Calculates the metric over the domain given the vector field.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetMetricType ( )
inline

Return the type of image metric used for the registration.

Definition at line 495 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual InterpolatorType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetModifiableInterpolator ( )
virtual

Get a pointer to the interpolator function.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual ImageMetricLoadType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetModifiableLoad ( )
protectedvirtual

Get/Set the solver's current load.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual MetricBaseType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetModifiableMetric ( )
virtual

Get/Set the Metric used to define correspondence between images.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
MovingImageType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetMovingImage ( void  )
inline

Get the Moving image. This image is dependent on the current resolution in a multi-resolution registration.

Definition at line 197 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual const char* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::ImageToImageFilter< TMovingImage, TFixedImage >.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
MovingImageType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetOriginalMovingImage ( )
inline

Get the original full resolution moving image.

Definition at line 203 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual const StandardDeviationsType& itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetStandardDeviations ( ) const
virtual

Get the Gaussian smoothing standard deviations use for smoothing the displacement field.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetTimeStep ( )
virtual

Get/Set the time step. This it typically set to 1.0, which is the default value. It may be preferable to use Rho to control step sizes.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetUseLandmarks ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetUseMassMatrix ( )
virtual

Get/Set Use of the mass matrix in FEM solution. This should be true.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetUseNormalizedGradient ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FixedImageType* itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetWarpedImage ( )
inline

Get the reference image warped to the target image. Must first apply the warp using WarpImage()

Definition at line 239 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GetWidthOfMetricRegion ( unsigned int  which = 0)
inline

Definition at line 317 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::GoldenSection ( SolverType mySolver,
Float  tol = 0.01,
unsigned int  MaxIters = 25 
)
protected

Finds the optimum value between the last two solutions and sets the current solution to that value. Uses Evaluate Residual

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InitializeField ( )
private
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InsertLandmark ( unsigned int  i,
PointType  source,
PointType  target 
)
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::InterpolateVectorField ( SolverType S)
protected

Interpolates the vector field over the domain. Our convention is to always keep the vector field at the scale of the original images.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::IterativeSolve ( SolverType S)

The solution loop.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::MultiResSolve ( )

The solution loop for a simple multi-resolution strategy.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
static Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::New ( )
static

Method for creation through the object factory.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

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::ImageToImageFilter< TMovingImage, TFixedImage >.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::PrintVectorField ( unsigned int  modnum = 1000)

Print vector field for debugging.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::RunRegistration ( )

Call this to register two images.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SampleVectorFieldAtNodes ( SolverType S)
protected

This is used for changing between mesh resolutions.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetAlpha ( Float  _arg)
virtual

Get/Set Difference parameter for the trapezoidal rule. This is usually set to 1.0, which is the default value.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetCreateMeshFromImage ( bool  _arg)
virtual

Get/Set if the FEM Mesh should be created from the fixed image or is provided by the user.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetDescentDirectionMaximize ( )
inline

Image Metric maximizes energy.

Definition at line 415 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetDescentDirectionMinimize ( )
inline

Image Metric minimizes energy.

Definition at line 409 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetDisplacementField ( FieldType F)
inline
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetDoLineSearchOnImageEnergy ( unsigned int  _arg)
virtual

Get/Set the minimum energy between the current and next solution by linear search.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetElasticity ( Float  i,
unsigned int  which = 0 
)
inline

Sets the stiffness Matrix weight.

Definition at line 385 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetElement ( Element::Pointer  e)
inline

This function allows one to set the element and its material externally.

Definition at line 501 of file itkFEMRegistrationFilter.h.

References itk::Math::e.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetEmployRegridding ( unsigned int  _arg)
virtual

Get/Set the number of iterations before regridding is employed.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetEnergyReductionFactor ( Float  _arg)
virtual

Get/Set the energy below which we decide the solution has converged.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetFixedImage ( FixedImageType T)

Get/Set the target (fixed) image.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetGamma ( Float  r,
unsigned int  which = 0 
)
inline

Set image similarity energy weight.

Definition at line 403 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetInputFEMObject ( FEMObjectType F,
unsigned int  level = 0 
)

Get/Set the finite element mesh for the registration. A separate mesh will be returned for each level of the registration. If the user provides a mesh, one should be provided for each level.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetInterpolator ( InterpolatorType _arg)
virtual

Set the interpolator function.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetLineSearchMaximumIterations ( unsigned int  _arg)
virtual

Get/Set the line search maximum number of iterations. The default value is 100.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetLoad ( ImageMetricLoadType _arg)
protectedvirtual

Get/Set the solver's current load.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMaterial ( MaterialType::Pointer  m)
inline

This sets the pointer to the material.

Definition at line 507 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMaximumError ( double  _arg)
virtual

Set/Get the desired maximum error of the Gaussian kernel approximate.

See Also
GaussianOperator.
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMaximumIterations ( unsigned int  i,
unsigned int  which 
)
inline

Setting the maximum iterations stops the solution after i iterations regardless of energy.

Parameters
inumber of elements
whichdetermines the resolution of the solution process the call is applied to.

Definition at line 326 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMaximumKernelWidth ( unsigned int  _arg)
virtual

Set/Get the desired limits of the Gaussian kernel width.

See Also
GaussianOperator.
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMaxLevel ( unsigned int  level)

Get/Set the maximum number of levels for multi-resolution.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMeshPixelsPerElementAtEachResolution ( unsigned int  i,
unsigned int  which = 0 
)
inline

The FEM filter can generate its own mesh for 2 or 3 dimensions, if none is provided. The mesh is generated for quadrilaterals in 2D and hexahedra in 3D. This function sets the number of elements generated along each dimension at the resolution designated by "which". E.g. to generate 10 pixels per element in each dimension in the 1st resolution, use SetMeshResolution(10,0);.

Definition at line 293 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMetric ( MetricBaseType _arg)
virtual

Get/Set the Metric used to define correspondence between images.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetMovingImage ( MovingImageType R)

Set the Moving image.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetNumberOfIntegrationPoints ( unsigned int  i,
unsigned int  which = 0 
)
inline

This determines the number of integration points to use at each resolution. These integration points are used to generate the force. The actual number used will be i^d, where d is the number of parameters in the elements local domain.

Definition at line 302 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetRho ( Float  r,
unsigned int  which = 0 
)
inline

Set mass matrix weight.

Definition at line 397 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetStandardDeviations ( StandardDeviationsType  _arg)
virtual

Set the Gaussian smoothing standard deviations for the displacement field. The values are set with respect to pixel coordinates.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetStandardDeviations ( double  value)
virtual

Set the Gaussian smoothing standard deviations for the displacement field. The values are set with respect to pixel coordinates.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetTimeStep ( Float  _arg)
virtual

Get/Set the time step. This it typically set to 1.0, which is the default value. It may be preferable to use Rho to control step sizes.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetUseLandmarks ( bool  _arg)
virtual

Get/Set if landmarks are being used.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetUseMassMatrix ( bool  _arg)
virtual

Get/Set Use of the mass matrix in FEM solution. This should be true.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetUseNormalizedGradient ( bool  _arg)
virtual

Get/Set the use of normalized gradient values in the image metric during registration.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SetWidthOfMetricRegion ( unsigned int  i,
unsigned int  which = 0 
)
inline

The metric region allows one to compute the derivative (force) of the similarity metric using a region of size [i,i] in 2D and [i,i,i] in 3D.

Parameters
inumber of elements
whichdetermines the region at a given resolution of the solution process.

Definition at line 312 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::SmoothDisplacementField ( )
protected

Smooth the current displacement field using a separable Gaussian kernel.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::UseLandmarksOff ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::UseLandmarksOn ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::UseMassMatrixOff ( )
virtual

Get/Set Use of the mass matrix in FEM solution. This should be true.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::UseMassMatrixOn ( )
virtual

Get/Set Use of the mass matrix in FEM solution. This should be true.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::UseNormalizedGradientOff ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
virtual void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::UseNormalizedGradientOn ( )
virtual
template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
void itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::WarpImage ( const MovingImageType R)

Applies the warp to the input image.

Member Data Documentation

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
const unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::ImageDimension = FixedImageType::ImageDimension
static

Dimensionality of input and output data is assumed to be the same.

Definition at line 141 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Alpha
private

Definition at line 669 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_CreateMeshFromImage
private

Definition at line 674 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
ImageSizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_CurrentImageScaling
private

Definition at line 684 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_CurrentLevel
private

Definition at line 652 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FixedImageType::SizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_CurrentLevelImageSize
private

Definition at line 654 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Sign itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_DescentDirection
private

Definition at line 676 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_DoLineSearchOnImageEnergy
private

Definition at line 640 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
vnl_vector<Float> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_E
private

Definition at line 663 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Element::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Element
private

Definition at line 708 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_EmployRegridding
private

Definition at line 675 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Energy
private

Definition at line 666 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_EnergyReductionFactor
private

Definition at line 677 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FEMObjectType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_FEMObject
private

Definition at line 711 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FieldType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Field
private

Definition at line 687 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FieldType::RegionType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_FieldRegion
private

Definition at line 685 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FieldType::SizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_FieldSize
private

Definition at line 686 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_FileCount
private

Definition at line 651 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FixedImageType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_FixedImage
private

Definition at line 705 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FloatImageType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_FloatImage
private

Definition at line 698 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
ImageSizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_FullImageSize
private

Definition at line 678 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
vnl_vector<Float> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Gamma
private

Definition at line 665 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
ImageSizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_ImageOrigin
private

Definition at line 679 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
ImageSizeType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_ImageScaling
private

Gives the ratio of original image size to current image size - for dealing with multi-resolution.

Definition at line 683 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
InterpolatorPointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Interpolator
private

Definition at line 714 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
LandmarkArrayType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_LandmarkArray
private

Definition at line 713 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_LineSearchMaximumIterations
private

Definition at line 643 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
ImageMetricLoadType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Load
private

Definition at line 691 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
MaterialType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Material
private

Definition at line 709 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
double itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MaximumError
private

Definition at line 716 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MaximumKernelWidth
private

Definition at line 718 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
vnl_vector<unsigned int> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Maxiters
private

Definition at line 648 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MaxLevel
private

Definition at line 650 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
vnl_vector<unsigned int> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MeshPixelsPerElementAtEachResolution
private

Stores the number of pixels per element of the mesh for each resolution of the multi-resolution pyramid

Definition at line 660 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
MetricBaseTypePointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Metric
private

Definition at line 710 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
vnl_vector<unsigned int> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MetricWidth
private

Definition at line 647 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MinE
private

Definition at line 667 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MinJacobian
private

Definition at line 668 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
MovingImageType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_MovingImage
private

Definition at line 703 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
vnl_vector<unsigned int> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_NumberOfIntegrationPoints
private

Parameters used to define Multi-resolution registration.

Definition at line 646 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
MovingImageType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_OriginalMovingImage
private

Definition at line 704 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
vnl_vector<Float> itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Rho
private

Definition at line 664 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
StandardDeviationsType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_StandardDeviations
private

Definition at line 720 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
Float itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_TimeStep
private

Definition at line 662 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FieldType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_TotalField
private

Definition at line 690 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_TotalIterations
private

Definition at line 649 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_UseLandmarks
private

Definition at line 671 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_UseMassMatrix
private

Definition at line 672 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
bool itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_UseNormalizedGradient
private

Definition at line 673 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FixedImageType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_WarpedImage
private

Definition at line 697 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
WarperType::Pointer itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Warper
private

Definition at line 694 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
unsigned int itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_WhichMetric
private

Definition at line 656 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FixedImageType::IndexType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Windex
private

Definition at line 700 of file itkFEMRegistrationFilter.h.

template<typename TMovingImage , typename TFixedImage , typename TFemObjectType >
FixedImageType::RegionType itk::fem::FEMRegistrationFilter< TMovingImage, TFixedImage, TFemObjectType >::m_Wregion
private

Definition at line 699 of file itkFEMRegistrationFilter.h.


The documentation for this class was generated from the following file: