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

itk::SingleValuedCostFunction Class Reference
[NumericsOptimizers]

This class is a base for the CostFunctions returning a single value. More...

#include <itkSingleValuedCostFunction.h>

Inheritance diagram for itk::SingleValuedCostFunction:

Inheritance graph
[legend]
Collaboration diagram for itk::SingleValuedCostFunction:

Collaboration graph
[legend]
List of all members.

Public Types

typedef SingleValuedCostFunction Self
typedef CostFunction Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef double MeasureType
typedef Array< double > DerivativeType
typedef Superclass::ParametersType ParametersType

Public Methods

virtual const char * GetClassName () const
virtual MeasureType GetValue (const ParametersType &parameters) const=0
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const=0
virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const

Protected Methods

 SingleValuedCostFunction ()
virtual ~SingleValuedCostFunction ()

Detailed Description

This class is a base for the CostFunctions returning a single value.

Definition at line 35 of file itkSingleValuedCostFunction.h.


Member Typedef Documentation

typedef SmartPointer<const Self> itk::SingleValuedCostFunction::ConstPointer
 

Reimplemented from itk::CostFunction.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 43 of file itkSingleValuedCostFunction.h.

typedef Array<double> itk::SingleValuedCostFunction::DerivativeType
 

DerivativeType typedef. It defines a type used to return the cost function derivative.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, and itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 54 of file itkSingleValuedCostFunction.h.

typedef double itk::SingleValuedCostFunction::MeasureType
 

MeasureType typedef. It defines a type used to return the cost function value.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 50 of file itkSingleValuedCostFunction.h.

typedef Superclass::ParametersType itk::SingleValuedCostFunction::ParametersType
 

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

Reimplemented from itk::CostFunction.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, and itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 58 of file itkSingleValuedCostFunction.h.

typedef SmartPointer<Self> itk::SingleValuedCostFunction::Pointer
 

Reimplemented from itk::CostFunction.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 42 of file itkSingleValuedCostFunction.h.

typedef SingleValuedCostFunction itk::SingleValuedCostFunction::Self
 

Standard class typedefs.

Reimplemented from itk::CostFunction.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 40 of file itkSingleValuedCostFunction.h.

typedef CostFunction itk::SingleValuedCostFunction::Superclass
 

Reimplemented from itk::CostFunction.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 41 of file itkSingleValuedCostFunction.h.


Constructor & Destructor Documentation

itk::SingleValuedCostFunction::SingleValuedCostFunction   [inline, protected]
 

Definition at line 81 of file itkSingleValuedCostFunction.h.

virtual itk::SingleValuedCostFunction::~SingleValuedCostFunction   [inline, protected, virtual]
 

Definition at line 82 of file itkSingleValuedCostFunction.h.


Member Function Documentation

virtual const char* itk::SingleValuedCostFunction::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::CostFunction.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

virtual void itk::SingleValuedCostFunction::GetDerivative const ParametersType   parameters,
DerivativeType   derivative
const [pure virtual]
 

This method returns the derivative of the cost function corresponding to the specified parameters.

Implemented in itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

virtual MeasureType itk::SingleValuedCostFunction::GetValue const ParametersType   parameters const [pure virtual]
 

This method returns the value of the cost function corresponding to the specified parameters.

Implemented in itk::MRIBiasEnergyFunction< TImage, TImageMask, TBiasField >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

virtual void itk::SingleValuedCostFunction::GetValueAndDerivative const ParametersType   parameters,
MeasureType   value,
DerivativeType   derivative
const [inline, virtual]
 

This method returns the value and derivative of the cost function corresponding to the specified parameters

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

Definition at line 71 of file itkSingleValuedCostFunction.h.

References itk::GetDerivative(), itk::GetValue(), itk::MeasureType, and itk::ParametersType.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:14:40 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000