Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkMeanSquaresMetric Class Reference

mitkMeanSquaresMetric - a concrete class computing similarity between two objects to be registered More...

#include <mitkMeanSquaresMetric.h>

Inherits mitkMetric.

Inheritance diagram for mitkMeanSquaresMetric:

Inheritance graph
[legend]
Collaboration diagram for mitkMeanSquaresMetric:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
 mitkMeanSquaresMetric ()
virtual bool GetSimilarity (const VectorParameterType &parameters, ScalarParameterType &similarity)
virtual bool GetSimilarityAndDerivative (const VectorParameterType &parameters, ScalarParameterType &similarity, VectorParameterType &derivative)

Detailed Description

mitkMeanSquaresMetric - a concrete class computing similarity between two objects to be registered

mitkMeanSquaresMetric computes the sum of squared differenced between pixels in the moving image and pixels in the fixed image. The spatial correspondance between both images is established through a Transform. Pixel values are taken from the Moving image. Their positions are mapped to the Fixed image and result in general in non-grid position on it. Values at these non-grid position of the Fixed image are interpolated using a user-selected Interpolator.


Constructor & Destructor Documentation

mitkMeanSquaresMetric::mitkMeanSquaresMetric  ) 
 

Constructor.


Member Function Documentation

virtual bool mitkMeanSquaresMetric::GetSimilarity const VectorParameterType &  parameters,
ScalarParameterType &  similarity
[virtual]
 

Get Similarity between regions of two volumes.

Parameters:
parameters The vector pointer to the transform parameters.
similarity The metric results.
Returns:
Return true if the metric computation is performed without error.

Reimplemented from mitkMetric.

virtual bool mitkMeanSquaresMetric::GetSimilarityAndDerivative const VectorParameterType &  parameters,
ScalarParameterType &  similarity,
VectorParameterType &  derivative
[virtual]
 

Get Similarity And Gradient Value between regions of two volumes.

Parameters:
transformParameters The vector pointer to the transform parameters.
similarity Return the similarity.
derivative Return the gradient value in all dimensions.
Returns:
Return true if the metric computation is performed without error.

Reimplemented from mitkMetric.

virtual void mitkMeanSquaresMetric::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkMetric.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:03:49 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3