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

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

#include <itkCompareHistogramImageToImageMetric.h>

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

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

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Compares Histograms between two images to be registered to a Training Histogram.

This class is templated over the type of the fixed and moving images to be compared.

This metric computes the similarity between the histogram produced by two images overlapping and a training histogram.

It is to be sub-classed by the method of comparing the histograms.

Generally, the histogram from the training data is to be computed in exactly the same way as the histogram from the images to be compared are computed. Thus, the user can set the interpolator, region, two training images and the transfrom and the training histogram will be formed. OR, the user can simply calculate the training histogram seperately and set it.

Warning:
The Initialize function does nothing if the training histogram already exists. Thus repeated calls to the Initialize function do nothing after the first call. If you wish the training histogram to be re-calculated, you should set it to 0.
Author:
Samson Timoner.

Definition at line 53 of file itkCompareHistogramImageToImageMetric.h.
 CompareHistogramImageToImageMetric ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~CompareHistogramImageToImageMetric ()

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ParametersValueType CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
typedef Superclass::FixedImageConstPointer FixedImageConstPointerType
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
typedef SpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskType
typedef Superclass::FixedImageType::PixelType FixedImagePixelType
typedef Superclass::FixedImageRegionType FixedImageRegionType
typedef Superclass::FixedImageType FixedImageType
typedef Superclass::GradientPixelType GradientPixelType
typedef HistogramType::FrequencyType HistogramFrequencyType
typedef HistogramType::Iterator HistogramIteratorType
typedef HistogramType::MeasurementVectorType HistogramMeasurementVectorType
typedef HistogramType::Pointer HistogramPointer
typedef HistogramType::Pointer HistogramPointerType
typedef Superclass::HistogramSizeType HistogramSizeType
typedef Superclass::HistogramType HistogramType
typedef Superclass::InputPointType InputPointType
typedef Superclass::InterpolatorPointer InterpolatorPointer
typedef Superclass::InterpolatorType InterpolatorType
typedef HistogramType::MeasurementVectorType MeasurementVectorType
typedef Superclass::MeasureType MeasureType
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
typedef Superclass::MovingImageConstPointer MovingImageConstPointerType
typedef MovingImageMaskType::Pointer MovingImageMaskPointer
typedef SpatialObject< itkGetStaticConstMacro(MovingImageDimension) > MovingImageMaskType
typedef Superclass::MovingImageType::PixelType MovingImagePixelType
typedef Superclass::MovingImageType MovingImageType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::ParametersType ParametersType
typedef double ParametersValueType
typedef SmartPointer< SelfPointer
typedef Superclass::RealType RealType
typedef Array< double > ScalesType
typedef CompareHistogramImageToImageMetric Self
typedef HistogramImageToImageMetric<
TFixedImage, TMovingImage > 
Superclass
typedef TransformType::ConstPointer TransformConstPointer
typedef Superclass::TransformJacobianType TransformJacobianType
typedef Superclass::TransformParametersType TransformParametersType
typedef Superclass::TransformPointer TransformPointer
typedef Superclass::TransformType TransformType
typedef GradientImageFilterType::Pointer GradientImageFilterPointer
typedef GradientRecursiveGaussianImageFilter<
MovingImageType, GradientImageType
GradientImageFilterType
typedef SmartPointer< GradientImageTypeGradientImagePointer
typedef Image< GradientPixelType,
itkGetStaticConstMacro(MovingImageDimension)> 
GradientImageType

Public Member Functions

virtual void ComputeGradient ()
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const=0
void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const
virtual double GetDerivativeStepLength ()
virtual const ScalesTypeGetDerivativeStepLengthScales ()
virtual const FixedImageTypeGetFixedImage ()
virtual const FixedImageRegionTypeGetFixedImageRegion ()
virtual const GradientImageTypeGetGradientImage ()
virtual const HistogramPointerGetHistogram ()
virtual const HistogramSizeTypeGetHistogramSize ()
virtual const InterpolatorTypeGetInterpolator ()
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual const MovingImageTypeGetMovingImage ()
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
unsigned int GetNumberOfParameters (void) const
virtual const unsigned long & GetNumberOfPixelsCounted ()
virtual const FixedImagePixelTypeGetPaddingValue ()
virtual int GetReferenceCount () const
virtual const FixedImageTypeGetTrainingFixedImage ()
virtual const FixedImageRegionTypeGetTrainingFixedImageRegion ()
virtual const HistogramPointerTypeGetTrainingHistogram ()
virtual InterpolatorTypeGetTrainingInterpolator ()
virtual const MovingImageTypeGetTrainingMovingImage ()
virtual TransformTypeGetTrainingTransform ()
virtual const TransformTypeGetTransform ()
virtual MeasureType GetValue (const ParametersType &parameters) const=0
MeasureType GetValue (const TransformParametersType &parameters) const
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
bool HasObserver (const EventObject &event) const
void Initialize () throw (ExceptionObject)
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
virtual void Modified () const
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
virtual void SetDerivativeStepLength (double _arg)
virtual void SetDerivativeStepLengthScales (ScalesType _arg)
virtual void SetFixedImage (const FixedImageType *_arg)
virtual void SetFixedImageRegion (FixedImageRegionType _arg)
virtual void SetHistogramSize (HistogramSizeType _arg)
virtual void SetInterpolator (InterpolatorType *_arg)
void SetLowerBound (const MeasurementVectorType &bound)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetMovingImage (const MovingImageType *_arg)
virtual void SetPaddingValue (FixedImagePixelType _arg)
virtual void SetReferenceCount (int)
virtual void SetTrainingFixedImage (const FixedImageType *_arg)
virtual void SetTrainingFixedImageRegion (FixedImageRegionType _arg)
virtual void SetTrainingHistogram (HistogramPointerType _arg)
virtual void SetTrainingInterpolator (InterpolatorType *_arg)
virtual void SetTrainingMovingImage (const MovingImageType *_arg)
virtual void SetTrainingTransform (TransformType *_arg)
virtual void SetTransform (TransformType *_arg)
void SetTransform (TransformType *transform)
void SetTransformParameters (const ParametersType &parameters) const
void SetUpperBound (const MeasurementVectorType &bound)
virtual void UnRegister () const
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
virtual void ComputeGradientOff ()
virtual void ComputeGradientOn ()
virtual const bool & GetComputeGradient ()
virtual void SetComputeGradient (bool _arg)
virtual const FixedImageMaskTypeGetFixedImageMask ()
virtual void SetFixedImageMask (FixedImageMaskType *_arg)
virtual const MovingImageMaskTypeGetMovingImageMask ()
virtual void SetMovingImageMask (MovingImageMaskType *_arg)
virtual double GetUpperBoundIncreaseFactor ()
virtual void SetUpperBoundIncreaseFactor (double _arg)
virtual bool GetUsePaddingValue ()
virtual void SetUsePaddingValue (bool _arg)
virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)

Protected Member Functions

void ComputeHistogram (const TransformParametersType &parameters, unsigned int parameter, double step, HistogramType &histogram) const
void ComputeHistogram (const TransformParametersType &parameters, HistogramType &histogram) const
void CopyHistogram (HistogramType &target, HistogramType &source) const
virtual MeasureType EvaluateMeasure (HistogramType &histogram) const=0
virtual MeasureType EvaluateMeasure (HistogramType &histogram) const=0
void FormTrainingHistogram () throw (ExceptionObject)
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

bool m_ComputeGradient
FixedImageConstPointer m_FixedImage
FixedImageMaskPointer m_FixedImageMask
GradientImagePointer m_GradientImage
HistogramSizeType m_HistogramSize
InterpolatorPointer m_Interpolator
MeasurementVectorType m_LowerBound
bool m_LowerBoundSetByUser
MovingImageConstPointer m_MovingImage
MovingImageMaskPointer m_MovingImageMask
unsigned long m_NumberOfPixelsCounted
volatile int m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
TransformPointer m_Transform
MeasurementVectorType m_UpperBound
double m_UpperBoundIncreaseFactor
bool m_UpperBoundSetByUser


Member Typedef Documentation

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

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

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

Definition at line 61 of file itkCompareHistogramImageToImageMetric.h.

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

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::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType

Type of the derivative.

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

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

Definition at line 79 of file itkCompareHistogramImageToImageMetric.h.

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

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

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

Definition at line 82 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageConstPointer itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointerType [inherited]

Definition at line 67 of file itkHistogramImageToImageMetric.h.

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

Definition at line 122 of file itkImageToImageMetric.h.

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

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 Superclass::FixedImageType::PixelType itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType [inherited]

Definition at line 63 of file itkHistogramImageToImageMetric.h.

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

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

Definition at line 99 of file itkCompareHistogramImageToImageMetric.h.

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

Type of the fixed Image.

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

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

Definition at line 80 of file itkCompareHistogramImageToImageMetric.h.

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

Definition at line 110 of file itkImageToImageMetric.h.

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

Definition at line 109 of file itkImageToImageMetric.h.

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

Definition at line 106 of file itkImageToImageMetric.h.

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

Definition at line 105 of file itkImageToImageMetric.h.

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

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

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

Definition at line 76 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef HistogramType::FrequencyType itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::HistogramFrequencyType

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

Definition at line 90 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef HistogramType::Iterator itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::HistogramIteratorType

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

Definition at line 91 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef HistogramType::MeasurementVectorType itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::HistogramMeasurementVectorType

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

Definition at line 89 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef HistogramType::Pointer itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::HistogramPointer [inherited]

Definition at line 77 of file itkHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef HistogramType::Pointer itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::HistogramPointerType

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

Definition at line 92 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::HistogramSizeType itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::HistogramSizeType

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

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

Definition at line 87 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::HistogramType itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::HistogramType

Typedefs for histogram. This should have been defined as Histogram<RealType,2> but a bug in VC++7 produced an internal compiler error with such declaration.

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

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

Definition at line 86 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::InputPointType itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::InputPointType [inherited]

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

Definition at line 58 of file itkHistogramImageToImageMetric.h.

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

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

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

Definition at line 96 of file itkCompareHistogramImageToImageMetric.h.

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

Type of the Interpolator Base class

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

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

Definition at line 94 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef HistogramType::MeasurementVectorType itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::MeasurementVectorType [inherited]

Definition at line 75 of file itkHistogramImageToImageMetric.h.

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

Type of the measure.

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

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

Definition at line 78 of file itkCompareHistogramImageToImageMetric.h.

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

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

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

Definition at line 84 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageConstPointer itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointerType [inherited]

Definition at line 69 of file itkHistogramImageToImageMetric.h.

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

Definition at line 128 of file itkImageToImageMetric.h.

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

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 Superclass::MovingImageType::PixelType itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType [inherited]

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

Definition at line 65 of file itkHistogramImageToImageMetric.h.

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

Type of the moving Image.

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

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

Definition at line 81 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::OutputPointType itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType [inherited]

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

Definition at line 59 of file itkHistogramImageToImageMetric.h.

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

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.

typedef double itk::CostFunction::ParametersValueType [inherited]

ParametersType typedef. It defines a position in the optimization search space.

Definition at line 46 of file itkCostFunction.h.

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

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

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

Definition at line 60 of file itkCompareHistogramImageToImageMetric.h.

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

Types transferred from the base class

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

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

Definition at line 65 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Array<double> itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >::ScalesType [inherited]

The scales type.

Definition at line 121 of file itkHistogramImageToImageMetric.h.

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

Standard class typedefs.

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

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

Definition at line 58 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef HistogramImageToImageMetric<TFixedImage, TMovingImage> itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::Superclass

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

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

Definition at line 59 of file itkCompareHistogramImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef TransformType::ConstPointer itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >::TransformConstPointer

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

Definition at line 71 of file itkCompareHistogramImageToImageMetric.h.

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

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

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

Definition at line 75 of file itkCompareHistogramImageToImageMetric.h.

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

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

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

Definition at line 74 of file itkCompareHistogramImageToImageMetric.h.

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

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

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

Definition at line 70 of file itkCompareHistogramImageToImageMetric.h.

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

Type of the Transform Base class

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

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

Definition at line 69 of file itkCompareHistogramImageToImageMetric.h.


Constructor & Destructor Documentation

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

Constructor is protected to ensure that New() function is used to create instances.

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

Constructor is protected to ensure that New() function is used to create instances.

Definition at line 150 of file itkCompareHistogramImageToImageMetric.h.


Member Function Documentation

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) const [inherited]

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

static void itk::LightObject::BreakOnError