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

itk::CostFunction Class Reference
[NumericsOptimizers]

Base class for cost functions intended to be used with Optimizers. More...

#include <itkCostFunction.h>

Inheritance diagram for itk::CostFunction:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef CostFunction Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef double ParametersValueType
typedef Array< ParametersValueTypeParametersType

Public Methods

virtual const char * GetClassName () const
virtual unsigned int GetNumberOfParameters (void) const=0

Protected Methods

 CostFunction ()
virtual ~CostFunction ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

Base class for cost functions intended to be used with Optimizers.

Definition at line 35 of file itkCostFunction.h.


Member Typedef Documentation

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

Reimplemented from itk::Object.

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 >, itk::MultipleValuedCostFunction, itk::SingleValuedCostFunction, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 42 of file itkCostFunction.h.

typedef Array<ParametersValueType> itk::CostFunction::ParametersType
 

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

Definition at line 51 of file itkCostFunction.h.

typedef double itk::CostFunction::ParametersValueType
 

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

Definition at line 50 of file itkCostFunction.h.

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

Reimplemented from itk::Object.

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 >, itk::MultipleValuedCostFunction, itk::SingleValuedCostFunction, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 41 of file itkCostFunction.h.

typedef CostFunction itk::CostFunction::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

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 >, itk::MultipleValuedCostFunction, itk::SingleValuedCostFunction, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 39 of file itkCostFunction.h.

typedef Object itk::CostFunction::Superclass
 

Reimplemented from itk::Object.

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 >, itk::MultipleValuedCostFunction, itk::SingleValuedCostFunction, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

Definition at line 40 of file itkCostFunction.h.


Constructor & Destructor Documentation

itk::CostFunction::CostFunction   [inline, protected]
 

Definition at line 61 of file itkCostFunction.h.

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

Definition at line 62 of file itkCostFunction.h.


Member Function Documentation

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

Run-time type information (and related methods).

Reimplemented from itk::Object.

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 >, itk::MultipleValuedCostFunction, itk::SingleValuedCostFunction, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

virtual unsigned int itk::CostFunction::GetNumberOfParameters void    const [pure virtual]
 

Return the number of parameters required to compute this cost function. This method MUST be overloaded by derived classes.

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

void itk::CostFunction::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

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::Object.

Reimplemented in itk::ImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, and itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.


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