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 | Private Member Functions
elastix::KNNGraphAlphaMutualInformationMetric< TElastix > Class Template Reference

#include <elxKNNGraphAlphaMutualInformationMetric.h>

Detailed Description

template<class TElastix>
class elastix::KNNGraphAlphaMutualInformationMetric< TElastix >

A metric based on the itk::KNNGraphAlphaMutualInformationImageToImageMetric.

The parameters used in this class are:

Parameters:

Metric: Select this metric as follows:
(Metric "KNNGraphAlphaMutualInformation")

Alpha: since this metric calculates alpha - mutual information.
(Alpha 0.5)
Choose a value between 0.0 and 1.0. The default is 0.5.

TreeType: The type of the kNN binary tree.
(TreeType "BDTree" "BruteForceTree")
Choose one of { KDTree, BDTree, BruteForceTree }.
The default is "KDTree" for all resolutions.

BucketSize: The maximum number of samples in one bucket.
This parameter influences the calculation time only, and is not appropiate for the BruteForceTree.
(BucketSize 5 100 50)
The default is 50 for all resolutions.

SplittingRule: This rule defines how the feature space is split.
(SplittingRule "ANN_KD_STD" "ANN_KD_FAIR")
Choose one of { ANN_KD_STD, ANN_KD_MIDPT, ANN_KD_SL_MIDPT, ANN_KD_FAIR, ANN_KD_SL_FAIR, ANN_KD_SUGGEST }
The default is "ANN_KD_SL_MIDPT" for all resolutions.

ShrinkingRule: This rule defines how the feature space is shrinked.
(ShrinkingRule "ANN_BD_CENTROID" "ANN_BD_NONE")
Choose one of { ANN_BD_NONE, ANN_BD_SIMPLE, ANN_BD_CENTROID, ANN_BD_SUGGEST }
The default is "ANN_BD_SIMPLE" for all resolutions.

TreeSearchType: The type of the binary tree searcher.
(TreeSearchType "Standard" "FixedRadius")
Choose one of { Standard, FixedRadius, Priority }
The default is "Standard" for all resolutions.

KNearestNeighbours: The number of nearest neighbours to be searched.
(KNearestNeighbours 50 20 35)
The default is 20 for all resolutions.

ErrorBound: error accepted in finding the nearest neighbours.
An ErrorBound of 0.0 equals exact searching, higher error bounds should result in smaller computation times.
(ErrorBound 32.0 8.0 0.0)
The default is 0.0 for all resolutions.

SquaredSearchRadius: the radius of the sphere where there is searched for neighbours.
This option is only appropiate for FixedRadius search.
(SquaredSearchRadius 32.0 8.0 8.0)
The default is 0.0 for all resolutions, which means no radius.

AvoidDivisionBy: a small number to avoid division by zero in the implentation.
(AvoidDivisionBy 0.000000001)
The default is 1e-5.

Warning
Note that we assume the FixedFeatureImageType to have the same pixeltype as the FixedImageType
See also
KNNGraphAlphaMutualInformationImageToImageMetric, ParzenWindowMutualInformationImageToImageMetric

Definition at line 83 of file elxKNNGraphAlphaMutualInformationMetric.h.

+ Inheritance diagram for elastix::KNNGraphAlphaMutualInformationMetric< TElastix >:

Public Types

typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const Self > ConstPointer
 
typedef Superclass1::DerivativeType DerivativeType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef FixedImageType FixedFeatureImageType
 
typedef Superclass1::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass1::FixedImageType FixedImageType
 
typedef Superclass1::InterpolatorType InterpolatorType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MeasureType MeasureType
 
typedef MovingImageType MovingFeatureImageType
 
typedef Superclass1::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass1::MovingImageType MovingImageType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< Self > Pointer
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef KNNGraphAlphaMutualInformationMetric Self
 
typedef itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > Superclass1
 
typedef MetricBase< TElastix > Superclass2
 
typedef Superclass1::TransformJacobianType TransformJacobianType
 
typedef Superclass1::TransformPointer TransformPointer
 
typedef Superclass1::TransformType TransformType
 
- Public Types inherited from itk::KNNGraphAlphaMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef ANNbdTree< ListSampleType > ANNbdTreeType
 
typedef ANNBruteForceTree< ListSampleType > ANNBruteForceTreeType
 
