Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ImageToImageMetric< TFixedImage, TMovingImage > Class Template Reference
[Similarity Metrics of Registration Methods]

Computes similarity between regions of two images. More...

#include <itkImageToImageMetric.h>

Inheritance diagram for itk::ImageToImageMetric< TFixedImage, TMovingImage >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef ImageToImageMetric Self
typedef SingleValuedCostFunction Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ParametersValueType CoordinateRepresentationType
typedef TMovingImage MovingImageType
typedef TMovingImage::PixelType MovingImagePixelType
typedef MovingImageType::ConstPointer MovingImageConstPointer
typedef TFixedImage FixedImageType
typedef FixedImageType::ConstPointer FixedImageConstPointer
typedef FixedImageType::RegionType FixedImageRegionType
typedef Transform< CoordinateRepresentationType,
itkGetStaticConstMacro(MovingImageDimension),
itkGetStaticConstMacro(FixedImageDimension) 
TransformType )
typedef TransformType::Pointer TransformPointer
typedef TransformType::InputPointType InputPointType
typedef TransformType::OutputPointType OutputPointType
typedef TransformType::ParametersType TransformParametersType
typedef TransformType::JacobianType TransformJacobianType
typedef InterpolateImageFunction<
MovingImageType, CoordinateRepresentationType
InterpolatorType
typedef InterpolatorType::Pointer InterpolatorPointer
typedef SpatialObject< itkGetStaticConstMacro(FixedImageDimension) FixedImageMaskType )
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
typedef SpatialObject< itkGetStaticConstMacro(MovingImageDimension) MovingImageMaskType )
typedef MovingImageMaskType::Pointer MovingImageMaskPointer
typedef Superclass::MeasureType MeasureType
typedef Superclass::DerivativeType DerivativeType
typedef Superclass::ParametersType ParametersType
typedef NumericTraits< MovingImagePixelType
>::RealType 
RealType
typedef CovariantVector< RealType,
itkGetStaticConstMacro(MovingImageDimension) 
GradientPixelType )
typedef Image< GradientPixelType,
itkGetStaticConstMacro(MovingImageDimension) 
GradientImageType )
typedef SmartPointer< GradientImageTypeGradientImagePointer
typedef GradientRecursiveGaussianImageFilter<
MovingImageType, GradientImageType
GradientImageFilterType
typedef GradientImageFilterType::Pointer GradientImageFilterPointer

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetFixedImage (const FixedImageType *_arg)
virtual const FixedImageTypeGetFixedImage ()
virtual void SetMovingImage (const MovingImageType *_arg)
virtual const MovingImageTypeGetMovingImage ()
virtual void SetTransform (TransformType *_arg)
virtual const TransformTypeGetTransform ()
virtual void SetInterpolator (InterpolatorType *_arg)
virtual const InterpolatorTypeGetInterpolator ()
virtual const unsigned long & GetNumberOfPixelsCounted ()
virtual void SetFixedImageRegion (FixedImageRegionType _arg)
virtual const FixedImageRegionTypeGetFixedImageRegion ()
virtual const GradientImageTypeGetGradientImage ()
void SetTransformParameters (const ParametersType &parameters) const
unsigned int GetNumberOfParameters (void) const
virtual void Initialize (void) throw ( ExceptionObject )
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
virtual void SetMovingImageMask (MovingImageMaskType *_arg)
virtual const MovingImageMaskTypeGetMovingImageMask ()
virtual void SetFixedImageMask (FixedImageMaskType *_arg)
virtual const FixedImageMaskTypeGetFixedImageMask ()
virtual void SetComputeGradient (bool _arg)
virtual const bool & GetComputeGradient ()
virtual void ComputeGradientOn ()
virtual void ComputeGradientOff ()

Protected Member Functions

 ImageToImageMetric ()
virtual ~ImageToImageMetric ()
void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

unsigned long m_NumberOfPixelsCounted
FixedImageConstPointer m_FixedImage
MovingImageConstPointer m_MovingImage
TransformPointer m_Transform
InterpolatorPointer m_Interpolator
bool m_ComputeGradient
GradientImagePointer m_GradientImage
FixedImageMaskPointer m_FixedImageMask
MovingImageMaskPointer m_MovingImageMask

Detailed Description

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

Computes similarity between regions of two images.

This Class is templated over the type of the two input images. It expects a Transform and an Interpolator to be plugged in. This particular class is the base class for a hierarchy of similarity metrics.

This class computes a value that measures the similarity between the Fixed image and the transformed Moving image. The Interpolator is used to compute intensity values on non-grid positions resulting from mapping points through the Transform.

Definition at line 51 of file itkImageToImageMetric.h.


Member Typedef Documentation

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

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 58 of file itkImageToImageMetric.h.

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

Type used for representing point components

Reimplemented in itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 61 of file itkImageToImageMetric.h.

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

Type of the derivative.

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 136 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef FixedImageType::ConstPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer
 

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 73 of file itkImageToImageMetric.h.

Referenced by itk::ImageToImageMetric< TFixedImage, TMovingImage >::~ImageToImageMetric().

template<class TFixedImage, class TMovingImage>
typedef FixedImageMaskType::Pointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer
 

Definition at line 122 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef SpatialObject< itkGetStaticConstMacro(FixedImageDimension) itk::ImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType)
 

Type for the mask of the fixed image. Only pixels that are "inside" this mask will be considered for the computation of the metric

Definition at line 121 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef FixedImageType::RegionType itk::ImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType
 

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, and itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 74 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TFixedImage itk::ImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType
 

Type of the fixed Image.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 72 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef GradientImageFilterType::Pointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer
 

Gaussian filter to compute the gradient of the Moving Image

Definition at line 110 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef GradientRecursiveGaussianImageFilter< MovingImageType, GradientImageType > itk::ImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType
 

Gaussian filter to compute the gradient of the Moving Image

Definition at line 109 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef SmartPointer<GradientImageType> itk::ImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer
 

Gaussian filter to compute the gradient of the Moving Image

Definition at line 106 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Image<GradientPixelType, itkGetStaticConstMacro(MovingImageDimension) itk::ImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType)
 

Gaussian filter to compute the gradient of the Moving Image

Definition at line 105 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef CovariantVector<RealType, itkGetStaticConstMacro(MovingImageDimension) itk::ImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType)
 

Gaussian filter to compute the gradient of the Moving Image

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 103 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TransformType::InputPointType itk::ImageToImageMetric< TFixedImage, TMovingImage >::InputPointType
 

Reimplemented in itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 89 of file itkImageToImageMetric.h.

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

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 114 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > itk::ImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType
 

Type of the Interpolator Base class

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, and itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 97 of file itkImageToImageMetric.h.

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

Type of the measure.

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 133 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef MovingImageType::ConstPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer
 

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 69 of file itkImageToImageMetric.h.

Referenced by itk::ImageToImageMetric< TFixedImage, TMovingImage >::~ImageToImageMetric().

template<class TFixedImage, class TMovingImage>
typedef MovingImageMaskType::Pointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer
 

Definition at line 128 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef SpatialObject< itkGetStaticConstMacro(MovingImageDimension) itk::ImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType)
 

Type for the mask of the moving image. Only pixels that are "inside" this mask will be considered for the computation of the metric

Definition at line 127 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TMovingImage::PixelType itk::ImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType
 

Reimplemented in itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 68 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TMovingImage itk::ImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType
 

Type of the moving Image.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 67 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TransformType::OutputPointType itk::ImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType
 

Reimplemented in itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 90 of file itkImageToImageMetric.h.

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

Type of the parameters.

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, and itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 139 of file itkImageToImageMetric.h.

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

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 57 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef NumericTraits<MovingImagePixelType>::RealType itk::ImageToImageMetric< TFixedImage, TMovingImage >::RealType
 

Gaussian filter to compute the gradient of the Moving Image

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 101 of file itkImageToImageMetric.h.

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

Standard class typedefs.

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 55 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef SingleValuedCostFunction itk::ImageToImageMetric< TFixedImage, TMovingImage >::Superclass
 

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 56 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TransformType::JacobianType itk::ImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType
 

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 92 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TransformType::ParametersType itk::ImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType
 

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 91 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TransformType::Pointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer
 

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 88 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Transform<CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedImageDimension) itk::ImageToImageMetric< TFixedImage, TMovingImage >::TransformType)
 

Type of the Transform Base class

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 86 of file itkImageToImageMetric.h.


Constructor & Destructor Documentation

template<class TFixedImage, class TMovingImage>
itk::ImageToImageMetric< TFixedImage, TMovingImage >::ImageToImageMetric  )  [protected]
 

template<class TFixedImage, class TMovingImage>
virtual itk::ImageToImageMetric< TFixedImage, TMovingImage >::~ImageToImageMetric  )  [inline, protected, virtual]
 

Definition at line 206 of file itkImageToImageMetric.h.

References itk::ImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer, and itk::ImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer.


Member Function Documentation

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::ComputeGradientOff  )  [virtual]
 

