21 #ifndef TESSERACT_TEXTORD_LINEFIND_H_ 22 #define TESSERACT_TEXTORD_LINEFIND_H_ 62 int* vertical_x,
int* vertical_y,
64 TabVector_LIST* v_lines,
65 TabVector_LIST* h_lines);
77 Boxa** boxes, C_BLOB_LIST* blobs);
89 Pix* pix_intersections,
90 int* vertical_x,
int* vertical_y,
91 Pix** pix_vline, Pix* pix_non_vline,
92 Pix* src_pix, TabVector_LIST* vectors);
104 Pix* pix_intersections,
105 int vertical_x,
int vertical_y,
106 Pix** pix_hline, Pix* pix_non_hline,
107 Pix* src_pix, TabVector_LIST* vectors);
115 BLOBNBOX_LIST* line_bblobs,
116 int* vertical_x,
int* vertical_y,
117 TabVector_LIST* vectors);
133 Pix** pix_vline, Pix** pix_non_vline,
134 Pix** pix_hline, Pix** pix_non_hline,
135 Pix** pix_intersections, Pix** pix_music_mask,
142 Pix* pix_lines, Pix* pix_intersections,
143 C_BLOB_LIST* line_cblobs,
144 BLOBNBOX_LIST* line_bblobs);
149 #endif // TESSERACT_TEXTORD_LINEFIND_H_ static void ConvertBoxaToBlobs(int image_width, int image_height, Boxa **boxes, C_BLOB_LIST *blobs)
Definition: linefind.cpp:319
static void GetLineBoxes(bool horizontal_lines, Pix *pix_lines, Pix *pix_intersections, C_BLOB_LIST *line_cblobs, BLOBNBOX_LIST *line_bblobs)
Definition: linefind.cpp:713
Definition: linefind.h:39
Definition: baseapi.cpp:94
static void FindAndRemoveHLines(int resolution, Pix *pix_intersections, int vertical_x, int vertical_y, Pix **pix_hline, Pix *pix_non_hline, Pix *src_pix, TabVector_LIST *vectors)
Definition: linefind.cpp:398
static void GetLineMasks(int resolution, Pix *src_pix, Pix **pix_vline, Pix **pix_non_vline, Pix **pix_hline, Pix **pix_non_hline, Pix **pix_intersections, Pix **pix_music_mask, Pixa *pixa_display)
Definition: linefind.cpp:570
static void FindAndRemoveVLines(int resolution, Pix *pix_intersections, int *vertical_x, int *vertical_y, Pix **pix_vline, Pix *pix_non_vline, Pix *src_pix, TabVector_LIST *vectors)
Definition: linefind.cpp:362
integer coordinate
Definition: points.h:32
static void FindAndRemoveLines(int resolution, bool debug, Pix *pix, int *vertical_x, int *vertical_y, Pix **pix_music_mask, TabVector_LIST *v_lines, TabVector_LIST *h_lines)
Definition: linefind.cpp:241
static void FindLineVectors(const ICOORD &bleft, const ICOORD &tright, BLOBNBOX_LIST *line_bblobs, int *vertical_x, int *vertical_y, TabVector_LIST *vectors)
Definition: linefind.cpp:436