go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes
itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage > Class Template Reference

#include <itkAdvancedNormalizedCorrelationImageToImageMetric.h>

Inheritance diagram for itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >:
Collaboration graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
typedef
Superclass::FixedImageLimiterOutputType 
FixedImageLimiterOutputType
typedef
Superclass::FixedImageLimiterType 
FixedImageLimiterType
typedef
Superclass::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass::FixedImageMaskType 
FixedImageMaskType
typedef
Superclass::FixedImagePixelType 
FixedImagePixelType
typedef
Superclass::FixedImageRegionType 
FixedImageRegionType
typedef Superclass::FixedImageType FixedImageType
typedef
Superclass::GradientImageFilterPointer 
GradientImageFilterPointer
typedef
Superclass::GradientImageFilterType 
GradientImageFilterType
typedef
Superclass::GradientImagePointer 
GradientImagePointer
typedef
Superclass::GradientImageType 
GradientImageType
typedef
Superclass::GradientPixelType 
GradientPixelType
typedef
Superclass::ImageSampleContainerPointer 
ImageSampleContainerPointer
typedef
Superclass::ImageSampleContainerType 
ImageSampleContainerType
typedef
Superclass::ImageSamplerPointer 
ImageSamplerPointer
typedef
Superclass::ImageSamplerType 
ImageSamplerType
typedef Superclass::InputPointType InputPointType
typedef
Superclass::InterpolatorPointer 
InterpolatorPointer
typedef
Superclass::InterpolatorType 
InterpolatorType
typedef Superclass::MeasureType MeasureType
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
typedef
Superclass::MovingImageDerivativeScalesType 
MovingImageDerivativeScalesType
typedef
Superclass::MovingImageLimiterOutputType 
MovingImageLimiterOutputType
typedef
Superclass::MovingImageLimiterType 
MovingImageLimiterType
typedef
Superclass::MovingImageMaskPointer 
MovingImageMaskPointer
typedef
Superclass::MovingImageMaskType 
MovingImageMaskType
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
typedef
Superclass::MovingImageRegionType 
MovingImageRegionType
typedef Superclass::MovingImageType MovingImageType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef Superclass::RealType RealType
typedef
AdvancedNormalizedCorrelationImageToImageMetric 
Self
typedef
AdvancedImageToImageMetric
< TFixedImage, TMovingImage > 
Superclass
typedef
Superclass::TransformJacobianType 
TransformJacobianType
typedef
Superclass::TransformParametersType 
TransformParametersType
typedef
Superclass::TransformPointer 
TransformPointer
typedef Superclass::TransformType TransformType

Public Member Functions

virtual const char * GetClassName () const
void GetDerivative (const TransformParametersType &parameters, DerivativeType &Derivative) const
virtual const boolGetSubtractMean ()
MeasureType GetValue (const TransformParametersType &parameters) const
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
virtual void SetSubtractMean (bool _arg)
virtual void SubtractMeanOff ()
virtual void SubtractMeanOn ()

Static Public Member Functions

static Pointer New ()

Protected Types

typedef
Superclass::BSplineInterpolatorType 
BSplineInterpolatorType
typedef
Superclass::CentralDifferenceGradientFilterType 
CentralDifferenceGradientFilterType
typedef
Superclass::FixedImageIndexType 
FixedImageIndexType
typedef
Superclass::FixedImageIndexValueType 
FixedImageIndexValueType
typedef
Superclass::FixedImagePointType 
FixedImagePointType
typedef
Superclass::MovingImageContinuousIndexType 
MovingImageContinuousIndexType
typedef
Superclass::MovingImageDerivativeType 
MovingImageDerivativeType
typedef
Superclass::MovingImageIndexType 
MovingImageIndexType
typedef
Superclass::MovingImagePointType 
MovingImagePointType
typedef
Superclass::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType

Protected Member Functions

 AdvancedNormalizedCorrelationImageToImageMetric ()
void EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
void PrintSelf (std::ostream &os, Indent indent) const
void UpdateDerivativeTerms (const RealType fixedImageValue, const RealType movingImageValue, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, DerivativeType &derivativeF, DerivativeType &derivativeM, DerivativeType &differential) const
virtual ~AdvancedNormalizedCorrelationImageToImageMetric ()

Private Member Functions

 AdvancedNormalizedCorrelationImageToImageMetric (const Self &)
void operator= (const Self &)

Private Attributes

bool m_SubtractMean

Detailed Description

template<class TFixedImage, class TMovingImage>
class itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >

Computes normalized correlation between two images, based on AdvancedImageToImageMetric...

This metric computes the correlation between pixels in the fixed image and pixels in the moving image. The spatial correspondance between fixed and moving image is established through a Transform. Pixel values are taken from the fixed image, their positions are mapped to the moving image and result in general in non-grid position on it. Values at these non-grid position of the moving image are interpolated using a user-selected Interpolator. The correlation is normalized by the autocorrelations of both the fixed and moving images.

This implementation of the NormalizedCorrelation is based on the AdvancedImageToImageMetric, which means that:

The normalized correlation NC is defined as:

\[ \mathrm{NC} = \frac{\sum_x f(x) * m(x+u(x,p))}{\sqrt{ \sum_x f(x)^2 * \sum_x m(x+u(x,p))^2}} = \frac{\mathtt{sfm}}{\sqrt{\mathtt{sff} * \mathtt{smm}}} \]

where x a voxel in the fixed image f, m the moving image, u(x,p) the deformation of x depending on the transform parameters p. sfm, sff and smm is notation used in the source code. The derivative of NC to p equals:

\[ \frac{\partial \mathrm{NC}}{\partial p} = \frac{\partial \mathrm{NC}}{\partial m} \frac{\partial m}{\partial x} \frac{\partial x}{\partial p} = \frac{\partial \mathrm{NC}}{\partial m} * \mathtt{gradient} * \mathtt{jacobian}, \]

where gradient is the derivative of the moving image m to x, and where Jacobian is the derivative of the transformation to its parameters. gradient * Jacobian is called the differential. This yields for the derivative:

\[ \frac{\partial \mathrm{NC}}{\partial p} = \frac{\sum_x[ f(x) * \mathtt{differential} ] - ( \mathtt{sfm} / \mathtt{smm} ) * \sum_x[ m(x+u(x,p)) * \mathtt{differential} ]}{\sqrt{\mathtt{sff} * \mathtt{smm}}} \]

This class has an option to subtract the sample mean from the sample values in the cross correlation formula. This typically results in narrower valleys in the cost fucntion NC. The default value is false. If SubtractMean is true, the NC is defined as:

\[ \mathrm{NC} = \frac{\sum_x ( f(x) - \mathtt{Af} ) * ( m(x+u(x,p)) - \mathtt{Am})}{\sqrt{\sum_x (f(x) - \mathtt{Af})^2 * \sum_x (m(x+u(x,p)) - \mathtt{Am})^2}} = \frac{\mathtt{sfm} - \mathtt{sf} * \mathtt{sm} / N}{\sqrt{(\mathtt{sff} - \mathtt{sf} * \mathtt{sf} / N) * (\mathtt{smm} - \mathtt{sm} *\mathtt{sm} / N)}}, \]

where Af and Am are the average of f and m, respectively.

Definition at line 83 of file itkAdvancedNormalizedCorrelationImageToImageMetric.h.


Member Typedef Documentation

template<class TFixedImage, class TMovingImage>
typedef Superclass::BSplineInterpolatorType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::BSplineInterpolatorType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::CentralDifferenceGradientFilterType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::CentralDifferenceGradientFilterType [protected]
template<class TFixedImage, class TMovingImage>
typedef SmartPointer<const Self> itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::CoordinateRepresentationType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType
template<class TFixedImage, class TMovingImage>
typedef Superclass::DerivativeType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageConstPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageIndexType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageIndexType [protected]

Protected Typedefs Typedefs inherited from superclass

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

Definition at line 182 of file itkAdvancedNormalizedCorrelationImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageIndexValueType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageIndexValueType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterOutputType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePixelType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePointType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePointType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageRegionType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImagePointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientPixelType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InputPointType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::InputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MeasureType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MeasureType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageConstPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageContinuousIndexType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageContinuousIndexType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeScalesType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageIndexType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageIndexType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterOutputType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePixelType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePointType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePointType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageRegionType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::NonZeroJacobianIndicesType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::NonZeroJacobianIndicesType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::OutputPointType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ParametersType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ParametersType
template<class TFixedImage, class TMovingImage>
typedef SmartPointer<Self> itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Pointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::RealType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::RealType
template<class TFixedImage, class TMovingImage>
typedef AdvancedNormalizedCorrelationImageToImageMetric itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Self
template<class TFixedImage, class TMovingImage>
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Superclass
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformJacobianType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformParametersType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformPointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformType

Constructor & Destructor Documentation

template<class TFixedImage, class TMovingImage>
itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::AdvancedNormalizedCorrelationImageToImageMetric ( ) [protected]
template<class TFixedImage, class TMovingImage>
virtual itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::~AdvancedNormalizedCorrelationImageToImageMetric ( ) [inline, protected, virtual]
template<class TFixedImage, class TMovingImage>
itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::AdvancedNormalizedCorrelationImageToImageMetric ( const Self ) [private]

Member Function Documentation

template<class TFixedImage, class TMovingImage>
void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::EvaluateTransformJacobianInnerProduct ( const TransformJacobianType jacobian,
const MovingImageDerivativeType movingImageDerivative,
DerivativeType imageJacobian 
) const [protected]

Computes the innerproduct of transform Jacobian with moving image gradient. The results are stored in imageJacobian, which is supposed to have the right size (same length as Jacobian's number of columns).

template<class TFixedImage, class TMovingImage>
virtual const char* itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

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

Reimplemented in elastix::AdvancedNormalizedCorrelationMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetDerivative ( const TransformParametersType parameters,
DerivativeType Derivative 
) const

Get the derivatives of the match measure.

template<class TFixedImage, class TMovingImage>
virtual const bool& itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetSubtractMean ( ) [virtual]
template<class TFixedImage, class TMovingImage>
MeasureType itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetValue ( const TransformParametersType parameters) const

Get the value for single valued optimizers.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative ( const TransformParametersType parameters,
MeasureType Value,
DerivativeType Derivative 
) const

Get value and derivatives for multiple valued optimizers.

template<class TFixedImage, class TMovingImage>
itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)

The fixed image dimension.

Reimplemented in elastix::AdvancedNormalizedCorrelationMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
MovingImageType::ImageDimension   
)

The moving image dimension.

Reimplemented in elastix::AdvancedNormalizedCorrelationMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
static Pointer itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented in elastix::AdvancedNormalizedCorrelationMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::operator= ( const Self ) [private]
template<class TFixedImage, class TMovingImage>
void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected]
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::SetSubtractMean ( bool  _arg) [virtual]

Set/Get SubtractMean boolean. If true, the sample mean is subtracted from the sample values in the cross-correlation formula and typically results in narrower valleys in the cost fucntion. Default value is false.

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::SubtractMeanOff ( ) [virtual]
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::SubtractMeanOn ( ) [virtual]
template<class TFixedImage, class TMovingImage>
void itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::UpdateDerivativeTerms ( const RealType  fixedImageValue,
const RealType  movingImageValue,
const DerivativeType imageJacobian,
const NonZeroJacobianIndicesType nzji,
DerivativeType derivativeF,
DerivativeType derivativeM,
DerivativeType differential 
) const [protected]

Compute a pixel's contribution to the derivative terms; Called by GetValueAndDerivative().


Field Documentation

template<class TFixedImage, class TMovingImage>
bool itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::m_SubtractMean [private]


Generated on 24-05-2012 for elastix by doxygen 1.7.6.1 elastix logo