43 #ifndef SVK_STATISTICS_H
44 #define SVK_STATISTICS_H
48 #include <vtkObjectFactory.h>
49 #include <vtkObject.h>
50 #include <vtkDataArray.h>
51 #include <vtkFloatArray.h>
79 static vtkFloatArray* GetHistogram( vtkDataArray* data,
double binSize,
double startBin,
int numBins,
int smoothBins = 0);
80 static double ComputeModeFromHistogram(vtkDataArray* histogram,
double binSize,
double startBin,
int smoothBins);
81 static vector<double> ComputeQuantilesFromHistogram(
int numQuantiles, vtkDataArray* histogram,
double binSize,
double startBin,
int numBins,
int smoothBins);
82 static double GetAutoAdjustedBinSize(
svkMriImageData* image,
double startBinSize,
double startBin,
int numBins );
92 static inline int GetBinForValue(
double value,
double binSize,
double startBin);
99 #endif //SVK_STATISTICS_H
Definition: svkStatistics.h:67
Definition: svkMriImageData.h:72