Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxKNNGraphAlphaMutualInformationMetric.h>
A metric based on the itk::KNNGraphAlphaMutualInformationImageToImageMetric.
The parameters used in this class are:
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.
Definition at line 82 of file elxKNNGraphAlphaMutualInformationMetric.h.
Public Member Functions | |
void | BeforeEachResolution (void) override |
void | BeforeRegistration (void) override |
elxClassNameMacro ("KNNGraphAlphaMutualInformation") | |
virtual const char * | GetClassName () const |
void | Initialize (void) override |
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 () |
virtual const char * | GetClassName () const |
void | GetDerivative (const TransformParametersType ¶meters, DerivativeType &Derivative) const override |
MeasureType | GetValue (const TransformParametersType ¶meters) const override |
void | GetValueAndDerivative (const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const override |
void | Initialize (void) override |
itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension) | |
itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension) | |
virtual void | SetAlpha (double _arg) |
void | SetANNbdTree (unsigned int bucketSize, std::string splittingRule, std::string shrinkingRule) |
void | SetANNbdTree (unsigned int bucketSize, std::string splittingRuleFixed, std::string splittingRuleMoving, std::string splittingRuleJoint, std::string shrinkingRuleFixed, std::string shrinkingRuleMoving, std::string shrinkingRuleJoint) |
void | SetANNBruteForceTree (void) |
void | SetANNFixedRadiusTreeSearch (unsigned int kNearestNeighbors, double errorBound, double squaredRadius) |
void | SetANNkDTree (unsigned int bucketSize, std::string splittingRule) |
void | SetANNkDTree (unsigned int bucketSize, std::string splittingRuleFixed, std::string splittingRuleMoving, std::string splittingRuleJoint) |
void | SetANNPriorityTreeSearch (unsigned int kNearestNeighbors, double errorBound) |
void | SetANNStandardTreeSearch (unsigned int kNearestNeighbors, double errorBound) |
virtual void | SetAvoidDivisionBy (double _arg) |
Public Member Functions inherited from itk::MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
virtual const char * | GetClassName () const |
virtual const FixedImageType * | GetFixedImage (unsigned int pos) const |
const FixedImageType * | GetFixedImage (void) const override |
virtual FixedImageInterpolatorType * | GetFixedImageInterpolator (unsigned int pos) const |
virtual FixedImageInterpolatorType * | GetFixedImageInterpolator (void) const |
virtual FixedImageMaskType * | GetFixedImageMask (unsigned int pos) const |
FixedImageMaskType * | GetFixedImageMask (void) const override |
virtual const FixedImageRegionType & | GetFixedImageRegion (unsigned int pos) const |
const FixedImageRegionType & | GetFixedImageRegion (void) const override |
virtual InterpolatorType * | GetInterpolator (unsigned int pos) const |
InterpolatorType * | GetInterpolator (void) const override |
virtual bool | GetInterpolatorsAreBSpline () const |
virtual const MovingImageType * | GetMovingImage (unsigned int pos) const |
const MovingImageType * | GetMovingImage (void) const override |
virtual MovingImageMaskType * | GetMovingImageMask (unsigned int pos) const |
MovingImageMaskType * | GetMovingImageMask (void) const override |
virtual unsigned int | GetNumberOfFixedImageInterpolators () const |
virtual unsigned int | GetNumberOfFixedImageMasks () const |
virtual unsigned int | GetNumberOfFixedImageRegions () const |
virtual unsigned int | GetNumberOfFixedImages () const |
virtual unsigned int | GetNumberOfInterpolators () const |
virtual unsigned int | GetNumberOfMovingImageMasks () const |
virtual unsigned int | GetNumberOfMovingImages () const |
void | Initialize (void) override |
itkSetNumberOfMacro (FixedImage) | |
itkSetNumberOfMacro (FixedImageInterpolator) | |
itkSetNumberOfMacro (FixedImageMask) | |
itkSetNumberOfMacro (FixedImageRegion) | |
itkSetNumberOfMacro (Interpolator) | |
itkSetNumberOfMacro (MovingImage) | |
itkSetNumberOfMacro (MovingImageMask) | |
itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension) | |
itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension) | |
void | SetFixedImage (const FixedImageType *_arg) override |
virtual void | SetFixedImage (const FixedImageType *_arg, unsigned int pos) |
virtual void | SetFixedImageInterpolator (FixedImageInterpolatorType *_arg) |
virtual void | SetFixedImageInterpolator (FixedImageInterpolatorType *_arg, unsigned int pos) |
void | SetFixedImageMask (FixedImageMaskType *_arg) override |
virtual void | SetFixedImageMask (FixedImageMaskType *_arg, unsigned int pos) |
void | SetFixedImageRegion (const FixedImageRegionType _arg) override |
virtual void | SetFixedImageRegion (const FixedImageRegionType _arg, unsigned int pos) |
void | SetInterpolator (InterpolatorType *_arg) override |
virtual void | SetInterpolator (InterpolatorType *_arg, unsigned int pos) |
void | SetMovingImage (const MovingImageType *_arg) override |
virtual void | SetMovingImage (const MovingImageType *_arg, unsigned int pos) |
void | SetMovingImageMask (MovingImageMaskType *_arg) override |
virtual void | SetMovingImageMask (MovingImageMaskType *_arg, unsigned int pos) |
Public Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
virtual void | BeforeThreadedGetValueAndDerivative (const TransformParametersType ¶meters) const |
virtual const char * | GetClassName () 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 ¶meters, HessianType &H) const |
const AdvancedTransformType * | GetTransform (void) const override |
virtual bool | GetUseFixedImageLimiter () const |
virtual bool | GetUseImageSampler () const |
virtual const bool & | GetUseMetricSingleThreaded () |
virtual bool | GetUseMovingImageDerivativeScales () const |
virtual bool | GetUseMovingImageLimiter () const |
virtual const bool & | GetUseMultiThread () |
void | Initialize (void) override |
itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension) | |
itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension) | |
virtual void | SetFixedImageLimiter (FixedImageLimiterType *_arg) |
virtual void | SetFixedLimitRangeRatio (double _arg) |
virtual void | SetImageSampler (ImageSamplerType *_arg) |
virtual void | SetMovingImageDerivativeScales (MovingImageDerivativeScalesType _arg) |
virtual void | SetMovingImageLimiter (MovingImageLimiterType *_arg) |
virtual void | SetMovingLimitRangeRatio (double _arg) |
virtual void | SetNumberOfWorkUnits (ThreadIdType numberOfThreads) |
virtual void | SetRequiredRatioOfValidSamples (double _arg) |
virtual void | SetScaleGradientWithRespectToMovingImageOrientation (bool _arg) |
virtual void | SetTransform (AdvancedTransformType *arg) |
virtual void | SetUseMetricSingleThreaded (bool _arg) |
virtual void | SetUseMovingImageDerivativeScales (bool _arg) |
virtual void | SetUseMultiThread (bool _arg) |
virtual void | UseMetricSingleThreadedOff () |
virtual void | UseMetricSingleThreadedOn () |
virtual void | UseMultiThreadOff () |
virtual void | UseMultiThreadOn () |
Public Member Functions inherited from elastix::MetricBase< TElastix > | |
void | AfterEachIterationBase (void) override |
void | BeforeEachResolutionBase (void) override |
virtual ImageSamplerBaseType * | GetAdvancedMetricImageSampler (void) const |
virtual bool | GetAdvancedMetricUseImageSampler (void) const |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
virtual const char * | GetClassName () 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 > | |
ConfigurationType * | GetConfiguration (void) const |
ElastixType * | GetElastix (void) const |
RegistrationPointer | GetRegistration (void) const |
ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE) | |
void | SetConfiguration (ConfigurationType *_arg) |
void | SetElastix (ElastixType *_arg) |
Public Member Functions inherited from elastix::BaseComponent | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachIterationBase (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 | BeforeEachResolution (void) |
virtual void | BeforeEachResolutionBase (void) |
virtual void | BeforeRegistration (void) |
virtual void | BeforeRegistrationBase (void) |
virtual const char * | elxGetClassName (void) const |
const char * | GetComponentLabel (void) const |
ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent) | |
itkTypeMacroNoParent (BaseComponent) | |
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 () |
Static Public Member Functions inherited from elastix::BaseComponent | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Private Member Functions | |
KNNGraphAlphaMutualInformationMetric (const Self &) | |
void | operator= (const Self &) |
typedef Superclass2::ConfigurationPointer elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ConfigurationPointer |
Definition at line 137 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass2::ConfigurationType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ConfigurationType |
Definition at line 136 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef itk::SmartPointer< const Self > elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ConstPointer |
Definition at line 98 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::DerivativeType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::DerivativeType |
Definition at line 119 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass2::ElastixPointer elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ElastixPointer |
Definition at line 135 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass2::ElastixType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 134 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef FixedImageType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::FixedFeatureImageType |
Typedefs for feature images.
Definition at line 143 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::FixedImageConstPointer elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::FixedImageConstPointer |
Definition at line 123 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::FixedImageType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::FixedImageType |
Definition at line 121 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::InterpolatorType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::InterpolatorType |
Definition at line 117 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass2::ITKBaseType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ITKBaseType |
Definition at line 140 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::MeasureType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::MeasureType |
Definition at line 118 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef MovingImageType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::MovingFeatureImageType |
Definition at line 144 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::MovingImageConstPointer elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::MovingImageConstPointer |
Definition at line 124 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::MovingImageType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::MovingImageType |
Definition at line 122 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::ParametersType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::ParametersType |
Definition at line 120 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef itk::SmartPointer< Self > elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::Pointer |
Definition at line 97 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass2::RegistrationPointer elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::RegistrationPointer |
Definition at line 139 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass2::RegistrationType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::RegistrationType |
Definition at line 138 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef KNNGraphAlphaMutualInformationMetric elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::Self |
Standard ITK-stuff.
Definition at line 92 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef itk::KNNGraphAlphaMutualInformationImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::Superclass1 |
Definition at line 95 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef MetricBase< TElastix > elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::Superclass2 |
Definition at line 96 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::TransformJacobianType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::TransformJacobianType |
Definition at line 116 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::TransformPointer elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::TransformPointer |
Definition at line 115 of file elxKNNGraphAlphaMutualInformationMetric.h.
typedef Superclass1::TransformType elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::TransformType |
Typedefs inherited from the superclass.
Definition at line 114 of file elxKNNGraphAlphaMutualInformationMetric.h.
|
inlineprotected |
The constructor.
Definition at line 177 of file elxKNNGraphAlphaMutualInformationMetric.h.
|
inlineoverrideprotected |
The destructor.
Definition at line 179 of file elxKNNGraphAlphaMutualInformationMetric.h.
|
private |
The private constructor.
|
overridevirtual |
Execute stuff before each new pyramid resolution:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Execute stuff before the registration:
Reimplemented from elastix::BaseComponent.
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::elxClassNameMacro | ( | "KNNGraphAlphaMutualInformation" | ) |
Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "KNNGraphAlphaMutualInformation")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::MetricBase< TElastix >.
|
override |
Sets up a timer to measure the initialization time and calls the Superclass' implementation.
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | |||
) |
The fixed image dimension
elastix::KNNGraphAlphaMutualInformationMetric< TElastix >::itkStaticConstMacro | ( | MovingImageDimension | , |
unsigned int | , | ||
MovingImageType::ImageDimension | |||
) |
The moving image dimension.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
Generated on 1667476801 for elastix by 1.9.4 |