14 #ifndef mitkPointSetDifferenceStatisticsCalculator_h
15 #define mitkPointSetDifferenceStatisticsCalculator_h
17 #include <itkObject.h>
35 itkFactorylessNewMacro(Self);
43 void SetPointSets(mitk::PointSet::Pointer pSet1, mitk::PointSet::Pointer pSet2);
#define MITKIMAGESTATISTICS_EXPORT
Container class for storing the computed image statistics.
Class for calculating the difference between two corresponding point sets. The user can access the si...
double GetMean()
returns the mean distance of all corresponding points of the point sets
mitk::PointSet::Pointer m_PointSet1
first point set used for comparison
PointSetDifferenceStatisticsCalculator(mitk::PointSet::Pointer, mitk::PointSet::Pointer)
void ComputeStatistics()
Method for computing the complete statistics of the differences between the given point sets.
std::vector< double > m_DifferencesVector
vector holding the differences between the corresponding points
double GetMedian()
returns the median distance of all corresponding points of the point sets
mitk::PointSet::Pointer m_PointSet2
second point set used for comparison
mitkClassMacroItkParent(PointSetDifferenceStatisticsCalculator, itk::Object)
PointSetDifferenceStatisticsCalculator()
mitk::ImageStatisticsContainer::ImageStatisticsObject m_Statistics
struct holding the statistics
void SetPointSets(mitk::PointSet::Pointer pSet1, mitk::PointSet::Pointer pSet2)
set point sets to be compared
bool m_StatisticsCalculated
flag indicating whether statistics are already calculated or not.
mitkNewMacro2Param(PointSetDifferenceStatisticsCalculator, mitk::PointSet::Pointer, mitk::PointSet::Pointer)
~PointSetDifferenceStatisticsCalculator() override
double GetVariance()
returns the variance of the distances between all corresponding points of the point sets
double GetSD()
returns the standard deviation of the distances between all corresponding points of the point sets
double GetMin()
returns the minimal distance of all corresponding points of the point sets
double GetNumberOfPoints()
returns the total number of corresponding points of the point sets
std::vector< double > m_SquaredDifferencesVector
vector holding the squared differences between the corresponding points
double GetRMS()
returns the root mean squared distance of all corresponding points of the point sets
double GetMax()
returns the maximal distance of all corresponding points of the point sets
std::vector< double > GetSquaredDifferences()
returns a vector holding the squared differences between the corresponding points of the point sets
std::vector< double > GetDifferences()
returns a vector holding the differences between the corresponding points of the point sets
Find image slices visible on a given plane.