Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed > Class Template Reference

General image pair load that uses the itkFiniteDifferenceFunctions. More...

#include <itkFEMFiniteDifferenceFunctionLoad.h>

Inheritance diagram for itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >:

Inheritance graph
[legend]
Collaboration diagram for itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef FiniteDifferenceFunctionLoad Self
typedef LoadElement Superclass
typedef SelfPointer
typedef const SelfConstPointer
typedef LoadElement::Float Float
typedef TMoving MovingType
typedef MovingType::ConstPointer MovingConstPointer
typedef MovingTypeMovingPointer
typedef TFixed FixedType
typedef FixedTypeFixedPointer
typedef FixedType::ConstPointer FixedConstPointer
typedef ImageRegionIteratorWithIndex<
MovingType
MovingRegionIteratorType
typedef ImageRegionIteratorWithIndex<
FixedType
FixedRegionIteratorType
typedef NeighborhoodIterator<
MovingType
MovingNeighborhoodIteratorType
typedef MovingNeighborhoodIteratorType::IndexType MovingNeighborhoodIndexType
typedef MovingNeighborhoodIteratorType::RadiusType MovingRadiusType
typedef MovingNeighborhoodIteratorType::RadiusType RadiusType
typedef NeighborhoodIterator<
FixedType
FixedNeighborhoodIteratorType
typedef FixedNeighborhoodIteratorType::IndexType FixedNeighborhoodIndexType
typedef FixedNeighborhoodIteratorType::RadiusType FixedRadiusType
typedef MovingType::PixelType MovingPixelType
typedef FixedType::PixelType FixedPixelType
typedef Float PixelType
typedef Float ComputationType
typedef Image< MovingPixelType,
itkGetStaticConstMacro(ImageDimension) 
MovingImageType )
typedef Image< FixedPixelType,
itkGetStaticConstMacro(ImageDimension) 
FixedImageType )
typedef Image< PixelType,
itkGetStaticConstMacro(ImageDimension) 
ImageType )
typedef itk::Vector< float,
itkGetStaticConstMacro(ImageDimension) 
VectorType )
typedef vnl_vector< FloatFEMVectorType
typedef Image< VectorType,
itkGetStaticConstMacro(ImageDimension) 
DeformationFieldType )
typedef DeformationFieldType::Pointer DeformationFieldTypePointer
typedef NeighborhoodIterator<
DeformationFieldType
FieldIteratorType
typedef PDEDeformableRegistrationFunction<
FixedImageType, MovingImageType,
DeformationFieldType
FiniteDifferenceFunctionType
typedef FiniteDifferenceFunctionType::Pointer FiniteDifferenceFunctionTypePointer
typedef FiniteDifferenceFunctionType::TimeStepType TimeStepType
typedef MeanSquareRegistrationFunction<
FixedImageType, MovingImageType,
DeformationFieldType
MeanSquareRegistrationFunctionType
typedef DemonsRegistrationFunction<
FixedImageType, MovingImageType,
DeformationFieldType
DemonsRegistrationFunctionType
typedef NCCRegistrationFunction<
FixedImageType, MovingImageType,
DeformationFieldType
NCCRegistrationFunctionType
typedef MIRegistrationFunction<
FixedImageType, MovingImageType,
DeformationFieldType
MIRegistrationFunctionType

Public Member Functions

virtual Baseclass::Pointer Clone () const
virtual int ClassID () const
 itkStaticConstMacro (ImageDimension, unsigned int, MovingType::ImageDimension)
void SetDifferenceFunction (FiniteDifferenceFunctionTypePointer drfp)
void SetMetric (FiniteDifferenceFunctionTypePointer drfp)
MovingPointer GetMovingImage ()
FixedPointer GetFixedImage ()
void SetMetricRadius (MovingRadiusType T)
MovingRadiusType GetMetricRadius ()
void SetSign (Float s)
void SetTemp (Float s)
void SetGamma (Float s)
void SetSolution (Solution::ConstPointer ptr)
Solution::ConstPointer GetSolution ()
Float GetSolution (unsigned int i, unsigned int which=0)
 FiniteDifferenceFunctionLoad ()
Float EvaluateMetricGivenSolution (Element::ArrayType *el, Float step=1.0)
void SetDeformationField (DeformationFieldTypePointer df)
void PrintCurrentEnergy ()
double GetCurrentEnergy ()
void SetCurrentEnergy (double e=0.0)
void SetMovingImage (MovingType *R)
void SetFixedImage (FixedType *T)
void SetNumberOfIntegrationPoints (unsigned int i)
unsigned int GetNumberOfIntegrationPoints ()
VectorType Fe1 (VectorType)
FEMVectorType Fe (FEMVectorType, FEMVectorType)
DeformationFieldTypePointer GetDeformationField ()
void InitializeIteration ()
void InitializeMetric ()

Static Public Member Functions

Self::Pointer New ()
BaseclassNewFiniteDifferenceFunctionLoad (void)

Static Public Attributes

const int CLID

Detailed Description

template<class TMoving, class TFixed>
class itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >

General image pair load that uses the itkFiniteDifferenceFunctions.

This load computes FEM gravity loads by using derivatives provided by itkFiniteDifferenceFunctions (e.g. mean squares intensity difference.) The function responsible for this is called Fg, as required by the FEMLoad standards. It takes a vnl_vector as input. We assume the vector input is of size 2*ImageDimension. The 0 to ImageDimension-1 elements contain the position, p, in the reference (moving) image. The next ImageDimension to 2*ImageDimension-1 elements contain the value of the vector field at that point, v(p). The metrics return both a scalar similarity value and vector-valued derivative. The derivative is what gives us the force to drive the FEM registration. These values are computed with respect to some region in the Fixed image. This region size may be set by the user by calling SetMetricRadius. As the metric derivative computation evolves, performance should improve and more functionality will be available (such as scale selection).

Definition at line 87 of file itkFEMFiniteDifferenceFunctionLoad.h.


Member Typedef Documentation

template<class TMoving, class TFixed>
typedef Float itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::ComputationType
 

Definition at line 130 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef const Self* itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::ConstPointer
 

Const pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 89 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef Image< VectorType, itkGetStaticConstMacro(ImageDimension) itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::DeformationFieldType)
 

Definition at line 136 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef DeformationFieldType::Pointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::DeformationFieldTypePointer
 

Definition at line 137 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef DemonsRegistrationFunction<FixedImageType,MovingImageType, DeformationFieldType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::DemonsRegistrationFunctionType
 

Definition at line 155 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef vnl_vector<Float> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FEMVectorType
 

Definition at line 135 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef NeighborhoodIterator<DeformationFieldType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FieldIteratorType
 

Definition at line 141 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef PDEDeformableRegistrationFunction<FixedImageType,MovingImageType, DeformationFieldType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FiniteDifferenceFunctionType
 

PDEDeformableRegistrationFilterFunction type. Definition at line 147 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FiniteDifferenceFunctionType::Pointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FiniteDifferenceFunctionTypePointer
 

Definition at line 148 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FixedType::ConstPointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedConstPointer
 

Definition at line 100 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef Image< FixedPixelType, itkGetStaticConstMacro(ImageDimension) itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedImageType)
 

Definition at line 132 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FixedNeighborhoodIteratorType::IndexType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedNeighborhoodIndexType
 

Definition at line 121 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef NeighborhoodIterator<FixedType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedNeighborhoodIteratorType
 

Definition at line 119 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FixedType::PixelType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedPixelType
 

Definition at line 128 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FixedType* itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedPointer
 

Definition at line 99 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FixedNeighborhoodIteratorType::RadiusType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedRadiusType
 

Definition at line 123 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef ImageRegionIteratorWithIndex<FixedType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedRegionIteratorType
 

