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

#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 Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
typedef AdvancedTransform
< ScalarType,
FixedImageDimension,
MovingImageDimension > 
AdvancedTransformType
typedef SmartPointer< const SelfConstPointer
typedef
Superclass::CoordinateRepresentationType 
CoordinateRepresentationType
typedef Superclass::DerivativeType DerivativeType
typedef DerivativeType::ValueType DerivativeValueType
typedef
Superclass::FixedImageConstPointer 
FixedImageConstPointer
typedef
FixedImageLimiterType::OutputType 
FixedImageLimiterOutputType
typedef LimiterFunctionBase
< RealType,
FixedImageDimension > 
FixedImageLimiterType
typedef
Superclass::FixedImageMaskPointer 
FixedImageMaskPointer
typedef
Superclass::FixedImageMaskType 
FixedImageMaskType
typedef FixedImageType::PixelType FixedImagePixelType
typedef FixedImageType::Pointer FixedImagePointer
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 vnl_sparse_matrix
< HessianValueType
HessianType
typedef DerivativeType::ValueType HessianValueType
typedef
ImageSamplerType::OutputVectorContainerPointer 
ImageSampleContainerPointer
typedef
ImageSamplerType::OutputVectorContainerType 
ImageSampleContainerType
typedef ImageSamplerType::Pointer ImageSamplerPointer
typedef ImageSamplerBase
< FixedImageType
ImageSamplerType
typedef Superclass::InputPointType InputPointType
typedef
Superclass::InterpolatorPointer 
InterpolatorPointer
typedef
Superclass::InterpolatorType 
InterpolatorType
typedef Superclass::MeasureType MeasureType
typedef
Superclass::MovingImageConstPointer 
MovingImageConstPointer
typedef FixedArray< double,
itkGetStaticConstMacro(MovingImageDimension) > 
MovingImageDerivativeScalesType
typedef
MovingImageLimiterType::OutputType 
MovingImageLimiterOutputType
typedef LimiterFunctionBase
< RealType,
MovingImageDimension > 
MovingImageLimiterType
typedef
Superclass::MovingImageMaskPointer 
MovingImageMaskPointer
typedef
Superclass::MovingImageMaskType 
MovingImageMaskType
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
typedef MovingImageType::Pointer MovingImagePointer
typedef MovingImageType::RegionType MovingImageRegionType
typedef Superclass::MovingImageType MovingImageType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef Superclass::RealType RealType
typedef TransformType::ScalarType ScalarType
typedef AdvancedImageToImageMetric Self
typedef ImageToImageMetric
< 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 (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
virtual void SetComplement (bool _arg)
virtual void SetEpsilon (RealType _arg)
virtual void SetForegroundValue (RealType _arg)
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
virtual const
FixedImageLimiterType
GetFixedImageLimiter ()
virtual double GetFixedLimitRangeRatio () const
virtual ImageSamplerTypeGetImageSampler (void) const
virtual const
MovingImageDerivativeScalesType
GetMovingImageDerivativeScales ()
virtual const
MovingImageLimiterType
GetMovingImageLimiter ()
virtual double GetMovingLimitRangeRatio () const
virtual double GetRequiredRatioOfValidSamples () const
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
const AdvancedTransformTypeGetTransform (void) const
virtual bool GetUseFixedImageLimiter () const
virtual bool GetUseImageSampler () const
virtual bool GetUseMovingImageDerivativeScales () const
virtual bool GetUseMovingImageLimiter () const
virtual void Initialize (void) throw ( ExceptionObject )
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
virtual void SetFixedImageLimiter (FixedImageLimiterType *_arg)
virtual void SetFixedLimitRangeRatio (double _arg)
virtual void SetImageSampler (ImageSamplerType *_arg)
virtual void SetMovingImageDerivativeScales (MovingImageDerivativeScalesType _arg)
virtual void SetMovingImageLimiter (MovingImageLimiterType *_arg)
virtual void SetMovingLimitRangeRatio (double _arg)
virtual void SetRequiredRatioOfValidSamples (double _arg)
virtual void SetTransform (AdvancedTransformType *arg)
virtual void SetUseMovingImageDerivativeScales (bool _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 Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
float
BSplineInterpolatorFloatType
typedef
BSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
BSplineInterpolatorType
typedef GradientImageFilter
< MovingImageType, RealType,
RealType
CentralDifferenceGradientFilterType
typedef FixedImageType::IndexType FixedImageIndexType
typedef
FixedImageIndexType::IndexValueType 
FixedImageIndexValueType
typedef
TransformType::InputPointType 
FixedImagePointType
typedef
InterpolatorType::ContinuousIndexType 
MovingImageContinuousIndexType
typedef
BSplineInterpolatorType::CovariantVectorType 
MovingImageDerivativeType
typedef MovingImageType::IndexType MovingImageIndexType
typedef
TransformType::OutputPointType 
MovingImagePointType
typedef
AdvancedTransformType::NonZeroJacobianIndicesType 
NonZeroJacobianIndicesType
typedef
ReducedDimensionBSplineInterpolateImageFunction
< MovingImageType,
CoordinateRepresentationType,
double
ReducedBSplineInterpolatorType

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 ()
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
 AdvancedImageToImageMetric ()
virtual void CheckForAdvancedTransform (void)
virtual void CheckForBSplineInterpolator (void)
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
virtual void ComputeFixedImageExtrema (const FixedImageType *image, const FixedImageRegionType &region)
virtual void ComputeMovingImageExtrema (const MovingImageType *image, const MovingImageRegionType &region)
virtual bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const
virtual bool EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const
virtual void InitializeImageSampler (void) throw ( ExceptionObject )
virtual void InitializeLimiters (void)
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
virtual void SetUseFixedImageLimiter (bool _arg)
virtual void SetUseImageSampler (bool _arg)
virtual void SetUseMovingImageLimiter (bool _arg)
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
virtual ~AdvancedImageToImageMetric ()

Private Member Functions

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

Private Attributes

bool m_Complement
RealType m_Epsilon
RealType m_ForegroundValue

Additional Inherited Members

- Protected Attributes inherited from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >
AdvancedTransformType::Pointer m_AdvancedTransform
BSplineInterpolatorType::Pointer m_BSplineInterpolator
BSplineInterpolatorFloatType::Pointer m_BSplineInterpolatorFloat
CentralDifferenceGradientFilterType::Pointer m_CentralDifferenceGradientFilter
FixedImageLimiterType::Pointer m_FixedImageLimiter
FixedImageLimiterOutputType m_FixedImageMaxLimit
FixedImageLimiterOutputType m_FixedImageMinLimit
FixedImagePixelType m_FixedImageTrueMax
FixedImagePixelType m_FixedImageTrueMin
ImageSamplerPointer m_ImageSampler
bool m_InterpolatorIsBSpline
bool m_InterpolatorIsBSplineFloat
bool m_InterpolatorIsReducedBSpline
MovingImageLimiterType::Pointer m_MovingImageLimiter
MovingImageLimiterOutputType m_MovingImageMaxLimit
MovingImageLimiterOutputType m_MovingImageMinLimit
MovingImagePixelType m_MovingImageTrueMax
MovingImagePixelType m_MovingImageTrueMin
ReducedBSplineInterpolatorType::Pointer m_ReducedBSplineInterpolator
bool m_TransformIsAdvanced

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

Typedefs from the superclass.

Definition at line 70 of file itkAdvancedKappaStatisticImageToImageMetric.h.

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

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

Standard class typedefs.

Definition at line 60 of file itkAdvancedKappaStatisticImageToImageMetric.h.

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 ( )
inlineprotectedvirtual
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 ( FixedImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)

The fixed image dimension.

Reimplemented in elastix::AdvancedKappaStatisticMetric< TElastix >.

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>
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 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo