ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage > Class Template Reference

#include <itkGradientDifferenceImageToImageMetric.h>

+ Inheritance diagram for itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >:
+ Collaboration diagram for itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >:

List of all members.

Public Types

typedef
CastFixedImageFilterType::Pointer 
CastFixedImageFilterPointer
typedef itk::CastImageFilter
< FixedImageType,
FixedGradientImageType
CastFixedImageFilterType
typedef
CastMovedImageFilterType::Pointer 
CastMovedImageFilterPointer
typedef itk::CastImageFilter
< TransformedMovingImageType,
MovedGradientImageType
CastMovedImageFilterType
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 Superclass::MeasureType MeasureType
typedef itk::Image< RealType,
itkGetStaticConstMacro(MovedImageDimension) > 
MovedGradientImageType
typedef
MovedGradientImageType::PixelType 
MovedGradientPixelType
typedef TMovingImage::PixelType MovedImagePixelType
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
typedef Superclass::MovingImageType MovingImageType
typedef SmartPointer< SelfPointer
typedef Superclass::RealType RealType
typedef
GradientDifferenceImageToImageMetric 
Self
typedef ImageToImageMetric
< TFixedImage, TMovingImage > 
Superclass
typedef itk::Image
< FixedImagePixelType,
itkGetStaticConstMacro(FixedImageDimension) > 
TransformedMovingImageType
typedef
Superclass::TransformJacobianType 
TransformJacobianType
typedef
itk::ResampleImageFilter
< MovingImageType,
TransformedMovingImageType
TransformMovingImageFilterType
typedef
Superclass::TransformParametersType 
TransformParametersType
typedef
Superclass::TransformPointer 
TransformPointer
typedef Superclass::TransformType TransformType
- Public Types inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
typedef std::vector
< FixedImageIndexType
FixedImageIndexContainer
typedef FixedImageType::IndexType FixedImageIndexType
typedef
FixedImageIndexType::IndexValueType 
FixedImageIndexValueType
typedef
FixedImageMaskType::ConstPointer 
FixedImageMaskConstPointer
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
typedef SpatialObject
< itkGetStaticConstMacro(FixedImageDimension) > 
FixedImageMaskType
typedef
TransformType::InputPointType 
FixedImagePointType
typedef FixedImageType::RegionType FixedImageRegionType
typedef
TransformType::InputPointType 
InputPointType
typedef InterpolatorType::Pointer InterpolatorPointer
typedef
InterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType
InterpolatorType
typedef MovingImageType::IndexType MovingImageIndexType
typedef
MovingImageMaskType::ConstPointer 
MovingImageMaskConstPointer
typedef
MovingImageMaskType::Pointer 
MovingImageMaskPointer
typedef SpatialObject
< itkGetStaticConstMacro(MovingImageDimension) > 
MovingImageMaskType
typedef TMovingImage::PixelType MovingImagePixelType
typedef
TransformType::OutputPointType 
MovingImagePointType
typedef MultiThreader MultiThreaderType
typedef
TransformType::OutputPointType 
OutputPointType
typedef Superclass::ParametersType ParametersType
typedef CovariantVector
< RealType,
itkGetStaticConstMacro(MovingImageDimension) > 
GradientPixelType
typedef Image
< GradientPixelType,
itkGetStaticConstMacro(MovingImageDimension) > 
GradientImageType
typedef SmartPointer
< GradientImageType
GradientImagePointer
typedef
GradientRecursiveGaussianImageFilter
< MovingImageType,
GradientImageType
GradientImageFilterType
typedef
GradientImageFilterType::Pointer 
GradientImageFilterPointer
- Public Types inherited from itk::SingleValuedCostFunction
typedef
Superclass::ParametersValueType 
ParametersValueType
- Public Types inherited from itk::CostFunction
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const
virtual const char * GetNameOfClass () const
MeasureType GetValue (const TransformParametersType &parameters) const
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &derivative) const
virtual void Initialize (void) throw ( ExceptionObject )
void WriteGradientImagesToFiles (void) const
- Public Member Functions inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
virtual void ComputeGradient (void)
virtual const FixedImageTypeGetFixedImage ()
virtual const
FixedImageRegionType
GetFixedImageRegion ()
virtual const FixedImagePixelTypeGetFixedImageSamplesIntensityThreshold ()
virtual const GradientImageTypeGetGradientImage ()
virtual const InterpolatorTypeGetInterpolator ()
virtual const MovingImageTypeGetMovingImage ()
SizeValueType GetNumberOfMovingImageSamples (void)
unsigned int GetNumberOfParameters (void) const
virtual const SizeValueTypeGetNumberOfPixelsCounted ()
SizeValueType GetNumberOfSpatialSamples (void)
virtual const TransformTypeGetTransform ()
virtual const bool & GetUseAllPixels ()
virtual const bool & GetUseFixedImageIndexes ()
virtual const bool & GetUseFixedImageSamplesIntensityThreshold ()
virtual const bool & GetUseSequentialSampling ()
virtual void MultiThreadingInitialize (void) throw ( ExceptionObject )
virtual void SetFixedImage (const FixedImageType *_arg)
void SetFixedImageIndexes (const FixedImageIndexContainer &indexes)
void SetFixedImageRegion (const FixedImageRegionType reg)
void SetFixedImageSamplesIntensityThreshold (const FixedImagePixelType &thresh)
virtual void SetInterpolator (InterpolatorType *_arg)
virtual void SetMovingImage (const MovingImageType *_arg)
void SetNumberOfSpatialSamples (SizeValueType num)
virtual void SetTransform (TransformType *_arg)
void SetTransformParameters (const ParametersType &parameters) const
void SetUseAllPixels (bool useAllPixels)
void SetUseFixedImageIndexes (bool useIndex)
void SetUseFixedImageSamplesIntensityThreshold (bool useThresh)
void SetUseSequentialSampling (bool sequentialSampling)
void UseAllPixelsOff (void)
void UseAllPixelsOn (void)
virtual void SetMovingImageMask (MovingImageMaskType *_arg)
virtual void SetMovingImageMask (const MovingImageMaskType *_arg)
virtual const MovingImageMaskTypeGetMovingImageMask ()
virtual void SetFixedImageMask (FixedImageMaskType *_arg)
virtual void SetFixedImageMask (const FixedImageMaskType *_arg)
virtual const FixedImageMaskTypeGetFixedImageMask ()
void SetNumberOfThreads (ThreadIdType numberOfThreads)
virtual const ThreadIdTypeGetNumberOfThreads ()
virtual void SetComputeGradient (bool _arg)
virtual const bool & GetComputeGradient ()
virtual void ComputeGradientOn ()
virtual void ComputeGradientOff ()
virtual void SetNumberOfFixedImageSamples (SizeValueType numSamples)
virtual const SizeValueTypeGetNumberOfFixedImageSamples ()
void ReinitializeSeed ()
void ReinitializeSeed (int seed)
virtual void SetUseCachingOfBSplineWeights (bool _arg)
virtual const bool & GetUseCachingOfBSplineWeights ()
virtual void UseCachingOfBSplineWeightsOn ()
virtual void UseCachingOfBSplineWeightsOff ()
virtual const MultiThreaderTypeGetThreader ()
const TransformPointerGetThreaderTransform ()
- Public Member Functions inherited from itk::SingleValuedCostFunction
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const =0
virtual MeasureType GetValue (const ParametersType &parameters) const =0
virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int FixedImageDimension = TFixedImage::ImageDimension
static const unsigned int MovedImageDimension = MovingImageType::ImageDimension
- Static Public Attributes inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
static const unsigned int MovingImageDimension = TMovingImage::ImageDimension

Protected Types

typedef
NeighborhoodOperatorImageFilter
< FixedGradientImageType,
FixedGradientImageType
FixedSobelFilter
typedef
NeighborhoodOperatorImageFilter
< MovedGradientImageType,
MovedGradientImageType
MovedSobelFilter
- Protected Types inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
typedef std::vector< bool > BooleanArrayType
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType
BSplineInterpolatorType
typedef FixedArray
< SizeValueType,::itk::GetImageDimension
< FixedImageType >
::ImageDimension > 
BSplineParametersOffsetType
typedef
BSplineTransformType::ParameterIndexArrayType 
BSplineTransformIndexArrayType
typedef Array2D< IndexValueTypeBSplineTransformIndicesArrayType
typedef BSplineBaseTransform
< CoordinateRepresentationType,::itk::GetImageDimension
< FixedImageType >
::ImageDimension,
itkGetStaticConstMacro(DeformationSplineOrder) > 
BSplineTransformType
typedef Array2D< WeightsValueTypeBSplineTransformWeightsArrayType
typedef
BSplineTransformType::WeightsType 
BSplineTransformWeightsType
typedef
CentralDifferenceImageFunction
< MovingImageType,
CoordinateRepresentationType
DerivativeFunctionType
typedef std::vector
< FixedImageSamplePoint
FixedImageSampleContainer
typedef CovariantVector
< double,
itkGetStaticConstMacro(MovingImageDimension) > 
ImageDerivativesType
typedef
BSplineTransformIndexArrayType::ValueType 
IndexValueType
typedef std::vector
< MovingImagePointType
MovingImagePointArrayType
typedef
BSplineTransformWeightsType::ValueType 
WeightsValueType

Protected Member Functions

MeasureType ComputeMeasure (const TransformParametersType &parameters, const double *subtractionFactor) const
void ComputeMovedGradientRange (void) const
void ComputeVariance (void) const
- Protected Member Functions inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
virtual void ComputeImageDerivatives (const MovingImagePointType &mappedPoint, ImageDerivativesType &gradient, ThreadIdType threadID) const
void GetValueAndDerivativeMultiThreadedInitiate (void) const
void GetValueAndDerivativeMultiThreadedPostProcessInitiate (void) const
void GetValueAndDerivativeMultiThreadedPreProcessInitiate (void) const
virtual void GetValueAndDerivativeThread (ThreadIdType threadID) const
virtual void GetValueAndDerivativeThreadPostProcess (ThreadIdType, bool) const
virtual void GetValueAndDerivativeThreadPreProcess (ThreadIdType, bool) const
virtual bool GetValueAndDerivativeThreadProcessSample (ThreadIdType, SizeValueType, const MovingImagePointType &, double, const ImageDerivativesType &) const
void GetValueMultiThreadedInitiate (void) const
void GetValueMultiThreadedPostProcessInitiate (void) const
void GetValueMultiThreadedPreProcessInitiate (void) const
virtual void GetValueThread (ThreadIdType threadID) const
virtual void GetValueThreadPostProcess (ThreadIdType, bool) const
virtual void GetValueThreadPreProcess (ThreadIdType, bool) const
virtual bool GetValueThreadProcessSample (ThreadIdType, SizeValueType, const MovingImagePointType &, double) const
 ImageToImageMetric ()
virtual void PreComputeTransformValues (void)
virtual void SampleFixedImageIndexes (FixedImageSampleContainer &samples) const
virtual void SampleFixedImageRegion (FixedImageSampleContainer &samples) const
virtual void SampleFullFixedImageRegion (FixedImageSampleContainer &samples) const
virtual void SynchronizeTransforms () const
virtual void TransformPoint (unsigned int sampleNumber, MovingImagePointType &mappedPoint, bool &sampleWithinSupportRegion, double &movingImageValue, ThreadIdType threadID) const
virtual void TransformPointWithDerivatives (unsigned int sampleNumber, MovingImagePointType &mappedPoint, bool &sampleWithinSupportRegion, double &movingImageValue, ImageDerivativesType &gradient, ThreadIdType threadID) const
virtual ~ImageToImageMetric ()
- Protected Member Functions inherited from itk::SingleValuedCostFunction
 SingleValuedCostFunction ()
virtual ~SingleValuedCostFunction ()
- Protected Member Functions inherited from itk::CostFunction
 CostFunction ()
virtual ~CostFunction ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

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

Private Attributes

CastFixedImageFilterPointer m_CastFixedImageFilter
CastMovedImageFilterPointer m_CastMovedImageFilter
double m_DerivativeDelta
ZeroFluxNeumannBoundaryCondition
< FixedGradientImageType
m_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
< MovedGradientImageType
m_MovedBoundCond
MovedSobelFilter::Pointer m_MovedSobelFilters [itkGetStaticConstMacro(MovedImageDimension)]
SobelOperator
< MovedGradientPixelType,
itkGetStaticConstMacro(MovedImageDimension) > 
m_MovedSobelOperators [MovedImageDimension]
TransformMovingImageFilterType::Pointer m_TransformMovingImageFilter
MovedGradientPixelType m_Variance [FixedImageDimension]
virtual void SetDerivativeDelta (double _arg)
virtual const double & GetDerivativeDelta ()
 GradientDifferenceImageToImageMetric ()
virtual ~GradientDifferenceImageToImageMetric ()
void PrintSelf (std::ostream &os, Indent indent) const

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeMultiThreaded (void *arg)
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeMultiThreadedPostProcess (void *arg)
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeMultiThreadedPreProcess (void *arg)
static ITK_THREAD_RETURN_TYPE GetValueMultiThreaded (void *arg)
static ITK_THREAD_RETURN_TYPE GetValueMultiThreadedPostProcess (void *arg)
static ITK_THREAD_RETURN_TYPE GetValueMultiThreadedPreProcess (void *arg)
- Protected Attributes inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
BSplineInterpolatorType::Pointer m_BSplineInterpolator
BSplineParametersOffsetType m_BSplineParametersOffset
MovingImagePointArrayType m_BSplinePreTransformPointsArray
BSplineTransformType::Pointer m_BSplineTransform
BSplineTransformIndexArrayType m_BSplineTransformIndices
BSplineTransformIndicesArrayType m_BSplineTransformIndicesArray
BSplineTransformWeightsType m_BSplineTransformWeights
BSplineTransformWeightsArrayType m_BSplineTransformWeightsArray
bool m_ComputeGradient
DerivativeFunctionType::Pointer m_DerivativeCalculator
FixedImageConstPointer m_FixedImage
FixedImageIndexContainer m_FixedImageIndexes
FixedImageMaskConstPointer m_FixedImageMask
FixedImageSampleContainer m_FixedImageSamples
FixedImagePixelType m_FixedImageSamplesIntensityThreshold
GradientImagePointer m_GradientImage
InterpolatorPointer m_Interpolator
bool m_InterpolatorIsBSpline
MovingImageConstPointer m_MovingImage
MovingImageMaskConstPointer m_MovingImageMask
SizeValueType m_NumberOfFixedImageSamples
SizeValueType m_NumberOfParameters
SizeValueType m_NumberOfPixelsCounted
ThreadIdType m_NumberOfThreads
SizeValueType m_NumBSplineWeights
int m_RandomSeed
bool m_ReseedIterator
MultiThreaderType::Pointer m_Threader
BSplineTransformIndexArrayTypem_ThreaderBSplineTransformIndices
BSplineTransformWeightsTypem_ThreaderBSplineTransformWeights
unsigned int * m_ThreaderNumberOfMovingImageSamples
MultiThreaderParameterType m_ThreaderParameter
TransformPointerm_ThreaderTransform
TransformPointer m_Transform
bool m_TransformIsBSpline
bool m_UseAllPixels
bool m_UseCachingOfBSplineWeights
bool m_UseFixedImageIndexes
bool m_UseFixedImageSamplesIntensityThreshold
bool m_UseSequentialSampling
BooleanArrayType m_WithinBSplineSupportRegionArray
bool m_WithinThreadPostProcess
bool m_WithinThreadPreProcess
- Static Protected Attributes inherited from itk::ImageToImageMetric< TFixedImage, TMovingImage >
static const unsigned int DeformationSplineOrder = 3

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

Warning:
THIS IMAGE METRIC IS CURRENTLY UNDER DEBUGGING. USE AT YOUR OWN RISK.

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 58 of file itkGradientDifferenceImageToImageMetric.h.


Member Typedef Documentation

template<class TFixedImage , class TMovingImage >
typedef CastFixedImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastFixedImageFilterPointer

Definition at line 107 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 106 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 118 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 117 of file itkGradientDifferenceImageToImageMetric.h.

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

Type of the derivative.

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

Definition at line 84 of file itkGradientDifferenceImageToImageMetric.h.

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

Sobel filters to compute the gradients of the Fixed Image

Definition at line 104 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 109 of file itkGradientDifferenceImageToImageMetric.h.

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

Type of the fixed Image.

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

Definition at line 85 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 162 of file itkGradientDifferenceImageToImageMetric.h.

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

Type of the measure.

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

Definition at line 83 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 115 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 120 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 91 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 165 of file itkGradientDifferenceImageToImageMetric.h.

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

Type of the moving Image.

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

Definition at line 86 of file itkGradientDifferenceImageToImageMetric.h.

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

Types transferred from the base class

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

Definition at line 74 of file itkGradientDifferenceImageToImageMetric.h.

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

Standard class typedefs.

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

Definition at line 64 of file itkGradientDifferenceImageToImageMetric.h.

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

Types for transforming the moving image

Definition at line 97 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 100 of file itkGradientDifferenceImageToImageMetric.h.

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

Type of the Transform Base class

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

Definition at line 78 of file itkGradientDifferenceImageToImageMetric.h.


Constructor & Destructor Documentation

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

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

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

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

Definition at line 147 of file itkGradientDifferenceImageToImageMetric.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::itk::LightObject::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

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

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

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

Run-time type information (and related methods).

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

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

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

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

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

Method for creation through the object factory.

Reimplemented from itk::Object.

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

Mutex lock to protect modification to the reference count

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

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

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

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

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 >
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::WriteGradientImagesToFiles ( void  ) const

Write gradient images to a files for debugging purposes.


Member Data Documentation

template<class TFixedImage , class TMovingImage >
const unsigned int itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImageDimension = TFixedImage::ImageDimension
static

Constants for the image dimensions

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

Definition at line 93 of file itkGradientDifferenceImageToImageMetric.h.

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

The Sobel gradients of the fixed image

Definition at line 188 of file itkGradientDifferenceImageToImageMetric.h.

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

The Sobel gradients of the moving image

Definition at line 200 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 208 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 197 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 194 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 192 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 182 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 178 of file itkGradientDifferenceImageToImageMetric.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 181 of file itkGradientDifferenceImageToImageMetric.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 177 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 196 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 206 of file itkGradientDifferenceImageToImageMetric.h.

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

Definition at line 204 of file itkGradientDifferenceImageToImageMetric.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 185 of file itkGradientDifferenceImageToImageMetric.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 174 of file itkGradientDifferenceImageToImageMetric.h.

template<class TFixedImage , class TMovingImage >
const unsigned int itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedImageDimension = MovingImageType::ImageDimension
static

Sobel filters to compute the gradients of the Moved Image

Definition at line 113 of file itkGradientDifferenceImageToImageMetric.h.


The documentation for this class was generated from the following file: