mitkMetric Class Reference
mitkMetric - an abstract class specifies interface for computing similarity between regions of two volumes
More...
#include <mitkMetric.h>
Inherits mitkProcessObject.
Inherited by mitkMeanSquaresMetric, mitkNormalizedCorrelationMetric, and mitkPointSetMetric.
Inheritance diagram for mitkMetric:
[legend]Collaboration diagram for mitkMetric:
[legend]List of all members.
Detailed Description
mitkMetric - an abstract class specifies interface for computing similarity between regions of two volumes
mitkMetric is an abstract class specifies interface for computing similarity between regions of two volumes. This Class expects a Transform and an Interpolator to be plugged in. This particular class is the base class for a hierarchy of similarity metrics.
This class computes a value that measures the similarity between the Fixed image and the transformed Moving image. The Interpolator is used to compute intensity values on non-grid positions resulting from mapping points through the Transform.
Member Function Documentation
mitkVolume* mitkMetric::GetFixedVolume |
( |
|
) |
[inline] |
|
|
Get the Fixed Volume. - Returns:
- Return the pointer to the fixed volume.
|
|
Get the Gaussian Derivative Interpolator. - Returns:
- Return the pointer to the Gaussian Derivative Interpolator.
|
|
Get the Interpolator. - Returns:
- Return the pointer to the Interpolator.
|
mitkVolume* mitkMetric::GetMovingVolume |
( |
|
) |
[inline] |
|
|
Get the Moving Volume. - Returns:
- Return the pointer to the moving volume.
|
virtual bool mitkMetric::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 in mitkMeanSquaresMetric, and mitkNormalizedCorrelationMetric. |
virtual bool mitkMetric::GetSimilarity |
( |
const mitkMatrixType * |
matrix, |
|
|
ScalarParameterType & |
similarity |
|
) |
[virtual] |
|
|
Get Similarity between fixed input and moving input. - Parameters:
-
| matrix | The vector pointer to the transform matrix. |
| similarity | The metric results. |
- Returns:
- Return true if the metric computation is performed without error.
|
ScalarParameterType mitkMetric::GetSimilarity |
( |
|
) |
[inline] |
|
|
Get Similarity between fixed input and moving input. - Returns:
- Return the similarity.
|
virtual bool mitkMetric::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 in mitkMeanSquaresMetric, and mitkNormalizedCorrelationMetric. |
|
Get the Transform. - Returns:
- Return the pointer to the Transform.
|
VectorParameterType& mitkMetric::GetTransformParameters |
( |
|
) |
|
|
|
Get the transform parameters. - Returns:
- Return the vector pointer to the transform parameters.
|
virtual void mitkMetric::PrintSelf |
( |
ostream & |
os |
) |
[virtual] |
|
void mitkMetric::SetComputeImageGradientFlag |
( |
bool |
flag |
) |
|
|
|
Set the Compute Derivative flag. - Parameters:
-
| flag | Perform derivative computing if the value is true. |
|
void mitkMetric::SetFixedVolume |
( |
mitkVolume * |
fixedVolume |
) |
[inline] |
|
|
Set the Fixed Volume. - Parameters:
-
| fixedVolume | The pointer to the fixed volume. |
|
void mitkMetric::SetInitialTransformMatrix |
( |
mitkMatrixScalarType * |
matrix |
) |
|
|
|
Set the initial transform matrix. - Parameters:
-
| matrix | The pointer to initial transform matrix. |
|
void mitkMetric::SetInitialTransformMatrix |
( |
|
) |
|
|
|
Initial the transform matrix to identity matrix. |
|
Set the Interpolator. - Parameters:
-
| interpolator | The pointer to the Interpolator. |
|
void mitkMetric::SetMovingVolume |
( |
mitkVolume * |
movingVolume |
) |
[inline] |
|
|
Set the Moving Volume. - Parameters:
-
| movingVolume | The pointer to the moving volume. |
|
void mitkMetric::SetTransform |
( |
mitkTransform * |
transform |
) |
[inline] |
|
|
Set the Transform. - Parameters:
-
| transform | The pointer to the Transform. |
|
void mitkMetric::SetTransformParameters |
( |
const VectorParameterType & |
parameters |
) |
|
|
|
Set the Transform parameters. - Parameters:
-
| parameters | The vector pointer to the transform parameters. |
|
virtual void mitkMetric::Update |
( |
|
) |
[virtual] |
|
|
Initialize the Metric by making sure that all the components are present and plugged together correctly. Perform before Run() function.
Reimplemented in mitkPointSetMetric. |
The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:04:00 2014 for MITK (Medical Imaging ToolKit) by
1.4.3