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>

Inheritance diagram for itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >:
Collaboration 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 SmartPointer< const SelfConstPointer
 
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
 
typedef
FixedImageLimiterType::OutputType 
FixedImageLimiterOutputType
 
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
< HessianValueType
HessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef
ImageSamplerType::OutputVectorContainerPointer 
ImageSampleContainerPointer
 
typedef
ImageSamplerType::OutputVectorContainerType 
ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase
< FixedImageType
ImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef
Superclass::InterpolatorPointer 
InterpolatorPointer
 
typedef
Superclass::InterpolatorType 
InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
 
typedef FixedArray< double,
itkGetStaticConstMacro(MovingImageDimension) > 
MovingImageDerivativeScalesType
 
typedef
MovingImageLimiterType::OutputType 
MovingImageLimiterOutputType
 
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 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
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 const
FixedImageLimiterType
GetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerTypeGetImageSampler (void) const
 
virtual const
MovingImageDerivativeScalesType
GetMovingImageDerivativeScales ()
 
virtual const
MovingImageLimiterType
GetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
const AdvancedTransformTypeGetTransform (void) const
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
 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 SetRequiredRatioOfValidSamples (double _arg)
 
virtual void SetTransform (AdvancedTransformType *arg)
 
virtual void SetUseMovingImageDerivativeScales (bool _arg)
 

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
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
float
BSplineInterpolatorFloatType
 
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
BSplineInterpolatorType
 
typedef GradientImageFilter
< MovingImageType, RealType,
RealType
CentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef
FixedImageIndexType::IndexValueType 
FixedImageIndexValueType
 
typedef
TransformType::InputPointType 
FixedImagePointType
 
typedef
InterpolatorType::ContinuousIndexType 
MovingImageContinuousIndexType
 
typedef
BSplineInterpolatorType::CovariantVectorType 
MovingImageDerivativeType
 
typedef MovingImageType::IndexType MovingImageIndexType
 
typedef
TransformType::OutputPointType 
MovingImagePointType
 
typedef
AdvancedTransformType::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType
 
typedef
ReducedDimensionBSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
ReducedBSplineInterpolatorType
 

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 CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (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 bool IsInsideMovingMask (const MovingImagePointType &point) 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 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

- Protected Attributes inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
AdvancedTransformType::Pointer m_AdvancedTransform
 
BSplineInterpolatorType::Pointer m_BSplineInterpolator
 
BSplineInterpolatorFloatType::Pointer m_BSplineInterpolatorFloat
 
CentralDifferenceGradientFilterType::Pointer m_CentralDifferenceGradientFilter
 
FixedImageLimiterType::Pointer m_FixedImageLimiter
 
FixedImageLimiterOutputType m_FixedImageMaxLimit
 
FixedImageLimiterOutputType m_FixedImageMinLimit
 
FixedImagePixelType m_FixedImageTrueMax
 
FixedImagePixelType m_FixedImageTrueMin
 
ImageSamplerPointer m_ImageSampler
 
bool m_InterpolatorIsBSpline
 
bool m_InterpolatorIsBSplineFloat
 
bool m_InterpolatorIsReducedBSpline
 
MovingImageLimiterType::Pointer m_MovingImageLimiter
 
MovingImageLimiterOutputType m_MovingImageMaxLimit
 
MovingImageLimiterOutputType m_MovingImageMinLimit
 
MovingImagePixelType m_MovingImageTrueMax
 
MovingImagePixelType m_MovingImageTrueMin
 
ReducedBSplineInterpolatorType::Pointer m_ReducedBSplineInterpolator
 
bool m_TransformIsAdvanced
 

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 49 of file itkVarianceOverLastDimensionImageMetric.h.

Member Typedef Documentation

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

Definition at line 168 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 169 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 59 of file itkVarianceOverLastDimensionImageMetric.h.

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

Typedefs from the superclass.

Definition at line 81 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 110 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 90 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 165 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 160 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 161 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 122 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 119 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 106 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 105 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 112 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 163 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 61 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 62 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 89 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 104 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 103 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 102 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 101 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 100 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 118 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 116 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 115 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 114 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 93 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 98 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 97 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 109 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 88 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 167 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 126 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 170 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 162 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 124 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 120 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 108 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 107 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 87 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 166 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 113 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 86 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 171 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 94 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 111 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 58 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 99 of file itkVarianceOverLastDimensionImageMetric.h.

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

Standard class typedefs.

Definition at line 55 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 57 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 96 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 95 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 92 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 91 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 154 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
protected

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

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 201 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 198 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 191 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 190 of file itkVarianceOverLastDimensionImageMetric.h.

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

Definition at line 192 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 189 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 195 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 204 of file itkVarianceOverLastDimensionImageMetric.h.



Generated on 04-01-2014 for elastix by doxygen 1.8.5 elastix logo