Definition at line 180 of file cjkpitch.cpp.
◆ Alignment
Enumerator |
---|
ALIGN_UNKNOWN | |
ALIGN_GOOD | |
ALIGN_BAD | |
Definition at line 182 of file cjkpitch.cpp.
◆ FPChar()
tesseract::FPChar::FPChar |
( |
| ) |
|
|
inline |
Definition at line 184 of file cjkpitch.cpp.
193 , merge_to_prev_(
false)
194 , delete_flag_(
false) {}
◆ alignment()
const Alignment& tesseract::FPChar::alignment |
( |
| ) |
const |
|
inline |
◆ box()
const TBOX& tesseract::FPChar::box |
( |
| ) |
const |
|
inline |
◆ delete_flag()
bool tesseract::FPChar::delete_flag |
( |
| ) |
const |
|
inline |
◆ Init()
void tesseract::FPChar::Init |
( |
BLOBNBOX * |
blob | ) |
|
|
inline |
Definition at line 197 of file cjkpitch.cpp.
198 box_ = blob->bounding_box();
◆ is_final()
bool tesseract::FPChar::is_final |
( |
| ) |
const |
|
inline |
◆ max_gap()
int tesseract::FPChar::max_gap |
( |
| ) |
const |
|
inline |
◆ Merge()
void tesseract::FPChar::Merge |
( |
const FPChar & |
next | ) |
|
|
inline |
Definition at line 206 of file cjkpitch.cpp.
207 int gap = real_body_.
x_gap(next.real_body_);
208 if (gap > max_gap_) {
213 real_body_ += next.real_body_;
215 num_blobs_ += next.num_blobs_;
int x_gap(const TBOX &box) const
◆ merge_to_prev()
bool tesseract::FPChar::merge_to_prev |
( |
| ) |
const |
|
inline |
◆ num_blobs()
int tesseract::FPChar::num_blobs |
( |
| ) |
const |
|
inline |
◆ real_body()
const TBOX& tesseract::FPChar::real_body |
( |
| ) |
const |
|
inline |
◆ set_alignment()
void tesseract::FPChar::set_alignment |
( |
Alignment |
alignment | ) |
|
|
inline |
Definition at line 239 of file cjkpitch.cpp.
const Alignment & alignment() const
◆ set_box()
void tesseract::FPChar::set_box |
( |
const TBOX & |
box | ) |
|
|
inline |
◆ set_delete_flag()
void tesseract::FPChar::set_delete_flag |
( |
bool |
flag | ) |
|
|
inline |
◆ set_final()
void tesseract::FPChar::set_final |
( |
bool |
flag | ) |
|
|
inline |
◆ set_merge_to_prev()
void tesseract::FPChar::set_merge_to_prev |
( |
bool |
flag | ) |
|
|
inline |
The documentation for this class was generated from the following file: