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::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage > Class Template Reference

#include <itkGradientDifferenceImageToImageMetric2.h>

Detailed Description

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

Computes similarity between two objects to be registered.

This Class is templated over the type of the Images to be compared and over the type of transformation and Iterpolator to be used.

This metric computes the sum of squared differences between pixels in the derivatives of the moving and fixed images after passing the squared difference through a function of type $ \frac{1}{1+x} $.

Spatial correspondance between both images is established through a Transform. Pixel values are taken from the Moving image. Their positions are mapped to the Fixed image and result in general in non-grid position on it. Values at these non-grid position of the Fixed image are interpolated using a user-selected Interpolator.

Implementation of this class is based on: Hipwell, J. H., et. al. (2003), "Intensity-Based 2-D-3D Registration of Cerebral Angiograms,", IEEE Transactions on Medical Imaging, 22(11):1417-1426.

Definition at line 75 of file itkGradientDifferenceImageToImageMetric2.h.

Inheritance diagram for itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >:
Inheritance graph
[legend]

Public Types

typedef CastFixedImageFilterType::Pointer CastFixedImageFilterPointer
 
typedef itk::CastImageFilter< FixedImageType, FixedGradientImageTypeCastFixedImageFilterType
 
typedef CastMovedImageFilterType::Pointer CastMovedImageFilterPointer
 
typedef itk::CastImageFilter< TransformedMovingImageType, MovedGradientImageTypeCastMovedImageFilterType
 
typedef CombinationTransformType::Pointer CombinationTransformPointer
 
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DerivativeType DerivativeType
 
typedef itk::Image< RealType, itkGetStaticConstMacro(FixedImageDimension) > FixedGradientImageType
 
typedef FixedGradientImageType::PixelType FixedGradientPixelType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef TFixedImage::PixelType FixedImagePixelType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef itk::Image< RealType, itkGetStaticConstMacro(MovedImageDimension) > MovedGradientImageType
 
typedef MovedGradientImageType::PixelType MovedGradientPixelType
 
typedef TMovingImage::PixelType MovedImagePixelType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef MovingImageType::RegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef itk::Optimizer OptimizerType
 
typedef SmartPointer< SelfPointer
 
typedef RayCastInterpolatorType::Pointer RayCastInterpolatorPointer
 
typedef itk::AdvancedRayCastInterpolateImageFunction< MovingImageType, ScalarTypeRayCastInterpolatorType
 
typedef Superclass::RealType RealType
 
typedef TransformType::ScalarType ScalarType
 
typedef OptimizerType::ScalesType ScalesType
 
typedef GradientDifferenceImageToImageMetric Self
 
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
 
typedef itk::Image< FixedImagePixelType, itkGetStaticConstMacro(FixedImageDimension) > TransformedMovingImageType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef itk::ResampleImageFilter< MovingImageType, TransformedMovingImageTypeTransformMovingImageFilterType
 
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
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const
 
virtual const doubleGetDerivativeDelta ()
 
virtual const ScalesTypeGetScales ()
 
MeasureType GetValue (const TransformParametersType &parameters) const
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &derivative) const
 
virtual void Initialize (void) throw ( ExceptionObject )
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovedImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SetDerivativeDelta (double _arg)
 
virtual void SetScales (ScalesType _arg)
 
void WriteGradientImagesToFiles (void) const
 
- 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 NeighborhoodOperatorImageFilter< FixedGradientImageType, FixedGradientImageTypeFixedSobelFilter
 
typedef NeighborhoodOperatorImageFilter< MovedGradientImageType, MovedGradientImageTypeMovedSobelFilter
 
- 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

MeasureType ComputeMeasure (const TransformParametersType &parameters, const double *subtractionFactor) const
 
void ComputeMovedGradientRange (void) const
 
void ComputeVariance (void) const
 
 GradientDifferenceImageToImageMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~GradientDifferenceImageToImageMetric ()
 
- 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 EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) 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

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

Private Attributes

CastFixedImageFilterPointer m_CastFixedImageFilter
 
CastMovedImageFilterPointer m_CastMovedImageFilter
 
CombinationTransformPointer m_CombinationTransform
 
double m_DerivativeDelta
 
ZeroFluxNeumannBoundaryCondition< FixedGradientImageTypem_FixedBoundCond
 
FixedSobelFilter::Pointer m_FixedSobelFilters [itkGetStaticConstMacro(FixedImageDimension)]
 
SobelOperator< FixedGradientPixelType, itkGetStaticConstMacro(FixedImageDimension) > m_FixedSobelOperators [FixedImageDimension]
 
FixedGradientPixelType m_MaxFixedGradient [FixedImageDimension]
 
MovedGradientPixelType m_MaxMovedGradient [MovedImageDimension]
 
FixedGradientPixelType m_MinFixedGradient [FixedImageDimension]
 
MovedGradientPixelType m_MinMovedGradient [MovedImageDimension]
 
ZeroFluxNeumannBoundaryCondition< MovedGradientImageTypem_MovedBoundCond
 
MovedSobelFilter::Pointer m_MovedSobelFilters [itkGetStaticConstMacro(MovedImageDimension)]
 
SobelOperator< MovedGradientPixelType, itkGetStaticConstMacro(MovedImageDimension) > m_MovedSobelOperators [MovedImageDimension]
 
double m_Rescalingfactor
 
ScalesType m_Scales
 
TransformMovingImageFilterType::Pointer m_TransformMovingImageFilter
 
MovedGradientPixelType m_Variance [FixedImageDimension]
 

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 CastFixedImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastFixedImageFilterPointer

Definition at line 139 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::CastImageFilter< FixedImageType, FixedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastFixedImageFilterType

Definition at line 138 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef CastMovedImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastMovedImageFilterPointer

Definition at line 145 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::CastImageFilter< TransformedMovingImageType, MovedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastMovedImageFilterType

Definition at line 144 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef CombinationTransformType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CombinationTransformPointer

Definition at line 127 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CombinationTransformType