Definition at line 107 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef TFixed itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FixedType
 

Definition at line 98 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef LoadElement::Float itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Float
 

Float type used in Element and derived classes

Reimplemented from itk::fem::LoadElement.

Definition at line 93 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef Image< PixelType, itkGetStaticConstMacro(ImageDimension) itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::ImageType)
 

Definition at line 133 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MeanSquareRegistrationFunction<FixedImageType,MovingImageType, DeformationFieldType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MeanSquareRegistrationFunctionType
 

Definition at line 152 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MIRegistrationFunction<FixedImageType,MovingImageType, DeformationFieldType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MIRegistrationFunctionType
 

Definition at line 161 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MovingType::ConstPointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingConstPointer
 

Definition at line 96 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef Image< MovingPixelType, itkGetStaticConstMacro(ImageDimension) itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingImageType)
 

Definition at line 131 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MovingNeighborhoodIteratorType::IndexType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingNeighborhoodIndexType
 

Definition at line 113 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef NeighborhoodIterator<MovingType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingNeighborhoodIteratorType
 

Definition at line 111 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MovingType::PixelType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingPixelType
 

Definition at line 127 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MovingType* itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingPointer
 

Definition at line 97 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MovingNeighborhoodIteratorType::RadiusType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingRadiusType
 

Definition at line 115 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef ImageRegionIteratorWithIndex<MovingType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingRegionIteratorType
 

Definition at line 106 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef TMoving itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::MovingType
 

Definition at line 95 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef NCCRegistrationFunction<FixedImageType,MovingImageType, DeformationFieldType> itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::NCCRegistrationFunctionType
 

Definition at line 158 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef Float itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::PixelType
 

Definition at line 129 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef Self* itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Pointer
 

Pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 89 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef MovingNeighborhoodIteratorType::RadiusType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::RadiusType
 

Definition at line 117 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FiniteDifferenceFunctionLoad itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Self
 

Standard Self typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 89 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef LoadElement itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Superclass
 

Standard Superclass typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 89 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef FiniteDifferenceFunctionType::TimeStepType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::TimeStepType
 

Definition at line 149 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
typedef itk::Vector<float,itkGetStaticConstMacro(ImageDimension) itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::VectorType)
 

Definition at line 134 of file itkFEMFiniteDifferenceFunctionLoad.h.


Constructor & Destructor Documentation

template<class TMoving, class TFixed>
itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::FiniteDifferenceFunctionLoad  ) 
 


Member Function Documentation

template<class TMoving, class TFixed>
virtual int itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::ClassID  )  const [inline, virtual]
 

Virtual function to access the class ID

Reimplemented from itk::fem::LoadElement.

Definition at line 89 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
virtual Baseclass::Pointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Clone  )  const [virtual]
 

Create a new object from the existing one

Reimplemented from itk::fem::LoadElement.

template<class TMoving, class TFixed>
Float itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::EvaluateMetricGivenSolution Element::ArrayType el,
Float  step = 1.0
 

template<class TMoving, class TFixed>
FEMVectorType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Fe FEMVectorType  ,
FEMVectorType 
 

Compute the image based load - implemented with ITK metric derivatives.

template<class TMoving, class TFixed>
VectorType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::Fe1 VectorType   ) 
 

Compute the image based load - implemented with ITK metric derivatives.

template<class TMoving, class TFixed>
double itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetCurrentEnergy  ) 
 

template<class TMoving, class TFixed>
DeformationFieldTypePointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetDeformationField  )  [inline]
 

Get the Definition at line 267 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
FixedPointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetFixedImage  )  [inline]
 

Definition at line 211 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
MovingRadiusType itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetMetricRadius  )  [inline]
 

Get the metric region size. Definition at line 217 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
MovingPointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetMovingImage  )  [inline]
 

Definition at line 210 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
unsigned int itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetNumberOfIntegrationPoints  )  [inline]
 

Set/Get methods for the number of integration points to use in each 1-dimensional line integral when evaluating the load. This value is passed to the load implementation. Definition at line 224 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
Float itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetSolution unsigned int  i,
unsigned int  which = 0
[inline]
 

Definition at line 243 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
Solution::ConstPointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetSolution  )  [inline, virtual]
 

Sets the pointer to solution vector. This function is automatically called by the Solver class on every load object.

Some types of external Loads may need access to previous values of solution vector. If a derived class needs that, it should implement this function, and store the passed pointer accordingly. If the result vector is not required, the functionn should be left unimplemented, so that only the dummy implementation in base class is called.

Parameters:
ptr Pointer to the object of Solution class.

Reimplemented from itk::fem::Load.

Definition at line 240 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::InitializeIteration  ) 
 

Get the

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::InitializeMetric  ) 
 

Get the

template<class TMoving, class TFixed>
itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
MovingType::ImageDimension 
 

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

template<class TMoving, class TFixed>
Self::Pointer itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::New void   )  [inline, static]
 

Object creation in an itk compatible way

Reimplemented from itk::fem::LoadElement.

Definition at line 89 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
Baseclass* itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::NewFiniteDifferenceFunctionLoad void   )  [inline, static]
 

Definition at line 258 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::PrintCurrentEnergy  ) 
 

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetCurrentEnergy double  e = 0.0  ) 
 

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetDeformationField DeformationFieldTypePointer  df  )  [inline]
 

Set the Definition at line 263 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetDifferenceFunction FiniteDifferenceFunctionTypePointer  drfp  )  [inline]
 

Definition at line 168 of file itkFEMFiniteDifferenceFunctionLoad.h.

Referenced by itk::fem::FiniteDifferenceFunctionLoad< MovingImageType, FixedImageType >::SetMetric().

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetFixedImage FixedType T  )  [inline]
 

Define the target (fixed) image. Definition at line 200 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetGamma Float  s  )  [inline]
 

Scaling of the similarity energy term Definition at line 237 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetMetric FiniteDifferenceFunctionTypePointer  drfp  )  [inline]
 

Definition at line 178 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetMetricRadius MovingRadiusType  T  )  [inline]
 

Define the metric region size. Definition at line 214 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetMovingImage MovingType R  )  [inline]
 

Define the reference (moving) image. Definition at line 189 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetNumberOfIntegrationPoints unsigned int  i  )  [inline]
 

Set/Get methods for the number of integration points to use in each 1-dimensional line integral when evaluating the load. This value is passed to the load implementation. Definition at line 223 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetSign Float  s  )  [inline]
 

Set the direction of the gradient (uphill or downhill). E.g. the mean squares metric should be minimized while NCC and PR should be maximized. Definition at line 230 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetSolution Solution::ConstPointer  ptr  )  [inline, virtual]
 

Sets the pointer to solution vector. This function is automatically called by the Solver class on every load object.

Some types of external Loads may need access to previous values of solution vector. If a derived class needs that, it should implement this function, and store the passed pointer accordingly. If the result vector is not required, the functionn should be left unimplemented, so that only the dummy implementation in base class is called.

Parameters:
ptr Pointer to the object of Solution class.

Reimplemented from itk::fem::Load.

Definition at line 239 of file itkFEMFiniteDifferenceFunctionLoad.h.

template<class TMoving, class TFixed>
void itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::SetTemp Float  s  )  [inline]
 

Set the sigma in a gaussian measure. Definition at line 233 of file itkFEMFiniteDifferenceFunctionLoad.h.


Member Data Documentation

template<class TMoving, class TFixed>
const int itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::CLID [static]
 

Class ID for FEM object factory

Reimplemented from itk::fem::LoadElement.

Definition at line 89 of file itkFEMFiniteDifferenceFunctionLoad.h.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:04:16 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000