13 #ifndef mitkCovarianceMatrixCalculator_h
14 #define mitkCovarianceMatrixCalculator_h
21 #include <itkMatrix.h>
22 #include <itkObjectFactory.h>
29 struct CovarianceMatrixCalculatorData;
50 CovarianceMatrixCalculatorData *d;
59 typedef double Vertex[3];
76 void ComputeOrthonormalCoordinateSystem(
77 const int index, Vertex normal,
CovarianceMatrix &principalComponents, Vertex variances, Vertex curVertex);
83 itkFactorylessNewMacro(Self);
89 void SetVoronoiScalingFator(
const double factor);
94 void EnableNormalization(
bool state);
99 double GetMeanVariance()
const;
109 void SetInputSurface(
Surface *input);
114 void ComputeCovarianceMatrices();