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 >:
Inheritance graph
[legend]

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

virtual const char * GetClassName () const
 
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
 
virtual void Initialize (void) throw ( ExceptionObject )
 
 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 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, TMovingImage::ImageDimension)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::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 ()
 

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
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 VarianceOverLastDimensionImageMetric ()
 
virtual ~VarianceOverLastDimensionImageMetric ()
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
 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 ()
 

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_TYPE AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeThreaderCallback (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
 
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
 

Member Typedef Documentation

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

Definition at line 172 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 173 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 62 of file itkVarianceOverLastDimensionImageMetric.h.

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

Typedefs from the superclass.

Definition at line 84 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 113 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 93 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 169 of file itkVarianceOverLastDimensionImageMetric.h.

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.

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

Definition at line 165 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 125 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 122 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 109 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 108 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 115 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 167 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 64 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 65 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 92 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 107 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 106 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 105 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 104 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 103 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 121 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 119 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 118 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 117 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 96 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 101 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 100 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 112 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 91 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 171 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 129 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 174 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 166 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 127 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 123 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 111 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 110 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 90 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 170 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 116 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 89 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 175 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 97 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 114 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 61 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 102 of file itkVarianceOverLastDimensionImageMetric.h.

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

Standard class typedefs.

Definition at line 58 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 60 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 99 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 98 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 95 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 94 of file itkVarianceOverLastDimensionImageMetric.h.

Constructor & Destructor Documentation

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

Definition at line 158 of file itkVarianceOverLastDimensionImageMetric.h.

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

Member Function Documentation

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

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 >.

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 >.

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

Get the derivatives of the match measure.

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

Get functions.

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

Get the value for single valued optimizers.

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

Get value and derivatives for multiple valued optimizers.

template<class TFixedImage, class TMovingImage>
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::Initialize ( void  )
throw (ExceptionObject
)
virtual

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

  • Call the superclass' implementation.

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

Reimplemented in elastix::VarianceOverLastDimensionMetric< TElastix >.

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

The fixed image dimension.

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

The moving image dimension.

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

Method for creation through the object factory.

template<class TFixedImage, class TMovingImage>
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::operator= ( const Self )
private
template<class TFixedImage, class TMovingImage>
void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
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.

template<class TFixedImage, class TMovingImage>
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetGridSize ( FixedImageSizeType  _arg)
virtual
template<class TFixedImage, class TMovingImage>
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetNumAdditionalSamplesFixed ( unsigned int  _arg)
virtual
template<class TFixedImage, class TMovingImage>
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetNumSamplesLastDimension ( unsigned int  _arg)
virtual
template<class TFixedImage, class TMovingImage>
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetReducedDimensionIndex ( unsigned int  _arg)
virtual
template<class TFixedImage, class TMovingImage>
virtual void itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >::SetSampleLastDimensionRandomly ( bool  _arg)
virtual

Set functions.

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

Field Documentation

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.

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.

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

Definition at line 196 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 195 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 197 of file itkVarianceOverLastDimensionImageMetric.h.

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.

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.

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 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo