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 Types | Protected Member Functions | Private Member Functions | Private Attributes
itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage > Class Template Reference

#include <itkVarianceOverLastDimensionImageMetric.h>

Detailed Description

template<class TFixedImage, class TMovingImage>
class itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >

Compute the sum of variances over the slowest varying dimension in the moving image.

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:

Definition at line 52 of file itkVarianceOverLastDimensionImageMetric.h.

+ Inheritance diagram for itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >:

Public Types

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< TFixedImage, TMovingImage > Superclass
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
typedef AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > AdvancedTransformType
 
typedef BSplineOrder1TransformType::Pointer BSplineOrder1TransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > BSplineOrder1TransformType
 
typedef BSplineOrder2TransformType::Pointer BSplineOrder2TransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > BSplineOrder2TransformType
 
typedef BSplineOrder3TransformType::Pointer BSplineOrder3TransformPointer
 
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 ImageMaskSpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskSpatialObject2Type
 
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 ImageMaskSpatialObject< itkGetStaticConstMacro(MovingImageDimension) > MovingImageMaskSpatialObject2Type
 
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< TFixedImage, TMovingImage > Superclass
 
typedef itk::PlatformMultiThreader ThreaderType
 
typedef ThreaderType::WorkUnitInfo ThreadInfoType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 

Public Member Functions

virtual const char * GetClassName () const
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const override
 
virtual int GetNumSamplesLastDimension () const
 
virtual bool GetSampleLastDimensionRandomly () const
 
MeasureType GetValue (const TransformParametersType &parameters) const override
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
 
void Initialize (void) override
 
 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< TFixedImage, TMovingImage >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const char * GetClassName () 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 override
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const boolGetUseMultiThread ()
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::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 SetNumberOfWorkUnits (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 ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

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< TFixedImage, TMovingImage >
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 Member Functions

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< TFixedImage, TMovingImage >
 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
 

Private Member Functions

void operator= (const Self &)
 
void SampleRandom (const int n, const int m, std::vector< int > &numbers) const
 
 VarianceOverLastDimensionImageMetric (const Self &)
 

Private Attributes

FixedImageSizeType m_GridSize
 
float m_InitialVariance
 
unsigned int m_NumAdditionalSamplesFixed
 
unsigned int m_NumSamplesLastDimension
 
unsigned int m_ReducedDimensionIndex
 
bool m_SampleLastDimensionRandomly
 
bool m_SubtractMean
 
bool m_TransformIsStackTransform
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueAndDerivativeThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
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
 
double m_FixedLimitRangeRatio
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
AlignedGetValuePerThreadStruct * m_GetValuePerThreadVariables
 
ThreadIdType m_GetValuePerThreadVariablesSize
 
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
 
double m_MovingLimitRangeRatio
 
ReducedBSplineInterpolatorPointer m_ReducedBSplineInterpolator
 
MultiThreaderParameterType m_ThreaderMetricParameters
 
bool m_TransformIsAdvanced
 
bool m_TransformIsBSpline
 
bool m_UseMetricSingleThreaded
 
bool m_UseMultiThread
 
bool m_UseOpenMP
 

Member Typedef Documentation

◆ BSplineInterpolatorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::BSplineInterpolatorType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::BSplineInterpolatorType
protected

Definition at line 172 of file itkVarianceOverLastDimensionImageMetric.h.

◆ CentralDifferenceGradientFilterType

template<class TFixedImage , class TMovingImage >
typedef Superclass::CentralDifferenceGradientFilterType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::CentralDifferenceGradientFilterType
protected

Definition at line 173 of file itkVarianceOverLastDimensionImageMetric.h.

◆ ConstPointer

template<class TFixedImage , class TMovingImage >
typedef SmartPointer< const Self > itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::ConstPointer

Definition at line 62 of file itkVarianceOverLastDimensionImageMetric.h.

◆ CoordinateRepresentationType

template<class TFixedImage , class TMovingImage >
typedef Superclass::CoordinateRepresentationType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType

Typedefs from the superclass.

Definition at line 88 of file itkVarianceOverLastDimensionImageMetric.h.

◆ DerivativeType

template<class TFixedImage , class TMovingImage >
typedef Superclass::DerivativeType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::DerivativeType

Definition at line 113 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageConstPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageConstPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer

Definition at line 93 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageContinuousIndexType

template<class TFixedImage , class TMovingImage >
typedef itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension > itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageContinuousIndexType
protected

Definition at line 169 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageIndexType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageIndexType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageIndexType
protected

Protected Typedefs Typedefs inherited from superclass

Definition at line 164 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageIndexValueType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageIndexValueType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageIndexValueType
protected

Definition at line 165 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageLimiterOutputType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageLimiterOutputType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterOutputType

Definition at line 125 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageLimiterType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageLimiterType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterType

Definition at line 122 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageMaskPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageMaskPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer

Definition at line 109 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageMaskType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageMaskType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType

Definition at line 108 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImagePixelType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImagePixelType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType

Definition at line 115 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImagePointType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImagePointType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImagePointType
protected

Definition at line 167 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageRegionType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageRegionType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType

Definition at line 64 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageSizeType

template<class TFixedImage , class TMovingImage >
typedef FixedImageRegionType::SizeType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageSizeType

Definition at line 65 of file itkVarianceOverLastDimensionImageMetric.h.

◆ FixedImageType

template<class TFixedImage , class TMovingImage >
typedef Superclass::FixedImageType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::FixedImageType

Definition at line 92 of file itkVarianceOverLastDimensionImageMetric.h.

◆ GradientImageFilterPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::GradientImageFilterPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer

Definition at line 107 of file itkVarianceOverLastDimensionImageMetric.h.

◆ GradientImageFilterType

template<class TFixedImage , class TMovingImage >
typedef Superclass::GradientImageFilterType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType

Definition at line 106 of file itkVarianceOverLastDimensionImageMetric.h.

◆ GradientImagePointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::GradientImagePointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GradientImagePointer

Definition at line 105 of file itkVarianceOverLastDimensionImageMetric.h.

◆ GradientImageType

template<class TFixedImage , class TMovingImage >
typedef Superclass::GradientImageType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GradientImageType

Definition at line 104 of file itkVarianceOverLastDimensionImageMetric.h.

◆ GradientPixelType

template<class TFixedImage , class TMovingImage >
typedef Superclass::GradientPixelType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GradientPixelType

Definition at line 103 of file itkVarianceOverLastDimensionImageMetric.h.

◆ ImageSampleContainerPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::ImageSampleContainerPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerPointer

Definition at line 121 of file itkVarianceOverLastDimensionImageMetric.h.

◆ ImageSampleContainerType

template<class TFixedImage , class TMovingImage >
typedef Superclass::ImageSampleContainerType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerType

Definition at line 119 of file itkVarianceOverLastDimensionImageMetric.h.

◆ ImageSamplerPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::ImageSamplerPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::ImageSamplerPointer

Definition at line 118 of file itkVarianceOverLastDimensionImageMetric.h.

◆ ImageSamplerType

template<class TFixedImage , class TMovingImage >
typedef Superclass::ImageSamplerType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::ImageSamplerType

Definition at line 117 of file itkVarianceOverLastDimensionImageMetric.h.

◆ InputPointType

template<class TFixedImage , class TMovingImage >
typedef Superclass::InputPointType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::InputPointType

Definition at line 96 of file itkVarianceOverLastDimensionImageMetric.h.

◆ InterpolatorPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::InterpolatorPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer

Definition at line 101 of file itkVarianceOverLastDimensionImageMetric.h.

◆ InterpolatorType

template<class TFixedImage , class TMovingImage >
typedef Superclass::InterpolatorType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::InterpolatorType

Definition at line 100 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MeasureType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MeasureType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MeasureType

Definition at line 112 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageConstPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageConstPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer

Definition at line 91 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageContinuousIndexType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageContinuousIndexType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageContinuousIndexType
protected

Definition at line 171 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageDerivativeScalesType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageDerivativeScalesType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType

Definition at line 129 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageDerivativeType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageDerivativeType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeType
protected

Definition at line 174 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageIndexType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageIndexType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageIndexType
protected

Definition at line 166 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageLimiterOutputType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageLimiterOutputType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterOutputType

Definition at line 127 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageLimiterType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageLimiterType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterType

Definition at line 123 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageMaskPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageMaskPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer

Definition at line 111 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageMaskType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageMaskType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType

Definition at line 110 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImagePixelType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImagePixelType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType

Definition at line 90 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImagePointType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImagePointType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImagePointType
protected

Definition at line 170 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageRegionType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageRegionType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType

Definition at line 116 of file itkVarianceOverLastDimensionImageMetric.h.

◆ MovingImageType

template<class TFixedImage , class TMovingImage >
typedef Superclass::MovingImageType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::MovingImageType

Definition at line 89 of file itkVarianceOverLastDimensionImageMetric.h.

◆ NonZeroJacobianIndicesType

template<class TFixedImage , class TMovingImage >
typedef Superclass::NonZeroJacobianIndicesType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::NonZeroJacobianIndicesType
protected

Definition at line 175 of file itkVarianceOverLastDimensionImageMetric.h.

◆ OutputPointType

template<class TFixedImage , class TMovingImage >
typedef Superclass::OutputPointType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::OutputPointType

Definition at line 97 of file itkVarianceOverLastDimensionImageMetric.h.

◆ ParametersType

template<class TFixedImage , class TMovingImage >
typedef Superclass::ParametersType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::ParametersType

Definition at line 114 of file itkVarianceOverLastDimensionImageMetric.h.

◆ Pointer

template<class TFixedImage , class TMovingImage >
typedef SmartPointer< Self > itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::Pointer

Definition at line 61 of file itkVarianceOverLastDimensionImageMetric.h.

◆ RealType

template<class TFixedImage , class TMovingImage >
typedef Superclass::RealType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::RealType

Definition at line 102 of file itkVarianceOverLastDimensionImageMetric.h.

◆ Self

template<class TFixedImage , class TMovingImage >
typedef VarianceOverLastDimensionImageMetric itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::Self

Standard class typedefs.

Definition at line 58 of file itkVarianceOverLastDimensionImageMetric.h.

◆ Superclass

template<class TFixedImage , class TMovingImage >
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::Superclass

Definition at line 60 of file itkVarianceOverLastDimensionImageMetric.h.

◆ TransformJacobianType

template<class TFixedImage , class TMovingImage >
typedef Superclass::TransformJacobianType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::TransformJacobianType

Definition at line 99 of file itkVarianceOverLastDimensionImageMetric.h.

◆ TransformParametersType

template<class TFixedImage , class TMovingImage >
typedef Superclass::TransformParametersType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::TransformParametersType

Definition at line 98 of file itkVarianceOverLastDimensionImageMetric.h.

◆ TransformPointer

template<class TFixedImage , class TMovingImage >
typedef Superclass::TransformPointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::TransformPointer

Definition at line 95 of file itkVarianceOverLastDimensionImageMetric.h.

◆ TransformType

template<class TFixedImage , class TMovingImage >
typedef Superclass::TransformType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::TransformType

Definition at line 94 of file itkVarianceOverLastDimensionImageMetric.h.

Constructor & Destructor Documentation

◆ VarianceOverLastDimensionImageMetric() [1/2]

template<class TFixedImage , class TMovingImage >
itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::VarianceOverLastDimensionImageMetric ( )
protected

◆ ~VarianceOverLastDimensionImageMetric()

template<class TFixedImage , class TMovingImage >
itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::~VarianceOverLastDimensionImageMetric ( )
inlineoverrideprotected

Definition at line 158 of file itkVarianceOverLastDimensionImageMetric.h.

◆ VarianceOverLastDimensionImageMetric() [2/2]

template<class TFixedImage , class TMovingImage >
itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::VarianceOverLastDimensionImageMetric ( const Self )
private

Member Function Documentation

◆ EvaluateTransformJacobianInnerProduct()

template<class TFixedImage , class TMovingImage >
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::EvaluateTransformJacobianInnerProduct ( const TransformJacobianType jacobian,
const MovingImageDerivativeType movingImageDerivative,
DerivativeType imageJacobian 
) const
overrideprotectedvirtual

Computes the innerproduct of transform Jacobian with moving image gradient. The results are stored in imageJacobian, which is supposed to have the right size (same length as Jacobian's number of columns).

Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.

◆ GetClassName()

template<class TFixedImage , class TMovingImage >
virtual const char * itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.

Reimplemented in elastix::VarianceOverLastDimensionMetric< TElastix >.

◆ GetDerivative()

template<class TFixedImage , class TMovingImage >
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GetDerivative ( const TransformParametersType parameters,
DerivativeType derivative 
) const
override

Get the derivatives of the match measure.

◆ GetNumSamplesLastDimension()

template<class TFixedImage , class TMovingImage >
virtual int itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GetNumSamplesLastDimension ( ) const
virtual

◆ GetSampleLastDimensionRandomly()

template<class TFixedImage , class TMovingImage >
virtual bool itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GetSampleLastDimensionRandomly ( ) const
virtual

Get functions.

◆ GetValue()

template<class TFixedImage , class TMovingImage >
MeasureType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GetValue ( const TransformParametersType parameters) const
override

Get the value for single valued optimizers.

◆ GetValueAndDerivative()

template<class TFixedImage , class TMovingImage >
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative ( const TransformParametersType parameters,
MeasureType Value,
DerivativeType Derivative 
) const
override

Get value and derivatives for multiple valued optimizers.

◆ Initialize()

template<class TFixedImage , class TMovingImage >
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::Initialize ( void  )
override

Initialize the Metric by making sure that all the components are present and plugged together correctly.

  • Call the superclass' implementation.

◆ itkStaticConstMacro() [1/2]

template<class TFixedImage , class TMovingImage >
itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned int  ,
FixedImageType::ImageDimension   
)

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

template<class TFixedImage , class TMovingImage >
itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned int  ,
MovingImageType::ImageDimension   
)

The moving image dimension.

◆ New()

template<class TFixedImage , class TMovingImage >
static Pointer itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TFixedImage , class TMovingImage >
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::operator= ( const Self )
private

◆ PrintSelf()

template<class TFixedImage , class TMovingImage >
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

◆ SampleRandom()

template<class TFixedImage , class TMovingImage >
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SampleRandom ( const int  n,
const int  m,
std::vector< int > &  numbers 
) const
private

Sample n random numbers from 0..m and add them to the vector.

◆ SetGridSize()

template<class TFixedImage , class TMovingImage >
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetGridSize ( FixedImageSizeType  _arg)
virtual

◆ SetNumAdditionalSamplesFixed()

template<class TFixedImage , class TMovingImage >
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetNumAdditionalSamplesFixed ( unsigned int  _arg)
virtual

◆ SetNumSamplesLastDimension()

template<class TFixedImage , class TMovingImage >
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetNumSamplesLastDimension ( unsigned int  _arg)
virtual

◆ SetReducedDimensionIndex()

template<class TFixedImage , class TMovingImage >
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetReducedDimensionIndex ( unsigned int  _arg)
virtual

◆ SetSampleLastDimensionRandomly()

template<class TFixedImage , class TMovingImage >
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetSampleLastDimensionRandomly ( bool  _arg)
virtual

