go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes
itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage > Class Template Reference

Computes similarity between two objects to be registered. More...

#include <itkAdvancedKappaStatisticImageToImageMetric.h>

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

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef
Superclass::DerivativeValueType 
DerivativeValueType
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
typedef
Superclass::FixedImageLimiterOutputType 
FixedImageLimiterOutputType
typedef
Superclass::FixedImageLimiterType 
FixedImageLimiterType
typedef
Superclass::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass::FixedImageMaskType 
FixedImageMaskType
typedef
Superclass::FixedImagePixelType 
FixedImagePixelType
typedef
Superclass::FixedImageRegionType 
FixedImageRegionType
typedef Superclass::FixedImageType FixedImageType
typedef
Superclass::GradientImageFilterPointer 
GradientImageFilterPointer
typedef
Superclass::GradientImageFilterType 
GradientImageFilterType
typedef
Superclass::GradientImagePointer 
GradientImagePointer
typedef
Superclass::GradientImageType 
GradientImageType
typedef
Superclass::GradientPixelType 
GradientPixelType
typedef
Superclass::ImageSampleContainerPointer 
ImageSampleContainerPointer
typedef
Superclass::ImageSampleContainerType 
ImageSampleContainerType
typedef
Superclass::ImageSamplerPointer 
ImageSamplerPointer
typedef
Superclass::ImageSamplerType 
ImageSamplerType
typedef Superclass::InputPointType InputPointType
typedef
Superclass::InterpolatorPointer 
InterpolatorPointer
typedef
Superclass::InterpolatorType 
InterpolatorType
typedef Superclass::MeasureType MeasureType
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
typedef
Superclass::MovingImageDerivativeScalesType 
MovingImageDerivativeScalesType
typedef
Superclass::MovingImageLimiterOutputType 
MovingImageLimiterOutputType
typedef
Superclass::MovingImageLimiterType 
MovingImageLimiterType
typedef
Superclass::MovingImageMaskPointer 
MovingImageMaskPointer
typedef
Superclass::MovingImageMaskType 
MovingImageMaskType
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
typedef
Superclass::MovingImageRegionType 
MovingImageRegionType
typedef Superclass::MovingImageType MovingImageType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef Superclass::RealType RealType
typedef
AdvancedKappaStatisticImageToImageMetric 
Self
typedef
AdvancedImageToImageMetric
< TFixedImage, TMovingImage > 
Superclass
typedef
Superclass::TransformJacobianType 
TransformJacobianType
typedef
Superclass::TransformParametersType 
TransformParametersType
typedef
Superclass::TransformPointer 
TransformPointer
typedef Superclass::TransformType TransformType

Public Member Functions

virtual void ComplementOff ()
virtual void ComplementOn ()
virtual void ComputeGradient (void)
virtual const char * GetClassName () const
virtual const boolGetComplement ()
virtual void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const
virtual const RealTypeGetEpsilon ()
virtual const RealTypeGetForegroundValue ()
virtual MeasureType GetValue (const TransformParametersType &parameters) const
virtual void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
virtual void SetComplement (bool _arg)
virtual void SetEpsilon (RealType _arg)
virtual void SetForegroundValue (RealType _arg)

Static Public Member Functions

static Pointer New ()

Protected Types

typedef
Superclass::BSplineInterpolatorType 
BSplineInterpolatorType
typedef
Superclass::CentralDifferenceGradientFilterType 
CentralDifferenceGradientFilterType
typedef
Superclass::FixedImageIndexType 
FixedImageIndexType
typedef
Superclass::FixedImageIndexValueType 
FixedImageIndexValueType
typedef
Superclass::FixedImagePointType 
FixedImagePointType
typedef
Superclass::MovingImageContinuousIndexType 
MovingImageContinuousIndexType
typedef
Superclass::MovingImageDerivativeType 
MovingImageDerivativeType
typedef
Superclass::MovingImageIndexType 
MovingImageIndexType
typedef
Superclass::MovingImagePointType 
MovingImagePointType
typedef
Superclass::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType

Protected Member Functions

 AdvancedKappaStatisticImageToImageMetric ()
void EvaluateMovingImageAndTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &innerProduct) const
void PrintSelf (std::ostream &os, Indent indent) const
void UpdateValueAndDerivativeTerms (const RealType &fixedImageValue, const RealType &movingImageValue, std::vcl_size_t &fixedForegroundArea, std::vcl_size_t &movingForegroundArea, std::vcl_size_t &intersection, const DerivativeType &imageJacobian, const NonZeroJacobianIndicesType &nzji, DerivativeType &sum1, DerivativeType &sum2) const
virtual ~AdvancedKappaStatisticImageToImageMetric ()

Private Member Functions

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

Private Attributes

bool m_Complement
RealType m_Epsilon
RealType m_ForegroundValue

Detailed Description

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

Computes similarity between two objects to be registered.

This Class is templated over the type of the fixed and moving images to be compared. The metric here is designed for matching pixels in two images with the same exact value. Only one value can be considered (the default is 255) and can be specified with the SetForegroundValue method. In the computation of the metric, only foreground pixels are considered. The metric value is given by 2*|A&B|/(|A|+|B|), where A is the foreground region in the moving image, B is the foreground region in the fixed image, & is intersection, and |.| indicates the area of the enclosed set. The metric is described in "Morphometric Analysis of White Matter Lesions in MR Images: Method and Validation", A. P. Zijdenbos, B. M. Dawant, R. A. Margolin, A. C. Palmer.

This metric is especially useful when considering the similarity between binary images. Given the nature of binary images, a nearest neighbor interpolator is the preferred interpolator.

Metric values range from 0.0 (no foreground alignment) to 1.0 (perfect foreground alignment). When dealing with optimizers that can only minimize a metric, use the ComplementOn() method.

Definition at line 54 of file itkAdvancedKappaStatisticImageToImageMetric.h.


Member Typedef Documentation

template<class TFixedImage, class TMovingImage>
typedef Superclass::BSplineInterpolatorType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::BSplineInterpolatorType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::CentralDifferenceGradientFilterType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::CentralDifferenceGradientFilterType [protected]
template<class TFixedImage, class TMovingImage>
typedef SmartPointer<const Self> itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::CoordinateRepresentationType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType
template<class TFixedImage, class TMovingImage>
typedef Superclass::DerivativeType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType
template<class TFixedImage, class TMovingImage>
typedef Superclass::DerivativeValueType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::DerivativeValueType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageConstPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageIndexType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageIndexType [protected]

Protected Typedefs Typedefs inherited from superclass

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

Definition at line 168 of file itkAdvancedKappaStatisticImageToImageMetric.h.

template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageIndexValueType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageIndexValueType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterOutputType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageLimiterType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageMaskType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePixelType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImagePointType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePointType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageRegionType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::FixedImageType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageFilterType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImagePointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientImageType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::GradientPixelType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSampleContainerType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::ImageSamplerType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InputPointType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::InputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::InterpolatorType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MeasureType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MeasureType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageConstPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageContinuousIndexType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageContinuousIndexType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeScalesType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageDerivativeType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageIndexType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageIndexType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterOutputType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterOutputType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageLimiterType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageMaskType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePixelType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImagePointType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePointType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageRegionType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType
template<class TFixedImage, class TMovingImage>
typedef Superclass::MovingImageType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType
template<class TFixedImage, class TMovingImage>
typedef Superclass::NonZeroJacobianIndicesType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::NonZeroJacobianIndicesType [protected]
template<class TFixedImage, class TMovingImage>
typedef Superclass::OutputPointType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType
template<class TFixedImage, class TMovingImage>
typedef Superclass::ParametersType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ParametersType
template<class TFixedImage, class TMovingImage>
typedef SmartPointer<Self> itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::Pointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::RealType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::RealType
template<class TFixedImage, class TMovingImage>
typedef AdvancedKappaStatisticImageToImageMetric itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::Self
template<class TFixedImage, class TMovingImage>
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::Superclass
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformJacobianType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformParametersType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformPointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer
template<class TFixedImage, class TMovingImage>
typedef Superclass::TransformType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::TransformType

Constructor & Destructor Documentation

template<class TFixedImage, class TMovingImage>
itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::AdvancedKappaStatisticImageToImageMetric ( ) [protected]
template<class TFixedImage, class TMovingImage>
virtual itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::~AdvancedKappaStatisticImageToImageMetric ( ) [inline, protected, virtual]
template<class TFixedImage, class TMovingImage>
itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::AdvancedKappaStatisticImageToImageMetric ( const Self ) [private]

Member Function Documentation

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ComplementOff ( ) [virtual]
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ComplementOn ( ) [virtual]
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::ComputeGradient ( void  ) [virtual]

Computes the moving gradient image dM/dx.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::EvaluateMovingImageAndTransformJacobianInnerProduct ( const TransformJacobianType jacobian,
const MovingImageDerivativeType movingImageDerivative,
DerivativeType innerProduct 
) const [protected]

Computes the inner product of transform Jacobian with moving image gradient. The results are stored in the imageJacobian, which is supposed to have the right size (same length as Jacobian's number of columns).

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

Run-time type information (and related methods).

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

Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
virtual const bool& itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GetComplement ( ) [virtual]
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GetDerivative ( const TransformParametersType parameters,
DerivativeType derivative 
) const [virtual]

Get the derivatives of the match measure.

template<class TFixedImage, class TMovingImage>
virtual const RealType& itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GetEpsilon ( ) [virtual]
template<class TFixedImage, class TMovingImage>
virtual const RealType& itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GetForegroundValue ( ) [virtual]
template<class TFixedImage, class TMovingImage>
virtual MeasureType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GetValue ( const TransformParametersType parameters) const [virtual]

Get the value for single valued optimizers.

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative ( const TransformParametersType parameters,
MeasureType Value,
DerivativeType Derivative 
) const [virtual]

Get value and derivatives for multiple valued optimizers.

template<class TFixedImage, class TMovingImage>
itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
MovingImageType::ImageDimension   
)

The moving image dimension.

Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)

The fixed image dimension.

Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
static Pointer itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::operator= ( const Self ) [private]
template<class TFixedImage, class TMovingImage>
void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected]
template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::SetComplement ( bool  _arg) [virtual]

Set/Get whether this metric returns 2*|A&B|/(|A|+|B|) (ComplementOff, the default) or 1.0 - 2*|A&B|/(|A|+|B|) (ComplementOn). When using an optimizer that minimizes metric values use ComplementOn().

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::SetEpsilon ( RealType  _arg) [virtual]

Set the precision.

template<class TFixedImage, class TMovingImage>
virtual void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::SetForegroundValue ( RealType  _arg) [virtual]

This method allows the user to set the foreground value. The default value is 1.0.

template<class TFixedImage, class TMovingImage>
void itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::UpdateValueAndDerivativeTerms ( const RealType fixedImageValue,
const RealType movingImageValue,
std::vcl_size_t &  fixedForegroundArea,
std::vcl_size_t &  movingForegroundArea,
std::vcl_size_t &  intersection,
const DerivativeType imageJacobian,
const NonZeroJacobianIndicesType nzji,
DerivativeType sum1,
DerivativeType sum2 
) const [protected]

Compute a pixel's contribution to the measure and derivatives; Called by GetValueAndDerivative().


Field Documentation

template<class TFixedImage, class TMovingImage>
bool itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::m_Complement [private]
template<class TFixedImage, class TMovingImage>
RealType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::m_Epsilon [private]
template<class TFixedImage, class TMovingImage>
RealType itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >::m_ForegroundValue [private]


Generated on 24-10-2011 for elastix by doxygen 1.7.4 elastix logo