Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxVarianceOverLastDimensionMetric.h>
Compute the sum of variances over the slowest varying dimension in the moving image.
For a description of this metric see the paper:
Nonrigid registration of dynamic medical imaging data using nD+t B-splines and a groupwise optimization approach, C.T. Metz, S. Klein, M. Schaap, T. van Walsum and W.J. Niessen, Medical Image Analysis, in press.
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".
Definition at line 67 of file elxVarianceOverLastDimensionMetric.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::VarianceOverLastDimensionImageMetric< 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 | |
VarianceOverLastDimensionMetric () | |
~VarianceOverLastDimensionMetric () override | |
Protected Member Functions inherited from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType > | |
void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
VarianceOverLastDimensionImageMetric () | |
~VarianceOverLastDimensionImageMetric () 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 &) |
VarianceOverLastDimensionMetric (const Self &) | |
typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::BSplineTransformBaseType |
Typedef's for the B-spline transform.
Definition at line 164 of file elxVarianceOverLastDimensionMetric.h.
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::CombinationTransformType |
Definition at line 166 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass2::ConfigurationPointer elastix::VarianceOverLastDimensionMetric< TElastix >::ConfigurationPointer |
Definition at line 157 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass2::ConfigurationType elastix::VarianceOverLastDimensionMetric< TElastix >::ConfigurationType |
Definition at line 156 of file elxVarianceOverLastDimensionMetric.h.
typedef itk::SmartPointer< const Self > elastix::VarianceOverLastDimensionMetric< TElastix >::ConstPointer |
Definition at line 83 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::CoordinateRepresentationType elastix::VarianceOverLastDimensionMetric< TElastix >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 99 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::DerivativeType elastix::VarianceOverLastDimensionMetric< TElastix >::DerivativeType |
Definition at line 127 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass2::ElastixPointer elastix::VarianceOverLastDimensionMetric< TElastix >::ElastixPointer |
Definition at line 155 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass2::ElastixType elastix::VarianceOverLastDimensionMetric< TElastix >::ElastixType |
Typedef's inherited from Elastix.
Definition at line 154 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageConstPointer elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageConstPointer |
Definition at line 105 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageLimiterOutputType elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageLimiterOutputType |
Definition at line 139 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageLimiterType elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageLimiterType |
Definition at line 136 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageMaskPointer elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageMaskPointer |
Definition at line 123 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageMaskType elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageMaskType |
Definition at line 122 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImagePixelType elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImagePixelType |
Definition at line 129 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageRegionType elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageRegionType |
Definition at line 106 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageSizeType elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageSizeType |
Definition at line 107 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::FixedImageType elastix::VarianceOverLastDimensionMetric< TElastix >::FixedImageType |
Definition at line 104 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::GradientImageFilterPointer elastix::VarianceOverLastDimensionMetric< TElastix >::GradientImageFilterPointer |
Definition at line 121 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::GradientImageFilterType elastix::VarianceOverLastDimensionMetric< TElastix >::GradientImageFilterType |
Definition at line 120 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::GradientImagePointer elastix::VarianceOverLastDimensionMetric< TElastix >::GradientImagePointer |
Definition at line 119 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::GradientImageType elastix::VarianceOverLastDimensionMetric< TElastix >::GradientImageType |
Definition at line 118 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::GradientPixelType elastix::VarianceOverLastDimensionMetric< TElastix >::GradientPixelType |
Definition at line 117 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::ImageSampleContainerPointer elastix::VarianceOverLastDimensionMetric< TElastix >::ImageSampleContainerPointer |
Definition at line 135 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::ImageSampleContainerType elastix::VarianceOverLastDimensionMetric< TElastix >::ImageSampleContainerType |
Definition at line 133 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::ImageSamplerPointer elastix::VarianceOverLastDimensionMetric< TElastix >::ImageSamplerPointer |
Definition at line 132 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::ImageSamplerType elastix::VarianceOverLastDimensionMetric< TElastix >::ImageSamplerType |
Definition at line 131 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::InputPointType elastix::VarianceOverLastDimensionMetric< TElastix >::InputPointType |
Definition at line 110 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::InterpolatorPointer elastix::VarianceOverLastDimensionMetric< TElastix >::InterpolatorPointer |
Definition at line 115 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::InterpolatorType elastix::VarianceOverLastDimensionMetric< TElastix >::InterpolatorType |
Definition at line 114 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass2::ITKBaseType elastix::VarianceOverLastDimensionMetric< TElastix >::ITKBaseType |
Definition at line 160 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MeasureType elastix::VarianceOverLastDimensionMetric< TElastix >::MeasureType |
Definition at line 126 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageConstPointer elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageConstPointer |
Definition at line 103 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageDerivativeScalesType elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageDerivativeScalesType |
Definition at line 143 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageLimiterOutputType elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageLimiterOutputType |
Definition at line 141 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageLimiterType elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageLimiterType |
Definition at line 137 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageMaskPointer elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageMaskPointer |
Definition at line 125 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageMaskType elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageMaskType |
Definition at line 124 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImagePixelType elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImagePixelType |
Definition at line 102 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageRegionType elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageRegionType |
Definition at line 130 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::MovingImageType elastix::VarianceOverLastDimensionMetric< TElastix >::MovingImageType |
Definition at line 101 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::OutputPointType elastix::VarianceOverLastDimensionMetric< TElastix >::OutputPointType |
Definition at line 111 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::ParametersType elastix::VarianceOverLastDimensionMetric< TElastix >::ParametersType |
Definition at line 128 of file elxVarianceOverLastDimensionMetric.h.
typedef itk::SmartPointer< Self > elastix::VarianceOverLastDimensionMetric< TElastix >::Pointer |
Definition at line 82 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::RealType elastix::VarianceOverLastDimensionMetric< TElastix >::RealType |
Definition at line 116 of file elxVarianceOverLastDimensionMetric.h.
typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension - 1 > elastix::VarianceOverLastDimensionMetric< TElastix >::ReducedDimensionBSplineTransformBaseType |
Definition at line 170 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass2::RegistrationPointer elastix::VarianceOverLastDimensionMetric< TElastix >::RegistrationPointer |
Definition at line 159 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass2::RegistrationType elastix::VarianceOverLastDimensionMetric< TElastix >::RegistrationType |
Definition at line 158 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::ScalarType elastix::VarianceOverLastDimensionMetric< TElastix >::ScalarType |
Definition at line 100 of file elxVarianceOverLastDimensionMetric.h.
typedef VarianceOverLastDimensionMetric elastix::VarianceOverLastDimensionMetric< TElastix >::Self |
Standard ITK-stuff.
Definition at line 77 of file elxVarianceOverLastDimensionMetric.h.
typedef itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::StackTransformType |
Definition at line 168 of file elxVarianceOverLastDimensionMetric.h.
typedef itk::VarianceOverLastDimensionImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::VarianceOverLastDimensionMetric< TElastix >::Superclass1 |
Definition at line 80 of file elxVarianceOverLastDimensionMetric.h.
typedef MetricBase< TElastix > elastix::VarianceOverLastDimensionMetric< TElastix >::Superclass2 |
Definition at line 81 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::TransformJacobianType elastix::VarianceOverLastDimensionMetric< TElastix >::TransformJacobianType |
Definition at line 113 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::TransformParametersType elastix::VarianceOverLastDimensionMetric< TElastix >::TransformParametersType |
Definition at line 112 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::TransformPointer elastix::VarianceOverLastDimensionMetric< TElastix >::TransformPointer |
Definition at line 109 of file elxVarianceOverLastDimensionMetric.h.
typedef Superclass1::TransformType elastix::VarianceOverLastDimensionMetric< TElastix >::TransformType |
Definition at line 108 of file elxVarianceOverLastDimensionMetric.h.
|
inlineprotected |
The constructor.
Definition at line 193 of file elxVarianceOverLastDimensionMetric.h.
|
inlineoverrideprotected |
The destructor.
Definition at line 195 of file elxVarianceOverLastDimensionMetric.h.
|
private |
The private constructor.
|
overridevirtual |
Do some things before each resolution:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Do some things before registration:
Reimplemented from elastix::BaseComponent.
elastix::VarianceOverLastDimensionMetric< TElastix >::elxClassNameMacro | ( | "VarianceOverLastDimensionMetric< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "VarianceOverLastDimensionMetric")
|
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::VarianceOverLastDimensionMetric< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | |||
) |
The fixed image dimension.
elastix::VarianceOverLastDimensionMetric< 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 |