Set functions.

◆ SetSubtractMean()

template<class TFixedImage , class TMovingImage >
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetSubtractMean ( bool  _arg)
virtual

◆ SetTransformIsStackTransform()

template<class TFixedImage , class TMovingImage >
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetTransformIsStackTransform ( bool  _arg)
virtual

Field Documentation

◆ m_GridSize

template<class TFixedImage , class TMovingImage >
FixedImageSizeType itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_GridSize
private

GridSize of B-spline transform.

Definition at line 206 of file itkVarianceOverLastDimensionImageMetric.h.

◆ m_InitialVariance

template<class TFixedImage , class TMovingImage >
float itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_InitialVariance
private

Initial variance in last dimension, used as normalization factor.

Definition at line 203 of file itkVarianceOverLastDimensionImageMetric.h.

◆ m_NumAdditionalSamplesFixed

template<class TFixedImage , class TMovingImage >
unsigned int itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_NumAdditionalSamplesFixed
private

Definition at line 196 of file itkVarianceOverLastDimensionImageMetric.h.

◆ m_NumSamplesLastDimension

template<class TFixedImage , class TMovingImage >
unsigned int itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_NumSamplesLastDimension
private

Definition at line 195 of file itkVarianceOverLastDimensionImageMetric.h.

◆ m_ReducedDimensionIndex

template<class TFixedImage , class TMovingImage >
unsigned int itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_ReducedDimensionIndex
private

Definition at line 197 of file itkVarianceOverLastDimensionImageMetric.h.

◆ m_SampleLastDimensionRandomly

template<class TFixedImage , class TMovingImage >
bool itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_SampleLastDimensionRandomly
private

Variables to control random sampling in last dimension.

Definition at line 194 of file itkVarianceOverLastDimensionImageMetric.h.

◆ m_SubtractMean

template<class TFixedImage , class TMovingImage >
bool itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_SubtractMean
private

Bool to determine if we want to subtract the mean derivate from the derivative elements.

Definition at line 200 of file itkVarianceOverLastDimensionImageMetric.h.

◆ m_TransformIsStackTransform

template<class TFixedImage , class TMovingImage >
bool itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::m_TransformIsStackTransform
private

Bool to indicate if the transform used is a stacktransform. Set by elx files.

Definition at line 209 of file itkVarianceOverLastDimensionImageMetric.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo