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

#include <itkKNNGraphAlphaMutualInformationImageToImageMetric.h>

Detailed Description

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

Computes similarity between two images to be registered.

This metric computes the alpha-Mutual Information (aMI) between two multi-channeled data sets. Said otherwise, given two sets of features, the aMI between them is calculated. Since for higher dimensional aMI it is infeasible to compute high dimensional joint histograms, here we adopt a framework based on the length of certain graphs, see Neemuchwala. Specifically, we use the k-Nearest Neighbour (kNN) graph, using an implementation provided by the Approximate Nearest Neighbour (ANN) software package.

Note that the feature image are given beforehand, and that values are calculated by interpolation on the transformed point. For some features, it would be better (but slower) to first apply the transform on the image and then recalculate the feature.

All the technical details can be found in:
M. Staring, U.A. van der Heide, S. Klein, M.A. Viergever and J.P.W. Pluim, "Registration of Cervical MRI Using Multifeature Mutual Information," IEEE Transactions on Medical Imaging, vol. 28, no. 9, pp. 1412 - 1421, September 2009.

Definition at line 74 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

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

Public Types

typedef ANNbdTree< ListSampleTypeANNbdTreeType
 
typedef ANNBruteForceTree< ListSampleTypeANNBruteForceTreeType
 
typedef ANNFixedRadiusTreeSearch< ListSampleTypeANNFixedRadiusTreeSearchType
 
typedef ANNkDTree< ListSampleTypeANNkDTreeType
 
typedef ANNPriorityTreeSearch< ListSampleTypeANNPriorityTreeSearchType
 
typedef ANNStandardTreeSearch< ListSampleTypeANNStandardTreeSearchType
 
typedef BinaryKNNTreeType::Pointer BinaryKNNTreePointer
 
typedef BinaryKNNTreeSearchType::Pointer BinaryKNNTreeSearchPointer
 
typedef BinaryTreeSearchBase< ListSampleTypeBinaryKNNTreeSearchType
 
typedef BinaryTreeBase< ListSampleTypeBinaryKNNTreeType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef BinaryKNNTreeSearchType::DistanceArrayType DistanceArrayType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass::FixedImageInterpolatorVectorType FixedImageInterpolatorVectorType
 
typedef Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
 
typedef Superclass::FixedImageLimiterType FixedImageLimiterType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef Superclass::FixedImageMaskVectorType FixedImageMaskVectorType
 
typedef Superclass::FixedImagePixelType FixedImagePixelType
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef Superclass::FixedImageRegionVectorType FixedImageRegionVectorType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::FixedImageVectorType FixedImageVectorType
 
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 BinaryKNNTreeSearchType::IndexArrayType IndexArrayType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::InterpolatorVectorType InterpolatorVectorType
 
typedef ListSampleType::Pointer ListSamplePointer
 
typedef Statistics::ListSampleCArray< MeasurementVectorType, doubleListSampleType
 
typedef Array< doubleMeasurementVectorType
 
typedef MeasurementVectorType::ValueType MeasurementVectorValueType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
 
typedef Superclass::MovingImageLimiterType MovingImageLimiterType
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImageMaskVectorType MovingImageMaskVectorType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImageRegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef Superclass::MovingImageVectorType MovingImageVectorType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef KNNGraphAlphaMutualInformationImageToImageMetric Self
 
typedef MultiInputImageToImageMetricBase< TFixedImage, TMovingImage > Superclass
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef TransformJacobianType::ValueType TransformJacobianValueType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef FixedImageInterpolatorType::Pointer FixedImageInterpolatorPointer
 
typedef InterpolateImageFunction< FixedImageType, CoordinateRepresentationTypeFixedImageInterpolatorType
 
typedef std::vector< FixedImageInterpolatorPointerFixedImageInterpolatorVectorType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef std::vector< FixedImageMaskPointerFixedImageMaskVectorType
 
typedef Superclass::FixedImagePointer FixedImagePointer
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef std::vector< FixedImageRegionTypeFixedImageRegionVectorType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef std::vector< FixedImageConstPointerFixedImageVectorType
 
typedef Superclass::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass::GradientImageFilterType GradientImageFilterType
 
typedef Superclass::GradientImagePointer GradientImagePointer
 
typedef Superclass::GradientImageType GradientImageType
 
typedef Superclass::GradientPixelType GradientPixelType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef std::vector< InterpolatorPointerInterpolatorVectorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef std::vector< MovingImageMaskPointerMovingImageMaskVectorType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImagePointer MovingImagePointer
 
typedef Superclass::MovingImageType MovingImageType
 
typedef std::vector< MovingImageConstPointerMovingImageVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef MultiInputImageToImageMetricBase 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 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 doubleGetAlpha ()
 
virtual const doubleGetAvoidDivisionBy ()
 
virtual const char * GetClassName () const
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &Derivative) const override
 
MeasureType GetValue (const TransformParametersType &parameters) const override
 
void GetValueAndDerivative (const TransformParametersType &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 SetAlpha (double _arg)
 
void SetANNbdTree (unsigned int bucketSize, std::string splittingRule, std::string shrinkingRule)
 
void SetANNbdTree (unsigned int bucketSize, std::string splittingRuleFixed, std::string splittingRuleMoving, std::string splittingRuleJoint, std::string shrinkingRuleFixed, std::string shrinkingRuleMoving, std::string shrinkingRuleJoint)
 
void SetANNBruteForceTree (void)
 
void SetANNFixedRadiusTreeSearch (unsigned int kNearestNeighbors, double errorBound, double squaredRadius)
 
void SetANNkDTree (unsigned int bucketSize, std::string splittingRule)
 
void SetANNkDTree (unsigned int bucketSize, std::string splittingRuleFixed, std::string splittingRuleMoving, std::string splittingRuleJoint)
 
void SetANNPriorityTreeSearch (unsigned int kNearestNeighbors, double errorBound)
 
void SetANNStandardTreeSearch (unsigned int kNearestNeighbors, double errorBound)
 
virtual void SetAvoidDivisionBy (double _arg)
 
- Public Member Functions inherited from itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >
virtual const char * GetClassName () const
 
virtual const FixedImageTypeGetFixedImage (unsigned int pos) const
 
const FixedImageTypeGetFixedImage (void) const override
 
virtual FixedImageInterpolatorTypeGetFixedImageInterpolator (unsigned int pos) const
 
virtual FixedImageInterpolatorTypeGetFixedImageInterpolator (void) const
 
virtual FixedImageMaskTypeGetFixedImageMask (unsigned int pos) const
 
FixedImageMaskTypeGetFixedImageMask (void) const override
 
virtual const FixedImageRegionTypeGetFixedImageRegion (unsigned int pos) const
 
const FixedImageRegionTypeGetFixedImageRegion (void) const override
 
virtual InterpolatorTypeGetInterpolator (unsigned int pos) const
 
InterpolatorTypeGetInterpolator (void) const override
 
virtual bool GetInterpolatorsAreBSpline () const
 
virtual const MovingImageTypeGetMovingImage (unsigned int pos) const
 
const MovingImageTypeGetMovingImage (void) const override
 
virtual MovingImageMaskTypeGetMovingImageMask (unsigned int pos) const
 
MovingImageMaskTypeGetMovingImageMask (void) const override
 
virtual unsigned int GetNumberOfFixedImageInterpolators () const
 
virtual unsigned int GetNumberOfFixedImageMasks () const
 
virtual unsigned int GetNumberOfFixedImageRegions () const
 
virtual unsigned int GetNumberOfFixedImages () const
 
virtual unsigned int GetNumberOfInterpolators () const
 
virtual unsigned int GetNumberOfMovingImageMasks () const
 
virtual unsigned int GetNumberOfMovingImages () const
 
void Initialize (void) override
 
 itkSetNumberOfMacro (FixedImage)
 
 itkSetNumberOfMacro (FixedImageInterpolator)
 
 itkSetNumberOfMacro (FixedImageMask)
 
 itkSetNumberOfMacro (FixedImageRegion)
 
 itkSetNumberOfMacro (Interpolator)
 
 itkSetNumberOfMacro (MovingImage)
 
 itkSetNumberOfMacro (MovingImageMask)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 
void SetFixedImage (const FixedImageType *_arg) override
 
virtual void SetFixedImage (const FixedImageType *_arg, unsigned int pos)
 
virtual void SetFixedImageInterpolator (FixedImageInterpolatorType *_arg)
 
virtual void SetFixedImageInterpolator (FixedImageInterpolatorType *_arg, unsigned int pos)
 
void SetFixedImageMask (FixedImageMaskType *_arg) override
 
virtual void SetFixedImageMask (FixedImageMaskType *_arg, unsigned int pos)
 
void SetFixedImageRegion (const FixedImageRegionType _arg) override
 
virtual void SetFixedImageRegion (const FixedImageRegionType _arg, unsigned int pos)
 
void SetInterpolator (InterpolatorType *_arg) override
 
virtual void SetInterpolator (InterpolatorType *_arg, unsigned int pos)
 
void SetMovingImage (const MovingImageType *_arg) override
 
virtual void SetMovingImage (const MovingImageType *_arg, unsigned int pos)
 
void SetMovingImageMask (MovingImageMaskType *_arg) override
 
virtual void SetMovingImageMask (MovingImageMaskType *_arg, unsigned int pos)
 
- 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 Member Functions

 KNNGraphAlphaMutualInformationImageToImageMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~KNNGraphAlphaMutualInformationImageToImageMetric () override
 
- Protected Member Functions inherited from itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >
virtual void CheckForBSplineInterpolators (void)
 
bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const override
 
void InitializeImageSampler (void) override
 
bool IsInsideMovingMask (const MovingImagePointType &mappedPoint) const override
 
 MultiInputImageToImageMetricBase ()
 
 ~MultiInputImageToImageMetricBase () override
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
 AdvancedImageToImageMetric ()
 
virtual void AfterThreadedGetValue (MeasureType &value) const
 
virtual void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const
 
virtual void CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (void)
 
virtual void CheckForBSplineTransform (void) const
 
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
 
virtual bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const
 
virtual bool EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const
 
virtual void EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
 
virtual void InitializeImageSampler (void)
 
virtual void InitializeLimiters (void)
 
virtual void InitializeThreadingParameters (void) const
 
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct)
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct)
 
void LaunchGetValueAndDerivativeThreaderCallback (void) const
 
void LaunchGetValueThreaderCallback (void) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetUseFixedImageLimiter (bool _arg)
 
virtual void SetUseImageSampler (bool _arg)
 
virtual void SetUseMovingImageLimiter (bool _arg)
 
virtual void ThreadedGetValue (ThreadIdType threadID)
 
virtual void ThreadedGetValueAndDerivative (ThreadIdType threadID)
 
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
 
 ~AdvancedImageToImageMetric () override
 

Protected Attributes

double m_Alpha
 
double m_AvoidDivisionBy
 
BinaryKNNTreePointer m_BinaryKNNTreeFixed
 
BinaryKNNTreePointer m_BinaryKNNTreeJoint
 
BinaryKNNTreePointer m_BinaryKNNTreeMoving
 
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherFixed
 
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherJoint
 
BinaryKNNTreeSearchPointer m_BinaryKNNTreeSearcherMoving
 
- Protected Attributes inherited from itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >
BSplineInterpolatorVectorType m_BSplineInterpolatorVector
 
FixedImageInterpolatorVectorType m_FixedImageInterpolatorVector
 
FixedImageMaskVectorType m_FixedImageMaskVector
 
FixedImageRegionVectorType m_FixedImageRegionVector
 
FixedImageVectorType m_FixedImageVector
 
bool m_InterpolatorsAreBSpline
 
InterpolatorVectorType m_InterpolatorVector
 
MovingImageMaskVectorType m_MovingImageMaskVector
 
MovingImageVectorType m_MovingImageVector
 
- 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 Superclass::FixedImagePointType FixedImagePointType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageDerivativeType MovingImageDerivativeType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
typedef std::vector< SpatialDerivativeTypeSpatialDerivativeContainerType
 
typedef Array2D< doubleSpatialDerivativeType
 
typedef std::vector< TransformJacobianTypeTransformJacobianContainerType
 
typedef std::vector< NonZeroJacobianIndicesTypeTransformJacobianIndicesContainerType
 

Private Member Functions

virtual void ComputeListSampleValuesAndDerivativePlusJacobian (const ListSamplePointer &listSampleFixed, const ListSamplePointer &listSampleMoving, const ListSamplePointer &listSampleJoint, const bool &doDerivative, TransformJacobianContainerType &jacobians, TransformJacobianIndicesContainerType &jacobiansIndices, SpatialDerivativeContainerType &spatialDerivatives) const
 
virtual void EvaluateMovingFeatureImageDerivatives (const MovingImagePointType &mappedPoint, SpatialDerivativeType &featureGradients) const
 
 KNNGraphAlphaMutualInformationImageToImageMetric (const Self &)
 
void operator= (const Self &)
 
virtual void UpdateDerivativeOfGammas (const SpatialDerivativeType &D1sparse, const SpatialDerivativeType &D2sparse_M, const SpatialDerivativeType &D2sparse_J, const NonZeroJacobianIndicesType &D1indices, const NonZeroJacobianIndicesType &D2indices_M, const NonZeroJacobianIndicesType &D2indices_J, const MeasurementVectorType &diff_M, const MeasurementVectorType &diff_J, const MeasureType &distance_M, const MeasureType &distance_J, DerivativeType &dGamma_M, DerivativeType &dGamma_J) const
 

Additional Inherited Members

- Protected Types inherited from itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef Superclass::BSplineInterpolatorType BSplineInterpolatorType
 
typedef std::vector< BSplineInterpolatorPointerBSplineInterpolatorVectorType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageDerivativeType MovingImageDerivativeType
 
typedef Superclass::MovingImageIndexType MovingImageIndexType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
- 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
 
- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueAndDerivativeThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueThreaderCallback (void *arg)
 

Member Typedef Documentation

◆ ANNbdTreeType

template<class TFixedImage , class TMovingImage >
typedef ANNbdTree< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNbdTreeType

◆ ANNBruteForceTreeType

template<class TFixedImage , class TMovingImage >
typedef ANNBruteForceTree< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNBruteForceTreeType

◆ ANNFixedRadiusTreeSearchType

template<class TFixedImage , class TMovingImage >
typedef ANNFixedRadiusTreeSearch< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNFixedRadiusTreeSearchType

◆ ANNkDTreeType

template<class TFixedImage , class TMovingImage >
typedef ANNkDTree< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNkDTreeType

◆ ANNPriorityTreeSearchType

template<class TFixedImage , class TMovingImage >
typedef ANNPriorityTreeSearch< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNPriorityTreeSearchType

◆ ANNStandardTreeSearchType

template<class TFixedImage , class TMovingImage >
typedef ANNStandardTreeSearch< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNStandardTreeSearchType

◆ BinaryKNNTreePointer

template<class TFixedImage , class TMovingImage >
typedef BinaryKNNTreeType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BinaryKNNTreePointer

◆ BinaryKNNTreeSearchPointer

template<class TFixedImage , class TMovingImage >
typedef BinaryKNNTreeSearchType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BinaryKNNTreeSearchPointer

◆ BinaryKNNTreeSearchType

template<class TFixedImage , class TMovingImage >
typedef BinaryTreeSearchBase< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BinaryKNNTreeSearchType

Typedefs for tree searchers.

Definition at line 166 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ BinaryKNNTreeType

template<class TFixedImage , class TMovingImage >
typedef BinaryTreeBase< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BinaryKNNTreeType

Typedefs for trees.

Definition at line 159 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ ConstPointer

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

◆ CoordinateRepresentationType

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

Typedefs from the superclass.

Definition at line 95 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ DerivativeType

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

◆ DerivativeValueType

template<class TFixedImage , class TMovingImage >
typedef DerivativeType::ValueType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeValueType

◆ DistanceArrayType

template<class TFixedImage , class TMovingImage >
typedef BinaryKNNTreeSearchType::DistanceArrayType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::DistanceArrayType

◆ FixedImageConstPointer

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

◆ FixedImageInterpolatorVectorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageInterpolatorVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageInterpolatorVectorType

◆ FixedImageLimiterOutputType

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

◆ FixedImageLimiterType

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

◆ FixedImageMaskPointer

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

◆ FixedImageMaskType

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

◆ FixedImageMaskVectorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageMaskVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskVectorType

◆ FixedImagePixelType

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

◆ FixedImagePointType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImagePointType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePointType
private

Typedef's for the computation of the derivative.

Definition at line 279 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ FixedImageRegionType

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

◆ FixedImageRegionVectorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageRegionVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionVectorType

◆ FixedImageType

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

◆ FixedImageVectorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageVectorType

Typedef's for storing multiple inputs.

Definition at line 139 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ GradientImageFilterPointer

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

◆ GradientImageFilterType

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

◆ GradientImagePointer

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

◆ GradientImageType

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

◆ GradientPixelType

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

◆ ImageSampleContainerPointer

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

◆ ImageSampleContainerType

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

◆ ImageSamplerPointer

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

◆ ImageSamplerType

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

◆ IndexArrayType

template<class TFixedImage , class TMovingImage >
typedef BinaryKNNTreeSearchType::IndexArrayType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::IndexArrayType

◆ InputPointType

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

◆ InterpolatorPointer

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

◆ InterpolatorType

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

◆ InterpolatorVectorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::InterpolatorVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorVectorType

◆ ListSamplePointer

template<class TFixedImage , class TMovingImage >
typedef ListSampleType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ListSamplePointer

◆ ListSampleType

template<class TFixedImage , class TMovingImage >
typedef Statistics::ListSampleCArray< MeasurementVectorType, double > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ListSampleType

◆ MeasurementVectorType

template<class TFixedImage , class TMovingImage >
typedef Array< double > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MeasurementVectorType

Typedefs for the samples.

Definition at line 152 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ MeasurementVectorValueType

template<class TFixedImage , class TMovingImage >
typedef MeasurementVectorType::ValueType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MeasurementVectorValueType

◆ MeasureType

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

◆ MovingImageConstPointer

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

◆ MovingImageContinuousIndexType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageContinuousIndexType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageContinuousIndexType
private

◆ MovingImageDerivativeType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageDerivativeType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeType
private

◆ MovingImageLimiterOutputType

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

◆ MovingImageLimiterType

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

◆ MovingImageMaskPointer

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

◆ MovingImageMaskType

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

◆ MovingImageMaskVectorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageMaskVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskVectorType

◆ MovingImagePixelType

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

◆ MovingImagePointType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImagePointType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePointType
private

◆ MovingImageRegionType

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

◆ MovingImageType

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

◆ MovingImageVectorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageVectorType

◆ NonZeroJacobianIndicesType

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

◆ OutputPointType

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

◆ ParametersType

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

◆ Pointer

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

◆ RealType

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

◆ Self

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

Standard itk.

Definition at line 80 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ SpatialDerivativeContainerType

template<class TFixedImage , class TMovingImage >
typedef std::vector< SpatialDerivativeType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SpatialDerivativeContainerType
private

◆ SpatialDerivativeType

template<class TFixedImage , class TMovingImage >
typedef Array2D< double > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SpatialDerivativeType
private

◆ Superclass

template<class TFixedImage , class TMovingImage >
typedef MultiInputImageToImageMetricBase< TFixedImage, TMovingImage > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Superclass

◆ TransformJacobianContainerType

template<class TFixedImage , class TMovingImage >
typedef std::vector< TransformJacobianType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianContainerType
private

◆ TransformJacobianIndicesContainerType

template<class TFixedImage , class TMovingImage >
typedef std::vector< NonZeroJacobianIndicesType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianIndicesContainerType
private

◆ TransformJacobianType

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

◆ TransformJacobianValueType

template<class TFixedImage , class TMovingImage >
typedef TransformJacobianType::ValueType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianValueType

◆ TransformParametersType

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

◆ TransformPointer

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

◆ TransformType

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

Constructor & Destructor Documentation

◆ KNNGraphAlphaMutualInformationImageToImageMetric() [1/2]

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

Constructor.

◆ ~KNNGraphAlphaMutualInformationImageToImageMetric()

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

Destructor.

Definition at line 256 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ KNNGraphAlphaMutualInformationImageToImageMetric() [2/2]

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

Member Function Documentation

◆ ComputeListSampleValuesAndDerivativePlusJacobian()

template<class TFixedImage , class TMovingImage >
virtual void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ComputeListSampleValuesAndDerivativePlusJacobian ( const ListSamplePointer listSampleFixed,
const ListSamplePointer listSampleMoving,
const ListSamplePointer listSampleJoint,
const bool doDerivative,
TransformJacobianContainerType jacobians,
TransformJacobianIndicesContainerType jacobiansIndices,
SpatialDerivativeContainerType spatialDerivatives 
) const
privatevirtual

This function takes the fixed image samples from the ImageSampler and puts them in the listSampleFixed, together with the fixed feature image samples. Also the corresponding moving image values and moving feature values are computed and put into listSampleMoving. The concatenation is put into listSampleJoint. If desired, i.e. if doDerivative is true, then also things needed to compute the derivative of the cost function to the transform parameters are computed:

  • The sparse Jacobian of the transformation (dT/dmu).
  • The spatial derivatives of the moving (feature) images (dm/dx).

◆ EvaluateMovingFeatureImageDerivatives()

template<class TFixedImage , class TMovingImage >
virtual void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::EvaluateMovingFeatureImageDerivatives ( const MovingImagePointType mappedPoint,
SpatialDerivativeType featureGradients 
) const
privatevirtual

This function calculates the spatial derivative of the featureNr feature image at the point mappedPoint.

Todo:
move this to base class.

◆ GetAlpha()

template<class TFixedImage , class TMovingImage >
virtual const double & itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetAlpha ( )
virtual

Get alpha from alpha - mutual information.

◆ GetAvoidDivisionBy()

template<class TFixedImage , class TMovingImage >
virtual const double & itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetAvoidDivisionBy ( )
virtual

Avoid division by a small number.

◆ GetClassName()

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

Run-time type information (and related methods).

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

Reimplemented in elastix::KNNGraphAlphaMutualInformationMetric< TElastix >.

◆ GetDerivative()

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

Get the derivatives of the match measure.

◆ GetValue()

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

Get the value for single valued optimizers.

◆ GetValueAndDerivative()

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative ( const TransformParametersType parameters,
MeasureType Value,
DerivativeType Derivative 
) const
override

Get value and derivatives for multiple valued optimizers.

◆ Initialize()

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

*** Standard metric stuff: *** Initialize the metric.

◆ itkStaticConstMacro() [1/2]

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

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

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

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

◆ PrintSelf()

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

PrintSelf.

◆ SetAlpha()

template<class TFixedImage , class TMovingImage >
virtual void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetAlpha ( double  _arg)
virtual

Set alpha from alpha - mutual information.

◆ SetANNbdTree() [1/2]

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNbdTree ( unsigned int  bucketSize,
std::string  splittingRule,
std::string  shrinkingRule 
)

Set ANNbdTree.

◆ SetANNbdTree() [2/2]

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNbdTree ( unsigned int  bucketSize,
std::string  splittingRuleFixed,
std::string  splittingRuleMoving,
std::string  splittingRuleJoint,
std::string  shrinkingRuleFixed,
std::string  shrinkingRuleMoving,
std::string  shrinkingRuleJoint 
)

Set ANNbdTree.

◆ SetANNBruteForceTree()

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNBruteForceTree ( void  )

◆ SetANNFixedRadiusTreeSearch()

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNFixedRadiusTreeSearch ( unsigned int  kNearestNeighbors,
double  errorBound,
double  squaredRadius 
)

◆ SetANNkDTree() [1/2]

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNkDTree ( unsigned int  bucketSize,
std::string  splittingRule 
)

*** Set trees: *** Currently kd, bd, and brute force trees are supported. Set ANNkDTree.

◆ SetANNkDTree() [2/2]

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNkDTree ( unsigned int  bucketSize,
std::string  splittingRuleFixed,
std::string  splittingRuleMoving,
std::string  splittingRuleJoint 
)

Set ANNkDTree.

◆ SetANNPriorityTreeSearch()

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNPriorityTreeSearch ( unsigned int  kNearestNeighbors,
double  errorBound 
)

◆ SetANNStandardTreeSearch()

template<class TFixedImage , class TMovingImage >
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNStandardTreeSearch ( unsigned int  kNearestNeighbors,
double  errorBound 
)

*** Set tree searchers: *** Currently standard, fixed radius, and priority tree searchers are supported. Set ANNStandardTreeSearch.

◆ SetAvoidDivisionBy()

template<class TFixedImage , class TMovingImage >
virtual void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetAvoidDivisionBy ( double  _arg)
virtual

Avoid division by a small number.

◆ UpdateDerivativeOfGammas()

template<class TFixedImage , class TMovingImage >
virtual void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::UpdateDerivativeOfGammas ( const SpatialDerivativeType D1sparse,
const SpatialDerivativeType D2sparse_M,
const SpatialDerivativeType D2sparse_J,
const NonZeroJacobianIndicesType D1indices,
const NonZeroJacobianIndicesType D2indices_M,
const NonZeroJacobianIndicesType D2indices_J,
const MeasurementVectorType diff_M,
const MeasurementVectorType diff_J,
const MeasureType distance_M,
const MeasureType distance_J,
DerivativeType dGamma_M,
DerivativeType dGamma_J 
) const
privatevirtual

This function essentially computes D1 - D2, but also takes care of going from a sparse matrix (hence the indices) to a full sized matrix.

Field Documentation

◆ m_Alpha

template<class TFixedImage , class TMovingImage >
double itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_Alpha
protected

◆ m_AvoidDivisionBy

template<class TFixedImage , class TMovingImage >
double itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_AvoidDivisionBy
protected

◆ m_BinaryKNNTreeFixed

template<class TFixedImage , class TMovingImage >
BinaryKNNTreePointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeFixed
protected

Member variables.

Definition at line 262 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

◆ m_BinaryKNNTreeJoint

template<class TFixedImage , class TMovingImage >
BinaryKNNTreePointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeJoint
protected

◆ m_BinaryKNNTreeMoving

template<class TFixedImage , class TMovingImage >
BinaryKNNTreePointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeMoving
protected

◆ m_BinaryKNNTreeSearcherFixed

template<class TFixedImage , class TMovingImage >
BinaryKNNTreeSearchPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherFixed
protected

◆ m_BinaryKNNTreeSearcherJoint

template<class TFixedImage , class TMovingImage >
BinaryKNNTreeSearchPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherJoint
protected

◆ m_BinaryKNNTreeSearcherMoving

template<class TFixedImage , class TMovingImage >
BinaryKNNTreeSearchPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherMoving
protected


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo