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

#include <itkParzenWindowMutualInformationImageToImageMetric.h>

Detailed Description

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

Computes the mutual information between two images to be registered using the method of Mattes et al.

ParzenWindowMutualInformationImageToImageMetric computes the mutual information between a fixed and moving image to be registered.

The calculations are based on the method of Mattes et al. [1,2], where the probability density distribution are estimated using Parzen histograms. Once the PDFs have been constructed, the mutual information is obtained by double summing over the discrete PDF values.

Construction of the PDFs is implemented in the superclass ParzenWindowHistogramImageToImageMetric.

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

Notes:

  1. This class returns the negative mutual information value.
  2. This class in not thread safe due the private data structures used to the store the marginal and joint pdfs.

References:
[1] "Nonrigid multimodality image registration"
D. Mattes, D. R. Haynor, H. Vesselle, T. Lewellen and W. Eubank
Medical Imaging 2001: Image Processing, 2001, pp. 1609-1620.
[2] "PET-CT Image Registration in the Chest Using Free-form Deformations"
D. Mattes, D. R. Haynor, H. Vesselle, T. Lewellen and W. Eubank
IEEE Transactions in Medical Imaging. To Appear.
[3] "Optimization of Mutual Information for MultiResolution Image Registration"
P. Thevenaz and M. Unser
IEEE Transactions in Image Processing, 9(12) December 2000.

See also
ParzenWindowHistogramImageToImageMetric

Definition at line 75 of file itkParzenWindowMutualInformationImageToImageMetric.h.

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

Data Structures

struct  ParzenWindowMutualInformationMultiThreaderParameterType
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::DerivativeValueType DerivativeValueType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
 
typedef Superclass::FixedImageLimiterType FixedImageLimiterType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef Superclass::FixedImagePixelType FixedImagePixelType
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass::GradientImageFilterType GradientImageFilterType
 
typedef Superclass::GradientImagePointer GradientImagePointer
 
typedef Superclass::GradientImageType GradientImageType
 
typedef Superclass::GradientPixelType GradientPixelType
 
typedef Superclass::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< 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::ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >
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< 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
 
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< TFixedImage, TMovingImage >
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< 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 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< TFixedImage, TMovingImage >
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< 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

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< TFixedImage, TMovingImage >
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< 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
 

Static Protected Member Functions

static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ComputeDerivativeLowMemoryThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ComputePDFsThreaderCallback (void *arg)
 
- 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)
 

Protected Attributes

ParzenWindowMutualInformationMultiThreaderParameterType m_ParzenWindowMutualInformationThreaderParameters
 
- Protected Attributes inherited from itk::ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >
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< 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 Types

typedef Array2D< PRatioTypePRatioArrayType
 
typedef double PRatioType
 

Private Member Functions

void ComputeDerivativeLowMemory (DerivativeType &derivative) const
 
void ComputeDerivativeLowMemorySingleThreaded (DerivativeType &derivative) const
 
void ComputeValueAndPRatioArray (double &MI) const
 
void operator= (const Self &)
 
 ParzenWindowMutualInformationImageToImageMetric (const Self &)
 
void UpdateDerivativeLowMemory (const RealType &fixedImageValue, const RealType &movingImageValue, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, DerivativeType &derivative) const
 

Private Attributes

PRatioArrayType m_PRatioArray
 
bool m_UseJacobianPreconditioning
 

Member Typedef Documentation

◆ BSplineInterpolatorType

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

◆ CentralDifferenceGradientFilterType

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

◆ ConstPointer

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

◆ CoordinateRepresentationType

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

Typedefs from the superclass.

Definition at line 97 of file itkParzenWindowMutualInformationImageToImageMetric.h.

◆ DerivativeType

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

◆ DerivativeValueType

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

◆ FixedImageConstPointer

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

◆ FixedImageIndexType

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

Protected Typedefs Typedefs inherited from superclass

Definition at line 171 of file itkParzenWindowMutualInformationImageToImageMetric.h.

◆ FixedImageIndexValueType

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

◆ FixedImageLimiterOutputType

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

◆ FixedImageLimiterType

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

◆ FixedImageMaskPointer

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

◆ FixedImageMaskType

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

◆ FixedImagePixelType

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

◆ FixedImagePointType

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

◆ FixedImageRegionType

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

◆ FixedImageType

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

◆ GradientImageFilterPointer

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

◆ GradientImageFilterType

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

◆ GradientImagePointer

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

◆ GradientImageType

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

◆ GradientPixelType

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

◆ ImageSampleContainerPointer

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

◆ ImageSampleContainerType

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

◆ ImageSamplerPointer

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

◆ ImageSamplerType

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

◆ IncrementalMarginalPDFType

template<class TFixedImage , class TMovingImage >
typedef Superclass::IncrementalMarginalPDFType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::IncrementalMarginalPDFType
protected

◆ InputPointType

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

◆ InterpolatorPointer

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

◆ InterpolatorType

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

◆ JointPDFDerivativesIndexType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFDerivativesIndexType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesIndexType
protected

◆ JointPDFDerivativesRegionType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFDerivativesRegionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesRegionType
protected

◆ JointPDFDerivativesSizeType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFDerivativesSizeType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesSizeType
protected

◆ JointPDFDerivativesType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFDerivativesType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesType
protected

◆ JointPDFIndexType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFIndexType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFIndexType
protected

◆ JointPDFRegionType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFRegionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFRegionType
protected

◆ JointPDFSizeType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFSizeType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFSizeType
protected

◆ JointPDFType

template<class TFixedImage , class TMovingImage >
typedef Superclass::JointPDFType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFType
protected

◆ KernelFunctionType

template<class TFixedImage , class TMovingImage >
typedef Superclass::KernelFunctionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::KernelFunctionType
protected

◆ MarginalPDFType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MarginalPDFType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MarginalPDFType
protected

◆ MeasureType

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

◆ MovingImageConstPointer

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

◆ MovingImageContinuousIndexType

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

◆ MovingImageDerivativeScalesType

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

◆ MovingImageDerivativeType

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

◆ MovingImageIndexType

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

◆ MovingImageLimiterOutputType

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

◆ MovingImageLimiterType

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

◆ MovingImageMaskPointer

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

◆ MovingImageMaskType

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

◆ MovingImagePixelType

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

◆ MovingImagePointType

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

◆ MovingImageRegionType

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

◆ MovingImageType

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

◆ NonZeroJacobianIndicesType

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

◆ NumberOfParametersType

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

◆ OutputPointType

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

◆ ParametersType

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

◆ ParzenValueContainerType

template<class TFixedImage , class TMovingImage >
typedef Superclass::ParzenValueContainerType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ParzenValueContainerType
protected

◆ PDFDerivativeValueType

template<class TFixedImage , class TMovingImage >
typedef Superclass::PDFDerivativeValueType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::PDFDerivativeValueType
protected

◆ PDFValueType

template<class TFixedImage , class TMovingImage >
typedef Superclass::PDFValueType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::PDFValueType
protected

◆ Pointer

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

◆ PRatioArrayType

template<class TFixedImage , class TMovingImage >
typedef Array2D< PRatioType > itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::PRatioArrayType
private

◆ PRatioType

template<class TFixedImage , class TMovingImage >
typedef double itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::PRatioType
private

Helper array for storing the values of the JointPDF ratios.

Definition at line 267 of file itkParzenWindowMutualInformationImageToImageMetric.h.

◆ RealType

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

◆ Self

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

Standard class typedefs.

Definition at line 81 of file itkParzenWindowMutualInformationImageToImageMetric.h.

◆ Superclass

template<class TFixedImage , class TMovingImage >
typedef ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage > itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Superclass

◆ ThreaderType

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

◆ ThreadInfoType

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

◆ TransformJacobianType

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

◆ TransformParametersType

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

◆ TransformPointer

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

◆ TransformType

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

Constructor & Destructor Documentation

◆ ParzenWindowMutualInformationImageToImageMetric() [1/2]

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

The constructor.

◆ ~ParzenWindowMutualInformationImageToImageMetric()

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

The destructor.

Definition at line 166 of file itkParzenWindowMutualInformationImageToImageMetric.h.

◆ ParzenWindowMutualInformationImageToImageMetric() [2/2]

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

The private constructor.

Member Function Documentation

◆ AfterThreadedComputeDerivativeLowMemory()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::AfterThreadedComputeDerivativeLowMemory ( DerivativeType derivative) const
inlineprotected

Single-threadedly accumulate results.

◆ ComputeDerivativeLowMemory()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ComputeDerivativeLowMemory ( DerivativeType derivative) const
private

◆ ComputeDerivativeLowMemorySingleThreaded()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ComputeDerivativeLowMemorySingleThreaded ( DerivativeType derivative) const
private

