|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
This class is the elastix base class for all Metrics. More...
#include <elxMetricBase.h>


This class is the elastix base class for all Metrics.
This class contains the common functionality for all Metrics.
The parameters used in this class are:
(ShowExactMetricValue "true" "true" "false") (CheckNumberOfSamples "false" "true" "false") (RequiredRatioOfValidSamples 0.1) Definition at line 62 of file elxMetricBase.h.
| typedef AdvancedImageToImageMetric< FixedImageType, MovingImageType > elastix::MetricBase< TElastix >::AdvancedMetricType |
Definition at line 92 of file elxMetricBase.h.
| typedef Superclass::ConfigurationPointer elastix::MetricBase< TElastix >::ConfigurationPointer |
Reimplemented from elastix::BaseComponentSE< TElastix >.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 77 of file elxMetricBase.h.
| typedef Superclass::ConfigurationType elastix::MetricBase< TElastix >::ConfigurationType |
Reimplemented from elastix::BaseComponentSE< TElastix >.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 76 of file elxMetricBase.h.
| typedef ITKBaseType::ParametersValueType elastix::MetricBase< TElastix >::CoordinateRepresentationType |
Typedefs for point sets.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, and elastix::VarianceOverLastDimensionMetric< TElastix >.
Definition at line 100 of file elxMetricBase.h.
| typedef Superclass::ElastixPointer elastix::MetricBase< TElastix >::ElastixPointer |
Reimplemented from elastix::BaseComponentSE< TElastix >.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 75 of file elxMetricBase.h.
| typedef Superclass::ElastixType elastix::MetricBase< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Reimplemented from elastix::BaseComponentSE< TElastix >.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 71 of file elxMetricBase.h.
| typedef ElastixType::FixedImageType elastix::MetricBase< TElastix >::FixedImageType |
Other typedef's.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 82 of file elxMetricBase.h.
| typedef PointSet< CoordinateRepresentationType, FixedImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > elastix::MetricBase< TElastix >::FixedPointSetType |
Reimplemented in elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >.
Definition at line 107 of file elxMetricBase.h.
| typedef FixedImageType::PointType elastix::MetricBase< TElastix >::FixedPointType |
Definition at line 83 of file elxMetricBase.h.
| typedef FixedPointType::ValueType elastix::MetricBase< TElastix >::FixedPointValueType |
Definition at line 84 of file elxMetricBase.h.
typedef itk::ImageFullSampler<FixedImageType> elastix::MetricBase< TElastix >::ImageFullSamplerType [protected] |
The full sampler used by the GetExactValue method.
Definition at line 171 of file elxMetricBase.h.
| typedef AdvancedMetricType::ImageSamplerType elastix::MetricBase< TElastix >::ImageSamplerBaseType |
Typedefs for sampler support.
Definition at line 117 of file elxMetricBase.h.
| typedef SingleValuedCostFunction elastix::MetricBase< TElastix >::ITKBaseType |
ITKBaseType.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 90 of file elxMetricBase.h.
typedef ITKBaseType::MeasureType elastix::MetricBase< TElastix >::MeasureType [protected] |
The type returned by the GetValue methods. Used by the GetExactValue method.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 167 of file elxMetricBase.h.
| typedef ElastixType::MovingImageType elastix::MetricBase< TElastix >::MovingImageType |
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 85 of file elxMetricBase.h.
| typedef PointSet< CoordinateRepresentationType, MovingImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > elastix::MetricBase< TElastix >::MovingPointSetType |
Reimplemented in elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >.
Definition at line 114 of file elxMetricBase.h.
| typedef MovingImageType::PointType elastix::MetricBase< TElastix >::MovingPointType |
Definition at line 86 of file elxMetricBase.h.
| typedef MovingPointType::ValueType elastix::MetricBase< TElastix >::MovingPointValueType |
Definition at line 87 of file elxMetricBase.h.
typedef ITKBaseType::ParametersType elastix::MetricBase< TElastix >::ParametersType [protected] |
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 168 of file elxMetricBase.h.
| typedef Superclass::RegistrationPointer elastix::MetricBase< TElastix >::RegistrationPointer |
Reimplemented from elastix::BaseComponentSE< TElastix >.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 79 of file elxMetricBase.h.
| typedef Superclass::RegistrationType elastix::MetricBase< TElastix >::RegistrationType |
Reimplemented from elastix::BaseComponentSE< TElastix >.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 78 of file elxMetricBase.h.
| typedef MetricBase elastix::MetricBase< TElastix >::Self |
Standard ITK stuff.
Reimplemented from elastix::BaseComponentSE< TElastix >.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
Definition at line 67 of file elxMetricBase.h.
| typedef BaseComponentSE<TElastix> elastix::MetricBase< TElastix >::Superclass |
Reimplemented from elastix::BaseComponentSE< TElastix >.
Definition at line 68 of file elxMetricBase.h.
| elastix::MetricBase< TElastix >::MetricBase | ( | ) | [protected] |
The constructor.
| virtual elastix::MetricBase< TElastix >::~MetricBase | ( | ) | [inline, protected, virtual] |
The destructor.
Definition at line 176 of file elxMetricBase.h.
| elastix::MetricBase< TElastix >::MetricBase | ( | const Self & | ) | [private] |
The private constructor.
| virtual void elastix::MetricBase< TElastix >::AfterEachIterationBase | ( | void | ) | [virtual] |
Execute stuff after each iteration:
Reimplemented from elastix::BaseComponent.
| virtual void elastix::MetricBase< TElastix >::BeforeEachResolutionBase | ( | void | ) | [virtual] |
Execute stuff before each resolution:
Reimplemented from elastix::BaseComponent.
| virtual ImageSamplerBaseType* elastix::MetricBase< TElastix >::GetAdvancedMetricImageSampler | ( | void | ) | const [virtual] |
Methods to get the image sampler. The image sampler is only used when the metric is of type AdvancedMetricType, and has UseImageSampler set to true. In other cases, the function returns 0.
| virtual bool elastix::MetricBase< TElastix >::GetAdvancedMetricUseImageSampler | ( | void | ) | const [virtual] |
Returns whether the metric uses a sampler. When the metric is not of AdvancedMetricType, the function returns false immediately.
| virtual const ITKBaseType* elastix::MetricBase< TElastix >::GetAsITKBaseType | ( | void | ) | const [inline, virtual] |
Cast to ITKBaseType, to use in const functions.
Definition at line 126 of file elxMetricBase.h.
| virtual ITKBaseType* elastix::MetricBase< TElastix >::GetAsITKBaseType | ( | void | ) | [inline, virtual] |
Cast to ITKBaseType.
Definition at line 120 of file elxMetricBase.h.
| virtual const char* elastix::MetricBase< TElastix >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
| virtual MeasureType elastix::MetricBase< TElastix >::GetExactValue | ( | const ParametersType & | parameters | ) | [protected, virtual] |
Get the exact value. Mutual information computed over all points. It is meant in situations when you optimize using just a subset of pixels, but are interested in the exact value of the metric.
This method only works when the itkYourMetric inherits from the AdvancedMetricType. In other cases it returns 0. You may re-implement this method in the elxYourMetric, if you like.
| elastix::MetricBase< TElastix >::itkStaticConstMacro | ( | MovingImageDimension | , |
| unsigned | int, | ||
| MovingImageType::ImageDimension | |||
| ) |
Get the dimension of the moving image.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, and elastix::ViolaWellsMutualInformationMetric< TElastix >.
| elastix::MetricBase< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
| unsigned | int, | ||
| FixedImageType::ImageDimension | |||
| ) |
Get the dimension of the fixed image.
Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::TransformRigidityPenalty< TElastix >, and elastix::VarianceOverLastDimensionMetric< TElastix >.
| void elastix::MetricBase< TElastix >::operator= | ( | const Self & | ) | [private] |
The private copy constructor.
| virtual void elastix::MetricBase< TElastix >::SelectNewSamples | ( | void | ) | [virtual] |
Force the metric to base its computation on a new subset of image samples. Not every metric may have implemented this.
Reimplemented in elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, and elastix::TransformRigidityPenalty< TElastix >.
| virtual void elastix::MetricBase< TElastix >::SetAdvancedMetricImageSampler | ( | ImageSamplerBaseType * | sampler | ) | [virtual] |
Method to set the image sampler. The image sampler is only used when the metric is of type AdvancedMetricType, and has UseImageSampler set to true. In other cases, the function does nothing.
ImageFullSamplerType::Pointer elastix::MetricBase< TElastix >::m_ExactMetricSampler [protected] |
Definition at line 191 of file elxMetricBase.h.
bool elastix::MetricBase< TElastix >::m_ShowExactMetricValue [protected] |
Definition at line 190 of file elxMetricBase.h.
Generated on 11-05-2011 for elastix by 1.7.4 |