STATS Class Reference
#include <statistc.h>
List of all members.
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) |
| 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 |
Constructor & Destructor Documentation
| STATS::STATS |
( |
inT32 |
min_bucket_value, |
|
|
inT32 |
max_bucket_value_plus_1 | |
|
) |
| | |
Member Function Documentation
| inT32 STATS::cluster |
( |
float |
lower, |
|
|
float |
upper, |
|
|
float |
multiple, |
|
|
inT32 |
max_clusters, |
|
|
STATS * |
clusters | |
|
) |
| | |
| inT32 STATS::get_total |
( |
|
) |
const [inline] |
| double STATS::ile |
( |
double |
frac |
) |
const |
| bool STATS::local_min |
( |
inT32 |
x |
) |
const |
| inT32 STATS::max_bucket |
( |
|
) |
const |
| double STATS::mean |
( |
|
) |
const |
| double STATS::median |
( |
|
) |
const |
| inT32 STATS::min_bucket |
( |
|
) |
const |
| inT32 STATS::mode |
( |
|
) |
const |
| inT32 STATS::pile_count |
( |
inT32 |
value |
) |
const [inline] |
| void STATS::print |
( |
|
) |
const |
| void STATS::print_summary |
( |
|
) |
const |
| double STATS::sd |
( |
|
) |
const |
| bool STATS::set_range |
( |
inT32 |
min_bucket_value, |
|
|
inT32 |
max_bucket_value_plus_1 | |
|
) |
| | |
| void STATS::smooth |
( |
inT32 |
factor |
) |
|
The documentation for this class was generated from the following files:
- /home/rays/src/opensrc/tesseract-ocr/ccstruct/statistc.h
- /home/rays/src/opensrc/tesseract-ocr/ccstruct/statistc.cpp