Home
last modified time | relevance | path

Searched refs:to_block (Results 1 – 4 of 4) sorted by relevance

/external/tesseract/textord/
Dpagesegmain.cpp136 TO_BLOCK* to_block = to_block_it.data(); in SegmentPage() local
138 to_block->line_size < 2) { in SegmentPage()
146 to_block, &port_blocks, this); in SegmentPage()
156 to_block->get_rows(), to_block->block->row_list()); in SegmentPage()
228 TO_BLOCK* to_block = to_block_it.data(); in AutoPageSeg() local
229 TBOX blkbox = to_block->block->bounding_box(); in AutoPageSeg()
230 if (to_block->line_size >= 2) { in AutoPageSeg()
235 ColumnFinder finder(static_cast<int>(to_block->line_size), in AutoPageSeg()
239 to_block, boxa, pixa, &found_blocks, to_blocks) < 0) in AutoPageSeg()
Dworkingpartset.cpp121 TO_BLOCK* to_block = ColPartition::MakeBlock(bleft, tright, in MakeBlocks() local
123 if (to_block != NULL) { in MakeBlocks()
125 to_block_it.add_to_end(to_block); in MakeBlocks()
127 block_it.add_to_end(to_block->block); in MakeBlocks()
Dcolpartition.cpp779 TO_BLOCK* to_block = MakeBlock(bleft, tright, &spacing_parts, used_parts); in LineSpacingBlocks() local
780 if (to_block != NULL) { in LineSpacingBlocks()
781 to_block_it.add_to_end(to_block); in LineSpacingBlocks()
782 block_it.add_to_end(to_block->block); in LineSpacingBlocks()
856 TO_BLOCK* to_block = new TO_BLOCK(block); in MakeBlock() local
857 BLOBNBOX_IT blob_it(&to_block->blobs); in MakeBlock()
879 delete to_block; in MakeBlock()
882 to_block->line_size = heights.median(); in MakeBlock()
886 to_block->line_spacing = line_spacing; in MakeBlock()
887 to_block->max_blob_size = block_height + 1; in MakeBlock()
[all …]
Dcolfind.cpp1775 TO_BLOCK* to_block = it.data(); in RotateAndReskewBlocks() local
1776 BLOCK* block = to_block->block; in RotateAndReskewBlocks()
1778 BLOBNBOX_IT blob_it(&to_block->blobs); in RotateAndReskewBlocks()
1846 TO_BLOCK* to_block = to_it.data(); in MoveSmallBlobs() local
1847 BLOCK* block = to_block->block; in MoveSmallBlobs()
1849 BLOBNBOX_IT blob_it(&to_block->blobs); in MoveSmallBlobs()