#include <colpartitionset.h>
|
| ColPartitionSet ()=default |
|
| ColPartitionSet (ColPartition_LIST *partitions) |
|
| ColPartitionSet (ColPartition *partition) |
|
| ~ColPartitionSet ()=default |
|
const TBOX & | bounding_box () const |
|
bool | Empty () const |
|
int | ColumnCount () const |
|
int | GoodColumnCount () const |
|
ColPartition * | GetColumnByIndex (int index) |
|
ColPartition * | ColumnContaining (int x, int y) |
|
void | GetColumnBoxes (int y_bottom, int y_top, ColSegment_LIST *segments) |
|
void | RelinquishParts () |
|
void | ImproveColumnCandidate (WidthCallback *cb, PartSetVector *src_sets) |
|
void | AddToColumnSetsIfUnique (PartSetVector *column_sets, WidthCallback *cb) |
|
bool | CompatibleColumns (bool debug, ColPartitionSet *other, WidthCallback *cb) |
|
int | UnmatchedWidth (ColPartitionSet *part_set) |
|
bool | LegalColumnCandidate () |
|
ColPartitionSet * | Copy (bool good_only) |
|
void | DisplayColumnEdges (int y_bottom, int y_top, ScrollView *win) |
|
ColumnSpanningType | SpanningType (int resolution, int left, int right, int height, int y, int left_margin, int right_margin, int *first_col, int *last_col, int *first_spanned_col) |
|
void | ChangeWorkColumns (const ICOORD &bleft, const ICOORD &tright, int resolution, ColPartition_LIST *used_parts, WorkingPartSet_LIST *working_set) |
|
void | AccumulateColumnWidthsAndGaps (int *total_width, int *width_samples, int *total_gap, int *gap_samples) |
|
void | Print () |
|
| ELIST_LINK () |
|
| ELIST_LINK (const ELIST_LINK &) |
|
void | operator= (const ELIST_LINK &) |
|
◆ ColPartitionSet() [1/3]
tesseract::ColPartitionSet::ColPartitionSet |
( |
| ) |
|
|
default |
◆ ColPartitionSet() [2/3]
tesseract::ColPartitionSet::ColPartitionSet |
( |
ColPartition_LIST * |
partitions | ) |
|
|
explicit |
◆ ColPartitionSet() [3/3]
tesseract::ColPartitionSet::ColPartitionSet |
( |
ColPartition * |
partition | ) |
|
|
explicit |
◆ ~ColPartitionSet()
tesseract::ColPartitionSet::~ColPartitionSet |
( |
| ) |
|
|
default |
◆ AccumulateColumnWidthsAndGaps()
void tesseract::ColPartitionSet::AccumulateColumnWidthsAndGaps |
( |
int * |
total_width, |
|
|
int * |
width_samples, |
|
|
int * |
total_gap, |
|
|
int * |
gap_samples |
|
) |
| |
◆ AddPartition()
void tesseract::ColPartitionSet::AddPartition |
( |
ColPartition * |
new_part, |
|
|
ColPartition_IT * |
it |
|
) |
| |
|
private |
◆ AddPartitionCoverageAndBox()
void tesseract::ColPartitionSet::AddPartitionCoverageAndBox |
( |
const ColPartition & |
part | ) |
|
|
private |
◆ AddToColumnSetsIfUnique()
◆ bounding_box()
const TBOX& tesseract::ColPartitionSet::bounding_box |
( |
| ) |
const |
|
inline |
◆ ChangeWorkColumns()
void tesseract::ColPartitionSet::ChangeWorkColumns |
( |
const ICOORD & |
bleft, |
|
|
const ICOORD & |
tright, |
|
|
int |
resolution, |
|
|
ColPartition_LIST * |
used_parts, |
|
|
WorkingPartSet_LIST * |
working_set |
|
) |
| |
◆ ColumnContaining()
ColPartition * tesseract::ColPartitionSet::ColumnContaining |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ ColumnCount()
int tesseract::ColPartitionSet::ColumnCount |
( |
| ) |
const |
|
inline |
◆ CompatibleColumns()
◆ ComputeCoverage()
void tesseract::ColPartitionSet::ComputeCoverage |
( |
| ) |
|
|
private |
◆ Copy()
◆ DisplayColumnEdges()
void tesseract::ColPartitionSet::DisplayColumnEdges |
( |
int |
y_bottom, |
|
|
int |
y_top, |
|
|
ScrollView * |
win |
|
) |
| |
◆ Empty()
bool tesseract::ColPartitionSet::Empty |
( |
| ) |
const |
|
inline |
◆ GetColumnBoxes()
void tesseract::ColPartitionSet::GetColumnBoxes |
( |
int |
y_bottom, |
|
|
int |
y_top, |
|
|
ColSegment_LIST * |
segments |
|
) |
| |
◆ GetColumnByIndex()
ColPartition * tesseract::ColPartitionSet::GetColumnByIndex |
( |
int |
index | ) |
|
◆ GoodColumnCount()
int tesseract::ColPartitionSet::GoodColumnCount |
( |
| ) |
const |
◆ ImproveColumnCandidate()
◆ LegalColumnCandidate()
bool tesseract::ColPartitionSet::LegalColumnCandidate |
( |
| ) |
|
◆ Print()
void tesseract::ColPartitionSet::Print |
( |
| ) |
|
◆ RelinquishParts()
void tesseract::ColPartitionSet::RelinquishParts |
( |
| ) |
|
◆ SpanningType()
ColumnSpanningType tesseract::ColPartitionSet::SpanningType |
( |
int |
resolution, |
|
|
int |
left, |
|
|
int |
right, |
|
|
int |
height, |
|
|
int |
y, |
|
|
int |
left_margin, |
|
|
int |
right_margin, |
|
|
int * |
first_col, |
|
|
int * |
last_col, |
|
|
int * |
first_spanned_col |
|
) |
| |
◆ UnmatchedWidth()
int tesseract::ColPartitionSet::UnmatchedWidth |
( |
ColPartitionSet * |
part_set | ) |
|
◆ bad_coverage_
int tesseract::ColPartitionSet::bad_coverage_ |
|
private |
◆ bounding_box_
TBOX tesseract::ColPartitionSet::bounding_box_ |
|
private |
◆ good_column_count_
int tesseract::ColPartitionSet::good_column_count_ |
|
private |
◆ good_coverage_
int tesseract::ColPartitionSet::good_coverage_ |
|
private |
◆ parts_
ColPartition_LIST tesseract::ColPartitionSet::parts_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/textord/colpartitionset.h
- /home/stephane/src/tesseract/src/textord/colpartitionset.cpp