tesseract
5.0.0-alpha-619-ge9db
|
Go to the source code of this file.
Macros | |
#define | WHITE_PIX 1 /*thresholded colours */ |
#define | BLACK_PIX 0 |
#define | FLIP_COLOUR(pix) (1-(pix)) |
Functions | |
void | block_edges (Pix *t_pix, PDBLK *block, C_OUTLINE_IT *outline_it) |
void | make_margins (PDBLK *block, BLOCK_LINE_IT *line_it, uint8_t *pixels, uint8_t margin, int16_t left, int16_t right, int16_t y) |
void | line_edges (int16_t x, int16_t y, int16_t xext, uint8_t uppercolour, uint8_t *bwpos, CRACKEDGE **prevline, CRACKEDGE **free_cracks, C_OUTLINE_IT *outline_it) |
CRACKEDGE * | h_edge (int sign, CRACKEDGE *join, CrackPos *pos) |
CRACKEDGE * | v_edge (int sign, CRACKEDGE *join, CrackPos *pos) |
void | join_edges (CRACKEDGE *edge1, CRACKEDGE *edge2, CRACKEDGE **free_cracks, C_OUTLINE_IT *outline_it) |
void | free_crackedges (CRACKEDGE *start) |
#define BLACK_PIX 0 |
Definition at line 26 of file scanedg.cpp.
#define FLIP_COLOUR | ( | pix | ) | (1-(pix)) |
Definition at line 28 of file scanedg.cpp.
#define WHITE_PIX 1 /*thresholded colours */ |
Definition at line 25 of file scanedg.cpp.
void block_edges | ( | Pix * | t_pix, |
PDBLK * | block, | ||
C_OUTLINE_IT * | outline_it | ||
) |
Definition at line 35 of file scanedg.cpp.
void free_crackedges | ( | CRACKEDGE * | start | ) |
Definition at line 353 of file scanedg.cpp.
Definition at line 220 of file scanedg.cpp.
void join_edges | ( | CRACKEDGE * | edge1, |
CRACKEDGE * | edge2, | ||
CRACKEDGE ** | free_cracks, | ||
C_OUTLINE_IT * | outline_it | ||
) |
Definition at line 321 of file scanedg.cpp.
void line_edges | ( | int16_t | x, |
int16_t | y, | ||
int16_t | xext, | ||
uint8_t | uppercolour, | ||
uint8_t * | bwpos, | ||
CRACKEDGE ** | prevline, | ||
CRACKEDGE ** | free_cracks, | ||
C_OUTLINE_IT * | outline_it | ||
) |
Definition at line 138 of file scanedg.cpp.
void make_margins | ( | PDBLK * | block, |
BLOCK_LINE_IT * | line_it, | ||
uint8_t * | pixels, | ||
uint8_t | margin, | ||
int16_t | left, | ||
int16_t | right, | ||
int16_t | y | ||
) |
Definition at line 84 of file scanedg.cpp.
Definition at line 270 of file scanedg.cpp.