typedef ANNFixedRadiusTreeSearch< ListSampleType > ANNFixedRadiusTreeSearchType
 
typedef ANNkDTree< ListSampleType > ANNkDTreeType
 
typedef ANNPriorityTreeSearch< ListSampleType > ANNPriorityTreeSearchType
 
typedef ANNStandardTreeSearch< ListSampleType > ANNStandardTreeSearchType
 
typedef BinaryKNNTreeType::Pointer BinaryKNNTreePointer
 
typedef BinaryKNNTreeSearchType::Pointer BinaryKNNTreeSearchPointer
 
typedef BinaryTreeSearchBase< ListSampleType > BinaryKNNTreeSearchType
 
typedef BinaryTreeBase< ListSampleType > BinaryKNNTreeType
 
typedef SmartPointer< const Self > ConstPointer
 
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< double > MeasurementVectorType
 
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< Self > Pointer
 
typedef Superclass::RealType RealType
 
typedef KNNGraphAlphaMutualInformationImageToImageMetric Self
 
typedef MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > 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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef FixedImageInterpolatorType::Pointer FixedImageInterpolatorPointer
 
typedef InterpolateImageFunction< FixedImageType, CoordinateRepresentationType > FixedImageInterpolatorType
 
typedef std::vector< FixedImageInterpolatorPointer > FixedImageInterpolatorVectorType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef std::vector< FixedImageMaskPointer > FixedImageMaskVectorType
 
typedef Superclass::FixedImagePointer FixedImagePointer
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef std::vector< FixedImageRegionType > FixedImageRegionVectorType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef std::vector< FixedImageConstPointer > FixedImageVectorType
 
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< InterpolatorPointer > InterpolatorVectorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef std::vector< MovingImageMaskPointer > MovingImageMaskVectorType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImagePointer MovingImagePointer
 
typedef Superclass::MovingImageType MovingImageType
 
typedef std::vector< MovingImageConstPointer > MovingImageVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< Self > Pointer
 
typedef Superclass::RealType RealType
 
typedef MultiInputImageToImageMetricBase Self
 
typedef AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > Superclass
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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 Self > ConstPointer
 
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< HessianValueType > HessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
 
typedef ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase< FixedImageType > ImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef FixedArray< double, 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< Self > Pointer
 
typedef Superclass::RealType RealType
 
typedef TransformType::ScalarType ScalarType
 
typedef AdvancedImageToImageMetric Self
 
typedef ImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > 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 Types inherited from elastix::MetricBase< TElastix >
typedef itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType > AdvancedMetricType
 
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef ITKBaseType::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
 
typedef FixedImageType::PointType FixedPointType
 
typedef FixedPointType::ValueType FixedPointValueType
 
typedef AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
 
typedef itk::SingleValuedCostFunction ITKBaseType
 
typedef ITKBaseType::MeasureType MeasureType
 
typedef AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
 
typedef MovingImageType::PointType MovingPointType
 
typedef MovingPointType::ValueType MovingPointValueType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef MetricBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef ElastixType::ConfigurationPointer ConfigurationPointer
 
typedef ElastixType::ConfigurationType ConfigurationType
 
typedef ElastixType::Pointer ElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationType * RegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

virtual void BeforeEachResolution (void)
 
virtual void BeforeRegistration (void)
 
 elxClassNameMacro ("KNNGraphAlphaMutualInformation")
 
virtual const char * GetClassName () const
 
virtual void Initialize (void) throw ( itk::ExceptionObject )
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
- Public Member Functions inherited from itk::KNNGraphAlphaMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual const double & GetAlpha ()
 
virtual const double & GetAvoidDivisionBy ()
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &Derivative) const
 
MeasureType GetValue (const TransformParametersType &parameters) const
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
 
 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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual const FixedImageType * GetFixedImage (unsigned int pos) const
 
virtual const FixedImageType * GetFixedImage (void) const
 
virtual FixedImageInterpolatorType * GetFixedImageInterpolator (unsigned int pos) const
 
virtual FixedImageInterpolatorType * GetFixedImageInterpolator (void) const
 
virtual FixedImageMaskType * GetFixedImageMask (unsigned int pos) const
 
virtual FixedImageMaskType * GetFixedImageMask (void) const
 
virtual const FixedImageRegionType & GetFixedImageRegion (unsigned int pos) const
 
virtual const FixedImageRegionType & GetFixedImageRegion (void) const
 
virtual InterpolatorType * GetInterpolator (unsigned int pos) const
 
virtual InterpolatorType * GetInterpolator (void) const
 
virtual bool GetInterpolatorsAreBSpline () const
 
virtual const MovingImageType * GetMovingImage (unsigned int pos) const
 
virtual const MovingImageType * GetMovingImage (void) const
 
virtual MovingImageMaskType * GetMovingImageMask (unsigned int pos) const
 
virtual MovingImageMaskType * GetMovingImageMask (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, MetricBase< TElastix >::MovingImageType::ImageDimension)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, MetricBase< TElastix >::FixedImageType::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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const FixedImageLimiterType * GetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerType * GetImageSampler (void) const
 
virtual const MovingImageDerivativeScalesType & GetMovingImageDerivativeScales ()
 
virtual const MovingImageLimiterType * GetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
virtual bool GetScaleGradientWithRespectToMovingImageOrientation () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
const AdvancedTransformType * GetTransform (void) const
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const bool & GetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const bool & GetUseMultiThread ()
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MetricBase< TElastix >::MovingImageType::ImageDimension)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, MetricBase< TElastix >::FixedImageType::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 ()
 
- Public Member Functions inherited from elastix::MetricBase< TElastix >
virtual void AfterEachIterationBase (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual ImageSamplerBaseType * GetAdvancedMetricImageSampler (void) const
 
virtual bool GetAdvancedMetricUseImageSampler (void) const
 
virtual ITKBaseType * GetAsITKBaseType (void)
 
virtual const ITKBaseType * GetAsITKBaseType (void) const
 
virtual MeasureType GetCurrentExactMetricValue (void) const
 
virtual bool GetShowExactMetricValue (void) const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SelectNewSamples (void)
 
virtual void SetAdvancedMetricImageSampler (ImageSamplerBaseType *sampler)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
virtual ConfigurationType * GetConfiguration (void) const
 
virtual ElastixType * GetElastix (void) const
 
virtual RegistrationPointer GetRegistration (void) const
 
virtual void SetConfiguration (ConfigurationType *_arg)
 
virtual void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeRegistrationBase (void)
 
std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) const
 
virtual const char * elxGetClassName (void) const
 
virtual const char * GetComponentLabel (void) const
 
 itkTypeMacroNoParent (BaseComponent)
 
virtual void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::KNNGraphAlphaMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static Pointer New ()
 

Protected Member Functions

 KNNGraphAlphaMutualInformationMetric ()
 
virtual ~KNNGraphAlphaMutualInformationMetric ()
 
- Protected Member Functions inherited from itk::KNNGraphAlphaMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
 KNNGraphAlphaMutualInformationImageToImageMetric ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~KNNGraphAlphaMutualInformationImageToImageMetric ()
 
- Protected Member Functions inherited from itk::MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
 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 Member Functions inherited from elastix::MetricBase< TElastix >
virtual MeasureType GetExactValue (const ParametersType &parameters)
 
 MetricBase ()
 
virtual ~MetricBase ()
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()
 
virtual ~BaseComponentSE ()
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
 
virtual ~BaseComponent ()
 

Private Member Functions

 KNNGraphAlphaMutualInformationMetric (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef Superclass::BSplineInterpolatorType BSplineInterpolatorType
 
typedef std::vector< BSplineInterpolatorPointer > BSplineInterpolatorVectorType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageDerivativeType MovingImageDerivativeType
 
typedef Superclass::MovingImageIndexType MovingImageIndexType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
- Protected Types inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef BSplineInterpolatorFloatType::Pointer BSplineInterpolatorFloatPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, float > BSplineInterpolatorFloatType
 
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
 
typedef CentralDifferenceGradientFilterType::Pointer CentralDifferenceGradientFilterPointer
 
typedef GradientImageFilter< MovingImageType, RealType, RealType > CentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef FixedImageIndexType::IndexValueType FixedImageIndexValueType
 
typedef TransformType::InputPointType FixedImagePointType
 
typedef LinearInterpolatorType::Pointer LinearInterpolatorPointer
 
typedef AdvancedLinearInterpolateImageFunction< MovingImageType, CoordinateRepresentationType > LinearInterpolatorType
 
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, double > ReducedBSplineInterpolatorType
 
- Protected Types inherited from elastix::MetricBase< TElastix >
typedef ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
 
typedef itk::ImageGridSampler< FixedImageType > ExactMetricImageSamplerType
 
typedef ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
 
typedef ITKBaseType::ParametersType ParametersType
 
- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static ITK_THREAD_RETURN_TYPE AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::KNNGraphAlphaMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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
 
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
 
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
 
ExactMetricImageSamplerPointer m_ExactMetricSampler
 
bool m_ShowExactMetricValue
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration
 
ElastixPointer m_Elastix
 
RegistrationPointer m_Registration
 

Member Typedef Documentation

Definition at line 138 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 137 of file elxKNNGraphAlphaMutualInformationMetric.h.

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ConstPointer

Definition at line 99 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 120 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 136 of file elxKNNGraphAlphaMutualInformationMetric.h.

Typedef's inherited from Elastix.

Definition at line 135 of file elxKNNGraphAlphaMutualInformationMetric.h.

Typedefs for feature images.

Definition at line 144 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 124 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 122 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 118 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 141 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 119 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 145 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 125 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 123 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 121 of file elxKNNGraphAlphaMutualInformationMetric.h.

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::Pointer

Definition at line 98 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 140 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 139 of file elxKNNGraphAlphaMutualInformationMetric.h.

Standard ITK-stuff.

Definition at line 93 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 96 of file elxKNNGraphAlphaMutualInformationMetric.h.

template<class TElastix >
typedef MetricBase< TElastix > elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::Superclass2

Definition at line 97 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 117 of file elxKNNGraphAlphaMutualInformationMetric.h.

Definition at line 116 of file elxKNNGraphAlphaMutualInformationMetric.h.

Typedefs inherited from the superclass.

Definition at line 115 of file elxKNNGraphAlphaMutualInformationMetric.h.

Constructor & Destructor Documentation

template<class TElastix >
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::KNNGraphAlphaMutualInformationMetric ( )
inlineprotected

The constructor.

Definition at line 178 of file elxKNNGraphAlphaMutualInformationMetric.h.

template<class TElastix >
virtual elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::~KNNGraphAlphaMutualInformationMetric ( )
inlineprotectedvirtual

The destructor.

Definition at line 180 of file elxKNNGraphAlphaMutualInformationMetric.h.

template<class TElastix >
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::KNNGraphAlphaMutualInformationMetric ( const Self &  )
private

The private constructor.

Member Function Documentation

template<class TElastix >
virtual void elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::BeforeEachResolution ( void  )
virtual

Execute stuff before each new pyramid resolution:

  • Set the tree type.
  • Set the bucket size, if appropriate.
  • Set the splitting rule, if appropriate.
  • Set the shrinking rule, if appropriate.
  • Set the tree searcher type.
  • Set the k NearestNeighbours.
  • Set the error bound epsilon for ANN search.
  • Set the squared search radius, if appropriate.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::BeforeRegistration ( void  )
virtual

Execute stuff before the registration:

  • Set the alpha from alpha - MI.
  • Set the number of fixed feature images.
  • Set the number of moving feature images.
  • Set the fixed feature images filenames.
  • Set the moving feature images filenames.
  • Set the spline orders of the fixed feature interpolators.
  • Set the spline orders of the moving feature interpolators.

Reimplemented from elastix::BaseComponent.

template<class TElastix >
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::elxClassNameMacro ( "KNNGraphAlphaMutualInformation"  )

Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "KNNGraphAlphaMutualInformation")

template<class TElastix >
virtual const char* elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

template<class TElastix >
virtual void elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::Initialize ( void  )
throw (itk::ExceptionObject
)
virtual

Sets up a timer to measure the initialization time and calls the Superclass' implementation.

Reimplemented from itk::KNNGraphAlphaMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.

template<class TElastix >
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)

The fixed image dimension

template<class TElastix >
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
MovingImageType::ImageDimension   
)

The moving image dimension.

template<class TElastix >
static Pointer elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::New ( )
static

Method for creation through the object factory.

template<class TElastix >
void elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::operator= ( const Self &  )
private

The private copy constructor.



Generated on 25-07-2016 for elastix by doxygen 1.8.11 elastix logo