/external/tesseract/textord/ |
D | colpartition.h | 36 class ColPartition; variable 41 ELIST2IZEH(ColPartition) 42 CLISTIZEH(ColPartition) in CLISTIZEH() argument 51 class ColPartition : public ELIST2_LINK { in CLISTIZEH() 53 ColPartition() { in CLISTIZEH() 60 ColPartition(BlobRegionType blob_type, const ICOORD& vertical); in CLISTIZEH() 63 ColPartition(const ICOORD& vertical, in CLISTIZEH() 71 static ColPartition* FakePartition(const TBOX& box); in CLISTIZEH() 73 ~ColPartition(); in CLISTIZEH() 177 ColPartition* nearest_neighbor_above() const { in CLISTIZEH() [all …]
|
D | colpartition.cpp | 27 ELIST2IZE(ColPartition) 28 CLISTIZE(ColPartition) 45 ColPartition::ColPartition(BlobRegionType blob_type, const ICOORD& vertical) in ColPartition() function in tesseract::ColPartition 65 ColPartition* ColPartition::FakePartition(const TBOX& box) { in FakePartition() 66 ColPartition* part = new ColPartition(BRT_UNKNOWN, ICOORD(0, 1)); in FakePartition() 74 ColPartition::~ColPartition() { in ~ColPartition() 89 ColPartition::ColPartition(const ICOORD& vertical, in ColPartition() function in tesseract::ColPartition 112 void ColPartition::AddBox(BLOBNBOX* bbox) { in AddBox() 129 void ColPartition::ClaimBoxes(WidthCallback* cb) { in ClaimBoxes() 136 ColPartition* other = bblob->owner(); in ClaimBoxes() [all …]
|
D | tablefind.cpp | 95 GridSearch<ColPartition, ColPartition_CLIST, ColPartition_C_IT> in CLISTIZE() 98 ColPartition* part; in CLISTIZE() 100 ColPartition* clean_part = part->ShallowCopy(); in CLISTIZE() 274 GridSearch<ColPartition, ColPartition_CLIST, ColPartition_C_IT> in SetPartitionSpacings() 277 ColPartition* part; in SetPartitionSpacings() 282 ColPartition* left_column = columns->ColumnContaining(box.left(), y); in SetPartitionSpacings() 283 ColPartition* right_column = columns->ColumnContaining(box.right(), y); in SetPartitionSpacings() 300 void ColumnFinder::SetVerticalSpacing(ColPartition* part) { in SetVerticalSpacing() 309 GridSearch<ColPartition, ColPartition_CLIST, ColPartition_C_IT> in SetVerticalSpacing() 312 ColPartition* neighbor; in SetVerticalSpacing() [all …]
|
D | colfind.cpp | 92 clean_part_grid_.ClearGridData(&DeleteObject<ColPartition>); in ~ColumnFinder() 99 ColPartition* part = part_it.data(); in ~ColumnFinder() 107 ColPartition* part = part_it.data(); in ~ColumnFinder() 465 ColPartition* unk_partition = NULL; in PartitionsAtGridY() 502 ColPartition* partition = StartPartition(start_type, prev_margin + 1, bbox, in PartitionsAtGridY() 525 if (ColPartition::TypesMatch(next_type, start_type) && in PartitionsAtGridY() 594 ColPartition* unk_partition = StartPartition(BRT_TEXT, bleft().x(), blob, in InsertSmallBlobsAsUnknowns() 611 ColPartition** unk_partition, in ProcessUnknownBlob() 648 ColPartition* ColumnFinder::StartPartition(BlobRegionType start_type, in StartPartition() 653 ColPartition* partition = new ColPartition(start_type, vertical_skew_); in StartPartition() [all …]
|
D | workingpartset.h | 36 explicit WorkingPartSet(ColPartition* column) in WorkingPartSet() 41 ColPartition* column() const { in column() 44 void set_column(ColPartition* col) { in set_column() 51 void AddPartition(ColPartition* part); 74 ColPartition* column_; 76 ColPartition* latest_part_;
|
D | colpartitionset.cpp | 36 ColPartitionSet::ColPartitionSet(ColPartition* part) { in ColPartitionSet() 46 ColPartition* ColPartitionSet::GetColumnByIndex(int index) { in GetColumnByIndex() 56 ColPartition* ColPartitionSet::ColumnContaining(int x, int y) { in ColumnContaining() 59 ColPartition* part = it.data(); in ColumnContaining() 94 ColPartition* part1 = it1.data(); in MergeOverlaps() 95 ColPartition* part2 = it2.data(); in MergeOverlaps() 159 ColPartition* col_part = col_it.data(); in ImproveColumnCandidate() 165 ColPartition* part = part_it.data(); in ImproveColumnCandidate() 289 ColPartition* part = it.data(); in CompatibleColumns() 300 ColPartition* left_col = ColumnContaining(left, y); in CompatibleColumns() [all …]
|
D | colfind.h | 113 ColPartition** unk_partition, 132 ColPartition* StartPartition(BlobRegionType start_type, int left_margin, 144 ColPartition** partition, ColPartition_IT* part_it); 220 void FindPartitionMargins(ColPartitionSet* columns, ColPartition* part); 225 int y_bottom, int y_top, const ColPartition* not_this); 237 void FindPartitionPartners(bool upper, ColPartition* part); 271 void SetVerticalSpacing(ColPartition* part); 281 bool HasWideOrNoInterWordGap(ColPartition* part); 323 bool HLineBelongsToTable(ColPartition* part, const TBOX& table_box); 361 void AddToTempPartList(ColPartition* part, ColPartition_CLIST* temp_list);
|
D | workingpartset.cpp | 31 void WorkingPartSet::AddPartition(ColPartition* part) { in ELISTIZE() 32 ColPartition* partner = part->SingletonPartner(true); in ELISTIZE() 91 ColPartition* next_part = NULL; in MakeBlocks() 94 ColPartition* part = part_it_.extract(); in MakeBlocks() 108 ColPartition* next_block_part = part_it_.data(); in MakeBlocks() 121 TO_BLOCK* to_block = ColPartition::MakeBlock(bleft, tright, in MakeBlocks() 131 ColPartition::LineSpacingBlocks(bleft, tright, resolution, &block_parts, in MakeBlocks()
|
D | colpartitionset.h | 45 explicit ColPartitionSet(ColPartition* partition); 61 ColPartition* GetColumnByIndex(int index); 64 ColPartition* ColumnContaining(int x, int y); 126 void AddPartition(ColPartition* new_part, ColPartition_IT* it);
|
/external/tesseract/ccstruct/ |
D | blobbox.h | 70 class ColPartition; variable 202 tesseract::ColPartition* owner() const { in ELISTIZEH() 205 void set_owner(tesseract::ColPartition* new_owner) { in ELISTIZEH() 285 tesseract::ColPartition* owner_; // Who will delete me when I am not needed in ELISTIZEH()
|