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>

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 56 of file itkAdvancedMeanSquaresImageToImageMetric.h.

+ Inheritance diagram for itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >:

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::FixedImageMaskSpatialObject2Type FixedImageMaskSpatialObject2Type
 
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::MovingImageMaskSpatialObject2Type MovingImageMaskSpatialObject2Type
 
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 BSplineOrder1TransformType::Pointer BSplineOrder1TransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > BSplineOrder1TransformType
 
typedef BSplineOrder2TransformType::Pointer BSplineOrder2TransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > BSplineOrder2TransformType
 
typedef BSplineOrder3TransformType::Pointer BSplineOrder3TransformPointer
 
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 ImageMaskSpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskSpatialObject2Type
 
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< HessianValueTypeHessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
 
typedef ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase< FixedImageTypeImageSamplerType
 
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 ImageMaskSpatialObject< itkGetStaticConstMacro(MovingImageDimension) > MovingImageMaskSpatialObject2Type
 
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::PlatformMultiThreader ThreaderType
 
typedef ThreaderType::WorkUnitInfo 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
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const override
 
virtual unsigned int GetNumberOfSamplesForSelfHessian () const
 
void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const override
 
virtual double GetSelfHessianNoiseRange () const
 
virtual double GetSelfHessianSmoothingSigma () const
 
virtual bool GetUseNormalization () const
 
MeasureType GetValue (const TransformParametersType &parameters) const override
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &value, DerivativeType &derivative) const override
 
void GetValueAndDerivativeSingleThreaded (const TransformParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 
virtual MeasureType GetValueSingleThreaded (const TransformParametersType &parameters) const
 
void Initialize (void) override
 
 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 char * GetClassName () const
 
virtual const FixedImageLimiterTypeGetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerTypeGetImageSampler (void) const
 
virtual const MovingImageDerivativeScalesTypeGetMovingImageDerivativeScales ()
 
virtual const MovingImageLimiterTypeGetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
virtual bool GetScaleGradientWithRespectToMovingImageOrientation () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
const AdvancedTransformTypeGetTransform (void) const override
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const boolGetUseMultiThread ()
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::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 SetNumberOfWorkUnits (ThreadIdType numberOfThreads)
 
virtual void SetRequiredRatioOfValidSamples (double _arg)
 
virtual void SetScaleGradientWithRespectToMovingImageOrientation (bool _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, CoordinateRepresentationTypeDummyFixedImageInterpolatorType
 
typedef Superclass::FixedImageIndexType FixedImageIndexType
 
typedef Superclass::FixedImageIndexValueType FixedImageIndexValueType
 
typedef BSplineInterpolateImageFunction< FixedImageType, CoordinateRepresentationTypeFixedImageInterpolatorType
 
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< FixedImageTypeSelfHessianSamplerType
 
typedef SmoothingRecursiveGaussianImageFilter< FixedImageType, FixedImageTypeSmootherType
 
- Protected Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
typedef BSplineInterpolatorFloatType::Pointer BSplineInterpolatorFloatPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, floatBSplineInterpolatorFloatType
 
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, doubleBSplineInterpolatorType
 
typedef CentralDifferenceGradientFilterType::Pointer CentralDifferenceGradientFilterPointer
 
typedef GradientImageFilter< MovingImageType, RealType, RealTypeCentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef FixedImageIndexType::IndexValueType FixedImageIndexValueType
 
typedef TransformType::InputPointType FixedImagePointType
 
typedef LinearInterpolatorType::Pointer LinearInterpolatorPointer
 
typedef AdvancedLinearInterpolateImageFunction< MovingImageType, CoordinateRepresentationTypeLinearInterpolatorType
 
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, doubleReducedBSplineInterpolatorType
 

Protected Member Functions

 AdvancedMeanSquaresImageToImageMetric ()
 
void AfterThreadedGetValue (MeasureType &value) const override
 
void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ThreadedGetValue (ThreadIdType threadID) override
 
void ThreadedGetValueAndDerivative (ThreadIdType threadID) override
 
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
 
 ~AdvancedMeanSquaresImageToImageMetric () override
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
 AdvancedImageToImageMetric ()
 
virtual void AfterThreadedGetValue (MeasureType &value) const
 
virtual void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const
 
virtual void CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (void)
 
virtual void CheckForBSplineTransform (void) const
 
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
 
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)
 
virtual void InitializeLimiters (void)
 
virtual void InitializeThreadingParameters (void) const
 
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct)
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct)
 
void LaunchGetValueAndDerivativeThreaderCallback (void) const
 
void LaunchGetValueThreaderCallback (void) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetUseFixedImageLimiter (bool _arg)
 
virtual void SetUseImageSampler (bool _arg)
 
virtual void SetUseMovingImageLimiter (bool _arg)
 
virtual void ThreadedGetValue (ThreadIdType threadID)
 
virtual void ThreadedGetValueAndDerivative (ThreadIdType threadID)
 
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
 
 ~AdvancedImageToImageMetric () override
 

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
 
double m_FixedLimitRangeRatio
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
AlignedGetValuePerThreadStruct * m_GetValuePerThreadVariables
 
ThreadIdType m_GetValuePerThreadVariablesSize
 
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
 
double m_MovingLimitRangeRatio
 
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_FUNCTION_CALL_CONVENTION AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueAndDerivativeThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueThreaderCallback (void *arg)
 

Member Typedef Documentation

◆ BSplineInterpolatorType

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

Definition at line 207 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ CentralDifferenceGradientFilterType

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

Definition at line 208 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ConstPointer

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

Definition at line 66 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ CoordinateRepresentationType

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

Typedefs from the superclass.

Definition at line 76 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ DerivativeType

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

Definition at line 103 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ DerivativeValueType

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

Definition at line 104 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ DummyFixedImageInterpolatorType

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

Definition at line 218 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageConstPointer

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

Definition at line 81 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageIndexType

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

Protected Typedefs Typedefs inherited from superclass

Definition at line 201 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageIndexValueType

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

Definition at line 202 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageInterpolatorType

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

Definition at line 216 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageLimiterOutputType

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

Definition at line 116 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageLimiterType

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

Definition at line 113 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageMaskPointer

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

Definition at line 99 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageMaskSpatialObject2Type

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

Definition at line 126 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageMaskType

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

Definition at line 98 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImagePixelType

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

Definition at line 106 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImagePointType

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

Definition at line 204 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageRegionType

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

Definition at line 82 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ FixedImageType

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

Definition at line 80 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ GradientImageFilterPointer

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

Definition at line 97 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ GradientImageFilterType

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

Definition at line 96 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ GradientImagePointer

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

Definition at line 95 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ GradientImageType

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

Definition at line 94 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ GradientPixelType

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

Definition at line 93 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ HessianType

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

Definition at line 122 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ HessianValueType

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

Definition at line 121 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ImageSampleContainerPointer

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

Definition at line 112 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ImageSampleContainerType

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

Definition at line 110 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ImageSamplerPointer

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

Definition at line 109 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ImageSamplerType

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

Definition at line 108 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ InputPointType

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

Definition at line 85 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ InterpolatorPointer

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

Definition at line 91 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ InterpolatorType

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

Definition at line 90 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MeasureType

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

Definition at line 102 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageConstPointer

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

Definition at line 79 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageContinuousIndexType

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

Definition at line 206 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageDerivativeScalesType

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

Definition at line 120 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageDerivativeType

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

Definition at line 209 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageIndexType

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

Definition at line 203 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageLimiterOutputType

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

Definition at line 118 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageLimiterType

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

Definition at line 114 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageMaskPointer

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

Definition at line 101 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageMaskSpatialObject2Type

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

Definition at line 127 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageMaskType

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

Definition at line 100 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImagePixelType

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

Definition at line 78 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImagePointType

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

Definition at line 205 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageRegionType

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

Definition at line 107 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ MovingImageType

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

Definition at line 77 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ NonZeroJacobianIndicesType

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

Definition at line 210 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ NumberOfParametersType

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

Definition at line 89 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ OutputPointType

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

Definition at line 86 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ParametersType

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

Definition at line 105 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ Pointer

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

Definition at line 65 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ RealType

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

Definition at line 92 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ Self

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

Standard class typedefs.

Definition at line 62 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ SelfHessianSamplerType

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

Definition at line 219 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ SmootherType

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

Protected typedefs for SelfHessian

Definition at line 214 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ Superclass

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

Definition at line 64 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ThreaderType

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

Definition at line 123 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ ThreadInfoType

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

Definition at line 124 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ TransformJacobianType

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

Definition at line 88 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ TransformParametersType

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

Definition at line 87 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ TransformPointer

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

Definition at line 84 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ TransformType

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

Definition at line 83 of file itkAdvancedMeanSquaresImageToImageMetric.h.

Constructor & Destructor Documentation

◆ AdvancedMeanSquaresImageToImageMetric() [1/2]

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

◆ ~AdvancedMeanSquaresImageToImageMetric()

template<class TFixedImage , class TMovingImage >
itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::~AdvancedMeanSquaresImageToImageMetric ( )
inlineoverrideprotected

Definition at line 194 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ AdvancedMeanSquaresImageToImageMetric() [2/2]

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

Member Function Documentation

◆ AfterThreadedGetValue()

template<class TFixedImage , class TMovingImage >
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::AfterThreadedGetValue ( MeasureType value) const
inlineoverrideprotectedvirtual

Gather the values from all threads.

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

◆ AfterThreadedGetValueAndDerivative()

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

Gather the values and derivatives from all threads.

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

◆ GetClassName()

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 >.

◆ GetDerivative()

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

Get the derivatives of the match measure.

◆ GetNumberOfSamplesForSelfHessian()

template<class TFixedImage , class TMovingImage >
virtual unsigned int itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetNumberOfSamplesForSelfHessian ( ) const
virtual

◆ GetSelfHessian()

template<class TFixedImage , class TMovingImage >
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetSelfHessian ( const TransformParametersType parameters,
HessianType H 
) const
overridevirtual

Experimental feature: compute SelfHessian

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

◆ GetSelfHessianNoiseRange()

template<class TFixedImage , class TMovingImage >
virtual double itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetSelfHessianNoiseRange ( ) const
virtual

◆ GetSelfHessianSmoothingSigma()

template<class TFixedImage , class TMovingImage >
virtual double itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetSelfHessianSmoothingSigma ( ) const
virtual

◆ GetUseNormalization()

template<class TFixedImage , class TMovingImage >
virtual bool itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetUseNormalization ( ) const
virtual

◆ GetValue()

template<class TFixedImage , class TMovingImage >
MeasureType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetValue ( const TransformParametersType parameters) const
override

◆ GetValueAndDerivative()

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

◆ GetValueAndDerivativeSingleThreaded()

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

Get value and derivative.

◆ GetValueSingleThreaded()

template<class TFixedImage , class TMovingImage >
virtual MeasureType itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::GetValueSingleThreaded ( const TransformParametersType parameters) const
virtual

Get the value for single valued optimizers.

◆ Initialize()

template<class TFixedImage , class TMovingImage >
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::Initialize ( void  )
override

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.

◆ itkStaticConstMacro() [1/2]

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

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

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

The moving image dimension.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

◆ PrintSelf()

template<class TFixedImage , class TMovingImage >
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

◆ SetNumberOfSamplesForSelfHessian()

template<class TFixedImage , class TMovingImage >
virtual void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::SetNumberOfSamplesForSelfHessian ( unsigned int  _arg)
virtual

Default: 100000

◆ SetSelfHessianNoiseRange()

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

Default: 1.0 mm

◆ SetSelfHessianSmoothingSigma()

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

Default: 1.0 mm

◆ SetUseNormalization()

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.

◆ SetUseOpenMP()

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.

◆ ThreadedGetValue()

template<class TFixedImage , class TMovingImage >
void itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >::ThreadedGetValue ( ThreadIdType  threadID)
inlineoverrideprotectedvirtual

Get value for each thread.

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

◆ ThreadedGetValueAndDerivative()

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

Get value and derivatives for each thread.

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

◆ UpdateSelfHessianTerms()

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().

◆ UpdateValueAndDerivativeTerms()

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

◆ m_NormalizationFactor

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

Definition at line 221 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ m_NumberOfSamplesForSelfHessian

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

Definition at line 261 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ m_SelfHessianNoiseRange

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

Definition at line 260 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ m_SelfHessianSmoothingSigma

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

Definition at line 259 of file itkAdvancedMeanSquaresImageToImageMetric.h.

◆ m_UseNormalization

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

Definition at line 258 of file itkAdvancedMeanSquaresImageToImageMetric.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo