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);
88 static void FindAndRemoveVLines(
int resolution,
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);
103 static void FindAndRemoveHLines(
int resolution,
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);
114 static void FindLineVectors(
const ICOORD& bleft,
const ICOORD& tright,
115 BLOBNBOX_LIST* line_bblobs,
116 int* vertical_x,
int* vertical_y,
117 TabVector_LIST* vectors);
132 static void GetLineMasks(
int resolution, Pix* src_pix,
133 Pix** pix_vline, Pix** pix_non_vline,
134 Pix** pix_hline, Pix** pix_non_hline,
135 Pix** pix_intersections, Pix** pix_music_mask,
141 static void GetLineBoxes(
bool horizontal_lines,
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 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)
static void ConvertBoxaToBlobs(int image_width, int image_height, Boxa **boxes, C_BLOB_LIST *blobs)