Helper function to compute the derivative for the low memory variant.

◆ ComputeDerivativeLowMemoryThreaderCallback()

template<class TFixedImage , class TMovingImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ComputeDerivativeLowMemoryThreaderCallback ( void *  arg)
staticprotected

Helper function to launch the threads.

◆ ComputeJacobianPreconditioner()

template<class TFixedImage , class TMovingImage >
virtual void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ComputeJacobianPreconditioner ( const TransformJacobianType jac,
const NonZeroJacobianIndicesType nzji,
DerivativeType preconditioner,
DerivativeType divisor 
) const
protectedvirtual

Compute terms to implement preconditioning as proposed by Tustison et al.

◆ ComputeValueAndPRatioArray()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ComputeValueAndPRatioArray ( double MI) const
private

Helper function to compute m_PRatioArray in case of low memory consumption.

◆ GetClassName()

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

Run-time type information (and related methods).

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

Reimplemented in elastix::AdvancedMattesMutualInformationMetric< TElastix >.

◆ GetUseJacobianPreconditioning()

template<class TFixedImage , class TMovingImage >
virtual bool itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetUseJacobianPreconditioning ( ) const
virtual

Set/get whether to apply the technique introduced by Nicholas Tustison; default: false

◆ GetValue()

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

Get the value.

◆ GetValueAndAnalyticDerivative()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndAnalyticDerivative ( const ParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const
overrideprotectedvirtual

Get the value and analytic derivative. Called by GetValueAndDerivative if UseFiniteDifferenceDerivative == false.

Implements a version that only loops once over the samples, but uses a large block of memory to explicitly store the joint histogram derivative. It's size is #FixedHistogramBins * #MovingHistogramBins * #parameters * float.

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

◆ GetValueAndAnalyticDerivativeLowMemory()

template<class TFixedImage , class TMovingImage >
virtual void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndAnalyticDerivativeLowMemory ( const ParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const
protectedvirtual

Get the value and analytic derivative. Called by GetValueAndDerivative if UseFiniteDifferenceDerivative == false and UseExplicitPDFDerivatives == false.

Implements a version that avoids the large memory allocation of the explicit joint histogram derivative. This comes at the cost of looping over the samples twice, instead of once. The first time does not require GetJacobian() and moving image derivatives, however.

◆ GetValueAndFiniteDifferenceDerivative()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndFiniteDifferenceDerivative ( const ParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const
overrideprotectedvirtual

Get the value and finite difference derivative. Called by GetValueAndDerivative if UseFiniteDifferenceDerivative == true.

This is really only here for experimental purposes.

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

◆ InitializeHistograms()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InitializeHistograms ( void  )
overrideprotectedvirtual

Some initialization functions, called by Initialize.

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

◆ itkStaticConstMacro() [1/2]

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

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

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

The moving image dimension.

◆ LaunchComputeDerivativeLowMemoryThreaderCallback()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::LaunchComputeDerivativeLowMemoryThreaderCallback ( void  ) const
protected

Helper function to launch the threads.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

The private copy constructor.

◆ SetUseJacobianPreconditioning()

template<class TFixedImage , class TMovingImage >
virtual void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetUseJacobianPreconditioning ( bool  _arg)
virtual

◆ ThreadedComputeDerivativeLowMemory()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ThreadedComputeDerivativeLowMemory ( ThreadIdType  threadId)
inlineprotected

Multi-threaded versions of the ComputePDF function.

◆ UpdateDerivativeLowMemory()

template<class TFixedImage , class TMovingImage >
void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::UpdateDerivativeLowMemory ( const RealType fixedImageValue,
const RealType movingImageValue,
const DerivativeType imageJacobian,
const NonZeroJacobianIndicesType nzji,
DerivativeType derivative 
) const
private

Helper function to update the derivative for the low memory variant.

Field Documentation

◆ m_ParzenWindowMutualInformationThreaderParameters

template<class TFixedImage , class TMovingImage >
ParzenWindowMutualInformationMultiThreaderParameterType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_ParzenWindowMutualInformationThreaderParameters
protected

◆ m_PRatioArray

template<class TFixedImage , class TMovingImage >
PRatioArrayType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_PRatioArray
mutableprivate

◆ m_UseJacobianPreconditioning

template<class TFixedImage , class TMovingImage >
bool itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_UseJacobianPreconditioning
private

Setting

Definition at line 272 of file itkParzenWindowMutualInformationImageToImageMetric.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo