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

mitkPointSetMetric Class Reference

mitkPointSetMetric - an abstract class specifies interface for computing similarity between regions of two point sets More...

#include <mitkPointSetMetric.h>

Inherits mitkMetric.

Inherited by mitkEuclideanDistanceMetric.

Inheritance diagram for mitkPointSetMetric:

Inheritance graph
[legend]
Collaboration diagram for mitkPointSetMetric:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
virtual void SetFixedPointSet (mitkPointSet *fixedPointSet)
virtual void SetMovingPointSet (mitkPointSet *movingPointSet)
virtual mitkPointSetGetFixedPointSet ()
virtual mitkPointSetGetMovingPointSet ()
unsigned int GetNumberOfFixedPoints ()
unsigned int GetNumberOfMovingPoints ()
virtual void SetNumberOfFixedPoints (unsigned int number)
virtual void SetNumberOfMovingPoints (unsigned int number)
virtual void Update ()
virtual void GetClosestPointPairs (vector< int > *closestPointMask)
virtual double GetPointSetSimilarity (mitkPointSet *p1, mitkPointSet *p2)
virtual double GetPointSetSimilarity ()

Detailed Description

mitkPointSetMetric - an abstract class specifies interface for computing similarity between regions of two point sets

mitkPointSetMetric is an abstract class specifies interface for computing similarity between two point sets. This Class mainly handles FixedPointSet and MovingPointSet, provide Get & Set method for them. This particular class is the base class for a hierarchy of point set similarity metrics.


Member Function Documentation

virtual void mitkPointSetMetric::GetClosestPointPairs vector< int > *  closestPointMask  )  [virtual]
 

Find correspondent point matches from moving point set to fixed point set.

Parameters:
closestPointMask A mask contains matched points' index from moving point set

Reimplemented in mitkEuclideanDistanceMetric.

virtual mitkPointSet* mitkPointSetMetric::GetFixedPointSet  )  [inline, virtual]
 

Get fixed point set.

Returns:
Return the pointer to fixed point set.

virtual mitkPointSet* mitkPointSetMetric::GetMovingPointSet  )  [inline, virtual]
 

Get moving point set.

Returns:
Return the pointer to moving point set.

unsigned int mitkPointSetMetric::GetNumberOfFixedPoints  )  [inline]
 

Get the Number of Points in Fixed Point Set.

Returns:
Return the number of points.

unsigned int mitkPointSetMetric::GetNumberOfMovingPoints  )  [inline]
 

Get the Number of Points in Moving Point Set.

Returns:
Return the number of points.

virtual double mitkPointSetMetric::GetPointSetSimilarity  )  [virtual]
 

Get similarity between fixed point set and moving point set using current transform configure. (with the correspondence : point set mask)

Returns:
The similarity value between two point sets.

Reimplemented in mitkEuclideanDistanceMetric.

virtual double mitkPointSetMetric::GetPointSetSimilarity mitkPointSet p1,
mitkPointSet p2
[virtual]
 

Get similarity between two input point sets p1 and p2 using current transform configure. (without knowing the correspondence)

Parameters:
p1 An input point set.
p2 Another input point set.
Returns:
The similarity value between two point sets.

virtual void mitkPointSetMetric::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.

Reimplemented in mitkEuclideanDistanceMetric.

virtual void mitkPointSetMetric::SetFixedPointSet mitkPointSet fixedPointSet  )  [inline, virtual]
 

Set the Fixed Point Set using vector as input.

Parameters:
fixedPointSet The pointer to the fixed point set.

virtual void mitkPointSetMetric::SetMovingPointSet mitkPointSet movingPointSet  )  [inline, virtual]
 

Set the Moving Point Set using vector as input.

Parameters:
movingPointSet The pointer to the moving point set.

virtual void mitkPointSetMetric::SetNumberOfFixedPoints unsigned int  number  )  [inline, virtual]
 

Set the Number of Points in Fixed Point Set.

Parameters:
number Specify the number of points in Fixed Point Set.

virtual void mitkPointSetMetric::SetNumberOfMovingPoints unsigned int  number  )  [inline, virtual]
 

Set the Number of Points in Moving Point Set.

Parameters:
number Specify the number of points in Moving Point Set.

virtual void mitkPointSetMetric::Update  )  [virtual]
 

Initialize the Metric by making sure that all the components are present and plugged together correctly. Perform before Run() function.

Reimplemented from mitkMetric.


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