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

#include <itkParzenWindowMutualInformationImageToImageMetric.h>

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

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef
Superclass::DerivativeValueType 
DerivativeValueType
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
typedef
Superclass::FixedImageLimiterOutputType 
FixedImageLimiterOutputType
typedef
Superclass::FixedImageLimiterType 
FixedImageLimiterType
typedef
Superclass::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass::FixedImageMaskType 
FixedImageMaskType
typedef
Superclass::FixedImagePixelType 
FixedImagePixelType
typedef
Superclass::FixedImageRegionType 
FixedImageRegionType
typedef Superclass::FixedImageType FixedImageType
typedef
Superclass::GradientImageFilterPointer 
GradientImageFilterPointer
typedef
Superclass::GradientImageFilterType 
GradientImageFilterType
typedef
Superclass::GradientImagePointer 
GradientImagePointer
typedef
Superclass::GradientImageType 
GradientImageType
typedef
Superclass::GradientPixelType 
GradientPixelType
typedef
Superclass::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
ParzenWindowMutualInformationImageToImageMetric 
Self
typedef
ParzenWindowHistogramImageToImageMetric
< TFixedImage, TMovingImage > 
Superclass
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::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 SmartPointer< const SelfConstPointer
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef DerivativeType::ValueType DerivativeValueType
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
typedef
FixedImageLimiterType::OutputType 
FixedImageLimiterOutputType
typedef LimiterFunctionBase
< RealType,
FixedImageDimension > 
FixedImageLimiterType
typedef
Superclass::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass::FixedImageMaskType 
FixedImageMaskType
typedef FixedImageType::PixelType FixedImagePixelType
typedef FixedImageType::Pointer FixedImagePointer
typedef
Superclass::FixedImageRegionType 
FixedImageRegionType
typedef Superclass::FixedImageType FixedImageType
typedef
Superclass::GradientImageFilterPointer 
GradientImageFilterPointer
typedef
Superclass::GradientImageFilterType 
GradientImageFilterType
typedef
Superclass::GradientImagePointer 
GradientImagePointer
typedef
Superclass::GradientImageType 
GradientImageType
typedef
Superclass::GradientPixelType 
GradientPixelType
typedef vnl_sparse_matrix
< HessianValueType
HessianType
typedef DerivativeType::ValueType HessianValueType
typedef
ImageSamplerType::OutputVectorContainerPointer 
ImageSampleContainerPointer
typedef
ImageSamplerType::OutputVectorContainerType 
ImageSampleContainerType
typedef ImageSamplerType::Pointer ImageSamplerPointer
typedef ImageSamplerBase
< FixedImageType
ImageSamplerType
typedef Superclass::InputPointType InputPointType
typedef
Superclass::InterpolatorPointer 
InterpolatorPointer
typedef
Superclass::InterpolatorType 
InterpolatorType
typedef Superclass::MeasureType MeasureType
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
typedef FixedArray< double,
itkGetStaticConstMacro(MovingImageDimension) > 
MovingImageDerivativeScalesType
typedef
MovingImageLimiterType::OutputType 
MovingImageLimiterOutputType
typedef LimiterFunctionBase
< RealType,
MovingImageDimension > 
MovingImageLimiterType
typedef
Superclass::MovingImageMaskPointer 
MovingImageMaskPointer
typedef
Superclass::MovingImageMaskType 
MovingImageMaskType
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
typedef MovingImageType::Pointer MovingImagePointer
typedef MovingImageType::RegionType MovingImageRegionType
typedef Superclass::MovingImageType MovingImageType
typedef 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
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
 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 >
void GetDerivative (const ParametersType &parameters, DerivativeType &Derivative) const
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
void Initialize (void) throw ( ExceptionObject )
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 const
FixedImageLimiterType
GetFixedImageLimiter ()
virtual double GetFixedLimitRangeRatio () const
virtual ImageSamplerTypeGetImageSampler (void) const
virtual const
MovingImageDerivativeScalesType
GetMovingImageDerivativeScales ()
virtual const
MovingImageLimiterType
GetMovingImageLimiter ()
virtual double GetMovingLimitRangeRatio () const
virtual double GetRequiredRatioOfValidSamples () const
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
const AdvancedTransformTypeGetTransform (void) const
virtual bool GetUseFixedImageLimiter () const
virtual bool GetUseImageSampler () const
virtual bool GetUseMovingImageDerivativeScales () const
virtual bool GetUseMovingImageLimiter () const
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
virtual void SetFixedImageLimiter (FixedImageLimiterType *_arg)
virtual void SetFixedLimitRangeRatio (double _arg)
virtual void SetImageSampler (ImageSamplerType *_arg)
virtual void SetMovingImageDerivativeScales (MovingImageDerivativeScalesType _arg)
virtual void SetMovingImageLimiter (MovingImageLimiterType *_arg)
virtual void SetMovingLimitRangeRatio (double _arg)
virtual void SetRequiredRatioOfValidSamples (double _arg)
virtual void SetTransform (AdvancedTransformType *arg)
virtual void SetUseMovingImageDerivativeScales (bool _arg)

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::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::RegionType 
IncrementalMarginalPDFRegionType
typedef
IncrementalMarginalPDFType::SizeType 
IncrementalMarginalPDFSizeType
typedef Image< PDFValueType, 2 > IncrementalMarginalPDFType
typedef
JointPDFDerivativesType::IndexType 
JointPDFDerivativesIndexType
typedef
JointPDFDerivativesType::RegionType 
JointPDFDerivativesRegionType
typedef
JointPDFDerivativesType::SizeType 
JointPDFDerivativesSizeType
typedef Image< PDFValueType, 3 > JointPDFDerivativesType
typedef JointPDFType::IndexType JointPDFIndexType
typedef JointPDFType::RegionType JointPDFRegionType
typedef JointPDFType::SizeType JointPDFSizeType
typedef Image< PDFValueType, 2 > JointPDFType
typedef KernelFunction KernelFunctionType
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< doubleParzenValueContainerType
typedef float PDFValueType
- Protected Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
float
BSplineInterpolatorFloatType
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
BSplineInterpolatorType
typedef GradientImageFilter
< MovingImageType, RealType,
RealType
CentralDifferenceGradientFilterType
typedef FixedImageType::IndexType FixedImageIndexType
typedef
FixedImageIndexType::IndexValueType 
FixedImageIndexValueType
typedef
TransformType::InputPointType 
FixedImagePointType
typedef
InterpolatorType::ContinuousIndexType 
MovingImageContinuousIndexType
typedef
BSplineInterpolatorType::CovariantVectorType 
MovingImageDerivativeType
typedef MovingImageType::IndexType MovingImageIndexType
typedef
TransformType::OutputPointType 
MovingImagePointType
typedef
AdvancedTransformType::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType
typedef
ReducedDimensionBSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
ReducedBSplineInterpolatorType

Protected Member Functions

virtual void ComputeJacobianPreconditioner (const TransformJacobianType &jac, const NonZeroJacobianIndicesType &nzji, DerivativeType &preconditioner, DerivativeType &divisor) const
virtual void GetValueAndAnalyticDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
virtual void GetValueAndAnalyticDerivativeLowMemory (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
virtual void GetValueAndFiniteDifferenceDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
virtual void InitializeHistograms (void)
 ParzenWindowMutualInformationImageToImageMetric ()
virtual ~ParzenWindowMutualInformationImageToImageMetric ()
- Protected Member Functions inherited from itk::ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >
virtual void ComputeIncrementalMarginalPDFs (const JointPDFDerivativesType *incrementalPDF, IncrementalMarginalPDFType *fixedIncrementalMarginalPDF, IncrementalMarginalPDFType *movingIncrementalMarginalPDF) const
virtual void ComputeMarginalPDF (const JointPDFType *jointPDF, MarginalPDFType &marginalPDF, 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
void EvaluateParzenValues (double parzenWindowTerm, OffsetValueType parzenWindowIndex, const KernelFunctionType *kernel, ParzenValueContainerType &parzenValues) const
void EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
virtual void InitializeKernels (void)
virtual void NormalizeJointPDF (JointPDFType *pdf, double factor) const
virtual void NormalizeJointPDFDerivatives (JointPDFDerivativesType *pdf, double factor) const
 ParzenWindowHistogramImageToImageMetric ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void UpdateJointPDFAndDerivatives (RealType fixedImageValue, RealType movingImageValue, const DerivativeType *imageJacobian, const NonZeroJacobianIndicesType *nzji) 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
virtual ~ParzenWindowHistogramImageToImageMetric ()
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
 AdvancedImageToImageMetric ()
virtual void CheckForAdvancedTransform (void)
virtual void CheckForBSplineInterpolator (void)
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
virtual void ComputeFixedImageExtrema (const FixedImageType *image, const FixedImageRegionType &region)
virtual void ComputeMovingImageExtrema (const MovingImageType *image, const MovingImageRegionType &region)
virtual bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const
virtual bool EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const
virtual void InitializeImageSampler (void) throw ( ExceptionObject )
virtual void InitializeLimiters (void)
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
virtual void SetUseFixedImageLimiter (bool _arg)
virtual void SetUseImageSampler (bool _arg)
virtual void SetUseMovingImageLimiter (bool _arg)
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
virtual ~AdvancedImageToImageMetric ()

Private Types

typedef Array2D< PRatioTypePRatioArrayType
typedef double PRatioType

Private Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from itk::ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >
double m_Alpha
KernelFunctionType::Pointer m_DerivativeMovingKernel
double m_FixedImageBinSize
MarginalPDFType m_FixedImageMarginalPDF
double m_FixedImageNormalizedMin
IncrementalMarginalPDFType::Pointer m_FixedIncrementalMarginalPDFLeft
IncrementalMarginalPDFType::Pointer m_FixedIncrementalMarginalPDFRight
KernelFunctionType::Pointer m_FixedKernel
double m_FixedParzenTermToIndexOffset
JointPDFDerivativesType::Pointer m_IncrementalJointPDFLeft
JointPDFDerivativesType::Pointer m_IncrementalJointPDFRight
JointPDFType::Pointer m_JointPDF
JointPDFDerivativesType::Pointer m_JointPDFDerivatives
JointPDFRegionType m_JointPDFWindow
double m_MovingImageBinSize
MarginalPDFType m_MovingImageMarginalPDF
double m_MovingImageNormalizedMin
IncrementalMarginalPDFType::Pointer m_MovingIncrementalMarginalPDFLeft
IncrementalMarginalPDFType::Pointer m_MovingIncrementalMarginalPDFRight
KernelFunctionType::Pointer m_MovingKernel
double m_MovingParzenTermToIndexOffset
DerivativeType m_PerturbedAlphaLeft
DerivativeType m_PerturbedAlphaRight

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 72 of file itkParzenWindowMutualInformationImageToImageMetric.h.

Member Typedef Documentation

template<class TFixedImage, class TMovingImage>
typedef Superclass::BSplineInterpolatorType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BSplineInterpolatorType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::CentralDifferenceGradientFilterType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::CentralDifferenceGradientFilterType
protected
template<class TFixedImage, class TMovingImage>
typedef SmartPointer<const Self> itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::CoordinateRepresentationType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType

Typedefs from the superclass.

Definition at line 90 of file itkParzenWindowMutualInformationImageToImageMetric.h.

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

Protected Typedefs Typedefs inherited from superclass

Definition at line 160 of file itkParzenWindowMutualInformationImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageIndexValueType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageIndexValueType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterOutputType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePixelType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePointType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePointType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageRegionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImagePointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientPixelType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerType
template<class TFixedImage, class TMovingImage>
typedef Superclass::IncrementalMarginalPDFType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::IncrementalMarginalPDFType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::InputPointType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFDerivativesIndexType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesIndexType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFDerivativesRegionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesRegionType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFDerivativesSizeType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesSizeType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFDerivativesType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFDerivativesType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFIndexType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFIndexType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFRegionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFRegionType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFSizeType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFSizeType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::JointPDFType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::JointPDFType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::KernelFunctionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::KernelFunctionType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::MarginalPDFType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MarginalPDFType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::MeasureType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MeasureType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageConstPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageContinuousIndexType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageContinuousIndexType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeScalesType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageIndexType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageIndexType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterOutputType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePixelType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePointType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePointType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageRegionType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::NonZeroJacobianIndicesType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::NonZeroJacobianIndicesType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::OutputPointType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ParametersType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ParametersType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ParzenValueContainerType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ParzenValueContainerType
protected
template<class TFixedImage, class TMovingImage>
typedef Superclass::PDFValueType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::PDFValueType
protected
template<class TFixedImage, class TMovingImage>
typedef SmartPointer<Self> itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Pointer
template<class TFixedImage, class TMovingImage>
typedef Array2D< PRatioType > itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::PRatioArrayType
private
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 228 of file itkParzenWindowMutualInformationImageToImageMetric.h.

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

Standard class typedefs.

Definition at line 78 of file itkParzenWindowMutualInformationImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage > itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Superclass
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformJacobianType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformParametersType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformPointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformType itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformType

Constructor & Destructor Documentation

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

The constructor.

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

The destructor.

Definition at line 160 of file itkParzenWindowMutualInformationImageToImageMetric.h.

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

The private constructor.

Member Function Documentation

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.

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.

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

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

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

Get the value.

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

Get the value and analytic derivatives for single valued optimizers. Called by GetValueAndDerivative if UseFiniteDifferenceDerivative == false.

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

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 derivatives for single valued optimizers. Called by GetValueAndDerivative if UseFiniteDifferenceDerivative == false and UseExplicitPDFDerivatives == false.

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

Get the value and finite difference derivatives for single valued optimizers. Called by GetValueAndDerivative if UseFiniteDifferenceDerivative == true.

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

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

Some initialization functions, called by Initialize.

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

template<class TFixedImage, class TMovingImage>
itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)
template<class TFixedImage, class TMovingImage>
itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
MovingImageType::ImageDimension   
)
template<class TFixedImage, class TMovingImage>
static Pointer itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::New ( )
static

Method for creation through the object factory.

Reimplemented in elastix::AdvancedMattesMutualInformationMetric< TElastix >.

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

The private copy constructor.

template<class TFixedImage, class TMovingImage>
virtual void itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetUseJacobianPreconditioning ( bool  _arg)
virtual
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 in case of low memory consumption.

Field Documentation

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

Setting

Definition at line 233 of file itkParzenWindowMutualInformationImageToImageMetric.h.



Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo