go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
elastix::VarianceOverLastDimensionMetric< TElastix > Class Template Reference

#include <elxVarianceOverLastDimensionMetric.h>

Detailed Description

template<class TElastix>
class elastix::VarianceOverLastDimensionMetric< TElastix >

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:

Parameters:

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 68 of file elxVarianceOverLastDimensionMetric.h.

Inheritance diagram for elastix::VarianceOverLastDimensionMetric< TElastix >:
Inheritance graph
[legend]

Public Types

typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension > BSplineTransformBaseType
 
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass1::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass1::DerivativeType DerivativeType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
 
typedef Superclass1::FixedImageLimiterType FixedImageLimiterType
 
typedef Superclass1::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass1::FixedImageMaskType FixedImageMaskType
 
typedef Superclass1::FixedImagePixelType FixedImagePixelType
 
typedef Superclass1::FixedImageRegionType FixedImageRegionType
 
typedef Superclass1::FixedImageSizeType FixedImageSizeType
 
typedef Superclass1::FixedImageType FixedImageType
 
typedef Superclass1::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass1::GradientImageFilterType GradientImageFilterType
 
typedef Superclass1::GradientImagePointer GradientImagePointer
 
typedef Superclass1::GradientImageType GradientImageType
 
typedef Superclass1::GradientPixelType GradientPixelType
 
typedef Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass1::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass1::ImageSamplerPointer ImageSamplerPointer
 
typedef Superclass1::ImageSamplerType ImageSamplerType
 
typedef Superclass1::InputPointType InputPointType
 
typedef Superclass1::InterpolatorPointer InterpolatorPointer
 
typedef Superclass1::InterpolatorType InterpolatorType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MeasureType MeasureType
 
typedef Superclass1::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
 
typedef Superclass1::MovingImageLimiterType MovingImageLimiterType
 
typedef Superclass1::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass1::MovingImageMaskType MovingImageMaskType
 
typedef Superclass1::MovingImagePixelType MovingImagePixelType
 
typedef Superclass1::MovingImageRegionType MovingImageRegionType
 
typedef Superclass1::MovingImageType MovingImageType
 
typedef Superclass1::OutputPointType OutputPointType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass1::RealType RealType
 
typedef itk::AdvancedBSplineDeformableTransformBase< ScalarType, FixedImageDimension-1 > ReducedDimensionBSplineTransformBaseType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef Superclass1::ScalarType ScalarType
 
typedef VarianceOverLastDimensionMetric Self
 
typedef itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > StackTransformType
 
typedef itk::VarianceOverLastDimensionImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageTypeSuperclass1
 
typedef MetricBase< TElastix > Superclass2
 
typedef Superclass1::TransformJacobianType TransformJacobianType
 
typedef Superclass1::TransformParametersType TransformParametersType
 
typedef Superclass1::TransformPointer TransformPointer
 
typedef Superclass1::TransformType TransformType
 
- Public Types inherited from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
 
typedef Superclass::FixedImageLimiterType FixedImageLimiterType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef Superclass::FixedImagePixelType FixedImagePixelType
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef FixedImageRegionType::SizeType FixedImageSizeType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass::GradientImageFilterType GradientImageFilterType
 
typedef Superclass::GradientImagePointer GradientImagePointer
 
typedef Superclass::GradientImageType GradientImageType
 
typedef Superclass::GradientPixelType GradientPixelType
 
typedef Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass::ImageSamplerPointer ImageSamplerPointer
 
typedef Superclass::ImageSamplerType ImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
 
typedef Superclass::MovingImageLimiterType MovingImageLimiterType
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImageRegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef VarianceOverLastDimensionImageMetric Self
 
typedef AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageTypeSuperclass
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > AdvancedTransformType
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > BSplineOrder1TransformType
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > BSplineOrder2TransformType
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > BSplineOrder3TransformType
 
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef FixedImageLimiterType::OutputType FixedImageLimiterOutputType
 
typedef FixedImageLimiterType::Pointer FixedImageLimiterPointer
 
typedef LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef FixedImageType::PixelType FixedImagePixelType
 
typedef FixedImageType::Pointer FixedImagePointer
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass::GradientImageFilterType GradientImageFilterType
 
typedef Superclass::GradientImagePointer GradientImagePointer
 
typedef Superclass::GradientImageType GradientImageType
 
typedef Superclass::GradientPixelType GradientPixelType
 
typedef vnl_sparse_matrix< HessianValueTypeHessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
 
typedef ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase< FixedImageTypeImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef FixedArray< double, Self::MovingImageDimension > MovingImageDerivativeScalesType
 
typedef MovingImageLimiterType::OutputType MovingImageLimiterOutputType
 
typedef MovingImageLimiterType::Pointer MovingImageLimiterPointer
 
typedef LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef MovingImageType::Pointer MovingImagePointer
 
typedef MovingImageType::RegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef AdvancedTransformType::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef TransformType::ScalarType ScalarType
 
typedef AdvancedImageToImageMetric Self
 
typedef ImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageTypeSuperclass
 
typedef itk::MultiThreader ThreaderType
 
typedef ThreaderType::ThreadInfoStruct ThreadInfoType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from elastix::MetricBase< TElastix >
typedef itk::AdvancedImageToImageMetric< FixedImageType, MovingImageTypeAdvancedMetricType
 
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef ITKBaseType::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
 
typedef FixedImageType::PointType FixedPointType
 
typedef FixedPointType::ValueType FixedPointValueType
 
typedef AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
 
typedef itk::SingleValuedCostFunction ITKBaseType
 
typedef ITKBaseType::MeasureType MeasureType
 
typedef AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
 
typedef MovingImageType::PointType MovingPointType
 
typedef MovingPointType::ValueType MovingPointValueType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef MetricBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef ElastixType::ConfigurationPointer ConfigurationPointer
 
typedef ElastixType::ConfigurationType ConfigurationType
 
typedef ElastixType::Pointer ElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

virtual void BeforeEachResolution (void)
 
virtual void BeforeRegistration (void)
 
 elxClassNameMacro ("VarianceOverLastDimensionMetric")
 
virtual const char * GetClassName () const
 
virtual void Initialize (void) throw ( itk::ExceptionObject )
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
- Public Member Functions inherited from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const
 
virtual int GetNumSamplesLastDimension () const
 
virtual bool GetSampleLastDimensionRandomly () const
 
virtual MeasureType GetValue (const TransformParametersType &parameters) const
 
virtual void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SetGridSize (FixedImageSizeType _arg)
 
virtual void SetNumAdditionalSamplesFixed (unsigned int _arg)
 
virtual void SetNumSamplesLastDimension (unsigned int _arg)
 
virtual void SetReducedDimensionIndex (unsigned int _arg)
 
virtual void SetSampleLastDimensionRandomly (bool _arg)
 
virtual void SetSubtractMean (bool _arg)
 
virtual void SetTransformIsStackTransform (bool _arg)
 
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const FixedImageLimiterTypeGetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerTypeGetImageSampler (void) const
 
virtual const MovingImageDerivativeScalesTypeGetMovingImageDerivativeScales ()
 
virtual const MovingImageLimiterTypeGetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
virtual bool GetScaleGradientWithRespectToMovingImageOrientation () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
const AdvancedTransformTypeGetTransform (void) const
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const boolGetUseMultiThread ()
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MetricBase< TElastix >::MovingImageType::ImageDimension)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, MetricBase< TElastix >::FixedImageType::ImageDimension)
 
virtual void SetFixedImageLimiter (FixedImageLimiterType *_arg)
 
virtual void SetFixedLimitRangeRatio (double _arg)
 
virtual void SetImageSampler (ImageSamplerType *_arg)
 
virtual void SetMovingImageDerivativeScales (MovingImageDerivativeScalesType _arg)
 
virtual void SetMovingImageLimiter (MovingImageLimiterType *_arg)
 
virtual void SetMovingLimitRangeRatio (double _arg)
 
virtual void SetNumberOfThreads (ThreadIdType numberOfThreads)
 
virtual void SetRequiredRatioOfValidSamples (double _arg)
 
virtual void SetScaleGradientWithRespectToMovingImageOrientation (bool _arg)
 
virtual void SetTransform (AdvancedTransformType *arg)
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void SetUseMovingImageDerivativeScales (bool _arg)
 
virtual void SetUseMultiThread (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 
virtual void UseMultiThreadOff ()
 
virtual void UseMultiThreadOn ()
 
- Public Member Functions inherited from elastix::MetricBase< TElastix >
virtual void AfterEachIterationBase (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual ImageSamplerBaseTypeGetAdvancedMetricImageSampler (void) const
 
virtual bool GetAdvancedMetricUseImageSampler (void) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) 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)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
virtual ConfigurationTypeGetConfiguration (void) const
 
virtual ElastixTypeGetElastix (void) const
 
virtual RegistrationPointer GetRegistration (void) const
 
virtual void SetConfiguration (ConfigurationType *_arg)
 
virtual void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
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 BeforeRegistrationBase (void)
 
std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) const
 
virtual const char * elxGetClassName (void) const
 
virtual const char * GetComponentLabel (void) const
 
virtual void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static Pointer New ()
 

Protected Member Functions

 VarianceOverLastDimensionMetric ()
 
virtual ~VarianceOverLastDimensionMetric ()
 
- Protected Member Functions inherited from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
void EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 VarianceOverLastDimensionImageMetric ()
 
virtual ~VarianceOverLastDimensionImageMetric ()
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
 AdvancedImageToImageMetric ()
 
virtual void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const
 
virtual void CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (void)
 
virtual void CheckForBSplineTransform (void)
 
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
 
virtual void ComputeFixedImageExtrema (const FixedImageType *image, const FixedImageRegionType &region)
 
virtual void ComputeMovingImageExtrema (const MovingImageType *image, const MovingImageRegionType &region)
 
virtual bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const
 
virtual bool EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const
 
virtual void InitializeImageSampler (void) throw ( ExceptionObject )
 
virtual void InitializeLimiters (void)
 
virtual void InitializeThreadingParameters (void) const
 
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct)
 
void LaunchGetValueAndDerivativeThreaderCallback (void) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetUseFixedImageLimiter (bool _arg)
 
virtual void SetUseImageSampler (bool _arg)
 
virtual void SetUseMovingImageLimiter (bool _arg)
 
virtual void ThreadedGetValueAndDerivative (ThreadIdType threadID)
 
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
 
virtual ~AdvancedImageToImageMetric ()
 
- Protected Member Functions inherited from elastix::MetricBase< TElastix >
virtual MeasureType GetExactValue (const ParametersType &parameters)
 
 MetricBase ()
 
virtual ~MetricBase ()
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()
 
virtual ~BaseComponentSE ()
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
 
virtual ~BaseComponent ()
 

Private Member Functions

void operator= (const Self &)
 
 VarianceOverLastDimensionMetric (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef Superclass::BSplineInterpolatorType BSplineInterpolatorType
 
typedef Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
 
typedef itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension > FixedImageContinuousIndexType
 
typedef Superclass::FixedImageIndexType FixedImageIndexType
 
typedef Superclass::FixedImageIndexValueType FixedImageIndexValueType
 
typedef Superclass::FixedImagePointType FixedImagePointType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageDerivativeType MovingImageDerivativeType
 
typedef Superclass::MovingImageIndexType MovingImageIndexType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
- Protected Types inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef BSplineInterpolatorFloatType::Pointer BSplineInterpolatorFloatPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, floatBSplineInterpolatorFloatType
 
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, doubleBSplineInterpolatorType
 
typedef CentralDifferenceGradientFilterType::Pointer CentralDifferenceGradientFilterPointer
 
typedef GradientImageFilter< MovingImageType, RealType, RealTypeCentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef FixedImageIndexType::IndexValueType FixedImageIndexValueType
 
typedef TransformType::InputPointType FixedImagePointType
 
typedef LinearInterpolatorType::Pointer LinearInterpolatorPointer
 
typedef AdvancedLinearInterpolateImageFunction< MovingImageType, CoordinateRepresentationTypeLinearInterpolatorType
 
typedef InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
 
typedef BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
 
typedef MovingImageType::IndexType MovingImageIndexType
 
typedef TransformType::OutputPointType MovingImagePointType
 
typedef AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef ReducedBSplineInterpolatorType::Pointer ReducedBSplineInterpolatorPointer
 
typedef ReducedDimensionBSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, doubleReducedBSplineInterpolatorType
 
- Protected Types inherited from elastix::MetricBase< TElastix >
typedef ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
 
typedef itk::ImageGridSampler< FixedImageTypeExactMetricImageSamplerType
 
typedef ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
 
typedef ITKBaseType::ParametersType ParametersType
 
- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static ITK_THREAD_RETURN_TYPE AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
AdvancedTransformType::Pointer m_AdvancedTransform
 
BSplineInterpolatorPointer m_BSplineInterpolator
 
BSplineInterpolatorFloatPointer m_BSplineInterpolatorFloat
 
CentralDifferenceGradientFilterPointer m_CentralDifferenceGradientFilter
 
FixedImageLimiterPointer m_FixedImageLimiter
 
FixedImageLimiterOutputType m_FixedImageMaxLimit
 
FixedImageLimiterOutputType m_FixedImageMinLimit
 
FixedImagePixelType m_FixedImageTrueMax
 
FixedImagePixelType m_FixedImageTrueMin
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
ImageSamplerPointer m_ImageSampler
 
bool m_InterpolatorIsBSpline
 
bool m_InterpolatorIsBSplineFloat
 
bool m_InterpolatorIsLinear
 
bool m_InterpolatorIsReducedBSpline
 
LinearInterpolatorPointer m_LinearInterpolator
 
MovingImageLimiterPointer m_MovingImageLimiter
 
MovingImageLimiterOutputType m_MovingImageMaxLimit
 
MovingImageLimiterOutputType m_MovingImageMinLimit
 
MovingImagePixelType m_MovingImageTrueMax
 
MovingImagePixelType m_MovingImageTrueMin
 
ReducedBSplineInterpolatorPointer m_ReducedBSplineInterpolator
 
MultiThreaderParameterType m_ThreaderMetricParameters
 
bool m_TransformIsAdvanced
 
bool m_TransformIsBSpline
 
bool m_UseMetricSingleThreaded
 
bool m_UseMultiThread
 
bool m_UseOpenMP
 
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
 
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
 
ExactMetricImageSamplerPointer m_ExactMetricSampler
 
bool m_ShowExactMetricValue
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration
 
ElastixPointer m_Elastix
 
RegistrationPointer m_Registration
 

Member Typedef Documentation

Typedef's for the B-spline transform.

Definition at line 165 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::CombinationTransformType

Definition at line 167 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 158 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 157 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::VarianceOverLastDimensionMetric< TElastix >::ConstPointer

Definition at line 84 of file elxVarianceOverLastDimensionMetric.h.

Typedefs from the superclass.

Definition at line 100 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 128 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 156 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass2::ElastixType elastix::VarianceOverLastDimensionMetric< TElastix >::ElastixType

Typedef's inherited from Elastix.

Definition at line 155 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 106 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 140 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 137 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 124 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 123 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 130 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 107 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 108 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 105 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 122 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 121 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 120 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 119 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 118 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 136 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 134 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 133 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 132 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 111 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 116 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 115 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::VarianceOverLastDimensionMetric< TElastix >::ITKBaseType

Definition at line 161 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass1::MeasureType elastix::VarianceOverLastDimensionMetric< TElastix >::MeasureType

Definition at line 127 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 104 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 144 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 142 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 138 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 126 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 125 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 103 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 131 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 102 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 112 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 129 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::VarianceOverLastDimensionMetric< TElastix >::Pointer

Definition at line 83 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass1::RealType elastix::VarianceOverLastDimensionMetric< TElastix >::RealType

Definition at line 117 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 171 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 160 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 159 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef Superclass1::ScalarType elastix::VarianceOverLastDimensionMetric< TElastix >::ScalarType

Definition at line 101 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef VarianceOverLastDimensionMetric elastix::VarianceOverLastDimensionMetric< TElastix >::Self

Standard ITK-stuff.

Definition at line 78 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef itk::StackTransform< ScalarType, FixedImageDimension, MovingImageDimension > elastix::VarianceOverLastDimensionMetric< TElastix >::StackTransformType

Definition at line 169 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef itk::VarianceOverLastDimensionImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::VarianceOverLastDimensionMetric< TElastix >::Superclass1

Definition at line 81 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
typedef MetricBase< TElastix > elastix::VarianceOverLastDimensionMetric< TElastix >::Superclass2

Definition at line 82 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 114 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 113 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 110 of file elxVarianceOverLastDimensionMetric.h.

Definition at line 109 of file elxVarianceOverLastDimensionMetric.h.

Constructor & Destructor Documentation

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::VarianceOverLastDimensionMetric ( )
inlineprotected

The constructor.

Definition at line 194 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
virtual elastix::VarianceOverLastDimensionMetric< TElastix >::~VarianceOverLastDimensionMetric ( )
inlineprotectedvirtual

The destructor.

Definition at line 196 of file elxVarianceOverLastDimensionMetric.h.

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::VarianceOverLastDimensionMetric ( const Self )
private

The private constructor.

Member Function Documentation

template<class TElastix >
virtual void elastix::VarianceOverLastDimensionMetric< TElastix >::BeforeEachResolution ( void  )
virtual

Do some things before each resolution:

  • Set CheckNumberOfSamples setting
  • Set UseNormalization setting

Reimplemented from elastix::BaseComponent.

template<class TElastix >
virtual void elastix::VarianceOverLastDimensionMetric< TElastix >::BeforeRegistration ( void  )
virtual

Do some things before registration:

  • check the direction cosines

Reimplemented from elastix::BaseComponent.

template<class TElastix >
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")

template<class TElastix >
virtual const char* elastix::VarianceOverLastDimensionMetric< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

template<class TElastix >
virtual void elastix::VarianceOverLastDimensionMetric< TElastix >::Initialize ( void  )
throw (itk::ExceptionObject
)
virtual

Sets up a timer to measure the initialization time and calls the Superclass' implementation.

Reimplemented from itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)

The fixed image dimension.

template<class TElastix >
elastix::VarianceOverLastDimensionMetric< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
MovingImageType::ImageDimension   
)

The moving image dimension.

template<class TElastix >
static Pointer elastix::VarianceOverLastDimensionMetric< TElastix >::New ( )
static

Method for creation through the object factory.

template<class TElastix >
void elastix::VarianceOverLastDimensionMetric< TElastix >::operator= ( const Self )
private

The private copy constructor.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo