Definition at line 663 of file paragraphs.cpp.
| tesseract::SimpleClusterer::SimpleClusterer |
( |
int |
max_cluster_width | ) |
|
|
inlineexplicit |
Definition at line 665 of file paragraphs.cpp.
666 : max_cluster_width_(max_cluster_width) {}
| void tesseract::SimpleClusterer::Add |
( |
int |
value | ) |
|
|
inline |
Definition at line 687 of file paragraphs.cpp.
690 for (
int i = 0; i < values_.
size();) {
694 while (++i < values_.
size() && values_[i] <= lo + max_cluster_width_) {
697 clusters->
push_back(Cluster((hi + lo) / 2, i - orig_i));
| int tesseract::SimpleClusterer::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/tesseract-ocr-3.02.02/ccmain/paragraphs.cpp