46 for (index = 0; buckets[index].empty () && index < bxdim * bydim - 1;
48 return &buckets[index];
52 for (; buckets[index].empty () && index < bxdim * bydim - 1; index++);
53 return &buckets[index];
67 C_OUTLINE_LIST * buckets;
81 C_OUTLINE_LIST *outlines);
83 C_OUTLINE_LIST *outlines,
C_OUTLINE_LIST * start_scan()
void empty_buckets(BLOCK *block, OL_BUCKETS *buckets)
void extract_edges(Pix *pix, BLOCK *block)
void fill_buckets(C_OUTLINE_LIST *outlines, OL_BUCKETS *buckets)
OL_BUCKETS(ICOORD bleft, ICOORD tright)
inT32 outline_complexity(C_OUTLINE *outline, inT32 max_count, inT16 depth)
void extract_children(C_OUTLINE *outline, C_OUTLINE_IT *it)
inT32 count_children(C_OUTLINE *outline, inT32 max_count)
C_OUTLINE_LIST * operator()(inT16 x, inT16 y)
BOOL8 capture_children(OL_BUCKETS *buckets, C_BLOB_IT *reject_it, C_OUTLINE_IT *blob_it)
C_OUTLINE_LIST * scan_next()
void outlines_to_blobs(BLOCK *block, ICOORD bleft, ICOORD tright, C_OUTLINE_LIST *outlines)