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 >:
Inheritance graph
[legend]

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 AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > BSplineOrder1TransformType
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > BSplineOrder2TransformType
 
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 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 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::MultiThreader ThreaderType
 
typedef ThreaderType::ThreadInfoStruct 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
 
MeasureType GetValue (const TransformParametersType &parameters) const
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
 
virtual void Initialize (void) throw ( ExceptionObject )
 
 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 FixedImageTypeGetFixedImage (unsigned int pos) const
 
virtual const FixedImageTypeGetFixedImage (void) const
 
virtual FixedImageInterpolatorTypeGetFixedImageInterpolator (unsigned int pos) const
 
virtual FixedImageInterpolatorTypeGetFixedImageInterpolator (void) const
 
virtual FixedImageMaskTypeGetFixedImageMask (unsigned int pos) const
 
virtual FixedImageMaskTypeGetFixedImageMask (void) const
 
virtual const FixedImageRegionTypeGetFixedImageRegion (unsigned int pos) const
 
virtual const FixedImageRegionTypeGetFixedImageRegion (void) const
 
virtual InterpolatorTypeGetInterpolator (unsigned int pos) const
 
virtual InterpolatorTypeGetInterpolator (void) const
 
virtual bool GetInterpolatorsAreBSpline () const
 
virtual const MovingImageTypeGetMovingImage (unsigned int pos) const
 
virtual const MovingImageTypeGetMovingImage (void) const
 
virtual MovingImageMaskTypeGetMovingImageMask (unsigned int pos) const
 
virtual MovingImageMaskTypeGetMovingImageMask (void) const
 
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
 
 itkSetNumberOfMacro (FixedImage)
 
 itkSetNumberOfMacro (FixedImageMask)
 
 itkSetNumberOfMacro (FixedImageRegion)
 
 itkSetNumberOfMacro (MovingImage)
 
 itkSetNumberOfMacro (MovingImageMask)
 
 itkSetNumberOfMacro (Interpolator)
 
 itkSetNumberOfMacro (FixedImageInterpolator)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
virtual void SetFixedImage (const FixedImageType *_arg, unsigned int pos)
 
virtual void SetFixedImage (const FixedImageType *_arg)
 
virtual void SetFixedImageInterpolator (FixedImageInterpolatorType *_arg, unsigned int pos)
 
virtual void SetFixedImageInterpolator (FixedImageInterpolatorType *_arg)
 
virtual void SetFixedImageMask (FixedImageMaskType *_arg, unsigned int pos)
 
virtual void SetFixedImageMask (FixedImageMaskType *_arg)
 
virtual void SetFixedImageRegion (const FixedImageRegionType _arg, unsigned int pos)
 
virtual void SetFixedImageRegion (const FixedImageRegionType _arg)
 
virtual void SetInterpolator (InterpolatorType *_arg, unsigned int pos)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual void SetMovingImage (const MovingImageType *_arg, unsigned int pos)
 
virtual void SetMovingImage (const MovingImageType *_arg)
 
virtual void SetMovingImageMask (MovingImageMaskType *_arg, unsigned int pos)
 
virtual void SetMovingImageMask (MovingImageMaskType *_arg)
 
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) 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
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const boolGetUseMultiThread ()
 
 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 SetNumberOfThreads (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 ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~KNNGraphAlphaMutualInformationImageToImageMetric ()
 
- Protected Member Functions inherited from itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >
virtual void CheckForBSplineInterpolators (void)
 
virtual bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const
 
virtual void InitializeImageSampler (void) throw ( ExceptionObject )
 
virtual bool IsInsideMovingMask (const MovingImagePointType &mappedPoint) const
 
 MultiInputImageToImageMetricBase ()
 
virtual ~MultiInputImageToImageMetricBase ()
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
 AdvancedImageToImageMetric ()
 
virtual void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const
 
virtual void CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (void)
 
virtual void CheckForBSplineTransform (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 EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const
 
virtual void EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
 
virtual void InitializeLimiters (void)
 
virtual void InitializeThreadingParameters (void) const
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct)
 
void LaunchGetValueAndDerivativeThreaderCallback (void) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetUseFixedImageLimiter (bool _arg)
 
virtual void SetUseImageSampler (bool _arg)
 
virtual void SetUseMovingImageLimiter (bool _arg)
 
virtual void ThreadedGetValueAndDerivative (ThreadIdType threadID)
 
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
 
virtual ~AdvancedImageToImageMetric ()
 

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
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
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
 
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_TYPE AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeThreaderCallback (void *arg)
 

Member Typedef Documentation

template<class TFixedImage, class TMovingImage>
typedef ANNbdTree< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNbdTreeType
template<class TFixedImage, class TMovingImage>
typedef ANNBruteForceTree< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNBruteForceTreeType
template<class TFixedImage, class TMovingImage>
typedef ANNFixedRadiusTreeSearch< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNFixedRadiusTreeSearchType
template<class TFixedImage, class TMovingImage>
typedef ANNkDTree< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNkDTreeType
template<class TFixedImage, class TMovingImage>
typedef ANNPriorityTreeSearch< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNPriorityTreeSearchType
template<class TFixedImage, class TMovingImage>
typedef ANNStandardTreeSearch< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ANNStandardTreeSearchType
template<class TFixedImage, class TMovingImage>
typedef BinaryKNNTreeType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BinaryKNNTreePointer
template<class TFixedImage, class TMovingImage>
typedef BinaryKNNTreeSearchType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BinaryKNNTreeSearchPointer
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.

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

Typedefs for trees.

Definition at line 159 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

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

Typedefs from the superclass.

Definition at line 91 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::DerivativeType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType
template<class TFixedImage, class TMovingImage>
typedef DerivativeType::ValueType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeValueType
template<class TFixedImage, class TMovingImage>
typedef BinaryKNNTreeSearchType::DistanceArrayType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::DistanceArrayType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageConstPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageInterpolatorVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageInterpolatorVectorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterOutputType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskVectorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePixelType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType
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.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageRegionType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageRegionVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionVectorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType
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.

template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImagePointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientPixelType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerType
template<class TFixedImage, class TMovingImage>
typedef BinaryKNNTreeSearchType::IndexArrayType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::IndexArrayType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InputPointType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorVectorType
template<class TFixedImage, class TMovingImage>
typedef ListSampleType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ListSamplePointer
template<class TFixedImage, class TMovingImage>
typedef Statistics::ListSampleCArray< MeasurementVectorType, double > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ListSampleType
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.

template<class TFixedImage, class TMovingImage>
typedef MeasurementVectorType::ValueType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MeasurementVectorValueType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MeasureType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MeasureType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageConstPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageContinuousIndexType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageContinuousIndexType
private
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeType
private
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterOutputType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskVectorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePixelType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePointType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePointType
private
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageRegionType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageVectorType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageVectorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::NonZeroJacobianIndicesType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::NonZeroJacobianIndicesType
template<class TFixedImage, class TMovingImage>
typedef Superclass::OutputPointType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ParametersType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::ParametersType
template<class TFixedImage, class TMovingImage>
typedef SmartPointer< Self > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Pointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::RealType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::RealType
template<class TFixedImage, class TMovingImage>
typedef KNNGraphAlphaMutualInformationImageToImageMetric itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Self

Standard itk.

Definition at line 80 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef std::vector< SpatialDerivativeType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SpatialDerivativeContainerType
private
template<class TFixedImage, class TMovingImage>
typedef Array2D< double > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SpatialDerivativeType
private
template<class TFixedImage, class TMovingImage>
typedef MultiInputImageToImageMetricBase< TFixedImage, TMovingImage > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Superclass
template<class TFixedImage, class TMovingImage>
typedef std::vector< TransformJacobianType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianContainerType
private
template<class TFixedImage, class TMovingImage>
typedef std::vector< NonZeroJacobianIndicesType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianIndicesContainerType
private
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformJacobianType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType
template<class TFixedImage, class TMovingImage>
typedef TransformJacobianType::ValueType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianValueType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformParametersType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformType itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::TransformType

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Definition at line 256 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

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

Member Function Documentation

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).
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.
template<class TFixedImage, class TMovingImage>
virtual const double& itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::GetAlpha ( )
virtual

Get alpha from alpha - mutual information.

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

Avoid division by a small number.

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

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

Get the derivatives of the match measure.

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

Get the value for single valued optimizers.

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

Get value and derivatives for multiple valued optimizers.

template<class TFixedImage, class TMovingImage>
virtual void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::Initialize ( void  )
throw (ExceptionObject
)
virtual

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

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

Reimplemented in elastix::KNNGraphAlphaMutualInformationMetric< TElastix >.

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

The fixed image dimension.

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

Method for creation through the object factory.

template<class TFixedImage, class TMovingImage>
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::operator= ( const Self )
private
template<class TFixedImage, class TMovingImage>
virtual void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

PrintSelf.

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

Set alpha from alpha - mutual information.

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

Set ANNbdTree.

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.

template<class TFixedImage, class TMovingImage>
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNBruteForceTree ( void  )
template<class TFixedImage, class TMovingImage>
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNFixedRadiusTreeSearch ( unsigned int  kNearestNeighbors,
double  errorBound,
double  squaredRadius 
)
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.

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.

template<class TFixedImage, class TMovingImage>
void itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::SetANNPriorityTreeSearch ( unsigned int  kNearestNeighbors,
double  errorBound 
)
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.

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

Avoid division by a small number.

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

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

Member variables.

Definition at line 262 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
BinaryKNNTreePointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeJoint
protected
template<class TFixedImage, class TMovingImage>
BinaryKNNTreePointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeMoving
protected
template<class TFixedImage, class TMovingImage>
BinaryKNNTreeSearchPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherFixed
protected
template<class TFixedImage, class TMovingImage>
BinaryKNNTreeSearchPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherJoint
protected
template<class TFixedImage, class TMovingImage>
BinaryKNNTreeSearchPointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherMoving
protected


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo