14 #ifndef mitkPointSetStatisticsCalculator_h
15 #define mitkPointSetStatisticsCalculator_h
17 #include <itkObject.h>
32 itkFactorylessNewMacro(Self);
#define MITKIMAGESTATISTICS_EXPORT
Class for calculating statistics (like standard derivation, RMS, mean, etc.) for a PointSet.
mitk::Point3D GetMean(std::vector< mitk::Point3D > list)
Get the mean of the given point list.
double GetSampleStabw(std::vector< double > list)
Compute the sample standard deviation of the given list (not of the point set).
double GetMax(std::vector< double > list)
std::vector< mitk::Point3D > PointSetToVector(mitk::PointSet::Pointer pSet)
Convert a point set to a vector of Point3D.
double GetMedian(std::vector< double > list)
double GetPositionErrorStandardDeviation()
Get the standard deviation of position errors of the analysed point set.
~PointSetStatisticsCalculator() override
double GetPositionErrorMax()
Get the maximum of position errors of the analysed point set.
mitk::PointSet::Pointer m_PointSet
mitk::Vector3D GetPositionStandardDeviation()
Get the standard deviation of each component (x, y, z) of the analysed point set.
mitkNewMacro1Param(PointSetStatisticsCalculator, mitk::PointSet::Pointer)
PointSetStatisticsCalculator(mitk::PointSet::Pointer)
double GetMean(std::vector< double > list)
double GetPositionErrorMin()
Get the minimum of position errors of the analysed point set.
double GetPositionErrorSampleStandardDeviation()
Get the sample standard deviation of position errors of the analysed point set.
double GetPositionErrorMedian()
Get the median of position errors of the analysed point set.
double GetPositionErrorRMS()
Get the RMS of position errors of the analysed point set.
mitk::Vector3D GetPositionSampleStandardDeviation()
Get the sample standard deviation of each component (x, y, z) of the analysed point set.
PointSetStatisticsCalculator()
double GetMin(std::vector< double > list)
void SetPointSet(mitk::PointSet::Pointer pSet)
Set the point set to be analysed.
mitk::Point3D GetPositionMean()
Get the mean position of the analysed point set (only valid navigation data).
bool CheckIfAllPositionsAreEqual()
Check whether all positions in the point set are equal.
mitkClassMacroItkParent(PointSetStatisticsCalculator, itk::Object)
std::vector< double > GetErrorList(std::vector< mitk::Point3D > list)
Get a list of distances to the mean of the given point list.
double GetStabw(std::vector< double > list)
Compute the standard deviation of the given list (not of the point set).
double GetPositionErrorMean()
Get the mean distance to the mean position (mean error) of the analysed point set.
Find image slices visible on a given plane.