Definition at line 126 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 85 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 109 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::Image< RealType, itkGetStaticConstMacro( FixedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedGradientImageType

Definition at line 136 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef FixedGradientImageType::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedGradientPixelType

Definition at line 140 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 112 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef TFixedImage::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType

Definition at line 114 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 110 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef NeighborhoodOperatorImageFilter< FixedGradientImageType, FixedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedSobelFilter
protected

Definition at line 190 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef InterpolatorType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer

Definition at line 107 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 106 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 108 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::Image< RealType, itkGetStaticConstMacro( MovedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedGradientImageType

Definition at line 142 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef MovedGradientImageType::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedGradientPixelType

Definition at line 146 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef TMovingImage::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedImagePixelType

Definition at line 115 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef NeighborhoodOperatorImageFilter< MovedGradientImageType, MovedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedSobelFilter
protected

Definition at line 193 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 113 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef MovingImageType::RegionType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType

Definition at line 116 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 111 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::Optimizer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::OptimizerType

Definition at line 117 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 84 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef RayCastInterpolatorType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::RayCastInterpolatorPointer

Definition at line 134 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::AdvancedRayCastInterpolateImageFunction< MovingImageType, ScalarType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::RayCastInterpolatorType

Definition at line 133 of file itkGradientDifferenceImageToImageMetric2.h.

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

Types transferred from the base class Work around a Visual Studio .NET bug

Definition at line 91 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef TransformType::ScalarType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ScalarType

Definition at line 102 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef OptimizerType::ScalesType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ScalesType

Definition at line 118 of file itkGradientDifferenceImageToImageMetric2.h.

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

Standard class typedefs.

Definition at line 81 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 82 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::Image< FixedImagePixelType, itkGetStaticConstMacro( FixedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformedMovingImageType

Definition at line 129 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 105 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
typedef itk::ResampleImageFilter< MovingImageType, TransformedMovingImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformMovingImageFilterType

Definition at line 131 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 104 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 103 of file itkGradientDifferenceImageToImageMetric2.h.

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

Definition at line 101 of file itkGradientDifferenceImageToImageMetric2.h.

Constructor & Destructor Documentation

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

Definition at line 176 of file itkGradientDifferenceImageToImageMetric2.h.

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

Member Function Documentation

template<class TFixedImage, class TMovingImage>
MeasureType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ComputeMeasure ( const TransformParametersType parameters,
const double subtractionFactor 
) const
protected

Compute the similarity measure using a specified subtraction factor.

template<class TFixedImage, class TMovingImage>
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ComputeMovedGradientRange ( void  ) const
protected

Compute the range of the moved image gradients.

template<class TFixedImage, class TMovingImage>
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ComputeVariance ( void  ) const
protected

Compute the variance and range of the moving image gradients.

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

Run-time type information (and related methods).

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

Reimplemented in elastix::GradientDifferenceMetric< TElastix >.

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

Get the derivatives of the match measure.

template<class TFixedImage, class TMovingImage>
virtual const double& itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetDerivativeDelta ( )
virtual
template<class TFixedImage, class TMovingImage>
virtual const ScalesType& itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetScales ( )
virtual
template<class TFixedImage, class TMovingImage>
MeasureType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetValue ( const TransformParametersType parameters) const

Get the value for single valued optimizers.

template<class TFixedImage, class TMovingImage>
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative ( const TransformParametersType parameters,
MeasureType Value,
DerivativeType derivative 
) const

Get value and derivatives for multiple valued optimizers.

template<class TFixedImage, class TMovingImage>
virtual void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Initialize ( void  )
throw (ExceptionObject
)
virtual
template<class TFixedImage, class TMovingImage>
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)
template<class TFixedImage, class TMovingImage>
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( MovedImageDimension  ,
unsigned  int,
MovingImageType::ImageDimension   
)
template<class TFixedImage, class TMovingImage>
static Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::New ( )
static

Method for creation through the object factory.

template<class TFixedImage, class TMovingImage>
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::operator= ( const Self )
private
template<class TFixedImage, class TMovingImage>
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TFixedImage, class TMovingImage>
virtual void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::SetDerivativeDelta ( double  _arg)
virtual

Set/Get the value of Delta used for computing derivatives by finite differences in the GetDerivative() method

template<class TFixedImage, class TMovingImage>
virtual void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::SetScales ( ScalesType  _arg)
virtual

Set/Get Scales

template<class TFixedImage, class TMovingImage>
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::WriteGradientImagesToFiles ( void  ) const

Write gradient images to a files for debugging purposes.

Field Documentation

template<class TFixedImage, class TMovingImage>
CastFixedImageFilterPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_CastFixedImageFilter
private

The Sobel gradients of the fixed image

Definition at line 215 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
CastMovedImageFilterPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_CastMovedImageFilter
private

The Sobel gradients of the moving image

Definition at line 228 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
CombinationTransformPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_CombinationTransform
private

Definition at line 240 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
double itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_DerivativeDelta
private

Definition at line 238 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
ZeroFluxNeumannBoundaryCondition< FixedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_FixedBoundCond
private

Definition at line 225 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
FixedSobelFilter::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_FixedSobelFilters[itkGetStaticConstMacro(FixedImageDimension)]
private

Definition at line 222 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
SobelOperator< FixedGradientPixelType, itkGetStaticConstMacro( FixedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_FixedSobelOperators[FixedImageDimension]
private

Definition at line 219 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
FixedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MaxFixedGradient[FixedImageDimension]
mutableprivate

Definition at line 209 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
MovedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MaxMovedGradient[MovedImageDimension]
mutableprivate

Definition at line 205 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
FixedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MinFixedGradient[FixedImageDimension]
mutableprivate

The range of the fixed image gradients.

Definition at line 208 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
MovedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MinMovedGradient[MovedImageDimension]
mutableprivate

The range of the moving image gradients.

Definition at line 204 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
ZeroFluxNeumannBoundaryCondition< MovedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MovedBoundCond
private

Definition at line 224 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
MovedSobelFilter::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MovedSobelFilters[itkGetStaticConstMacro(MovedImageDimension)]
private

Definition at line 235 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
SobelOperator< MovedGradientPixelType, itkGetStaticConstMacro( MovedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MovedSobelOperators[MovedImageDimension]
private

Definition at line 232 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
double itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_Rescalingfactor
private

Definition at line 239 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
ScalesType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_Scales
private

Definition at line 237 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
TransformMovingImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_TransformMovingImageFilter
private

The filter for transforming the moving image.

Definition at line 212 of file itkGradientDifferenceImageToImageMetric2.h.

template<class TFixedImage, class TMovingImage>
MovedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_Variance[FixedImageDimension]
mutableprivate

The variance of the moving image gradients.

Definition at line 201 of file itkGradientDifferenceImageToImageMetric2.h.



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