Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::PointSetStatisticsCalculator Class Reference

Class for calculating statistics (like standard derivation, RMS, mean, etc.) for a PointSet. More...

#include <mitkPointSetStatisticsCalculator.h>

Inheritance diagram for mitk::PointSetStatisticsCalculator:
Collaboration diagram for mitk::PointSetStatisticsCalculator:

Public Member Functions

 mitkClassMacroItkParent (PointSetStatisticsCalculator, itk::Object)
 
Pointer Clone () const
 
 mitkNewMacro1Param (PointSetStatisticsCalculator, mitk::PointSet::Pointer)
 
void SetPointSet (mitk::PointSet::Pointer pSet)
 Sets the point set which will be analysed. More...
 
mitk::Point3D GetPositionMean ()
 
mitk::Vector3D GetPositionStandardDeviation ()
 
mitk::Vector3D GetPositionSampleStandardDeviation ()
 
double GetPositionErrorMean ()
 
double GetPositionErrorStandardDeviation ()
 
double GetPositionErrorSampleStandardDeviation ()
 
double GetPositionErrorRMS ()
 
double GetPositionErrorMedian ()
 
double GetPositionErrorMax ()
 
double GetPositionErrorMin ()
 
double GetStabw (std::vector< double > list)
 
double GetSampleStabw (std::vector< double > list)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 PointSetStatisticsCalculator ()
 
 PointSetStatisticsCalculator (mitk::PointSet::Pointer)
 
virtual ~PointSetStatisticsCalculator ()
 
std::vector< double > GetErrorList (std::vector< mitk::Point3D > list)
 
mitk::Point3D GetMean (std::vector< mitk::Point3D > list)
 
std::vector< mitk::Point3DPointSetToVector (mitk::PointSet::Pointer pSet)
 Converts a point set to a vector of Point3D. More...
 
bool CheckIfAllPositionsAreEqual ()
 
double GetMean (std::vector< double > list)
 
double GetMedian (std::vector< double > list)
 
double GetMax (std::vector< double > list)
 
double GetMin (std::vector< double > list)
 

Protected Attributes

mitk::PointSet::Pointer m_PointSet
 

Detailed Description

Class for calculating statistics (like standard derivation, RMS, mean, etc.) for a PointSet.

Definition at line 31 of file mitkPointSetStatisticsCalculator.h.

Constructor & Destructor Documentation

mitk::PointSetStatisticsCalculator::PointSetStatisticsCalculator ( )
protected

Definition at line 20 of file mitkPointSetStatisticsCalculator.cpp.

References m_PointSet, and mitk::PointSet::New().

mitk::PointSetStatisticsCalculator::PointSetStatisticsCalculator ( mitk::PointSet::Pointer  pSet)
protected

Definition at line 25 of file mitkPointSetStatisticsCalculator.cpp.

mitk::PointSetStatisticsCalculator::~PointSetStatisticsCalculator ( )
protectedvirtual

Definition at line 30 of file mitkPointSetStatisticsCalculator.cpp.

Member Function Documentation

bool mitk::PointSetStatisticsCalculator::CheckIfAllPositionsAreEqual ( )
protected
Returns
Returns true if all positions in the evaluated points set are equal. False if not.

Definition at line 285 of file mitkPointSetStatisticsCalculator.cpp.

Pointer mitk::PointSetStatisticsCalculator::Clone ( ) const
std::vector< double > mitk::PointSetStatisticsCalculator::GetErrorList ( std::vector< mitk::Point3D list)
protected
Returns
Returns a list with the distances to the mean of the list

Definition at line 215 of file mitkPointSetStatisticsCalculator.cpp.

double mitk::PointSetStatisticsCalculator::GetMax ( std::vector< double >  list)
protected

Definition at line 47 of file mitkPointSetStatisticsCalculator.cpp.

mitk::Point3D mitk::PointSetStatisticsCalculator::GetMean ( std::vector< mitk::Point3D list)
protected
Returns
Returns the mean of the point list. Returns [0;0;0] if the list is empty.

Definition at line 119 of file mitkPointSetStatisticsCalculator.cpp.

double mitk::PointSetStatisticsCalculator::GetMean ( std::vector< double >  list)
protected

Definition at line 91 of file mitkPointSetStatisticsCalculator.cpp.

double mitk::PointSetStatisticsCalculator::GetMedian ( std::vector< double >  list)
protected

Definition at line 103 of file mitkPointSetStatisticsCalculator.cpp.

double mitk::PointSetStatisticsCalculator::GetMin ( std::vector< double >  list)
protected

Definition at line 54 of file mitkPointSetStatisticsCalculator.cpp.

double mitk::PointSetStatisticsCalculator::GetPositionErrorMax ( )
Returns
Returns the maximum of the errors of all positions of the analysed point set (only valid navigation data). Returns 0 if there is no valid navigation data.

Definition at line 205 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

double mitk::PointSetStatisticsCalculator::GetPositionErrorMean ( )
Returns
Returns the mean distance to the mean postion (=mean error) of the analysed point set (only valid navigation data). Returns 0 if there is no valid navigation data.

Definition at line 146 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

double mitk::PointSetStatisticsCalculator::GetPositionErrorMedian ( )
Returns
Returns the median of the errors of all positions of the analysed point set (only valid navigation data). Returns 0 if there is no valid navigation data.

Definition at line 200 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

double mitk::PointSetStatisticsCalculator::GetPositionErrorMin ( )
Returns
Returns the minimum of the errors of all positions of the analysed point set (only valid navigation data). Returns 0 if there is no valid navigation data.

Definition at line 210 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

double mitk::PointSetStatisticsCalculator::GetPositionErrorRMS ( )
Returns
Returns the RMS of the errors of all positions of the analysed point set (only valid navigation data). Returns 0 if there is no valid navigation data.

Definition at line 178 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

double mitk::PointSetStatisticsCalculator::GetPositionErrorSampleStandardDeviation ( )
Returns
Returns the sample standard derivation of the errors of all positions of the analysed point set (only valid navigation data). Returns 0 if there is no valid navigation data.

Definition at line 172 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

double mitk::PointSetStatisticsCalculator::GetPositionErrorStandardDeviation ( )
Returns
Returns the standard derivation of the errors of all positions of the analysed point set (only valid navigation data). Returns 0 if there is no valid navigation data.

Definition at line 167 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

mitk::Point3D mitk::PointSetStatisticsCalculator::GetPositionMean ( )
Returns
Returns the mean position of the analysed point set (only valid navigation data). Returns [0;0;0] if there is no valid navigation data.

Definition at line 280 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

mitk::Vector3D mitk::PointSetStatisticsCalculator::GetPositionSampleStandardDeviation ( )
Returns
Returns the sample standard derivation of each component (x, y and z) of the analysed point set (only valid navigation data). Returns [0;0;0] if there is no valid navigation data.

Definition at line 252 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

mitk::Vector3D mitk::PointSetStatisticsCalculator::GetPositionStandardDeviation ( )
Returns
Returns the standard derivation of each component (x, y and z) of the analysed point set (only valid navigation data). Returns [0;0;0] if there is no valid navigation data.

Definition at line 224 of file mitkPointSetStatisticsCalculator.cpp.

References PointSetToVector().

double mitk::PointSetStatisticsCalculator::GetSampleStabw ( std::vector< double >  list)
Returns
returns the sample standard derivation of the given list (NOT of the point set).

Definition at line 76 of file mitkPointSetStatisticsCalculator.cpp.

double mitk::PointSetStatisticsCalculator::GetStabw ( std::vector< double >  list)
Returns
returns the standard derivation of the given list (NOT of the point set).

Definition at line 61 of file mitkPointSetStatisticsCalculator.cpp.

mitk::PointSetStatisticsCalculator::mitkClassMacroItkParent ( PointSetStatisticsCalculator  ,
itk::Object   
)
mitk::PointSetStatisticsCalculator::mitkNewMacro1Param ( PointSetStatisticsCalculator  ,
mitk::PointSet::Pointer   
)
std::vector< mitk::Point3D > mitk::PointSetStatisticsCalculator::PointSetToVector ( mitk::PointSet::Pointer  pSet)
protected

Converts a point set to a vector of Point3D.

Definition at line 40 of file mitkPointSetStatisticsCalculator.cpp.

void mitk::PointSetStatisticsCalculator::SetPointSet ( mitk::PointSet::Pointer  pSet)

Sets the point set which will be analysed.

Definition at line 34 of file mitkPointSetStatisticsCalculator.cpp.

Member Data Documentation

mitk::PointSet::Pointer mitk::PointSetStatisticsCalculator::m_PointSet
protected

Definition at line 108 of file mitkPointSetStatisticsCalculator.h.

Referenced by PointSetStatisticsCalculator().


The documentation for this class was generated from the following files: