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>

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

Public Types

typedef ANNbdTree< ListSampleTypeANNbdTreeType
typedef ANNBruteForceTree
< ListSampleType
ANNBruteForceTreeType
typedef
ANNFixedRadiusTreeSearch
< ListSampleType
ANNFixedRadiusTreeSearchType
typedef ANNkDTree< ListSampleTypeANNkDTreeType
typedef ANNPriorityTreeSearch
< ListSampleType
ANNPriorityTreeSearchType
typedef ANNStandardTreeSearch
< ListSampleType
ANNStandardTreeSearchType
typedef BinaryTreeSearchBase
< ListSampleType
BinaryKNNTreeSearchType
typedef BinaryTreeBase
< ListSampleType
BinaryKNNTreeType
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,
double
ListSampleType
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 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)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 KNNGraphAlphaMutualInformationImageToImageMetric ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
virtual ~KNNGraphAlphaMutualInformationImageToImageMetric ()

Protected Attributes

double m_Alpha
double m_AvoidDivisionBy
BinaryKNNTreeType::Pointer m_BinaryKNNTreeFixed
BinaryKNNTreeType::Pointer m_BinaryKNNTreeJoint
BinaryKNNTreeType::Pointer m_BinaryKNNTreeMoving
BinaryKNNTreeSearchType::Pointer m_BinaryKNNTreeSearcherFixed
BinaryKNNTreeSearchType::Pointer m_BinaryKNNTreeSearcherJoint
BinaryKNNTreeSearchType::Pointer m_BinaryKNNTreeSearcherMoving

Private Types

typedef
Superclass::FixedImagePointType 
FixedImagePointType
typedef
Superclass::MovingImageContinuousIndexType 
MovingImageContinuousIndexType
typedef
Superclass::MovingImageDerivativeType 
MovingImageDerivativeType
typedef
Superclass::MovingImagePointType 
MovingImagePointType
typedef std::vector
< SpatialDerivativeType
SpatialDerivativeContainerType
typedef Array2D< doubleSpatialDerivativeType
typedef std::vector
< TransformJacobianType
TransformJacobianContainerType
typedef std::vector
< NonZeroJacobianIndicesType
TransformJacobianIndicesContainerType

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

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


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 BinaryTreeSearchBase< ListSampleType > itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::BinaryKNNTreeSearchType

Typedefs for tree searchers.

Definition at line 163 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

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

Typedefs for trees.

Definition at line 157 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.

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

Definition at line 89 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.

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

Definition at line 274 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.

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

Definition at line 137 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 150 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
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 ( ) [inline, protected, virtual]

Destructor.

Definition at line 252 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 [private, virtual]

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 [private, virtual]

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.

Reimplemented in elastix::KNNGraphAlphaMutualInformationMetric< TElastix >.

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.

Reimplemented in elastix::KNNGraphAlphaMutualInformationMetric< TElastix >.

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 [protected, virtual]
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 [private, virtual]

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>
BinaryKNNTreeType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeFixed [protected]

Member variables.

Definition at line 258 of file itkKNNGraphAlphaMutualInformationImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
BinaryKNNTreeType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeJoint [protected]
template<class TFixedImage, class TMovingImage>
BinaryKNNTreeType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeMoving [protected]
template<class TFixedImage, class TMovingImage>
BinaryKNNTreeSearchType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherFixed [protected]
template<class TFixedImage, class TMovingImage>
BinaryKNNTreeSearchType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherJoint [protected]
template<class TFixedImage, class TMovingImage>
BinaryKNNTreeSearchType::Pointer itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >::m_BinaryKNNTreeSearcherMoving [protected]


Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo