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 | Protected Attributes | Private Member Functions | Private Attributes
itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage > Class Template Reference

#include <itkAdvancedMeanSquaresImageToImageMetric.h>

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

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
Superclass::DerivativeValueType 
DerivativeValueType
 
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::HessianType HessianType
 
typedef
Superclass::HessianValueType 
HessianValueType
 
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::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef
AdvancedMeanSquaresImageToImageMetric 
Self
 
typedef
AdvancedImageToImageMetric
< TFixedImage, TMovingImage > 
Superclass
 
typedef Superclass::ThreaderType ThreaderType
 
typedef Superclass::ThreadInfoType ThreadInfoType
 
typedef
Superclass::TransformJacobianType 
TransformJacobianType
 
typedef
Superclass::TransformParametersType 
TransformParametersType
 
typedef
Superclass::TransformPointer 
TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
typedef AdvancedTransform
< ScalarType,
FixedImageDimension,
MovingImageDimension > 
AdvancedTransformType
 
typedef
AdvancedBSplineDeformableTransform
< ScalarType,
FixedImageDimension, 1 > 
BSplineOrder1TransformType
 
typedef
AdvancedBSplineDeformableTransform
< ScalarType,
FixedImageDimension, 2 > 
BSplineOrder2TransformType
 
typedef
AdvancedBSplineDeformableTransform
< ScalarType,
FixedImageDimension, 3 > 
BSplineOrder3TransformType
 
typedef
AdvancedCombinationTransform
< ScalarType,
FixedImageDimension > 
CombinationTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
 
typedef
FixedImageLimiterType::OutputType 
FixedImageLimiterOutputType
 
typedef
FixedImageLimiterType::Pointer 
FixedImageLimiterPointer
 
typedef LimiterFunctionBase
< RealType,
FixedImageDimension > 
FixedImageLimiterType
 
typedef
Superclass::FixedImageMaskPointer 
FixedImageMaskPointer
 
typedef
Superclass::FixedImageMaskType 
FixedImageMaskType
 
typedef FixedImageType::PixelType FixedImagePixelType
 
typedef FixedImageType::Pointer FixedImagePointer
 
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 vnl_sparse_matrix
< HessianValueType
HessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef
ImageSamplerType::OutputVectorContainerPointer 
ImageSampleContainerPointer
 
typedef
ImageSamplerType::OutputVectorContainerType 
ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase
< FixedImageType
ImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef
Superclass::InterpolatorPointer 
InterpolatorPointer
 
typedef
Superclass::InterpolatorType 
InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
 
typedef FixedArray< double,
Self::MovingImageDimension > 
MovingImageDerivativeScalesType
 
typedef
MovingImageLimiterType::OutputType 
MovingImageLimiterOutputType
 
typedef
MovingImageLimiterType::Pointer 
MovingImageLimiterPointer
 
typedef LimiterFunctionBase
< RealType,
MovingImageDimension > 
MovingImageLimiterType
 
typedef
Superclass::MovingImageMaskPointer 
MovingImageMaskPointer
 
typedef
Superclass::MovingImageMaskType 
MovingImageMaskType
 
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
 
typedef MovingImageType::Pointer MovingImagePointer
 
typedef MovingImageType::RegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef
AdvancedTransformType::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef TransformType::ScalarType ScalarType
 
typedef AdvancedImageToImageMetric Self
 
typedef ImageToImageMetric
< TFixedImage, TMovingImage > 
Superclass
 
typedef itk::MultiThreader ThreaderType
 
typedef
ThreaderType::ThreadInfoStruct 
ThreadInfoType
 
typedef
Superclass::TransformJacobianType 
TransformJacobianType
 
typedef
Superclass::TransformParametersType 
TransformParametersType
 
typedef
Superclass::TransformPointer 
TransformPointer
 
typedef Superclass::TransformType TransformType
 

Public Member Functions

virtual const char * GetClassName () const
 
virtual void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const
 
virtual unsigned int GetNumberOfSamplesForSelfHessian () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
virtual double GetSelfHessianNoiseRange () const
 
virtual double GetSelfHessianSmoothingSigma () const
 
virtual bool GetUseNormalization () const
 
virtual MeasureType GetValue (const TransformParametersType &parameters) const
 
virtual void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 
void GetValueAndDerivativeSingleThreaded (const TransformParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 
virtual void Initialize (void) throw ( ExceptionObject )
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SetNumberOfSamplesForSelfHessian (unsigned int _arg)
 
virtual void SetSelfHessianNoiseRange (double _arg)
 
virtual void SetSelfHessianSmoothingSigma (double _arg)
 
virtual void SetUseNormalization (bool _arg)
 
virtual void SetUseOpenMP (bool _arg)
 
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const
FixedImageLimiterType
GetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerTypeGetImageSampler (void) const
 
virtual const
MovingImageDerivativeScalesType
GetMovingImageDerivativeScales ()
 
virtual const
MovingImageLimiterType
GetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
const AdvancedTransformTypeGetTransform (void) const
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const boolGetUseMultiThread ()
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
virtual void SetFixedImageLimiter (FixedImageLimiterType *_arg)
 
virtual void SetFixedLimitRangeRatio (double _arg)
 
virtual void SetImageSampler (ImageSamplerType *_arg)
 
virtual void SetMovingImageDerivativeScales (MovingImageDerivativeScalesType _arg)
 
virtual void SetMovingImageLimiter (MovingImageLimiterType *_arg)
 
virtual void SetMovingLimitRangeRatio (double _arg)
 
virtual void SetNumberOfThreads (ThreadIdType numberOfThreads)
 
virtual void SetRequiredRatioOfValidSamples (double _arg)
 
virtual void SetTransform (AdvancedTransformType *arg)
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void SetUseMovingImageDerivativeScales (bool _arg)
 
virtual void SetUseMultiThread (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 
virtual void UseMultiThreadOff ()
 
virtual void UseMultiThreadOn ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

typedef
Superclass::BSplineInterpolatorType 
BSplineInterpolatorType
 
typedef
Superclass::CentralDifferenceGradientFilterType 
CentralDifferenceGradientFilterType
 
typedef
NearestNeighborInterpolateImageFunction
< FixedImageType,
CoordinateRepresentationType
DummyFixedImageInterpolatorType
 
typedef
Superclass::FixedImageIndexType 
FixedImageIndexType
 
typedef
Superclass::FixedImageIndexValueType 
FixedImageIndexValueType
 
typedef
BSplineInterpolateImageFunction
< FixedImageType,
CoordinateRepresentationType
FixedImageInterpolatorType
 
typedef
Superclass::FixedImagePointType 
FixedImagePointType
 
typedef
Superclass::MovingImageContinuousIndexType 
MovingImageContinuousIndexType
 
typedef
Superclass::MovingImageDerivativeType 
MovingImageDerivativeType
 
typedef
Superclass::MovingImageIndexType 
MovingImageIndexType
 
typedef
Superclass::MovingImagePointType 
MovingImagePointType
 
typedef
Superclass::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType
 
typedef ImageGridSampler
< FixedImageType
SelfHessianSamplerType
 
typedef
SmoothingRecursiveGaussianImageFilter
< FixedImageType,
FixedImageType
SmootherType
 
- Protected Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
typedef
BSplineInterpolatorFloatType::Pointer 
BSplineInterpolatorFloatPointer
 
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
float
BSplineInterpolatorFloatType
 
typedef
BSplineInterpolatorType::Pointer 
BSplineInterpolatorPointer
 
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
BSplineInterpolatorType
 
typedef
CentralDifferenceGradientFilterType::Pointer 
CentralDifferenceGradientFilterPointer
 
typedef GradientImageFilter
< MovingImageType, RealType,
RealType
CentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef
FixedImageIndexType::IndexValueType 
FixedImageIndexValueType
 
typedef
TransformType::InputPointType 
FixedImagePointType
 
typedef
LinearInterpolatorType::Pointer 
LinearInterpolatorPointer
 
typedef
AdvancedLinearInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType
LinearInterpolatorType
 
typedef
InterpolatorType::ContinuousIndexType 
MovingImageContinuousIndexType
 
typedef
BSplineInterpolatorType::CovariantVectorType 
MovingImageDerivativeType
 
typedef MovingImageType::IndexType MovingImageIndexType
 
typedef
TransformType::OutputPointType 
MovingImagePointType
 
typedef
AdvancedTransformType::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType
 
typedef
ReducedBSplineInterpolatorType::Pointer 
ReducedBSplineInterpolatorPointer
 
typedef
ReducedDimensionBSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
ReducedBSplineInterpolatorType
 

Protected Member Functions

 AdvancedMeanSquaresImageToImageMetric ()
 
void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void ThreadedGetValueAndDerivative (ThreadIdType threadID)
 
void UpdateSelfHessianTerms (const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, HessianType &H) const
 
void UpdateValueAndDerivativeTerms (const RealType fixedImageValue, const RealType movingImageValue, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, MeasureType &measure, DerivativeType &deriv) const
 
virtual ~AdvancedMeanSquaresImageToImageMetric ()
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
 AdvancedImageToImageMetric ()
 
virtual void CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (void)
 
virtual void CheckForBSplineTransform (void)
 
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
 
virtual void ComputeFixedImageExtrema (const FixedImageType *image, const FixedImageRegionType &region)
 
virtual void ComputeMovingImageExtrema (const MovingImageType *image, const MovingImageRegionType &region)
 
virtual bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const
 
virtual bool EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const
 
virtual void EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
 
virtual void InitializeImageSampler (void) throw ( ExceptionObject )
 
virtual void InitializeLimiters (void)
 
virtual void InitializeThreadingParameters (void) const
 
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct)
 
void LaunchGetValueAndDerivativeThreaderCallback (void) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetUseFixedImageLimiter (bool _arg)
 
virtual void SetUseImageSampler (bool _arg)
 
virtual void SetUseMovingImageLimiter (bool _arg)
 
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
 
virtual ~AdvancedImageToImageMetric ()
 

Protected Attributes

double m_NormalizationFactor
 
- Protected Attributes inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
AdvancedTransformType::Pointer m_AdvancedTransform
 
BSplineInterpolatorPointer m_BSplineInterpolator
 
BSplineInterpolatorFloatPointer m_BSplineInterpolatorFloat
 
CentralDifferenceGradientFilterPointer m_CentralDifferenceGradientFilter
 
FixedImageLimiterPointer m_FixedImageLimiter
 
FixedImageLimiterOutputType m_FixedImageMaxLimit
 
FixedImageLimiterOutputType m_FixedImageMinLimit
 
FixedImagePixelType m_FixedImageTrueMax
 
FixedImagePixelType m_FixedImageTrueMin
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
ImageSamplerPointer m_ImageSampler
 
bool m_InterpolatorIsBSpline
 
bool m_InterpolatorIsBSplineFloat
 
bool m_InterpolatorIsLinear
 
bool m_InterpolatorIsReducedBSpline
 
LinearInterpolatorPointer m_LinearInterpolator
 
MovingImageLimiterPointer m_MovingImageLimiter
 
MovingImageLimiterOutputType m_MovingImageMaxLimit
 
MovingImageLimiterOutputType m_MovingImageMinLimit
 
MovingImagePixelType m_MovingImageTrueMax
 
MovingImagePixelType m_MovingImageTrueMin
 
ReducedBSplineInterpolatorPointer m_ReducedBSplineInterpolator
 
MultiThreaderParameterType m_ThreaderMetricParameters
 
bool m_TransformIsAdvanced
 
bool m_TransformIsBSpline
 
bool m_UseMetricSingleThreaded
 
bool m_UseMultiThread
 
bool m_UseOpenMP
 

Private Member Functions

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

Private Attributes

unsigned int m_NumberOfSamplesForSelfHessian
 
double m_SelfHessianNoiseRange
 
double m_SelfHessianSmoothingSigma
 
bool m_UseNormalization
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
static ITK_THREAD_RETURN_TYPE AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeThreaderCallback (void *arg)
 

Detailed Description

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

Compute Mean square difference between two images, based on AdvancedImageToImageMetric...

This Class is templated over the type of the fixed and moving images to be compared.

This metric computes the sum of squared differenced between pixels in the moving image and pixels in the fixed image. The spatial correspondance between both images is established through a Transform. Pixel values are taken from the Moving image. Their positions are mapped to the Fixed image and result in general in non-grid position on it. Values at these non-grid position of the Fixed image are interpolated using a user-selected Interpolator.

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

Definition at line 52 of file itkAdvancedMeanSquaresImageToImageMetric.h.

Member Typedef Documentation

template<class TFixedImage, class TMovingImage>
typedef Superclass::BSplineInterpolatorType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::BSplineInterpolatorType
protected

Definition at line 198 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::CentralDifferenceGradientFilterType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::CentralDifferenceGradientFilterType
protected

Definition at line 199 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef SmartPointer< const Self > itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer

Definition at line 62 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::CoordinateRepresentationType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType

Typedefs from the superclass.

Definition at line 68 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::DerivativeType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType

Definition at line 99 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::DerivativeValueType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::DerivativeValueType

Definition at line 100 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef NearestNeighborInterpolateImageFunction< FixedImageType, CoordinateRepresentationType > itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::DummyFixedImageInterpolatorType
protected

Definition at line 209 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageConstPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer

Definition at line 77 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageIndexType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageIndexType
protected

Protected Typedefs Typedefs inherited from superclass

Definition at line 192 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageIndexValueType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageIndexValueType
protected

Definition at line 193 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef BSplineInterpolateImageFunction< FixedImageType, CoordinateRepresentationType > itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageInterpolatorType
protected

Definition at line 207 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterOutputType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterOutputType

Definition at line 112 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterType

Definition at line 109 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer

Definition at line 95 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType

Definition at line 94 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePixelType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType

Definition at line 102 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePointType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePointType
protected

Definition at line 195 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageRegionType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType

Definition at line 78 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType

Definition at line 76 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer

Definition at line 93 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType

Definition at line 92 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImagePointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer

Definition at line 91 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType

Definition at line 90 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientPixelType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType

Definition at line 89 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::HessianType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::HessianType

Definition at line 118 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::HessianValueType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::HessianValueType

Definition at line 117 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerPointer

Definition at line 108 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerType

Definition at line 106 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerPointer

Definition at line 105 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerType

Definition at line 104 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::InputPointType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::InputPointType

Definition at line 81 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer

Definition at line 87 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType

Definition at line 86 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MeasureType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MeasureType

Definition at line 98 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageConstPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer

Definition at line 75 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageContinuousIndexType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageContinuousIndexType
protected

Definition at line 197 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeScalesType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType

Definition at line 116 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeType
protected

Definition at line 200 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageIndexType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageIndexType
protected

Definition at line 194 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterOutputType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterOutputType

Definition at line 114 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterType

Definition at line 110 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer

Definition at line 97 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType

Definition at line 96 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePixelType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType

Definition at line 74 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePointType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePointType
protected

Definition at line 196 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageRegionType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType

Definition at line 103 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType

Definition at line 73 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::NonZeroJacobianIndicesType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::NonZeroJacobianIndicesType
protected

Definition at line 201 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::NumberOfParametersType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::NumberOfParametersType

Definition at line 85 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::OutputPointType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType

Definition at line 82 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::ParametersType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ParametersType

Definition at line 101 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef SmartPointer< Self > itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::Pointer

Definition at line 61 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::RealType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::RealType

Definition at line 88 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef AdvancedMeanSquaresImageToImageMetric itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::Self

Standard class typedefs.

Definition at line 58 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef ImageGridSampler< FixedImageType > itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SelfHessianSamplerType
protected

Definition at line 210 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef SmoothingRecursiveGaussianImageFilter< FixedImageType, FixedImageType > itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SmootherType
protected

Protected typedefs for SelfHessian

Definition at line 205 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::Superclass

Definition at line 60 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::ThreaderType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ThreaderType

Definition at line 119 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::ThreadInfoType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ThreadInfoType

Definition at line 120 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformJacobianType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType

Definition at line 84 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformParametersType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType

Definition at line 83 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformPointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer

Definition at line 80 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::TransformType

Definition at line 79 of file itkAdvancedMeanSquaresImageToImageMetric.h.

Constructor & Destructor Documentation

template<class TFixedImage, class TMovingImage>
itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::AdvancedMeanSquaresImageToImageMetric ( )
protected
template<class TFixedImage, class TMovingImage>
virtual itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::~AdvancedMeanSquaresImageToImageMetric ( )
inlineprotectedvirtual

Definition at line 185 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::AdvancedMeanSquaresImageToImageMetric ( const Self )
private

Member Function Documentation

template<class TFixedImage, class TMovingImage>
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::AfterThreadedGetValueAndDerivative ( MeasureType value,
DerivativeType derivative 
) const
inlineprotectedvirtual

Gather the values and derivatives from all threads

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

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

Run-time type information (and related methods).

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

Reimplemented in elastix::AdvancedMeanSquaresMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetDerivative ( const TransformParametersType parameters,
DerivativeType derivative 
) const
virtual

Get the derivatives of the match measure.

template<class TFixedImage, class TMovingImage>
virtual unsigned int itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetNumberOfSamplesForSelfHessian ( ) const
virtual
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetSelfHessian ( const TransformParametersType parameters,
HessianType H 
) const
virtual

Experimental feature: compute SelfHessian

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

template<class TFixedImage, class TMovingImage>
virtual double itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetSelfHessianNoiseRange ( ) const
virtual
template<class TFixedImage, class TMovingImage>
virtual double itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetSelfHessianSmoothingSigma ( ) const
virtual
template<class TFixedImage, class TMovingImage>
virtual bool itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetUseNormalization ( ) const
virtual
template<class TFixedImage, class TMovingImage>
virtual MeasureType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetValue ( const TransformParametersType parameters) const
virtual

Get the value for single valued optimizers.

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative ( const TransformParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const
virtual
template<class TFixedImage, class TMovingImage>
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivativeSingleThreaded ( const TransformParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const

Get value and derivative.

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::Initialize ( void  )
throw (ExceptionObject
)
virtual

Initialize the Metric by making sure that all the components are present and plugged together correctly.

  • Call the superclass' implementation
  • Estimate the normalization factor, if asked for.

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

Reimplemented in elastix::AdvancedMeanSquaresMetric< TElastix >.

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

The fixed image dimension.

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

The moving image dimension.

template<class TFixedImage, class TMovingImage>
static Pointer itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::New ( )
static

Method for creation through the object factory.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::operator= ( const Self )
private
template<class TFixedImage, class TMovingImage>
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SetNumberOfSamplesForSelfHessian ( unsigned int  _arg)
virtual

Default: 100000

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SetSelfHessianNoiseRange ( double  _arg)
virtual

Default: 1.0 mm

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SetSelfHessianSmoothingSigma ( double  _arg)
virtual

Default: 1.0 mm

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SetUseNormalization ( bool  _arg)
virtual

Set/Get whether to normalize the mean squares measure. This divides the MeanSquares by a factor (range/10)^2, where range represents the maximum gray value range of the images. Based on the ad hoc assumption that range/10 is the maximum average difference that will be observed. Dividing by range^2 sounds less ad hoc, but will yield very small values.

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SetUseOpenMP ( bool  _arg)
virtual

If the compiler supports OpenMP, this flag specifies whether or not to use it. For this metric we have an OpenMP variant for GetValueAndDerivative(). It is also used at other places. Note that MS Visual Studio and gcc support OpenMP.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ThreadedGetValueAndDerivative ( ThreadIdType  threadID)
inlineprotectedvirtual

Get value and derivatives for each thread.

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

template<class TFixedImage, class TMovingImage>
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::UpdateSelfHessianTerms ( const DerivativeType imageJacobian,
const NonZeroJacobianIndicesType nzji,
HessianType H 
) const
protected

Compute a pixel's contribution to the SelfHessian; Called by GetSelfHessian().

template<class TFixedImage, class TMovingImage>
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::UpdateValueAndDerivativeTerms ( const RealType  fixedImageValue,
const RealType  movingImageValue,
const DerivativeType imageJacobian,
const NonZeroJacobianIndicesType nzji,
MeasureType measure,
DerivativeType deriv 
) const
protected

Compute a pixel's contribution to the measure and derivatives; Called by GetValueAndDerivative().

Field Documentation

template<class TFixedImage, class TMovingImage>
double itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::m_NormalizationFactor
protected

Definition at line 212 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
unsigned int itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::m_NumberOfSamplesForSelfHessian
private

Definition at line 246 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
double itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::m_SelfHessianNoiseRange
private

Definition at line 245 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
double itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::m_SelfHessianSmoothingSigma
private

Definition at line 244 of file itkAdvancedMeanSquaresImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
bool itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::m_UseNormalization
private

Definition at line 243 of file itkAdvancedMeanSquaresImageToImageMetric.h.



Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo