tesseract
4.0.0-1-g2a2b
|
Go to the source code of this file.
Classes | |
class | C_OUTLINE_FRAG |
Functions | |
ROW * | fixed_pitch_words (TO_ROW *row, FCOORD rotation) |
WERD * | add_repeated_word (WERD_IT *rep_it, int16_t &rep_left, int16_t &prev_chop_coord, uint8_t &blanks, float pitch, WERD_IT *word_it) |
void | split_to_blob (BLOBNBOX *blob, int16_t chop_coord, float pitch_error, C_OUTLINE_LIST *left_coutlines, C_OUTLINE_LIST *right_coutlines) |
void | fixed_chop_cblob (C_BLOB *blob, int16_t chop_coord, float pitch_error, C_OUTLINE_LIST *left_outlines, C_OUTLINE_LIST *right_outlines) |
void | fixed_split_coutline (C_OUTLINE *srcline, int16_t chop_coord, float pitch_error, C_OUTLINE_IT *left_it, C_OUTLINE_IT *right_it) |
bool | fixed_chop_coutline (C_OUTLINE *srcline, int16_t chop_coord, float pitch_error, C_OUTLINE_FRAG_LIST *left_frags, C_OUTLINE_FRAG_LIST *right_frags) |
void | save_chop_cfragment (int16_t head_index, ICOORD head_pos, int16_t tail_index, ICOORD tail_pos, C_OUTLINE *srcline, C_OUTLINE_FRAG_LIST *frags) |
void | add_frag_to_list (C_OUTLINE_FRAG *frag, C_OUTLINE_FRAG_LIST *frags) |
void | close_chopped_cfragments (C_OUTLINE_FRAG_LIST *frags, C_OUTLINE_LIST *children, float pitch_error, C_OUTLINE_IT *dest_it) |
C_OUTLINE * | join_chopped_fragments (C_OUTLINE_FRAG *bottom, C_OUTLINE_FRAG *top) |
void | join_segments (C_OUTLINE_FRAG *bottom, C_OUTLINE_FRAG *top) |
Variables | |
int | textord_fp_chop_error = 2 |
double | textord_fp_chop_snap = 0.5 |
void add_frag_to_list | ( | C_OUTLINE_FRAG * | frag, |
C_OUTLINE_FRAG_LIST * | frags | ||
) |
Definition at line 605 of file fpchop.cpp.
WERD* add_repeated_word | ( | WERD_IT * | rep_it, |
int16_t & | rep_left, | ||
int16_t & | prev_chop_coord, | ||
uint8_t & | blanks, | ||
float | pitch, | ||
WERD_IT * | word_it | ||
) |
Definition at line 203 of file fpchop.cpp.
void close_chopped_cfragments | ( | C_OUTLINE_FRAG_LIST * | frags, |
C_OUTLINE_LIST * | children, | ||
float | pitch_error, | ||
C_OUTLINE_IT * | dest_it | ||
) |
Definition at line 634 of file fpchop.cpp.
void fixed_chop_cblob | ( | C_BLOB * | blob, |
int16_t | chop_coord, | ||
float | pitch_error, | ||
C_OUTLINE_LIST * | left_outlines, | ||
C_OUTLINE_LIST * | right_outlines | ||
) |
Definition at line 269 of file fpchop.cpp.
bool fixed_chop_coutline | ( | C_OUTLINE * | srcline, |
int16_t | chop_coord, | ||
float | pitch_error, | ||
C_OUTLINE_FRAG_LIST * | left_frags, | ||
C_OUTLINE_FRAG_LIST * | right_frags | ||
) |
Definition at line 397 of file fpchop.cpp.
Definition at line 47 of file fpchop.cpp.
void fixed_split_coutline | ( | C_OUTLINE * | srcline, |
int16_t | chop_coord, | ||
float | pitch_error, | ||
C_OUTLINE_IT * | left_it, | ||
C_OUTLINE_IT * | right_it | ||
) |
Definition at line 315 of file fpchop.cpp.
C_OUTLINE* join_chopped_fragments | ( | C_OUTLINE_FRAG * | bottom, |
C_OUTLINE_FRAG * | top | ||
) |
Definition at line 695 of file fpchop.cpp.
void join_segments | ( | C_OUTLINE_FRAG * | bottom, |
C_OUTLINE_FRAG * | top | ||
) |
Definition at line 732 of file fpchop.cpp.
void save_chop_cfragment | ( | int16_t | head_index, |
ICOORD | head_pos, | ||
int16_t | tail_index, | ||
ICOORD | tail_pos, | ||
C_OUTLINE * | srcline, | ||
C_OUTLINE_FRAG_LIST * | frags | ||
) |
Definition at line 514 of file fpchop.cpp.
void split_to_blob | ( | BLOBNBOX * | blob, |
int16_t | chop_coord, | ||
float | pitch_error, | ||
C_OUTLINE_LIST * | left_coutlines, | ||
C_OUTLINE_LIST * | right_coutlines | ||
) |
Definition at line 239 of file fpchop.cpp.
int textord_fp_chop_error = 2 |
"Max allowed bending of chop cells"
Definition at line 35 of file fpchop.cpp.
double textord_fp_chop_snap = 0.5 |
"Max distance of chop pt from vertex"
Definition at line 37 of file fpchop.cpp.