20 #ifndef TESSERACT_CCSTRUCT_STATISTC_H_ 21 #define TESSERACT_CCSTRUCT_STATISTC_H_ 64 double ile(
double frac)
const;
79 if (value <= rangemin_)
81 if (value >= rangemax_ - 1)
82 return buckets_[rangemax_ - rangemin_ - 1];
83 return buckets_[value - rangemin_];
125 #ifndef GRAPHICS_DISABLED 141 #endif // GRAPHICS_DISABLED 162 int (*compar)(
const void*,
const void*));
169 #endif // TESSERACT_CCSTRUCT_STATISTC_H_
void plotline(ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const
void add(inT32 value, inT32 count)
bool local_min(inT32 x) const
void print_summary() const
void swap_entries(void *array, size_t size, inT32 index1, inT32 index2)
void smooth(inT32 factor)
int top_n_modes(int max_modes, GenericVector< tesseract::KDPairInc< float, int > > *modes) const
inT32 cluster(float lower, float upper, float multiple, inT32 max_clusters, STATS *clusters)
inT32 pile_count(inT32 value) const
double ile(double frac) const
inT32 choose_nth_item(inT32 index, float *array, inT32 count)
void plot(ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const
bool set_range(inT32 min_bucket_value, inT32 max_bucket_value_plus_1)