Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxPCAMetric2.h>
This metric is based on the AdvancedImageToImageMetric. It is templated over the type of the fixed and moving images to be compared.
This metric computes the sum of variances over the slowest varying dimension in the moving image. The spatial positions of the moving image are established through a Transform. Pixel values are taken from the Moving image.
This implementation is based on the AdvancedImageToImageMetric, which means that:
SampleLastDimensionRandomly: randomly sample a number of time points to to compute the variance from. When set to "false", all time points are taken into account. When set to "true", a random number of time points is selected, which can be set with parameter NumSamplesLastDimension.
NumSamplesLastDimension: the number of random samples to take in the time time direction of the data when SampleLastDimensionRandomly is set to true.
SubtractMean: subtract the over time computed mean parameter value from each parameter. This should be used when registration is performed directly on the moving image, without using a fixed image. Possible values are "true" or "false".
NumEigenValues: number of eigenvalues used in the metric: sum(e) - e, where sum(e) is the sum of all eigenvalues and e is the sum of the first highest NumEigenValues eigenvalues.
Definition at line 63 of file elxPCAMetric2.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::PCAMetric2< 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 () |
Protected Member Functions | |
PCAMetric2 () | |
~PCAMetric2 () override | |
Protected Member Functions inherited from itk::PCAMetric2< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const override |
PCAMetric2 () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~PCAMetric2 () override | |
Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
AdvancedImageToImageMetric () | |
virtual void | AfterThreadedGetValue (MeasureType &value) const |
virtual void | AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const |
virtual void | CheckForAdvancedTransform (void) |
virtual void | CheckForBSplineInterpolator (void) |
virtual void | CheckForBSplineTransform (void) const |
virtual void | CheckNumberOfSamples (unsigned long wanted, unsigned long found) const |
virtual bool | EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const |
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 | InitializeImageSampler (void) |
virtual void | InitializeLimiters (void) |
virtual void | InitializeThreadingParameters (void) const |
virtual bool | IsInsideMovingMask (const MovingImagePointType &point) const |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct) | |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct) | |
void | LaunchGetValueAndDerivativeThreaderCallback (void) const |
void | LaunchGetValueThreaderCallback (void) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetUseFixedImageLimiter (bool _arg) |
virtual void | SetUseImageSampler (bool _arg) |
virtual void | SetUseMovingImageLimiter (bool _arg) |
virtual void | ThreadedGetValue (ThreadIdType threadID) |
virtual void | ThreadedGetValueAndDerivative (ThreadIdType threadID) |
virtual bool | TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const |
~AdvancedImageToImageMetric () override | |
Protected Member Functions inherited from elastix::MetricBase< TElastix > | |
virtual MeasureType | GetExactValue (const ParametersType ¶meters) |
MetricBase () | |
~MetricBase () override | |
Protected Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
BaseComponentSE ()=default | |
~BaseComponentSE () override=default | |
Protected Member Functions inherited from elastix::BaseComponent | |
BaseComponent ()=default | |
virtual | ~BaseComponent ()=default |
Private Member Functions | |
void | operator= (const Self &) |
PCAMetric2 (const Self &) | |
typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > elastix::PCAMetric2< TElastix >::BSplineTransformBaseType |
Typedef's for the B-spline transform.
Definition at line 159 of file elxPCAMetric2.h.
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > elastix::PCAMetric2< TElastix >::CombinationTransformType |
Definition at line 161 of file elxPCAMetric2.h.
typedef Superclass2::ConfigurationPointer elastix::PCAMetric2< TElastix >::ConfigurationPointer |
Definition at line 152 of file elxPCAMetric2.h.
typedef Superclass2::ConfigurationType elastix::PCAMetric2< TElastix >::ConfigurationType |
Definition at line 151 of file elxPCAMetric2.h.
typedef itk::SmartPointer< const Self > elastix::PCAMetric2< TElastix >::ConstPointer |
Definition at line 78 of file elxPCAMetric2.h.
typedef Superclass1::CoordinateRepresentationType elastix::PCAMetric2< TElastix >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 94 of file elxPCAMetric2.h.
typedef Superclass1::DerivativeType elastix::PCAMetric2< TElastix >::DerivativeType |
Definition at line 122 of file elxPCAMetric2.h.
typedef Superclass2::ElastixPointer elastix::PCAMetric2< TElastix >::ElastixPointer |
Definition at line 150 of file elxPCAMetric2.h.
typedef Superclass2::ElastixType elastix::PCAMetric2< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 149 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageConstPointer elastix::PCAMetric2< TElastix >::FixedImageConstPointer |
Definition at line 100 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageLimiterOutputType elastix::PCAMetric2< TElastix >::FixedImageLimiterOutputType |
Definition at line 134 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageLimiterType elastix::PCAMetric2< TElastix >::FixedImageLimiterType |
Definition at line 131 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageMaskPointer elastix::PCAMetric2< TElastix >::FixedImageMaskPointer |
Definition at line 118 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageMaskType elastix::PCAMetric2< TElastix >::FixedImageMaskType |
Definition at line 117 of file elxPCAMetric2.h.
typedef Superclass1::FixedImagePixelType elastix::PCAMetric2< TElastix >::FixedImagePixelType |
Definition at line 124 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageRegionType elastix::PCAMetric2< TElastix >::FixedImageRegionType |
Definition at line 101 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageSizeType elastix::PCAMetric2< TElastix >::FixedImageSizeType |
Definition at line 102 of file elxPCAMetric2.h.
typedef Superclass1::FixedImageType elastix::PCAMetric2< TElastix >::FixedImageType |
Definition at line 99 of file elxPCAMetric2.h.
typedef Superclass1::GradientImageFilterPointer elastix::PCAMetric2< TElastix >::GradientImageFilterPointer |
Definition at line 116 of file elxPCAMetric2.h.
typedef Superclass1::GradientImageFilterType elastix::PCAMetric2< TElastix >::GradientImageFilterType |
Definition at line 115 of file elxPCAMetric2.h.
typedef Superclass1::GradientImagePointer elastix::PCAMetric2< TElastix >::GradientImagePointer |
Definition at line 114 of file elxPCAMetric2.h.
typedef Superclass1::GradientImageType elastix::PCAMetric2< TElastix >::GradientImageType |
Definition at line 113 of file elxPCAMetric2.h.
typedef Superclass1::GradientPixelType elastix::PCAMetric2< TElastix >::GradientPixelType |
Definition at line 112 of file elxPCAMetric2.h.
typedef Superclass1::ImageSampleContainerPointer elastix::PCAMetric2< TElastix >::ImageSampleContainerPointer |
Definition at line 130 of file elxPCAMetric2.h.
typedef Superclass1::ImageSampleContainerType elastix::PCAMetric2< TElastix >::ImageSampleContainerType |
Definition at line 128 of file elxPCAMetric2.h.
typedef Superclass1::ImageSamplerPointer elastix::PCAMetric2< TElastix >::ImageSamplerPointer |
Definition at line 127 of file elxPCAMetric2.h.
typedef Superclass1::ImageSamplerType elastix::PCAMetric2< TElastix >::ImageSamplerType |
Definition at line 126 of file elxPCAMetric2.h.
typedef Superclass1::InputPointType elastix::PCAMetric2< TElastix >::InputPointType |
Definition at line 105 of file elxPCAMetric2.h.
typedef Superclass1::InterpolatorPointer elastix::PCAMetric2< TElastix >::InterpolatorPointer |
Definition at line 110 of file elxPCAMetric2.h.
typedef Superclass1::InterpolatorType elastix::PCAMetric2< TElastix >::InterpolatorType |
Definition at line 109 of file elxPCAMetric2.h.
typedef Superclass2::ITKBaseType elastix::PCAMetric2< TElastix >::ITKBaseType |
Definition at line 155 of file elxPCAMetric2.h.
typedef Superclass1::MeasureType elastix::PCAMetric2< TElastix >::MeasureType |
Definition at line 121 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageConstPointer elastix::PCAMetric2< TElastix >::MovingImageConstPointer |
Definition at line 98 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageDerivativeScalesType elastix::PCAMetric2< TElastix >::MovingImageDerivativeScalesType |
Definition at line 138 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageLimiterOutputType elastix::PCAMetric2< TElastix >::MovingImageLimiterOutputType |
Definition at line 136 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageLimiterType elastix::PCAMetric2< TElastix >::MovingImageLimiterType |
Definition at line 132 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageMaskPointer elastix::PCAMetric2< TElastix >::MovingImageMaskPointer |
Definition at line 120 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageMaskType elastix::PCAMetric2< TElastix >::MovingImageMaskType |
Definition at line 119 of file elxPCAMetric2.h.
typedef Superclass1::MovingImagePixelType elastix::PCAMetric2< TElastix >::MovingImagePixelType |
Definition at line 97 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageRegionType elastix::PCAMetric2< TElastix >::MovingImageRegionType |
Definition at line 125 of file elxPCAMetric2.h.
typedef Superclass1::MovingImageType elastix::PCAMetric2< TElastix >::MovingImageType |
Definition at line 96 of file elxPCAMetric2.h.
typedef Superclass1::OutputPointType elastix::PCAMetric2< TElastix >::OutputPointType |
Definition at line 106 of file elxPCAMetric2.h.
typedef Superclass1::ParametersType elastix::PCAMetric2< TElastix >::ParametersType |
Definition at line 123 of file elxPCAMetric2.h.
typedef itk::SmartPointer< Self > elastix::PCAMetric2< TElastix >::Pointer |
Definition at line 77 of file elxPCAMetric2.h.
typedef Superclass1::RealType elastix::PCAMetric2< TElastix >::RealType |
Definition at line 111 of file elxPCAMetric2.h.
typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > elastix::PCAMetric2< TElastix >::ReducedDimensionBSplineTransformBaseType |
Definition at line 165 of file elxPCAMetric2.h.
typedef Superclass2::RegistrationPointer elastix::PCAMetric2< TElastix >::RegistrationPointer |
Definition at line 154 of file elxPCAMetric2.h.
typedef Superclass2::RegistrationType elastix::PCAMetric2< TElastix >::RegistrationType |
Definition at line 153 of file elxPCAMetric2.h.
typedef Superclass1::ScalarType elastix::PCAMetric2< TElastix >::ScalarType |
Definition at line 95 of file elxPCAMetric2.h.
typedef PCAMetric2 elastix::PCAMetric2< TElastix >::Self |
Standard ITK-stuff.
Definition at line 72 of file elxPCAMetric2.h.
typedef itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > elastix::PCAMetric2< TElastix >::StackTransformType |
Definition at line 163 of file elxPCAMetric2.h.
typedef itk::PCAMetric2< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::PCAMetric2< TElastix >::Superclass1 |
Definition at line 75 of file elxPCAMetric2.h.
typedef MetricBase< TElastix > elastix::PCAMetric2< TElastix >::Superclass2 |
Definition at line 76 of file elxPCAMetric2.h.
typedef Superclass1::TransformJacobianType elastix::PCAMetric2< TElastix >::TransformJacobianType |
Definition at line 108 of file elxPCAMetric2.h.
typedef Superclass1::TransformParametersType elastix::PCAMetric2< TElastix >::TransformParametersType |
Definition at line 107 of file elxPCAMetric2.h.
typedef Superclass1::TransformPointer elastix::PCAMetric2< TElastix >::TransformPointer |
Definition at line 104 of file elxPCAMetric2.h.
typedef Superclass1::TransformType elastix::PCAMetric2< TElastix >::TransformType |
Definition at line 103 of file elxPCAMetric2.h.
|
inlineprotected |
The constructor.
Definition at line 182 of file elxPCAMetric2.h.
|
inlineoverrideprotected |
The destructor.
Definition at line 184 of file elxPCAMetric2.h.
|
private |
The private constructor.
|
overridevirtual |
Do some things before each resolution:
Reimplemented from elastix::BaseComponent.
elastix::PCAMetric2< TElastix >::elxClassNameMacro | ( | "PCAMetric2< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "PCAMetric2")
|
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::PCAMetric2< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | |||
) |
The fixed image dimension.
elastix::PCAMetric2< 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 |