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

mitkNormalizedCorrelationMetric Class Reference

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

#include <mitkNormalizedCorrelationMetric.h>

Inherits mitkMetric.

Inheritance diagram for mitkNormalizedCorrelationMetric:

Inheritance graph
[legend]
Collaboration diagram for mitkNormalizedCorrelationMetric:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

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

mitkNormalizedCorrelationMetric computes the correlation between pixels in the fixed image and pixels in the moving image. The spatial correspondance between fixed and moving image is established through a Transform. Pixel values are taken from the fixed image, their positions are mapped to the moving image and result in general in non-grid position on it. Values at these non-grid position of the moving image are interpolated using a user-selected Interpolator. The correlation is normalized by the autocorrelations of both the fixed and moving images.


Constructor & Destructor Documentation

mitkNormalizedCorrelationMetric::mitkNormalizedCorrelationMetric  ) 
 

Constructor.


Member Function Documentation

virtual bool mitkNormalizedCorrelationMetric::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 mitkNormalizedCorrelationMetric::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 mitkNormalizedCorrelationMetric::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.

void mitkNormalizedCorrelationMetric::SetSubtractMeanFlag bool  flag  )  [inline]
 

Set the Subtract Mean mode.Default is false.

Parameters:
flag Specify the subtract mean flag.


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