Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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)
 
 ~PointSetStatisticsCalculator () override
 
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 27 of file mitkPointSetStatisticsCalculator.h.

Constructor & Destructor Documentation

◆ PointSetStatisticsCalculator() [1/2]

mitk::PointSetStatisticsCalculator::PointSetStatisticsCalculator ( )
protected

◆ PointSetStatisticsCalculator() [2/2]

mitk::PointSetStatisticsCalculator::PointSetStatisticsCalculator ( mitk::PointSet::Pointer  )
explicitprotected

◆ ~PointSetStatisticsCalculator()

mitk::PointSetStatisticsCalculator::~PointSetStatisticsCalculator ( )
overrideprotected

Member Function Documentation

◆ CheckIfAllPositionsAreEqual()

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

◆ Clone()

Pointer mitk::PointSetStatisticsCalculator::Clone ( ) const

◆ GetErrorList()

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

◆ GetMax()

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

◆ GetMean() [1/2]

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

◆ GetMean() [2/2]

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.

◆ GetMedian()

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

◆ GetMin()

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

◆ GetPositionErrorMax()

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.

◆ GetPositionErrorMean()

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

◆ GetPositionErrorMedian()

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.

◆ GetPositionErrorMin()

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.

◆ GetPositionErrorRMS()

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.

◆ GetPositionErrorSampleStandardDeviation()

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.

◆ GetPositionErrorStandardDeviation()

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.

◆ GetPositionMean()

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.

◆ GetPositionSampleStandardDeviation()

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.

◆ GetPositionStandardDeviation()

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.

◆ GetSampleStabw()

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

◆ GetStabw()

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

◆ mitkClassMacroItkParent()

mitk::PointSetStatisticsCalculator::mitkClassMacroItkParent ( PointSetStatisticsCalculator  ,
itk::Object   
)

◆ mitkNewMacro1Param()

mitk::PointSetStatisticsCalculator::mitkNewMacro1Param ( PointSetStatisticsCalculator  ,
mitk::PointSet::Pointer   
)

◆ New()

static Pointer mitk::PointSetStatisticsCalculator::New ( )
static

◆ PointSetToVector()

std::vector<mitk::Point3D> mitk::PointSetStatisticsCalculator::PointSetToVector ( mitk::PointSet::Pointer  pSet)
protected

Converts a point set to a vector of Point3D.

◆ SetPointSet()

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

Sets the point set which will be analysed.

Member Data Documentation

◆ m_PointSet

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

Definition at line 104 of file mitkPointSetStatisticsCalculator.h.


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