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

itk::fem::ImageMetricLoad< TReference, TTarget > Class Template Reference

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

#include <itkFEMImageMetricLoad.h>

Inheritance diagram for itk::fem::ImageMetricLoad:

Inheritance graph
[legend]
Collaboration diagram for itk::fem::ImageMetricLoad< TReference, TTarget >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ImageMetricLoad Self
typedef LoadElement Superclass
typedef SelfPointer
typedef const SelfConstPointer
typedef LoadElement::Float Float
typedef TReference ReferenceType
typedef ReferenceType::ConstPointer ReferenceConstPointer
typedef ReferenceTypeReferencePointer
typedef TTarget TargetType
typedef TargetTypeTargetPointer
typedef TargetType::ConstPointer TargetConstPointer
typedef ImageRegionIteratorWithIndex<
ReferenceType
RefRegionIteratorType
typedef ImageRegionIteratorWithIndex<
TargetType
TarRegionIteratorType
typedef NeighborhoodIterator<
ReferenceType
ReferenceNeighborhoodIteratorType
typedef ReferenceNeighborhoodIteratorType::IndexType ReferenceNeighborhoodIndexType
typedef ReferenceNeighborhoodIteratorType::RadiusType ReferenceRadiusType
typedef NeighborhoodIterator<
TargetType
TargetNeighborhoodIteratorType
typedef TargetNeighborhoodIteratorType::IndexType TargetNeighborhoodIndexType
typedef TargetNeighborhoodIteratorType::RadiusType TargetRadiusType
typedef ReferenceType::PixelType RefPixelType
typedef TargetType::PixelType TarPixelType
typedef Float PixelType
typedef Float ComputationType
typedef Image< RefPixelType,
itkGetStaticConstMacro(ImageDimension) 
RefImageType )
typedef Image< TarPixelType,
itkGetStaticConstMacro(ImageDimension) 
TarImageType )
typedef Image< PixelType,
itkGetStaticConstMacro(ImageDimension) 
ImageType )
typedef vnl_vector< FloatVectorType
typedef double CoordinateRepresentationType
typedef Transform< CoordinateRepresentationType,
itkGetStaticConstMacro(ImageDimension),
itkGetStaticConstMacro(ImageDimension) 
TransformBaseType )
typedef TranslationTransform<
CoordinateRepresentationType,
itkGetStaticConstMacro(ImageDimension) 
DefaultTransformType )
typedef ImageToImageMetric<
TargetType, ReferenceType
MetricBaseType
typedef MetricBaseType::Pointer MetricBaseTypePointer
typedef MutualInformationImageToImageMetric<
ReferenceType, TargetType
MutualInformationMetricType
typedef MeanSquaresImageToImageMetric<
ReferenceType, TargetType
MeanSquaresMetricType
typedef NormalizedCorrelationImageToImageMetric<
ReferenceType, TargetType
NormalizedCorrelationMetricType
typedef PatternIntensityImageToImageMetric<
ReferenceType, TargetType
PatternIntensityMetricType
typedef MeanSquaresMetricType DefaultMetricType
typedef DefaultTransformType::ParametersType ParametersType
typedef DefaultTransformType::JacobianType JacobianType
typedef LinearInterpolateImageFunction<
ReferenceType, double > 
InterpolatorType
typedef float RealType
typedef CovariantVector< RealType,
itkGetStaticConstMacro(ImageDimension) 
GradientPixelType )
typedef Image< GradientPixelType,
itkGetStaticConstMacro(ImageDimension) 
GradientImageType )
typedef SmartPointer< GradientImageTypeGradientImagePointer
typedef GradientRecursiveGaussianImageFilter<
ImageType, GradientImageType
GradientImageFilterType

Public Methods

virtual Baseclass::Pointer Clone () const
virtual int ClassID () const
 itkStaticConstMacro (ImageDimension, unsigned int, ReferenceType::ImageDimension)
void SetMetric (MetricBaseTypePointer MP)
void SetMetricReferenceImage (ReferenceType *R)
ReferencePointer GetReferenceImage ()
TargetPointer GetTargetImage ()
void SetMetricRadius (ReferenceRadiusType T)
ReferenceRadiusType GetMetricRadius ()
void SetSign (Float s)
void SetTemp (Float s)
void SetGamma (Float s)
void SetSolution (Solution::ConstPointer ptr)
Solution::ConstPointer GetSolution ()
VectorType MetricFiniteDiff (VectorType PositionInElement, VectorType SolutionAtPosition)
Float GetSolution (unsigned int i, unsigned int which=0)
void InitializeMetric (void)
 ImageMetricLoad ()
Float EvaluateMetricGivenSolution (Element::ArrayType *el, Float step=1.0)
void SetReferenceImage (ReferenceType *R)
void SetTargetImage (TargetType *T)
void SetMetricTargetImage (TargetType *T)
void SetNumberOfIntegrationPoints (unsigned int i)
unsigned int GetNumberOfIntegrationPoints ()
Float GetMetric (VectorType InVec)
VectorType GetPolynomialFitToMetric (VectorType PositionInElement, VectorType SolutionAtPosition)
VectorType Fe1 (VectorType)
VectorType Fe (VectorType, VectorType)
void SetMetricGradientImage (GradientImageType *g)
GradientImageTypeGetMetricGradientImage ()

Static Public Methods

Self::Pointer New ()
BaseclassNewImageMetricLoad (void)

Static Public Attributes

const int CLID

Detailed Description

template<class TReference, class TTarget>
class itk::fem::ImageMetricLoad< TReference, TTarget >

General image pair load that uses the itkImageToImageMetrics.

LoadImageMetric computes FEM gravity loads by using derivatives provided by itkImageToImageMetrics (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).

Then, we evaluate the derivative at the point p+v(p) with respect to some region of the target (fixed) image by calling the metric with the translation parameters as provided by the vector field at 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 Target 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 92 of file itkFEMImageMetricLoad.h.


Member Typedef Documentation

template<class TReference, class TTarget>
typedef Float itk::fem::ImageMetricLoad< TReference, TTarget >::ComputationType
 

Definition at line 131 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef const Self* itk::fem::ImageMetricLoad< TReference, TTarget >::ConstPointer
 

Const pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 94 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef double itk::fem::ImageMetricLoad< TReference, TTarget >::CoordinateRepresentationType
 

Definition at line 142 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef MeanSquaresMetricType itk::fem::ImageMetricLoad< TReference, TTarget >::DefaultMetricType
 

Definition at line 161 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef TranslationTransform<CoordinateRepresentationType, itkGetStaticConstMacro(ImageDimension) itk::fem::ImageMetricLoad< TReference, TTarget >::DefaultTransformType)
 

Definition at line 144 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef LoadElement::Float itk::fem::ImageMetricLoad< TReference, TTarget >::Float
 

Float type used in Element and derived classes

Reimplemented from itk::fem::LoadElement.

Definition at line 98 of file itkFEMImageMetricLoad.h.

Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage(), itk::fem::ImageMetricLoad< ImageType, ImageType >::GetSolution(), and itk::fem::ImageMetricLoad< ImageType, ImageType >::SetSign().

template<class TReference, class TTarget>
typedef GradientRecursiveGaussianImageFilter< ImageType, GradientImageType > itk::fem::ImageMetricLoad< TReference, TTarget >::GradientImageFilterType
 

Gradient filtering

Definition at line 180 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef SmartPointer<GradientImageType> itk::fem::ImageMetricLoad< TReference, TTarget >::GradientImagePointer
 

Gradient filtering

Definition at line 177 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef Image<GradientPixelType, itkGetStaticConstMacro(ImageDimension) itk::fem::ImageMetricLoad< TReference, TTarget >::GradientImageType)
 

Gradient filtering

Definition at line 176 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef CovariantVector<RealType, itkGetStaticConstMacro(ImageDimension) itk::fem::ImageMetricLoad< TReference, TTarget >::GradientPixelType)
 

Gradient filtering

Definition at line 174 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef Image< PixelType, itkGetStaticConstMacro(ImageDimension) itk::fem::ImageMetricLoad< TReference, TTarget >::ImageType)
 

Definition at line 134 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef LinearInterpolateImageFunction< ReferenceType, double > itk::fem::ImageMetricLoad< TReference, TTarget >::InterpolatorType
 

Definition at line 169 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef DefaultTransformType::JacobianType itk::fem::ImageMetricLoad< TReference, TTarget >::JacobianType
 

Definition at line 163 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef MeanSquaresImageToImageMetric< ReferenceType, TargetType > itk::fem::ImageMetricLoad< TReference, TTarget >::MeanSquaresMetricType
 

Definition at line 152 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ImageToImageMetric<TargetType,ReferenceType > itk::fem::ImageMetricLoad< TReference, TTarget >::MetricBaseType
 

Type of supported metrics.

Definition at line 147 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef MetricBaseType::Pointer itk::fem::ImageMetricLoad< TReference, TTarget >::MetricBaseTypePointer
 

Definition at line 148 of file itkFEMImageMetricLoad.h.

Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage().

template<class TReference, class TTarget>
typedef MutualInformationImageToImageMetric< ReferenceType, TargetType > itk::fem::ImageMetricLoad< TReference, TTarget >::MutualInformationMetricType
 

Definition at line 150 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef NormalizedCorrelationImageToImageMetric< ReferenceType, TargetType > itk::fem::ImageMetricLoad< TReference, TTarget >::NormalizedCorrelationMetricType
 

Definition at line 154 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef DefaultTransformType::ParametersType itk::fem::ImageMetricLoad< TReference, TTarget >::ParametersType
 

Definition at line 162 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef PatternIntensityImageToImageMetric< ReferenceType, TargetType > itk::fem::ImageMetricLoad< TReference, TTarget >::PatternIntensityMetricType
 

Definition at line 156 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef Float itk::fem::ImageMetricLoad< TReference, TTarget >::PixelType
 

Definition at line 130 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef Self* itk::fem::ImageMetricLoad< TReference, TTarget >::Pointer
 

Pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 94 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef float itk::fem::ImageMetricLoad< TReference, TTarget >::RealType
 

Gradient filtering

Definition at line 172 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ReferenceType::ConstPointer itk::fem::ImageMetricLoad< TReference, TTarget >::ReferenceConstPointer
 

Definition at line 101 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ReferenceNeighborhoodIteratorType::IndexType itk::fem::ImageMetricLoad< TReference, TTarget >::ReferenceNeighborhoodIndexType
 

Definition at line 117 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef NeighborhoodIterator<ReferenceType> itk::fem::ImageMetricLoad< TReference, TTarget >::ReferenceNeighborhoodIteratorType
 

Definition at line 115 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ReferenceType* itk::fem::ImageMetricLoad< TReference, TTarget >::ReferencePointer
 

Definition at line 102 of file itkFEMImageMetricLoad.h.

Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage().

template<class TReference, class TTarget>
typedef ReferenceNeighborhoodIteratorType::RadiusType itk::fem::ImageMetricLoad< TReference, TTarget >::ReferenceRadiusType
 

Definition at line 119 of file itkFEMImageMetricLoad.h.

Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage(), and itk::fem::ImageMetricLoad< ImageType, ImageType >::GetTargetImage().

template<class TReference, class TTarget>
typedef TReference itk::fem::ImageMetricLoad< TReference, TTarget >::ReferenceType
 

Definition at line 100 of file itkFEMImageMetricLoad.h.

Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::SetMetric().

template<class TReference, class TTarget>
typedef Image< RefPixelType, itkGetStaticConstMacro(ImageDimension) itk::fem::ImageMetricLoad< TReference, TTarget >::RefImageType)
 

Definition at line 132 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ReferenceType::PixelType itk::fem::ImageMetricLoad< TReference, TTarget >::RefPixelType
 

Definition at line 128 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ImageRegionIteratorWithIndex<ReferenceType> itk::fem::ImageMetricLoad< TReference, TTarget >::RefRegionIteratorType
 

Definition at line 111 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ImageMetricLoad itk::fem::ImageMetricLoad< TReference, TTarget >::Self
 

Standard Self typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 94 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef LoadElement itk::fem::ImageMetricLoad< TReference, TTarget >::Superclass
 

Standard Superclass typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 94 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef TargetType::ConstPointer itk::fem::ImageMetricLoad< TReference, TTarget >::TargetConstPointer
 

Definition at line 105 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef TargetNeighborhoodIteratorType::IndexType itk::fem::ImageMetricLoad< TReference, TTarget >::TargetNeighborhoodIndexType
 

Definition at line 123 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef NeighborhoodIterator<TargetType> itk::fem::ImageMetricLoad< TReference, TTarget >::TargetNeighborhoodIteratorType
 

Definition at line 121 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef TargetType* itk::fem::ImageMetricLoad< TReference, TTarget >::TargetPointer
 

Definition at line 104 of file itkFEMImageMetricLoad.h.

Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage().

template<class TReference, class TTarget>
typedef TargetNeighborhoodIteratorType::RadiusType itk::fem::ImageMetricLoad< TReference, TTarget >::TargetRadiusType
 

Definition at line 125 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef TTarget itk::fem::ImageMetricLoad< TReference, TTarget >::TargetType
 

Definition at line 103 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef Image< TarPixelType, itkGetStaticConstMacro(ImageDimension) itk::fem::ImageMetricLoad< TReference, TTarget >::TarImageType)
 

Definition at line 133 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef TargetType::PixelType itk::fem::ImageMetricLoad< TReference, TTarget >::TarPixelType
 

Definition at line 129 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef ImageRegionIteratorWithIndex<TargetType> itk::fem::ImageMetricLoad< TReference, TTarget >::TarRegionIteratorType
 

Definition at line 112 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef Transform< CoordinateRepresentationType,itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) itk::fem::ImageMetricLoad< TReference, TTarget >::TransformBaseType)
 

Definition at line 143 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
typedef vnl_vector<Float> itk::fem::ImageMetricLoad< TReference, TTarget >::VectorType
 

Definition at line 135 of file itkFEMImageMetricLoad.h.


Constructor & Destructor Documentation

template<class TReference, class TTarget>
itk::fem::ImageMetricLoad< TReference, TTarget >::ImageMetricLoad  
 


Member Function Documentation

template<class TReference, class TTarget>
virtual int itk::fem::ImageMetricLoad< TReference, TTarget >::ClassID   const [inline, virtual]
 

Virtual function to access the class ID

Reimplemented from itk::fem::LoadElement.

Definition at line 94 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
virtual Baseclass::Pointer itk::fem::ImageMetricLoad< TReference, TTarget >::Clone   const [virtual]
 

Create a new object from the existing one

Reimplemented from itk::fem::LoadElement.

template<class TReference, class TTarget>
Float itk::fem::ImageMetricLoad< TReference, TTarget >::EvaluateMetricGivenSolution Element::ArrayType   el,
Float    step = 1.0
 

template<class TReference, class TTarget>
VectorType itk::fem::ImageMetricLoad< TReference, TTarget >::Fe VectorType   ,
VectorType   
 

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

template<class TReference, class TTarget>
VectorType itk::fem::ImageMetricLoad< TReference, TTarget >::Fe1 VectorType   
 

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

template<class TReference, class TTarget>
Float itk::fem::ImageMetricLoad< TReference, TTarget >::GetMetric VectorType    InVec
 

This method returns the total metric evaluated over the image with respect to the current solution.

template<class TReference, class TTarget>
GradientImageType* itk::fem::ImageMetricLoad< TReference, TTarget >::GetMetricGradientImage   [inline]
 

Set/Get the metric gradient image

Definition at line 286 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
ReferenceRadiusType itk::fem::ImageMetricLoad< TReference, TTarget >::GetMetricRadius   [inline]
 

Get the metric region size.

Definition at line 225 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
unsigned int itk::fem::ImageMetricLoad< TReference, TTarget >::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 232 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
VectorType itk::fem::ImageMetricLoad< TReference, TTarget >::GetPolynomialFitToMetric VectorType    PositionInElement,
VectorType    SolutionAtPosition
 

This method returns the total metric evaluated over the image with respect to the current solution.

template<class TReference, class TTarget>
ReferencePointer itk::fem::ImageMetricLoad< TReference, TTarget >::GetReferenceImage void    [inline]
 

Definition at line 218 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
Float itk::fem::ImageMetricLoad< TReference, TTarget >::GetSolution unsigned int    i,
unsigned int    which = 0
[inline]
 

Definition at line 260 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
Solution::ConstPointer itk::fem::ImageMetricLoad< TReference, TTarget >::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 248 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
TargetPointer itk::fem::ImageMetricLoad< TReference, TTarget >::GetTargetImage   [inline]
 

Definition at line 219 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::InitializeMetric void   
 

template<class TReference, class TTarget>
itk::fem::ImageMetricLoad< TReference, TTarget >::itkStaticConstMacro ImageDimension   ,
unsigned    int,
ReferenceType::ImageDimension   
 

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

template<class TReference, class TTarget>
VectorType itk::fem::ImageMetricLoad< TReference, TTarget >::MetricFiniteDiff VectorType    PositionInElement,
VectorType    SolutionAtPosition
 

template<class TReference, class TTarget>
Self::Pointer itk::fem::ImageMetricLoad< TReference, TTarget >::New void    [inline, static]
 

Object creation in an itk compatible way

Reimplemented from itk::fem::LoadElement.

Definition at line 94 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
Baseclass* itk::fem::ImageMetricLoad< TReference, TTarget >::NewImageMetricLoad void    [inline, static]
 

Definition at line 279 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetGamma Float    s [inline]
 

Scaling of the similarity energy term

Definition at line 245 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetMetric MetricBaseTypePointer    MP [inline]
 

Set/Get the Metric.

Definition at line 188 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetMetricGradientImage GradientImageType   g [inline]
 

Set/Get the metric gradient image

Definition at line 285 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetMetricRadius ReferenceRadiusType    T [inline]
 

Define the metric region size.

Definition at line 222 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetMetricReferenceImage ReferenceType   R [inline]
 

Definition at line 198 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetMetricTargetImage TargetType   T [inline]
 

Define the target (fixed) image.

Definition at line 210 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::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 231 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetReferenceImage ReferenceType   R [inline]
 

Define the reference (moving) image.

Definition at line 191 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::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 238 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::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 247 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetTargetImage TargetType   T [inline]
 

Define the target (fixed) image.

Definition at line 205 of file itkFEMImageMetricLoad.h.

template<class TReference, class TTarget>
void itk::fem::ImageMetricLoad< TReference, TTarget >::SetTemp Float    s [inline]
 

Set the sigma in a gaussian measure.

Definition at line 241 of file itkFEMImageMetricLoad.h.


Member Data Documentation

template<class TReference, class TTarget>
const int itk::fem::ImageMetricLoad< TReference, TTarget >::CLID [static]
 

Class ID for FEM object factory

Reimplemented from itk::fem::LoadElement.

Definition at line 94 of file itkFEMImageMetricLoad.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:51:07 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000