![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxPCAMetric.h>
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 elxPCAMetric.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
static Pointer | New () |
![]() | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Protected Member Functions | |
PCAMetric () | |
~PCAMetric () override | |
![]() | |
void | AfterThreadedComputeDerivative (DerivativeType &derivative) const |
void | AfterThreadedGetSamples (MeasureType &value) const |
void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const |
void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const override |
void | InitializeThreadingParameters (void) const override |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedPCAMetricGetSamplesPerThreadStruct, AlignedPCAMetricGetSamplesPerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, PCAMetricGetSamplesPerThreadStruct, PaddedPCAMetricGetSamplesPerThreadStruct) | |
void | LaunchComputeDerivativeThreaderCallback (void) const |
void | LaunchGetSamplesThreaderCallback (void) const |
PCAMetric () | |
PCAMetric () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | ThreadedComputeDerivative (ThreadIdType threadID) |
void | ThreadedGetSamples (ThreadIdType threadID) |
virtual | ~PCAMetric () |
~PCAMetric () override | |
![]() | |
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 | |
![]() | |
virtual MeasureType | GetExactValue (const ParametersType ¶meters) |
MetricBase () | |
~MetricBase () override | |
![]() | |
BaseComponentSE ()=default | |
~BaseComponentSE () override=default | |
![]() | |
BaseComponent ()=default | |
virtual | ~BaseComponent ()=default |
Private Member Functions | |
void | operator= (const Self &) |
PCAMetric (const Self &) | |
typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > elastix::PCAMetric< TElastix >::BSplineTransformBaseType |
Typedef's for the B-spline transform.
Definition at line 159 of file elxPCAMetric.h.
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > elastix::PCAMetric< TElastix >::CombinationTransformType |
Definition at line 161 of file elxPCAMetric.h.
typedef Superclass2::ConfigurationPointer elastix::PCAMetric< TElastix >::ConfigurationPointer |
Definition at line 152 of file elxPCAMetric.h.
typedef Superclass2::ConfigurationType elastix::PCAMetric< TElastix >::ConfigurationType |
Definition at line 151 of file elxPCAMetric.h.
typedef itk::SmartPointer< const Self > elastix::PCAMetric< TElastix >::ConstPointer |
Definition at line 78 of file elxPCAMetric.h.
typedef Superclass1::CoordinateRepresentationType elastix::PCAMetric< TElastix >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 94 of file elxPCAMetric.h.
typedef Superclass1::DerivativeType elastix::PCAMetric< TElastix >::DerivativeType |
Definition at line 122 of file elxPCAMetric.h.
typedef Superclass2::ElastixPointer elastix::PCAMetric< TElastix >::ElastixPointer |
Definition at line 150 of file elxPCAMetric.h.
typedef Superclass2::ElastixType elastix::PCAMetric< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 149 of file elxPCAMetric.h.
typedef Superclass1::FixedImageConstPointer elastix::PCAMetric< TElastix >::FixedImageConstPointer |
Definition at line 100 of file elxPCAMetric.h.
typedef Superclass1::FixedImageLimiterOutputType elastix::PCAMetric< TElastix >::FixedImageLimiterOutputType |
Definition at line 134 of file elxPCAMetric.h.
typedef Superclass1::FixedImageLimiterType elastix::PCAMetric< TElastix >::FixedImageLimiterType |
Definition at line 131 of file elxPCAMetric.h.
typedef Superclass1::FixedImageMaskPointer elastix::PCAMetric< TElastix >::FixedImageMaskPointer |
Definition at line 118 of file elxPCAMetric.h.
typedef Superclass1::FixedImageMaskType elastix::PCAMetric< TElastix >::FixedImageMaskType |
Definition at line 117 of file elxPCAMetric.h.
typedef Superclass1::FixedImagePixelType elastix::PCAMetric< TElastix >::FixedImagePixelType |
Definition at line 124 of file elxPCAMetric.h.
typedef Superclass1::FixedImageRegionType elastix::PCAMetric< TElastix >::FixedImageRegionType |
Definition at line 101 of file elxPCAMetric.h.
typedef Superclass1::FixedImageSizeType elastix::PCAMetric< TElastix >::FixedImageSizeType |
Definition at line 102 of file elxPCAMetric.h.
typedef Superclass1::FixedImageType elastix::PCAMetric< TElastix >::FixedImageType |
Definition at line 99 of file elxPCAMetric.h.
typedef Superclass1::GradientImageFilterPointer elastix::PCAMetric< TElastix >::GradientImageFilterPointer |
Definition at line 116 of file elxPCAMetric.h.
typedef Superclass1::GradientImageFilterType elastix::PCAMetric< TElastix >::GradientImageFilterType |
Definition at line 115 of file elxPCAMetric.h.
typedef Superclass1::GradientImagePointer elastix::PCAMetric< TElastix >::GradientImagePointer |
Definition at line 114 of file elxPCAMetric.h.
typedef Superclass1::GradientImageType elastix::PCAMetric< TElastix >::GradientImageType |
Definition at line 113 of file elxPCAMetric.h.
typedef Superclass1::GradientPixelType elastix::PCAMetric< TElastix >::GradientPixelType |
Definition at line 112 of file elxPCAMetric.h.
typedef Superclass1::ImageSampleContainerPointer elastix::PCAMetric< TElastix >::ImageSampleContainerPointer |
Definition at line 130 of file elxPCAMetric.h.
typedef Superclass1::ImageSampleContainerType elastix::PCAMetric< TElastix >::ImageSampleContainerType |
Definition at line 128 of file elxPCAMetric.h.
typedef Superclass1::ImageSamplerPointer elastix::PCAMetric< TElastix >::ImageSamplerPointer |
Definition at line 127 of file elxPCAMetric.h.
typedef Superclass1::ImageSamplerType elastix::PCAMetric< TElastix >::ImageSamplerType |
Definition at line 126 of file elxPCAMetric.h.
typedef Superclass1::InputPointType elastix::PCAMetric< TElastix >::InputPointType |
Definition at line 105 of file elxPCAMetric.h.
typedef Superclass1::InterpolatorPointer elastix::PCAMetric< TElastix >::InterpolatorPointer |
Definition at line 110 of file elxPCAMetric.h.
typedef Superclass1::InterpolatorType elastix::PCAMetric< TElastix >::InterpolatorType |
Definition at line 109 of file elxPCAMetric.h.
typedef Superclass2::ITKBaseType elastix::PCAMetric< TElastix >::ITKBaseType |
Definition at line 155 of file elxPCAMetric.h.
typedef Superclass1::MeasureType elastix::PCAMetric< TElastix >::MeasureType |
Definition at line 121 of file elxPCAMetric.h.
typedef Superclass1::MovingImageConstPointer elastix::PCAMetric< TElastix >::MovingImageConstPointer |
Definition at line 98 of file elxPCAMetric.h.
typedef Superclass1::MovingImageDerivativeScalesType elastix::PCAMetric< TElastix >::MovingImageDerivativeScalesType |
Definition at line 138 of file elxPCAMetric.h.
typedef Superclass1::MovingImageLimiterOutputType elastix::PCAMetric< TElastix >::MovingImageLimiterOutputType |
Definition at line 136 of file elxPCAMetric.h.
typedef Superclass1::MovingImageLimiterType elastix::PCAMetric< TElastix >::MovingImageLimiterType |
Definition at line 132 of file elxPCAMetric.h.
typedef Superclass1::MovingImageMaskPointer elastix::PCAMetric< TElastix >::MovingImageMaskPointer |
Definition at line 120 of file elxPCAMetric.h.
typedef Superclass1::MovingImageMaskType elastix::PCAMetric< TElastix >::MovingImageMaskType |
Definition at line 119 of file elxPCAMetric.h.
typedef Superclass1::MovingImagePixelType elastix::PCAMetric< TElastix >::MovingImagePixelType |
Definition at line 97 of file elxPCAMetric.h.
typedef Superclass1::MovingImageRegionType elastix::PCAMetric< TElastix >::MovingImageRegionType |
Definition at line 125 of file elxPCAMetric.h.
typedef Superclass1::MovingImageType elastix::PCAMetric< TElastix >::MovingImageType |
Definition at line 96 of file elxPCAMetric.h.
typedef Superclass1::OutputPointType elastix::PCAMetric< TElastix >::OutputPointType |
Definition at line 106 of file elxPCAMetric.h.
typedef Superclass1::ParametersType elastix::PCAMetric< TElastix >::ParametersType |
Definition at line 123 of file elxPCAMetric.h.
typedef itk::SmartPointer< Self > elastix::PCAMetric< TElastix >::Pointer |
Definition at line 77 of file elxPCAMetric.h.
typedef Superclass1::RealType elastix::PCAMetric< TElastix >::RealType |
Definition at line 111 of file elxPCAMetric.h.
typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > elastix::PCAMetric< TElastix >::ReducedDimensionBSplineTransformBaseType |
Definition at line 165 of file elxPCAMetric.h.
typedef Superclass2::RegistrationPointer elastix::PCAMetric< TElastix >::RegistrationPointer |
Definition at line 154 of file elxPCAMetric.h.
typedef Superclass2::RegistrationType elastix::PCAMetric< TElastix >::RegistrationType |
Definition at line 153 of file elxPCAMetric.h.
typedef Superclass1::ScalarType elastix::PCAMetric< TElastix >::ScalarType |
Definition at line 95 of file elxPCAMetric.h.
typedef PCAMetric elastix::PCAMetric< TElastix >::Self |
Standard ITK-stuff.
Definition at line 72 of file elxPCAMetric.h.
typedef itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > elastix::PCAMetric< TElastix >::StackTransformType |
Definition at line 163 of file elxPCAMetric.h.
typedef itk::PCAMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::PCAMetric< TElastix >::Superclass1 |
Definition at line 75 of file elxPCAMetric.h.
typedef MetricBase< TElastix > elastix::PCAMetric< TElastix >::Superclass2 |
Definition at line 76 of file elxPCAMetric.h.
typedef Superclass1::TransformJacobianType elastix::PCAMetric< TElastix >::TransformJacobianType |
Definition at line 108 of file elxPCAMetric.h.
typedef Superclass1::TransformParametersType elastix::PCAMetric< TElastix >::TransformParametersType |
Definition at line 107 of file elxPCAMetric.h.
typedef Superclass1::TransformPointer elastix::PCAMetric< TElastix >::TransformPointer |
Definition at line 104 of file elxPCAMetric.h.
typedef Superclass1::TransformType elastix::PCAMetric< TElastix >::TransformType |
Definition at line 103 of file elxPCAMetric.h.
|
inlineprotected |
The constructor.
Definition at line 182 of file elxPCAMetric.h.
|
inlineoverrideprotectedvirtual |
The destructor.
Reimplemented from itk::PCAMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
Definition at line 184 of file elxPCAMetric.h.
|
private |
The private constructor.
|
overridevirtual |
Do some things before each resolution:
Reimplemented from elastix::BaseComponent.
elastix::PCAMetric< TElastix >::elxClassNameMacro | ( | "PCAMetric< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "PCAMetric")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::MetricBase< TElastix >.
|
overridevirtual |
Sets up a timer to measure the initialization time and calls the Superclass' implementation.
Reimplemented from itk::PCAMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
elastix::PCAMetric< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | |||
) |
The fixed image dimension.
elastix::PCAMetric< 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 ![]() |
![]() |