tesseract
3.05.02
|
#include <statistc.h>
Public Member Functions | |
STATS (inT32 min_bucket_value, inT32 max_bucket_value_plus_1) | |
STATS () | |
~STATS () | |
bool | set_range (inT32 min_bucket_value, inT32 max_bucket_value_plus_1) |
void | clear () |
void | add (inT32 value, inT32 count) |
inT32 | mode () const |
double | mean () const |
double | sd () const |
double | ile (double frac) const |
inT32 | min_bucket () const |
inT32 | max_bucket () const |
double | median () const |
inT32 | pile_count (inT32 value) const |
inT32 | get_total () const |
bool | local_min (inT32 x) const |
void | smooth (inT32 factor) |
inT32 | cluster (float lower, float upper, float multiple, inT32 max_clusters, STATS *clusters) |
int | top_n_modes (int max_modes, GenericVector< tesseract::KDPairInc< float, int > > *modes) const |
void | print () const |
void | print_summary () const |
void | plot (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const |
void | plotline (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const |
Definition at line 33 of file statistc.h.
Definition at line 40 of file statistc.cpp.
STATS::STATS | ( | ) |
Definition at line 51 of file statistc.cpp.
STATS::~STATS | ( | ) |
Definition at line 92 of file statistc.cpp.
Definition at line 101 of file statistc.cpp.
void STATS::clear | ( | ) |
Definition at line 81 of file statistc.cpp.
inT32 STATS::cluster | ( | float | lower, |
float | upper, | ||
float | multiple, | ||
inT32 | max_clusters, | ||
STATS * | clusters | ||
) |
Definition at line 320 of file statistc.cpp.
|
inline |
Definition at line 86 of file statistc.h.
double STATS::ile | ( | double | frac | ) | const |
Definition at line 174 of file statistc.cpp.
bool STATS::local_min | ( | inT32 | x | ) | const |
Definition at line 262 of file statistc.cpp.
inT32 STATS::max_bucket | ( | ) | const |
Definition at line 221 of file statistc.cpp.
double STATS::mean | ( | ) | const |
Definition at line 135 of file statistc.cpp.
double STATS::median | ( | ) | const |
Definition at line 239 of file statistc.cpp.
inT32 STATS::min_bucket | ( | ) | const |
Definition at line 206 of file statistc.cpp.
inT32 STATS::mode | ( | ) | const |
Definition at line 115 of file statistc.cpp.
Definition at line 78 of file statistc.h.
void STATS::plot | ( | ScrollView * | window, |
float | xorigin, | ||
float | yorigin, | ||
float | xscale, | ||
float | yscale, | ||
ScrollView::Color | colour | ||
) | const |
Definition at line 585 of file statistc.cpp.
void STATS::plotline | ( | ScrollView * | window, |
float | xorigin, | ||
float | yorigin, | ||
float | xscale, | ||
float | yscale, | ||
ScrollView::Color | colour | ||
) | const |
Definition at line 612 of file statistc.cpp.
void STATS::print | ( | ) | const |
Definition at line 534 of file statistc.cpp.
void STATS::print_summary | ( | ) | const |
Definition at line 560 of file statistc.cpp.
double STATS::sd | ( | ) | const |
Definition at line 151 of file statistc.cpp.
Definition at line 62 of file statistc.cpp.
void STATS::smooth | ( | inT32 | factor | ) |
Definition at line 289 of file statistc.cpp.
int STATS::top_n_modes | ( | int | max_modes, |
GenericVector< tesseract::KDPairInc< float, int > > * | modes | ||
) | const |
Definition at line 469 of file statistc.cpp.