Set/Get gradient computation.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::ComputeGradientOn  )  [virtual]
 

Set/Get gradient computation.

template<class TFixedImage, class TMovingImage>
virtual const bool& itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetComputeGradient  )  [virtual]
 

Set/Get gradient computation.

template<class TFixedImage, class TMovingImage>
virtual const FixedImageType* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImage  )  [virtual]
 

Get the Fixed Image.

template<class TFixedImage, class TMovingImage>
virtual const FixedImageMaskType* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImageMask  )  [virtual]
 

Set/Get the fixed image mask.

template<class TFixedImage, class TMovingImage>
virtual const FixedImageRegionType& itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetFixedImageRegion  )  [virtual]
 

Get the region over which the metric will be computed

template<class TFixedImage, class TMovingImage>
virtual const GradientImageType* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetGradientImage  )  [virtual]
 

Get Gradient Image.

template<class TFixedImage, class TMovingImage>
virtual const InterpolatorType* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetInterpolator  )  [virtual]
 

Get a pointer to the Interpolator.

template<class TFixedImage, class TMovingImage>
virtual const MovingImageType* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetMovingImage  )  [virtual]
 

Get the Moving Image.

template<class TFixedImage, class TMovingImage>
virtual const MovingImageMaskType* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetMovingImageMask  )  [virtual]
 

Set/Get the moving image mask.

template<class TFixedImage, class TMovingImage>
virtual const char* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >.

template<class TFixedImage, class TMovingImage>
unsigned int itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetNumberOfParameters void   )  const [inline, virtual]
 

Return the number of parameters required by the Transform

Implements itk::CostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 197 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
virtual const unsigned long& itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetNumberOfPixelsCounted  )  [virtual]
 

Get the number of pixels considered in the computation.

template<class TFixedImage, class TMovingImage>
virtual const TransformType* itk::ImageToImageMetric< TFixedImage, TMovingImage >::GetTransform  )  [virtual]
 

Get a pointer to the Transform.

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

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

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >.

template<class TFixedImage, class TMovingImage>
itk::ImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro FixedImageDimension  ,
unsigned  int,
TFixedImage::ImageDimension 
 

Constants for the image dimensions

Reimplemented in itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >.

template<class TFixedImage, class TMovingImage>
itk::ImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro MovingImageDimension  ,
unsigned  int,
TMovingImage::ImageDimension 
 

Constants for the image dimensions

template<class TFixedImage, class TMovingImage>
void itk::ImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::CostFunction.

Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MatchCardinalityImageToImageMetric< TFixedImage, TMovingImage >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanReciprocalSquareDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetComputeGradient bool  _arg  )  [virtual]
 

Set/Get gradient computation.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImage const FixedImageType _arg  )  [virtual]
 

Connect the Fixed Image.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImageMask FixedImageMaskType _arg  )  [virtual]
 

Set/Get the fixed image mask.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetFixedImageRegion FixedImageRegionType  _arg  )  [virtual]
 

Set the region over which the metric will be computed

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetInterpolator InterpolatorType _arg  )  [virtual]
 

Connect the Interpolator.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetMovingImage const MovingImageType _arg  )  [virtual]
 

Connect the Moving Image.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetMovingImageMask MovingImageMaskType _arg  )  [virtual]
 

Set/Get the moving image mask.

template<class TFixedImage, class TMovingImage>
virtual void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetTransform TransformType _arg  )  [virtual]
 

Connect the Transform.

template<class TFixedImage, class TMovingImage>
void itk::ImageToImageMetric< TFixedImage, TMovingImage >::SetTransformParameters const ParametersType parameters  )  const
 

Set the parameters defining the Transform.


Member Data Documentation

template<class TFixedImage, class TMovingImage>
bool itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_ComputeGradient [protected]
 

Definition at line 217 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
FixedImageConstPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_FixedImage [protected]
 

Definition at line 211 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
FixedImageMaskPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_FixedImageMask [mutable, protected]
 

Definition at line 220 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
GradientImagePointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_GradientImage [protected]
 

Definition at line 218 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
InterpolatorPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_Interpolator [protected]
 

Definition at line 215 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
MovingImageConstPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_MovingImage [protected]
 

Definition at line 212 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
MovingImageMaskPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_MovingImageMask [mutable, protected]
 

Definition at line 221 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
unsigned long itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_NumberOfPixelsCounted [mutable, protected]
 

Definition at line 209 of file itkImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
TransformPointer itk::ImageToImageMetric< TFixedImage, TMovingImage >::m_Transform [mutable, protected]
 

Definition at line 214 of file itkImageToImageMetric.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:25:31 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000