![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxMetricBase.h>
Public Member Functions | |
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 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) |
![]() | |
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) |
![]() | |
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 | BeforeEachResolution (void) |
virtual void | BeforeRegistration (void) |
virtual void | BeforeRegistrationBase (void) |
virtual const char * | elxGetClassName (void) const |
virtual const char * | GetComponentLabel (void) const |
virtual void | SetComponentLabel (const char *label, unsigned int idx) |
Protected Types | |
typedef itk::ImageGridSampler < FixedImageType > | ExactMetricImageSamplerType |
typedef ExactMetricImageSamplerType::SampleGridSpacingType | ExactMetricSampleGridSpacingType |
typedef ITKBaseType::ParametersType | ParametersType |
Protected Member Functions | |
virtual MeasureType | GetExactValue (const ParametersType ¶meters) |
MetricBase () | |
virtual | ~MetricBase () |
![]() | |
BaseComponentSE () | |
virtual | ~BaseComponentSE () |
![]() | |
BaseComponent () | |
virtual | ~BaseComponent () |
Private Member Functions | |
MetricBase (const Self &) | |
void | operator= (const Self &) |
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")
(ExactMetricSampleGridSpacing 1 1 2 2 )
(CheckNumberOfSamples "false" "true" "false")
(RequiredRatioOfValidSamples 0.1)
Definition at line 73 of file elxMetricBase.h.
typedef AdvancedImageToImageMetric< FixedImageType, MovingImageType > elastix::MetricBase< TElastix >::AdvancedMetricType |
Definition at line 103 of file elxMetricBase.h.
typedef Superclass::ConfigurationPointer elastix::MetricBase< TElastix >::ConfigurationPointer |
Definition at line 88 of file elxMetricBase.h.
typedef Superclass::ConfigurationType elastix::MetricBase< TElastix >::ConfigurationType |
Definition at line 87 of file elxMetricBase.h.
typedef ITKBaseType::ParametersValueType elastix::MetricBase< TElastix >::CoordinateRepresentationType |
Typedefs for point sets.
Definition at line 111 of file elxMetricBase.h.
typedef Superclass::ElastixPointer elastix::MetricBase< TElastix >::ElastixPointer |
Definition at line 86 of file elxMetricBase.h.
typedef Superclass::ElastixType elastix::MetricBase< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 82 of file elxMetricBase.h.
|
protected |
The full sampler used by the GetExactValue method.
Definition at line 192 of file elxMetricBase.h.
|
protected |
Definition at line 194 of file elxMetricBase.h.
typedef ElastixType::FixedImageType elastix::MetricBase< TElastix >::FixedImageType |
Other typedef's.
Definition at line 93 of file elxMetricBase.h.
typedef PointSet< CoordinateRepresentationType, FixedImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > elastix::MetricBase< TElastix >::FixedPointSetType |
Definition at line 118 of file elxMetricBase.h.
typedef FixedImageType::PointType elastix::MetricBase< TElastix >::FixedPointType |
Definition at line 94 of file elxMetricBase.h.
typedef FixedPointType::ValueType elastix::MetricBase< TElastix >::FixedPointValueType |
Definition at line 95 of file elxMetricBase.h.
typedef AdvancedMetricType::ImageSamplerType elastix::MetricBase< TElastix >::ImageSamplerBaseType |
Typedefs for sampler support.
Definition at line 128 of file elxMetricBase.h.
typedef SingleValuedCostFunction elastix::MetricBase< TElastix >::ITKBaseType |
ITKBaseType.
Definition at line 101 of file elxMetricBase.h.
typedef ITKBaseType::MeasureType elastix::MetricBase< TElastix >::MeasureType |
Return type of GetValue
Definition at line 131 of file elxMetricBase.h.
typedef ElastixType::MovingImageType elastix::MetricBase< TElastix >::MovingImageType |
Definition at line 96 of file elxMetricBase.h.
typedef PointSet< CoordinateRepresentationType, MovingImageDimension, DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > elastix::MetricBase< TElastix >::MovingPointSetType |
Definition at line 125 of file elxMetricBase.h.
typedef MovingImageType::PointType elastix::MetricBase< TElastix >::MovingPointType |
Definition at line 97 of file elxMetricBase.h.
typedef MovingPointType::ValueType elastix::MetricBase< TElastix >::MovingPointValueType |
Definition at line 98 of file elxMetricBase.h.
|
protected |
The parameters type.
Definition at line 189 of file elxMetricBase.h.
typedef Superclass::RegistrationPointer elastix::MetricBase< TElastix >::RegistrationPointer |
Definition at line 90 of file elxMetricBase.h.
typedef Superclass::RegistrationType elastix::MetricBase< TElastix >::RegistrationType |
Definition at line 89 of file elxMetricBase.h.
typedef MetricBase elastix::MetricBase< TElastix >::Self |
Standard ITK stuff.
Definition at line 78 of file elxMetricBase.h.
typedef BaseComponentSE<TElastix> elastix::MetricBase< TElastix >::Superclass |
Definition at line 79 of file elxMetricBase.h.
|
protected |
The constructor.
|
inlineprotectedvirtual |
The destructor.
Definition at line 199 of file elxMetricBase.h.
|
private |
The private constructor.
|
virtual |
Execute stuff after each iteration:
Reimplemented from elastix::BaseComponent.
|
virtual |
Execute stuff before each resolution:
Reimplemented from elastix::BaseComponent.
|
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 |
Returns whether the metric uses a sampler. When the metric is not of AdvancedMetricType, the function returns false immediately.
|
inlinevirtual |
Cast to ITKBaseType.
Definition at line 134 of file elxMetricBase.h.
|
inlinevirtual |
Cast to ITKBaseType, to use in const functions.
Definition at line 140 of file elxMetricBase.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented in elastix::TransformRigidityPenalty< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, elastix::ViolaWellsMutualInformationMetric< TElastix >, elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::MutualInformationHistogramMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::NormalizedGradientCorrelationMetric< TElastix >, elastix::PatternIntensityMetric< TElastix >, and elastix::GradientDifferenceMetric< TElastix >.
|
inlinevirtual |
Get the last computed exact metric value
Definition at line 183 of file elxMetricBase.h.
|
protectedvirtual |
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.
|
inlinevirtual |
Get if the exact metric value is computed
Definition at line 179 of file elxMetricBase.h.
elastix::MetricBase< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned | int, | ||
FixedImageType::ImageDimension | |||
) |
Get the dimension of the fixed image.
Reimplemented in elastix::TransformRigidityPenalty< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::NormalizedGradientCorrelationMetric< TElastix >, elastix::PatternIntensityMetric< TElastix >, elastix::GradientDifferenceMetric< TElastix >, and elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >.
elastix::MetricBase< TElastix >::itkStaticConstMacro | ( | MovingImageDimension | , |
unsigned | int, | ||
MovingImageType::ImageDimension | |||
) |
Get the dimension of the moving image.
Reimplemented in elastix::TransformRigidityPenalty< TElastix >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, elastix::NormalizedMutualInformationMetric< TElastix >, elastix::VarianceOverLastDimensionMetric< TElastix >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, elastix::AdvancedKappaStatisticMetric< TElastix >, elastix::AdvancedMeanSquaresMetric< TElastix >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, elastix::TransformBendingEnergyPenalty< TElastix >, elastix::DisplacementMagnitudePenalty< TElastix >, elastix::NormalizedGradientCorrelationMetric< TElastix >, elastix::PatternIntensityMetric< TElastix >, elastix::GradientDifferenceMetric< TElastix >, elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >, elastix::ViolaWellsMutualInformationMetric< TElastix >, and elastix::MutualInformationHistogramMetric< TElastix >.
|
private |
The private copy constructor.
|
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::TransformRigidityPenalty< TElastix >, and elastix::CorrespondingPointsEuclideanDistanceMetric< TElastix >.
|
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.
|
protected |
Definition at line 215 of file elxMetricBase.h.
|
protected |
Definition at line 216 of file elxMetricBase.h.
|
protected |
Definition at line 214 of file elxMetricBase.h.
|
protected |
Definition at line 213 of file elxMetricBase.h.
Generated on 21-03-2014 for elastix by ![]() |
![]() |