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 Member Functions | Protected Attributes | Private Member Functions | Private Attributes
elastix::AdvancedMattesMutualInformationMetric< TElastix > Class Template Reference

#include <elxAdvancedMattesMutualInformationMetric.h>

Detailed Description

template<class TElastix>
class elastix::AdvancedMattesMutualInformationMetric< TElastix >

A metric based on the itk::ParzenWindowMutualInformationImageToImageMetric.

This metric is based on an adapted version of the itk::MattesMutualInformationImageToImageMetric.

The parameters used in this class are:

Parameters:

Metric: Select this metric as follows:
(Metric "AdvancedMattesMutualInformation")

NumberOfHistogramBins: The size of the histogram. Must be given for each resolution, or for all resolutions at once.
example: (NumberOfHistogramBins 32 32 64)
The default is 32 for each resolution.

NumberOfFixedHistogramBins: The size of the histogram in the fixed dimension. Can be given for each resolution, or for all resolutions at once. If not given, NumberOfHistogramBins is used.
example: (NumberOfFixedHistogramBins 32 32 64)
The default is the value of NumberOfHistogramBins, or, if that one is also not given, 32.

NumberOfMovingHistogramBins: The size of the histogram in the fixed dimension. Can be given for each resolution, or for all resolutions at once. If not given, NumberOfHistogramBins is used.
example: (NumberOfMovingHistogramBins 32 32 64)
The default is the value of NumberOfHistogramBins, or, if that one is also not given, 32.

FixedKernelBSplineOrder: The B-spline order of the Parzen window, used to estimate the joint histogram. Can be given for each resolution, or for all resolutions at once.
example: (FixedKernelBSplineOrder 0 1 1)
The default value is 0.

MovingKernelBSplineOrder: The B-spline order of the Parzen window, used to estimate the joint histogram. Can be given for each resolution, or for all resolutions at once.
example: (MovingKernelBSplineOrder 3 3 3)
The default value is 3.

FixedLimitRangeRatio: The relative extension of the intensity range of the fixed image.
If your fixed image has grey values from a to b and the FixedLimitRangeRatio is 0.001, the joint histogram will expect fixed image grey values from a-0.001(b-a) to b+0.001(b-a). This may be useful if you use high order B-spline interpolator for the fixed image.
example: (FixedLimitRangeRatio 0.001 0.01 0.01)
The default value is 0.01. Can be given for each resolution, or for all resolutions at once.

MovingLimitRangeRatio: The relative extension of the intensity range of the moving image.
If your moving image has grey values from a to b and the MovingLimitRangeRatio is 0.001, the joint histogram will expect moving image grey values from a-0.001(b-a) to b+0.001(b-a). This may be useful if you use high order B-spline interpolator for the moving image.
example: (MovingLimitRangeRatio 0.001 0.01 0.01)
The default value is 0.01. Can be given for each resolution, or for all resolutions at once.

FiniteDifferenceDerivative: Experimental feature, do not use.

UseFastAndLowMemoryVersion: Switch between a version of mutual information that explicitely computes the derivatives of the joint histogram to each transformation parameter (false) and a version that computes the mutual information via another route (true). The first option allocates a large 3D matrix of size: NumberOfFixedHistogramBins * NumberOfMovingHistogramBins * number of affected B-spline parameters. This method is faster for a low number of parameters. The second method does not use this huge matrix, and is therefore much more memory efficient for large images and fine B-spline grids. example: (UseFastAndLowMemoryVersion "false")
The default is "true".

See also
ParzenWindowMutualInformationImageToImageMetric

Definition at line 100 of file elxAdvancedMattesMutualInformationMetric.h.

+ Inheritance diagram for elastix::AdvancedMattesMutualInformationMetric< TElastix >:

Public Types

typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass1::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass1::DerivativeType DerivativeType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
 
typedef Superclass1::FixedImageLimiterType FixedImageLimiterType
 
typedef Superclass1::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass1::FixedImageMaskType FixedImageMaskType
 
typedef Superclass1::FixedImagePixelType FixedImagePixelType
 
typedef Superclass1::FixedImageRegionType FixedImageRegionType
 
typedef Superclass1::FixedImageType FixedImageType
 
typedef Superclass1::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass1::GradientImageFilterType GradientImageFilterType
 
typedef Superclass1::GradientImagePointer GradientImagePointer
 
typedef Superclass1::GradientImageType GradientImageType
 
typedef Superclass1::GradientPixelType GradientPixelType
 
typedef Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass1::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass1::ImageSamplerPointer ImageSamplerPointer
 
typedef Superclass1::ImageSamplerType ImageSamplerType
 
typedef Superclass1::InputPointType InputPointType
 
typedef Superclass1::InterpolatorPointer InterpolatorPointer
 
typedef Superclass1::InterpolatorType InterpolatorType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MeasureType MeasureType
 
typedef Superclass1::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
 
typedef Superclass1::MovingImageLimiterType MovingImageLimiterType
 
typedef Superclass1::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass1::MovingImageMaskType MovingImageMaskType
 
typedef Superclass1::MovingImagePixelType MovingImagePixelType
 
typedef Superclass1::MovingImageRegionType MovingImageRegionType
 
typedef Superclass1::MovingImageType MovingImageType
 
typedef Superclass1::OutputPointType OutputPointType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass1::RealType RealType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef AdvancedMattesMutualInformationMetric Self
 
typedef itk::ParzenWindowMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageTypeSuperclass1
 
typedef MetricBase< TElastix > Superclass2
 
typedef Superclass1::TransformJacobianType TransformJacobianType
 
typedef Superclass1::TransformParametersType TransformParametersType
 
typedef Superclass1::TransformPointer TransformPointer
 
typedef Superclass1::TransformType TransformType
 
- Public Types inherited from itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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::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 ParzenWindowMutualInformationImageToImageMetric Self
 
typedef ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageTypeSuperclass
 
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::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass::ImageSamplerPointer ImageSamplerPointer
 
typedef Superclass::ImageSamplerType ImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
 
typedef Superclass::MovingImageLimiterType MovingImageLimiterType
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImageRegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef ParzenWindowHistogramImageToImageMetric Self
 
typedef AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageTypeSuperclass
 
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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageTypeSuperclass
 
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 Types inherited from elastix::MetricBase< TElastix >
typedef itk::AdvancedImageToImageMetric< FixedImageType, MovingImageTypeAdvancedMetricType
 
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef ITKBaseType::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
 
typedef FixedImageType::PointType FixedPointType
 
typedef FixedPointType::ValueType FixedPointValueType
 
typedef AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
 
typedef itk::SingleValuedCostFunction ITKBaseType
 
typedef ITKBaseType::MeasureType MeasureType
 
typedef AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
 
typedef MovingImageType::PointType MovingPointType
 
typedef MovingPointType::ValueType MovingPointValueType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef MetricBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

void AfterEachIteration (void) override
 
void BeforeEachResolution (void) override
 
 elxClassNameMacro ("AdvancedMattesMutualInformation")
 
virtual const char * GetClassName () const
 
virtual unsigned int GetCurrentIteration () const
 
virtual double GetParam_c () const
 
virtual double GetParam_gamma () const
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SetCurrentIteration (unsigned int _arg)
 
virtual void SetParam_c (double _arg)
 
virtual void SetParam_gamma (double _arg)
 
- Public Member Functions inherited from itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual const char * GetClassName () const
 
virtual bool GetUseJacobianPreconditioning () const
 
MeasureType GetValue (const ParametersType &parameters) const override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SetUseJacobianPreconditioning (bool _arg)
 
- Public Member Functions inherited from itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual const char * GetClassName () const
 
void GetDerivative (const ParametersType &parameters, DerivativeType &Derivative) const override
 
virtual double GetFiniteDifferencePerturbation () const
 
virtual unsigned int GetFixedKernelBSplineOrder () const
 
virtual unsigned int GetMovingKernelBSplineOrder () const
 
virtual unsigned long GetNumberOfFixedHistogramBins ()
 
virtual unsigned long GetNumberOfMovingHistogramBins ()
 
virtual bool GetUseDerivative () const
 
virtual const boolGetUseExplicitPDFDerivatives ()
 
virtual bool GetUseFiniteDifferenceDerivative () const
 
void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const override
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SetFiniteDifferencePerturbation (double _arg)
 
virtual void SetFixedKernelBSplineOrder (unsigned int _arg)
 
virtual void SetMovingKernelBSplineOrder (unsigned int _arg)
 
virtual void SetNumberOfFixedHistogramBins (unsigned long _arg)
 
virtual void SetNumberOfMovingHistogramBins (unsigned long _arg)
 
virtual void SetUseDerivative (bool _arg)
 
virtual void SetUseExplicitPDFDerivatives (bool _arg)
 
virtual void SetUseFiniteDifferenceDerivative (bool _arg)
 
virtual void UseExplicitPDFDerivativesOff ()
 
virtual void UseExplicitPDFDerivativesOn ()
 
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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 ()
 
- Public Member Functions inherited from elastix::MetricBase< TElastix >
void AfterEachIterationBase (void) override
 
void BeforeEachResolutionBase (void) override
 
virtual ImageSamplerBaseTypeGetAdvancedMetricImageSampler (void) const
 
virtual bool GetAdvancedMetricUseImageSampler (void) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual MeasureType GetCurrentExactMetricValue (void) const
 
virtual bool GetShowExactMetricValue (void) const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SelectNewSamples (void)
 
virtual void SetAdvancedMetricImageSampler (ImageSamplerBaseType *sampler)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
ConfigurationTypeGetConfiguration (void) const
 
ElastixTypeGetElastix (void) const
 
RegistrationPointer GetRegistration (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE)
 
void SetConfiguration (ConfigurationType *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual const char * elxGetClassName (void) const
 
const char * GetComponentLabel (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static Pointer New ()
 
- Static Public Member Functions inherited from elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

 AdvancedMattesMutualInformationMetric ()
 
double Compute_c (unsigned long k) const
 
 ~AdvancedMattesMutualInformationMetric () override
 
- Protected Member Functions inherited from itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
void AfterThreadedComputeDerivativeLowMemory (DerivativeType &derivative) const
 
virtual void ComputeJacobianPreconditioner (const TransformJacobianType &jac, const NonZeroJacobianIndicesType &nzji, DerivativeType &preconditioner, DerivativeType &divisor) const
 
void GetValueAndAnalyticDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const override
 
virtual void GetValueAndAnalyticDerivativeLowMemory (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 
void GetValueAndFiniteDifferenceDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const override
 
void InitializeHistograms (void) override
 
void LaunchComputeDerivativeLowMemoryThreaderCallback (void) const
 
 ParzenWindowMutualInformationImageToImageMetric ()
 
void ThreadedComputeDerivativeLowMemory (ThreadIdType threadId)
 
 ~ParzenWindowMutualInformationImageToImageMetric () override
 
- Protected Member Functions inherited from itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
void AfterThreadedComputePDFs (void) const
 
virtual void ComputeIncrementalMarginalPDFs (const JointPDFDerivativesType *incrementalPDF, IncrementalMarginalPDFType *fixedIncrementalMarginalPDF, IncrementalMarginalPDFType *movingIncrementalMarginalPDF) const
 
virtual void ComputeMarginalPDF (const JointPDFType *jointPDF, MarginalPDFType &marginalPDF, const unsigned int &direction) const
 
virtual void ComputePDFs (const ParametersType &parameters) const
 
virtual void ComputePDFsAndIncrementalPDFs (const ParametersType &parameters) const
 
virtual void ComputePDFsAndPDFDerivatives (const ParametersType &parameters) const
 
virtual void ComputePDFsSingleThreaded (const ParametersType &parameters) const
 
void EvaluateParzenValues (double parzenWindowTerm, OffsetValueType parzenWindowIndex, const KernelFunctionType *kernel, ParzenValueContainerType &parzenValues) const
 
virtual void GetValueAndAnalyticDerivative (const ParametersType &, MeasureType &, DerivativeType &) const
 
virtual void GetValueAndFiniteDifferenceDerivative (const ParametersType &, MeasureType &, DerivativeType &) const
 
virtual void InitializeHistograms (void)
 
virtual void InitializeKernels (void)
 
void InitializeThreadingParameters (void) const override
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedParzenWindowHistogramGetValueAndDerivativePerThreadStruct, AlignedParzenWindowHistogramGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, ParzenWindowHistogramGetValueAndDerivativePerThreadStruct, PaddedParzenWindowHistogramGetValueAndDerivativePerThreadStruct)
 
void LaunchComputePDFsThreaderCallback (void) const
 
virtual void NormalizeJointPDF (JointPDFType *pdf, const double &factor) const
 
virtual void NormalizeJointPDFDerivatives (JointPDFDerivativesType *pdf, const double &factor) const
 
 ParzenWindowHistogramImageToImageMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ThreadedComputePDFs (ThreadIdType threadId)
 
virtual void UpdateJointPDFAndDerivatives (const RealType &fixedImageValue, const RealType &movingImageValue, const DerivativeType *imageJacobian, const NonZeroJacobianIndicesType *nzji, JointPDFType *jointPDF) const
 
virtual void UpdateJointPDFAndIncrementalPDFs (RealType fixedImageValue, RealType movingImageValue, RealType movingMaskValue, const DerivativeType &movingImageValuesRight, const DerivativeType &movingImageValuesLeft, const DerivativeType &movingMaskValuesRight, const DerivativeType &movingMaskValuesLeft, const NonZeroJacobianIndicesType &nzji) const
 
void UpdateJointPDFDerivatives (const JointPDFIndexType &pdfIndex, double factor, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji) const
 
 ~ParzenWindowHistogramImageToImageMetric () override
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
 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 Member Functions inherited from elastix::MetricBase< TElastix >
virtual MeasureType GetExactValue (const ParametersType &parameters)
 
 MetricBase ()
 
 ~MetricBase () override
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Protected Attributes

unsigned long m_CurrentIteration
 
- Protected Attributes inherited from itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
ParzenWindowMutualInformationMultiThreaderParameterType m_ParzenWindowMutualInformationThreaderParameters
 
- Protected Attributes inherited from itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
double m_Alpha
 
KernelFunctionPointer m_DerivativeMovingKernel
 
double m_FixedImageBinSize
 
MarginalPDFType m_FixedImageMarginalPDF
 
double m_FixedImageNormalizedMin
 
IncrementalMarginalPDFPointer m_FixedIncrementalMarginalPDFLeft
 
IncrementalMarginalPDFPointer m_FixedIncrementalMarginalPDFRight
 
KernelFunctionPointer m_FixedKernel
 
double m_FixedParzenTermToIndexOffset
 
JointPDFDerivativesPointer m_IncrementalJointPDFLeft
 
JointPDFDerivativesPointer m_IncrementalJointPDFRight
 
JointPDFPointer m_JointPDF
 
JointPDFDerivativesPointer m_JointPDFDerivatives
 
JointPDFRegionType m_JointPDFWindow
 
double m_MovingImageBinSize
 
MarginalPDFType m_MovingImageMarginalPDF
 
double m_MovingImageNormalizedMin
 
IncrementalMarginalPDFPointer m_MovingIncrementalMarginalPDFLeft
 
IncrementalMarginalPDFPointer m_MovingIncrementalMarginalPDFRight
 
KernelFunctionPointer m_MovingKernel
 
double m_MovingParzenTermToIndexOffset
 
AlignedParzenWindowHistogramGetValueAndDerivativePerThreadStruct * m_ParzenWindowHistogramGetValueAndDerivativePerThreadVariables
 
ThreadIdType m_ParzenWindowHistogramGetValueAndDerivativePerThreadVariablesSize
 
ParzenWindowHistogramMultiThreaderParameterType m_ParzenWindowHistogramThreaderParameters
 
DerivativeType m_PerturbedAlphaLeft
 
DerivativeType m_PerturbedAlphaRight
 
std::vector< JointPDFPointerm_ThreaderJointPDFs
 
- Protected Attributes inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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
 
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
 
unsigned int m_ExactMetricEachXNumberOfIterations
 
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
 
ExactMetricImageSamplerPointer m_ExactMetricSampler
 
bool m_ShowExactMetricValue
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
ElastixPointer m_Elastix {}
 
RegistrationPointer m_Registration {}
 

Private Member Functions

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

Private Attributes

double m_Param_c
 
double m_Param_gamma
 

Additional Inherited Members

- Protected Types inherited from itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef Superclass::BSplineInterpolatorType BSplineInterpolatorType
 
typedef Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
 
typedef Superclass::FixedImageIndexType FixedImageIndexType
 
typedef Superclass::FixedImageIndexValueType FixedImageIndexValueType
 
typedef Superclass::FixedImagePointType FixedImagePointType
 
typedef Superclass::IncrementalMarginalPDFType IncrementalMarginalPDFType
 
typedef Superclass::JointPDFDerivativesIndexType JointPDFDerivativesIndexType
 
typedef Superclass::JointPDFDerivativesRegionType JointPDFDerivativesRegionType
 
typedef Superclass::JointPDFDerivativesSizeType JointPDFDerivativesSizeType
 
typedef Superclass::JointPDFDerivativesType JointPDFDerivativesType
 
typedef Superclass::JointPDFIndexType JointPDFIndexType
 
typedef Superclass::JointPDFRegionType JointPDFRegionType
 
typedef Superclass::JointPDFSizeType JointPDFSizeType
 
typedef Superclass::JointPDFType JointPDFType
 
typedef Superclass::KernelFunctionType KernelFunctionType
 
typedef Superclass::MarginalPDFType MarginalPDFType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageDerivativeType MovingImageDerivativeType
 
typedef Superclass::MovingImageIndexType MovingImageIndexType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::ParzenValueContainerType ParzenValueContainerType
 
typedef Superclass::PDFDerivativeValueType PDFDerivativeValueType
 
typedef Superclass::PDFValueType PDFValueType
 
- Protected Types inherited from itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef Superclass::BSplineInterpolatorType BSplineInterpolatorType
 
typedef Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
 
typedef Superclass::FixedImageIndexType FixedImageIndexType
 
typedef Superclass::FixedImageIndexValueType FixedImageIndexValueType
 
typedef Superclass::FixedImagePointType FixedImagePointType
 
typedef IncrementalMarginalPDFType::IndexType IncrementalMarginalPDFIndexType
 
typedef IncrementalMarginalPDFType::Pointer IncrementalMarginalPDFPointer
 
typedef IncrementalMarginalPDFType::RegionType IncrementalMarginalPDFRegionType
 
typedef IncrementalMarginalPDFType::SizeType IncrementalMarginalPDFSizeType
 
typedef Image< PDFValueType, 2 > IncrementalMarginalPDFType
 
typedef JointPDFDerivativesType::IndexType JointPDFDerivativesIndexType
 
typedef JointPDFDerivativesType::Pointer JointPDFDerivativesPointer
 
typedef JointPDFDerivativesType::RegionType JointPDFDerivativesRegionType
 
typedef JointPDFDerivativesType::SizeType JointPDFDerivativesSizeType
 
typedef Image< PDFDerivativeValueType, 3 > JointPDFDerivativesType
 
typedef JointPDFType::IndexType JointPDFIndexType
 
typedef JointPDFType::Pointer JointPDFPointer
 
typedef JointPDFType::RegionType JointPDFRegionType
 
typedef JointPDFType::SizeType JointPDFSizeType
 
typedef Image< PDFValueType, 2 > JointPDFType
 
typedef KernelFunctionType::Pointer KernelFunctionPointer
 
typedef KernelFunctionBase2< PDFValueTypeKernelFunctionType
 
typedef Array< PDFValueTypeMarginalPDFType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageDerivativeType MovingImageDerivativeType
 
typedef Superclass::MovingImageIndexType MovingImageIndexType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef FixedImageType::OffsetValueType OffsetValueType
 
typedef Array< PDFValueTypeParzenValueContainerType
 
typedef float PDFDerivativeValueType
 
typedef double PDFValueType
 
- Protected Types inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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 Types inherited from elastix::MetricBase< TElastix >
typedef ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
 
typedef itk::ImageGridSampler< FixedImageTypeExactMetricImageSamplerType
 
typedef ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
 
typedef ITKBaseType::ParametersType ParametersType
 
- Static Protected Member Functions inherited from itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ComputeDerivativeLowMemoryThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ComputePDFsThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::ConfigurationPointer

Definition at line 189 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::AdvancedMattesMutualInformationMetric< TElastix >::ConfigurationType

Definition at line 188 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ConstPointer

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::AdvancedMattesMutualInformationMetric< TElastix >::ConstPointer

Definition at line 116 of file elxAdvancedMattesMutualInformationMetric.h.

◆ CoordinateRepresentationType

template<class TElastix >
typedef Superclass1::CoordinateRepresentationType elastix::AdvancedMattesMutualInformationMetric< TElastix >::CoordinateRepresentationType

Typedefs from the superclass.

Definition at line 133 of file elxAdvancedMattesMutualInformationMetric.h.

◆ DerivativeType

template<class TElastix >
typedef Superclass1::DerivativeType elastix::AdvancedMattesMutualInformationMetric< TElastix >::DerivativeType

Definition at line 159 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::ElastixPointer

Definition at line 187 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ElastixType

template<class TElastix >
typedef Superclass2::ElastixType elastix::AdvancedMattesMutualInformationMetric< TElastix >::ElastixType

Typedef's inherited from Elastix.

Definition at line 186 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImageConstPointer

template<class TElastix >
typedef Superclass1::FixedImageConstPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImageConstPointer

Definition at line 138 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImageLimiterOutputType

template<class TElastix >
typedef Superclass1::FixedImageLimiterOutputType elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImageLimiterOutputType

Definition at line 171 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImageLimiterType

template<class TElastix >
typedef Superclass1::FixedImageLimiterType elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImageLimiterType

Definition at line 168 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImageMaskPointer

template<class TElastix >
typedef Superclass1::FixedImageMaskPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImageMaskPointer

Definition at line 155 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImageMaskType

template<class TElastix >
typedef Superclass1::FixedImageMaskType elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImageMaskType

Definition at line 154 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImagePixelType

template<class TElastix >
typedef Superclass1::FixedImagePixelType elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImagePixelType

Definition at line 161 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImageRegionType

template<class TElastix >
typedef Superclass1::FixedImageRegionType elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImageRegionType

Definition at line 139 of file elxAdvancedMattesMutualInformationMetric.h.

◆ FixedImageType

template<class TElastix >
typedef Superclass1::FixedImageType elastix::AdvancedMattesMutualInformationMetric< TElastix >::FixedImageType

Definition at line 137 of file elxAdvancedMattesMutualInformationMetric.h.

◆ GradientImageFilterPointer

template<class TElastix >
typedef Superclass1::GradientImageFilterPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::GradientImageFilterPointer

Definition at line 153 of file elxAdvancedMattesMutualInformationMetric.h.

◆ GradientImageFilterType

template<class TElastix >
typedef Superclass1::GradientImageFilterType elastix::AdvancedMattesMutualInformationMetric< TElastix >::GradientImageFilterType

Definition at line 152 of file elxAdvancedMattesMutualInformationMetric.h.

◆ GradientImagePointer

template<class TElastix >
typedef Superclass1::GradientImagePointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::GradientImagePointer

Definition at line 151 of file elxAdvancedMattesMutualInformationMetric.h.

◆ GradientImageType

template<class TElastix >
typedef Superclass1::GradientImageType elastix::AdvancedMattesMutualInformationMetric< TElastix >::GradientImageType

Definition at line 150 of file elxAdvancedMattesMutualInformationMetric.h.

◆ GradientPixelType

template<class TElastix >
typedef Superclass1::GradientPixelType elastix::AdvancedMattesMutualInformationMetric< TElastix >::GradientPixelType

Definition at line 149 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ImageSampleContainerPointer

template<class TElastix >
typedef Superclass1::ImageSampleContainerPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::ImageSampleContainerPointer

Definition at line 167 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ImageSampleContainerType

template<class TElastix >
typedef Superclass1::ImageSampleContainerType elastix::AdvancedMattesMutualInformationMetric< TElastix >::ImageSampleContainerType

Definition at line 165 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ImageSamplerPointer

template<class TElastix >
typedef Superclass1::ImageSamplerPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::ImageSamplerPointer

Definition at line 164 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ImageSamplerType

template<class TElastix >
typedef Superclass1::ImageSamplerType elastix::AdvancedMattesMutualInformationMetric< TElastix >::ImageSamplerType

Definition at line 163 of file elxAdvancedMattesMutualInformationMetric.h.

◆ InputPointType

template<class TElastix >
typedef Superclass1::InputPointType elastix::AdvancedMattesMutualInformationMetric< TElastix >::InputPointType

Definition at line 142 of file elxAdvancedMattesMutualInformationMetric.h.

◆ InterpolatorPointer

template<class TElastix >
typedef Superclass1::InterpolatorPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::InterpolatorPointer

Definition at line 147 of file elxAdvancedMattesMutualInformationMetric.h.

◆ InterpolatorType

template<class TElastix >
typedef Superclass1::InterpolatorType elastix::AdvancedMattesMutualInformationMetric< TElastix >::InterpolatorType

Definition at line 146 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ITKBaseType

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::AdvancedMattesMutualInformationMetric< TElastix >::ITKBaseType

Definition at line 192 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MeasureType

template<class TElastix >
typedef Superclass1::MeasureType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MeasureType

Definition at line 158 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageConstPointer

template<class TElastix >
typedef Superclass1::MovingImageConstPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageConstPointer

Definition at line 136 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageDerivativeScalesType

template<class TElastix >
typedef Superclass1::MovingImageDerivativeScalesType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageDerivativeScalesType

Definition at line 175 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageLimiterOutputType

template<class TElastix >
typedef Superclass1::MovingImageLimiterOutputType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageLimiterOutputType

Definition at line 173 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageLimiterType

template<class TElastix >
typedef Superclass1::MovingImageLimiterType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageLimiterType

Definition at line 169 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageMaskPointer

template<class TElastix >
typedef Superclass1::MovingImageMaskPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageMaskPointer

Definition at line 157 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageMaskType

template<class TElastix >
typedef Superclass1::MovingImageMaskType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageMaskType

Definition at line 156 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImagePixelType

template<class TElastix >
typedef Superclass1::MovingImagePixelType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImagePixelType

Definition at line 135 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageRegionType

template<class TElastix >
typedef Superclass1::MovingImageRegionType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageRegionType

Definition at line 162 of file elxAdvancedMattesMutualInformationMetric.h.

◆ MovingImageType

template<class TElastix >
typedef Superclass1::MovingImageType elastix::AdvancedMattesMutualInformationMetric< TElastix >::MovingImageType

Definition at line 134 of file elxAdvancedMattesMutualInformationMetric.h.

◆ OutputPointType

template<class TElastix >
typedef Superclass1::OutputPointType elastix::AdvancedMattesMutualInformationMetric< TElastix >::OutputPointType

Definition at line 143 of file elxAdvancedMattesMutualInformationMetric.h.

◆ ParametersType

template<class TElastix >
typedef Superclass1::ParametersType elastix::AdvancedMattesMutualInformationMetric< TElastix >::ParametersType

Definition at line 160 of file elxAdvancedMattesMutualInformationMetric.h.

◆ Pointer

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::AdvancedMattesMutualInformationMetric< TElastix >::Pointer

Definition at line 115 of file elxAdvancedMattesMutualInformationMetric.h.

◆ RealType

template<class TElastix >
typedef Superclass1::RealType elastix::AdvancedMattesMutualInformationMetric< TElastix >::RealType

Definition at line 148 of file elxAdvancedMattesMutualInformationMetric.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::RegistrationPointer

Definition at line 191 of file elxAdvancedMattesMutualInformationMetric.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass2::RegistrationType elastix::AdvancedMattesMutualInformationMetric< TElastix >::RegistrationType

Definition at line 190 of file elxAdvancedMattesMutualInformationMetric.h.

◆ Self

Standard ITK-stuff.

Definition at line 110 of file elxAdvancedMattesMutualInformationMetric.h.

◆ Superclass1

template<class TElastix >
typedef itk::ParzenWindowMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::AdvancedMattesMutualInformationMetric< TElastix >::Superclass1

Definition at line 113 of file elxAdvancedMattesMutualInformationMetric.h.

◆ Superclass2

template<class TElastix >
typedef MetricBase< TElastix > elastix::AdvancedMattesMutualInformationMetric< TElastix >::Superclass2

Definition at line 114 of file elxAdvancedMattesMutualInformationMetric.h.

◆ TransformJacobianType

template<class TElastix >
typedef Superclass1::TransformJacobianType elastix::AdvancedMattesMutualInformationMetric< TElastix >::TransformJacobianType

Definition at line 145 of file elxAdvancedMattesMutualInformationMetric.h.

◆ TransformParametersType

template<class TElastix >
typedef Superclass1::TransformParametersType elastix::AdvancedMattesMutualInformationMetric< TElastix >::TransformParametersType

Definition at line 144 of file elxAdvancedMattesMutualInformationMetric.h.

◆ TransformPointer

template<class TElastix >
typedef Superclass1::TransformPointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::TransformPointer

Definition at line 141 of file elxAdvancedMattesMutualInformationMetric.h.

◆ TransformType

template<class TElastix >
typedef Superclass1::TransformType elastix::AdvancedMattesMutualInformationMetric< TElastix >::TransformType

Definition at line 140 of file elxAdvancedMattesMutualInformationMetric.h.

Constructor & Destructor Documentation

◆ AdvancedMattesMutualInformationMetric() [1/2]

template<class TElastix >
elastix::AdvancedMattesMutualInformationMetric< TElastix >::AdvancedMattesMutualInformationMetric ( )
protected

The constructor.

◆ ~AdvancedMattesMutualInformationMetric()

template<class TElastix >
elastix::AdvancedMattesMutualInformationMetric< TElastix >::~AdvancedMattesMutualInformationMetric ( )
inlineoverrideprotected

The destructor.

Definition at line 228 of file elxAdvancedMattesMutualInformationMetric.h.

◆ AdvancedMattesMutualInformationMetric() [2/2]

template<class TElastix >
elastix::AdvancedMattesMutualInformationMetric< TElastix >::AdvancedMattesMutualInformationMetric ( const Self )
private

The private constructor.

Member Function Documentation

◆ AfterEachIteration()

template<class TElastix >
void elastix::AdvancedMattesMutualInformationMetric< TElastix >::AfterEachIteration ( void  )
overridevirtual

Update the CurrenIteration. This is only important if a finite difference derivative estimation is used (selected by the experimental parameter FiniteDifferenceDerivative)

Reimplemented from elastix::BaseComponent.

◆ BeforeEachResolution()

template<class TElastix >
void elastix::AdvancedMattesMutualInformationMetric< TElastix >::BeforeEachResolution ( void  )
overridevirtual

Execute stuff before each new pyramid resolution:

  • Set the number of histogram bins.
  • Set the CheckNumberOfSamples option.
  • Set the fixed/moving LimitRangeRatio
  • Set the fixed/moving limiter.

Reimplemented from elastix::BaseComponent.

◆ Compute_c()

template<class TElastix >
double elastix::AdvancedMattesMutualInformationMetric< TElastix >::Compute_c ( unsigned long  k) const
protected

A function to compute the finite difference perturbation in each iteration

◆ elxClassNameMacro()

template<class TElastix >
elastix::AdvancedMattesMutualInformationMetric< TElastix >::elxClassNameMacro ( "AdvancedMattesMutualInformation"  )

Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "AdvancedMattesMutualInformation")

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::AdvancedMattesMutualInformationMetric< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

◆ GetCurrentIteration()

template<class TElastix >
virtual unsigned int elastix::AdvancedMattesMutualInformationMetric< TElastix >::GetCurrentIteration ( ) const
virtual

◆ GetParam_c()

template<class TElastix >
virtual double elastix::AdvancedMattesMutualInformationMetric< TElastix >::GetParam_c ( ) const
virtual

◆ GetParam_gamma()

template<class TElastix >
virtual double elastix::AdvancedMattesMutualInformationMetric< TElastix >::GetParam_gamma ( ) const
virtual

◆ Initialize()

template<class TElastix >
void elastix::AdvancedMattesMutualInformationMetric< TElastix >::Initialize ( void  )
override

Set up a timer to measure the initialization time and call the Superclass' implementation.

◆ itkStaticConstMacro() [1/2]

template<class TElastix >
elastix::AdvancedMattesMutualInformationMetric< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned int  ,
FixedImageType::ImageDimension   
)

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

template<class TElastix >
elastix::AdvancedMattesMutualInformationMetric< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned int  ,
MovingImageType::ImageDimension   
)

The moving image dimension.

◆ New()

template<class TElastix >
static Pointer elastix::AdvancedMattesMutualInformationMetric< TElastix >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TElastix >
void elastix::AdvancedMattesMutualInformationMetric< TElastix >::operator= ( const Self )
private

The private copy constructor.

◆ SetCurrentIteration()

template<class TElastix >
virtual void elastix::AdvancedMattesMutualInformationMetric< TElastix >::SetCurrentIteration ( unsigned int  _arg)
virtual

Set/Get the current iteration. For finite difference derivative estimation

◆ SetParam_c()

template<class TElastix >
virtual void elastix::AdvancedMattesMutualInformationMetric< TElastix >::SetParam_c ( double  _arg)
virtual

Set/Get c. For finite difference derivative estimation

◆ SetParam_gamma()

template<class TElastix >
virtual void elastix::AdvancedMattesMutualInformationMetric< TElastix >::SetParam_gamma ( double  _arg)
virtual

Set/Get gamma. For finite difference derivative estimation

Field Documentation

◆ m_CurrentIteration

template<class TElastix >
unsigned long elastix::AdvancedMattesMutualInformationMetric< TElastix >::m_CurrentIteration
protected

Definition at line 230 of file elxAdvancedMattesMutualInformationMetric.h.

◆ m_Param_c

template<class TElastix >
double elastix::AdvancedMattesMutualInformationMetric< TElastix >::m_Param_c
private

Definition at line 242 of file elxAdvancedMattesMutualInformationMetric.h.

◆ m_Param_gamma

template<class TElastix >
double elastix::AdvancedMattesMutualInformationMetric< TElastix >::m_Param_gamma
private

Definition at line 243 of file elxAdvancedMattesMutualInformationMetric.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo