ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage > Class Template Reference

#include <itkTwoImageToOneImageMetric.h>

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

Detailed Description

template<typename TFixedImage, typename TMovingImage>
class itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >

Computes similarity between two fixed images and one fixed image.

This Class is templated over the type of the two input images. It expects a Transform and two Interpolators 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 two Fixed image and the transformed Moving images. The Interpolators are used to compute intensity values on non-grid positions resulting from mapping points through the Transform.

Definition at line 53 of file itkTwoImageToOneImageMetric.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
FixedImageType::ConstPointer 
FixedImageConstPointer
 
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
 
typedef SpatialObject
< itkGetStaticConstMacro(FixedImageDimension) > 
FixedImageMaskType
 
typedef FixedImageType::RegionType FixedImageRegionType
 
typedef TFixedImage FixedImageType
 
typedef
TransformType::InputPointType 
InputPointType
 
typedef
InterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType
InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef
MovingImageType::ConstPointer 
MovingImageConstPointer
 
typedef
MovingImageMaskType::Pointer 
MovingImageMaskPointer
 
typedef SpatialObject
< itkGetStaticConstMacro(MovingImageDimension) > 
MovingImageMaskType
 
typedef TMovingImage::PixelType MovingImagePixelType
 
typedef TMovingImage MovingImageType
 
typedef
TransformType::OutputPointType 
OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef TwoImageToOneImageMetric Self
 
typedef SingleValuedCostFunction Superclass
 
typedef TransformType::JacobianType TransformJacobianType
 
typedef
TransformType::ParametersType 
TransformParametersType
 
typedef TransformType::Pointer TransformPointer
 
typedef Transform
< CoordinateRepresentationType,
itkGetStaticConstMacro(MovingImageDimension),
itkGetStaticConstMacro(FixedImageDimension)> 
TransformType
 
typedef NumericTraits
< MovingImagePixelType >
::RealType 
RealType
 
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
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
- Public Types inherited from itk::SingleValuedCostFunction
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef double MeasureType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef SingleValuedCostFunction Self
 
typedef CostFunction Superclass
 
- Public Types inherited from itk::CostFunctionTemplate< TInternalComputationValueType >
typedef SmartPointer< const SelfConstPointer
 
typedef OptimizerParameters
< TInternalComputationValueType > 
ParametersType
 
typedef
TInternalComputationValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef CostFunctionTemplate Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual const FixedImageTypeGetFixedImage1 () const
 
virtual const FixedImageTypeGetFixedImage2 () const
 
virtual const
FixedImageRegionType
GetFixedImageRegion1 () const
 
virtual const
FixedImageRegionType
GetFixedImageRegion2 () const
 
virtual const GradientImageTypeGetGradientImage () const
 
virtual const InterpolatorTypeGetInterpolator1 () const
 
virtual const InterpolatorTypeGetInterpolator2 () const
 
virtual const MovingImageTypeGetMovingImage () const
 
virtual const char * GetNameOfClass () const
 
unsigned int GetNumberOfParameters () const
 
virtual const unsigned long & GetNumberOfPixelsCounted () const
 
virtual const TransformTypeGetTransform () const
 
virtual void Initialize ()
 
virtual void SetFixedImage1 (const FixedImageType *_arg)
 
virtual void SetFixedImage2 (const FixedImageType *_arg)
 
virtual void SetFixedImageRegion1 (FixedImageRegionType _arg)
 
virtual void SetFixedImageRegion2 (FixedImageRegionType _arg)
 
virtual void SetInterpolator1 (InterpolatorType *_arg)
 
virtual void SetInterpolator2 (InterpolatorType *_arg)
 
virtual void SetMovingImage (const MovingImageType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void SetTransformParameters (const ParametersType &parameters) const
 
virtual void SetMovingImageMask (MovingImageMaskType *_arg)
 
virtual const MovingImageMaskTypeGetMovingImageMask () const
 
virtual void SetFixedImageMask1 (FixedImageMaskType *_arg)
 
virtual void SetFixedImageMask2 (FixedImageMaskType *_arg)
 
virtual const FixedImageMaskTypeGetFixedImageMask1 () const
 
virtual const FixedImageMaskTypeGetFixedImageMask2 () const
 
virtual void SetComputeGradient (bool _arg)
 
virtual const bool & GetComputeGradient () const
 
virtual void ComputeGradientOn ()
 
virtual void ComputeGradientOff ()
 
- 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
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Attributes

static const unsigned int MovingImageDimension = TMovingImage::ImageDimension
 
static const unsigned int FixedImageDimension = TFixedImage::ImageDimension
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const
 
 TwoImageToOneImageMetric ()
 
virtual ~TwoImageToOneImageMetric ()
 
- Protected Member Functions inherited from itk::SingleValuedCostFunction
 SingleValuedCostFunction ()
 
virtual ~SingleValuedCostFunction () override
 
- Protected Member Functions inherited from itk::CostFunctionTemplate< TInternalComputationValueType >
 CostFunctionTemplate ()
 
virtual ~CostFunctionTemplate () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- 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 ()
 

Protected Attributes

bool m_ComputeGradient
 
FixedImageConstPointer m_FixedImage1
 
FixedImageConstPointer m_FixedImage2
 
FixedImageMaskPointer m_FixedImageMask1
 
FixedImageMaskPointer m_FixedImageMask2
 
GradientImagePointer m_GradientImage
 
InterpolatorPointer m_Interpolator1
 
InterpolatorPointer m_Interpolator2
 
MovingImageConstPointer m_MovingImage
 
MovingImageMaskPointer m_MovingImageMask
 
unsigned long m_NumberOfPixelsCounted
 
TransformPointer m_Transform
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

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

Private Attributes

FixedImageRegionType m_FixedImageRegion1
 
FixedImageRegionType m_FixedImageRegion2
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Member Typedef Documentation

template<typename TFixedImage , typename TMovingImage >
typedef SmartPointer<const Self> itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::ConstPointer

Definition at line 60 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef Superclass::ParametersValueType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType

Type used for representing point components

Definition at line 63 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef Superclass::DerivativeType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::DerivativeType

Type of the derivative.

Definition at line 133 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef FixedImageType::ConstPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer

Definition at line 75 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef FixedImageMaskType::Pointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer

Definition at line 120 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef SpatialObject< itkGetStaticConstMacro(FixedImageDimension) > itk::TwoImageToOneImageMetric< 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 119 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef FixedImageType::RegionType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType

Definition at line 76 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TFixedImage itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::FixedImageType

Type of the fixed Image.

Definition at line 74 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef GradientImageFilterType::Pointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer

Gaussian filter to compute the gradient of the Moving Image

Definition at line 112 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef GradientRecursiveGaussianImageFilter< MovingImageType, GradientImageType > itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType

Gaussian filter to compute the gradient of the Moving Image

Definition at line 111 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef SmartPointer<GradientImageType> itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GradientImagePointer

Gaussian filter to compute the gradient of the Moving Image

Definition at line 108 of file itkTwoImageToOneImageMetric.h.

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

Gaussian filter to compute the gradient of the Moving Image

Definition at line 107 of file itkTwoImageToOneImageMetric.h.

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

Gaussian filter to compute the gradient of the Moving Image

Definition at line 105 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TransformType::InputPointType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::InputPointType

Definition at line 91 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef InterpolatorType::Pointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer

Gaussian filter to compute the gradient of the Moving Image

Definition at line 113 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::InterpolatorType

Type of the Interpolator Base class

Definition at line 99 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef Superclass::MeasureType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::MeasureType

Type of the measure.

Definition at line 130 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef MovingImageType::ConstPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer

Definition at line 71 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef MovingImageMaskType::Pointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer

Definition at line 126 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef SpatialObject< itkGetStaticConstMacro(MovingImageDimension) > itk::TwoImageToOneImageMetric< 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 125 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TMovingImage::PixelType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType

Definition at line 70 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TMovingImage itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::MovingImageType

Type of the moving Image.

Definition at line 66 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TransformType::OutputPointType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::OutputPointType

Definition at line 92 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef Superclass::ParametersType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::ParametersType

Type of the parameters.

Definition at line 136 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef SmartPointer<Self> itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::Pointer

Definition at line 59 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef NumericTraits<MovingImagePixelType>::RealType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::RealType

Gaussian filter to compute the gradient of the Moving Image

Definition at line 103 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TwoImageToOneImageMetric itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::Self

Standard class typedefs.

Definition at line 57 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef SingleValuedCostFunction itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::Superclass

Definition at line 58 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TransformType::JacobianType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::TransformJacobianType

Definition at line 94 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TransformType::ParametersType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::TransformParametersType

Definition at line 93 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
typedef TransformType::Pointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::TransformPointer

Definition at line 90 of file itkTwoImageToOneImageMetric.h.

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

Type of the Transform Base class

Definition at line 88 of file itkTwoImageToOneImageMetric.h.

Constructor & Destructor Documentation

template<typename TFixedImage , typename TMovingImage >
itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::TwoImageToOneImageMetric ( )
protected
template<typename TFixedImage , typename TMovingImage >
virtual itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::~TwoImageToOneImageMetric ( )
inlineprotectedvirtual

Definition at line 225 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::TwoImageToOneImageMetric ( const Self )
private

Member Function Documentation

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::ComputeGradientOff ( )
virtual

Set/Get gradient computation.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::ComputeGradientOn ( )
virtual

Set/Get gradient computation.

template<typename TFixedImage , typename TMovingImage >
virtual const bool& itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetComputeGradient ( ) const
virtual

Set/Get gradient computation.

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetFixedImage1 ( ) const
virtual

Get the Fixed Image.

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetFixedImage2 ( ) const
virtual

Get the Fixed Image.

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageMaskType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetFixedImageMask1 ( ) const
virtual

Set/Get the fixed image mask.

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageMaskType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetFixedImageMask2 ( ) const
virtual

Set/Get the fixed image mask.

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageRegionType& itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetFixedImageRegion1 ( ) const
virtual

Get the region over which the metric will be computed

template<typename TFixedImage , typename TMovingImage >
virtual const FixedImageRegionType& itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetFixedImageRegion2 ( ) const
virtual

Get the region over which the metric will be computed

template<typename TFixedImage , typename TMovingImage >
virtual const GradientImageType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetGradientImage ( ) const
virtual

Get Gradient Image.

template<typename TFixedImage , typename TMovingImage >
virtual const InterpolatorType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetInterpolator1 ( ) const
virtual

Get a pointer to the Interpolator.

template<typename TFixedImage , typename TMovingImage >
virtual const InterpolatorType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetInterpolator2 ( ) const
virtual

Get a pointer to the Interpolator.

template<typename TFixedImage , typename TMovingImage >
virtual const MovingImageType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetMovingImage ( ) const
virtual

Get the Moving Image.

template<typename TFixedImage , typename TMovingImage >
virtual const MovingImageMaskType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetMovingImageMask ( ) const
virtual

Set/Get the moving image mask.

template<typename TFixedImage , typename TMovingImage >
virtual const char* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::SingleValuedCostFunction.

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

template<typename TFixedImage , typename TMovingImage >
unsigned int itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetNumberOfParameters ( void  ) const
inlinevirtual
template<typename TFixedImage , typename TMovingImage >
virtual const unsigned long& itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetNumberOfPixelsCounted ( ) const
virtual

Get the number of pixels considered in the computation.

template<typename TFixedImage , typename TMovingImage >
virtual const TransformType* itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::GetTransform ( ) const
virtual

Get a pointer to the Transform.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::Initialize ( )
virtual

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

template<typename TFixedImage , typename TMovingImage >
void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::operator= ( const Self )
private
template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::CostFunctionTemplate< TInternalComputationValueType >.

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

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetComputeGradient ( bool  _arg)
virtual

Set/Get gradient computation.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetFixedImage1 ( const FixedImageType _arg)
virtual

Connect the Fixed Image.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetFixedImage2 ( const FixedImageType _arg)
virtual

Connect the Fixed Image.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetFixedImageMask1 ( FixedImageMaskType _arg)
virtual

Set/Get the fixed image mask.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetFixedImageMask2 ( FixedImageMaskType _arg)
virtual

Set/Get the fixed image mask.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetFixedImageRegion1 ( FixedImageRegionType  _arg)
virtual

Set the region over which the metric will be computed

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetFixedImageRegion2 ( FixedImageRegionType  _arg)
virtual

Set the region over which the metric will be computed

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetInterpolator1 ( InterpolatorType _arg)
virtual

Connect the Interpolator.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetInterpolator2 ( InterpolatorType _arg)
virtual

Connect the Interpolator.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetMovingImage ( const MovingImageType _arg)
virtual

Connect the Moving Image.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetMovingImageMask ( MovingImageMaskType _arg)
virtual

Set/Get the moving image mask.

template<typename TFixedImage , typename TMovingImage >
virtual void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetTransform ( TransformType _arg)
virtual

Connect the Transform.

template<typename TFixedImage , typename TMovingImage >
void itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::SetTransformParameters ( const ParametersType parameters) const

Set the parameters defining the Transform.

Member Data Documentation

template<typename TFixedImage , typename TMovingImage >
const unsigned int itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::FixedImageDimension = TFixedImage::ImageDimension
static

Constants for the image dimensions

Definition at line 82 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
bool itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_ComputeGradient
protected

Definition at line 238 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
FixedImageConstPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_FixedImage1
protected

Definition at line 230 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
FixedImageConstPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_FixedImage2
protected

Definition at line 231 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
FixedImageMaskPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_FixedImageMask1
mutableprotected

Definition at line 241 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
FixedImageMaskPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_FixedImageMask2
mutableprotected

Definition at line 242 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
FixedImageRegionType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_FixedImageRegion1
private

Definition at line 249 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
FixedImageRegionType itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_FixedImageRegion2
private

Definition at line 250 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
GradientImagePointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_GradientImage
protected

Definition at line 239 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
InterpolatorPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_Interpolator1
protected

Definition at line 235 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
InterpolatorPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_Interpolator2
protected

Definition at line 236 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
MovingImageConstPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_MovingImage
protected

Definition at line 232 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
MovingImageMaskPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_MovingImageMask
mutableprotected

Definition at line 243 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
unsigned long itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_NumberOfPixelsCounted
mutableprotected

Definition at line 228 of file itkTwoImageToOneImageMetric.h.

template<typename TFixedImage , typename TMovingImage >
TransformPointer itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::m_Transform
mutableprotected
template<typename TFixedImage , typename TMovingImage >
const unsigned int itk::TwoImageToOneImageMetric< TFixedImage, TMovingImage >::MovingImageDimension = TMovingImage::ImageDimension
static

Constants for the image dimensions

Definition at line 80 of file itkTwoImageToOneImageMetric.h.


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