|
Tesseract
3.02
|
#include <con_comp.h>
Public Member Functions | |
| ConComp () | |
| virtual | ~ConComp () |
| ConCompPt * | Head () |
| int | Left () const |
| int | Top () const |
| int | Right () const |
| int | Bottom () const |
| int | Width () const |
| int | Height () const |
| bool | LeftMost () const |
| bool | RightMost () const |
| void | SetLeftMost (bool left_most) |
| void | SetRightMost (bool right_most) |
| int | ID () const |
| void | SetID (int id) |
| int | PtCnt () const |
| bool | Add (int x, int y) |
| bool | Merge (ConComp *con_comp) |
| void | Shift (int dx, int dy) |
| ConComp ** | Segment (int max_hist_wnd, int *concomp_cnt) |
| int * | CreateHistogram (int max_hist_wnd) |
| int * | SegmentHistogram (int *hist_array, int *seg_pt_cnt) |
Static Public Member Functions | |
| static int | Left2RightComparer (const void *comp1, const void *comp2) |
| static int | Right2LeftComparer (const void *comp1, const void *comp2) |
Definition at line 59 of file con_comp.h.
| tesseract::ConComp::ConComp | ( | ) |
Definition at line 27 of file con_comp.cpp.
|
virtual |
| bool tesseract::ConComp::Add | ( | int | x, |
| int | y | ||
| ) |
Definition at line 53 of file con_comp.cpp.
|
inline |
Definition at line 68 of file con_comp.h.
| int * tesseract::ConComp::CreateHistogram | ( | int | max_hist_wnd | ) |
Definition at line 106 of file con_comp.cpp.
|
inline |
Definition at line 64 of file con_comp.h.
|
inline |
Definition at line 70 of file con_comp.h.
|
inline |
Definition at line 94 of file con_comp.h.
|
inline |
Definition at line 65 of file con_comp.h.
|
inlinestatic |
Definition at line 73 of file con_comp.h.
|
inline |
Definition at line 89 of file con_comp.h.
| bool tesseract::ConComp::Merge | ( | ConComp * | con_comp | ) |
Definition at line 83 of file con_comp.cpp.
|
inline |
Definition at line 96 of file con_comp.h.
|
inline |
Definition at line 67 of file con_comp.h.
|
inlinestatic |
Definition at line 82 of file con_comp.h.
|
inline |
Definition at line 90 of file con_comp.h.
| ConComp ** tesseract::ConComp::Segment | ( | int | max_hist_wnd, |
| int * | concomp_cnt | ||
| ) |
Definition at line 189 of file con_comp.cpp.
| int * tesseract::ConComp::SegmentHistogram | ( | int * | hist_array, |
| int * | seg_pt_cnt | ||
| ) |
Definition at line 143 of file con_comp.cpp.
|
inline |
Definition at line 95 of file con_comp.h.
|
inline |
Definition at line 91 of file con_comp.h.
|
inline |
Definition at line 92 of file con_comp.h.
| void tesseract::ConComp::Shift | ( | int | dx, |
| int | dy | ||
| ) |
Definition at line 271 of file con_comp.cpp.
|
inline |
Definition at line 66 of file con_comp.h.
|
inline |
Definition at line 69 of file con_comp.h.