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 std::unique_ptr<C_OUTLINE_LIST[]> buckets;
81 C_OUTLINE_LIST *outlines);
83 C_OUTLINE_LIST *outlines,
void extract_edges(Pix *pix, BLOCK *block)
C_OUTLINE_LIST * operator()(int16_t x, int16_t y)
int32_t count_children(C_OUTLINE *outline, int32_t max_count)
void extract_children(C_OUTLINE *outline, C_OUTLINE_IT *it)
void outlines_to_blobs(BLOCK *block, ICOORD bleft, ICOORD tright, C_OUTLINE_LIST *outlines)
int32_t outline_complexity(C_OUTLINE *outline, int32_t max_count, int16_t depth)
C_OUTLINE_LIST * scan_next()
C_OUTLINE_LIST * start_scan()
OL_BUCKETS(ICOORD bleft, ICOORD tright)
bool capture_children(OL_BUCKETS *buckets, C_BLOB_IT *reject_it, C_OUTLINE_IT *blob_it)
void empty_buckets(BLOCK *block, OL_BUCKETS *buckets)
void fill_buckets(C_OUTLINE_LIST *outlines, OL_BUCKETS *buckets)