#include <blobs.h>
List of all members.
Detailed Description
Definition at line 233 of file blobs.h.
Constructor & Destructor Documentation
TWERD::TWERD |
( |
const TWERD & |
src | ) |
|
|
inline |
Member Function Documentation
TBOX TWERD::bounding_box |
( |
| ) |
const |
Definition at line 483 of file blobs.cpp.
{
TBOX box = blob->bounding_box();
result += box;
}
return result;
}
void TWERD::ComputeBoundingBoxes |
( |
| ) |
|
Definition at line 477 of file blobs.cpp.
{
blob->ComputeBoundingBoxes();
}
}
void TWERD::CopyFrom |
( |
const TWERD & |
src | ) |
|
Definition at line 454 of file blobs.cpp.
{
for (
TBLOB* srcblob = src.
blobs; srcblob !=
NULL; srcblob = srcblob->next) {
else
prev_blob->
next = new_blob;
prev_blob = new_blob;
}
}
void TWERD::MergeBlobs |
( |
int |
start, |
|
|
int |
end |
|
) |
| |
Definition at line 494 of file blobs.cpp.
{
for (
int i = 0; i < start && blob !=
NULL; ++i)
return;
for (
int i = start + 1; i < end && next_blob !=
NULL; ++i) {
} else {
}
TBLOB* dead_blob = next_blob;
next_blob = next_blob->
next;
delete dead_blob;
}
}
void TWERD::Normalize |
( |
const DENORM & |
denorm | ) |
|
Definition at line 447 of file blobs.cpp.
{
blob->Normalize(denorm);
}
}
int TWERD::NumBlobs |
( |
| ) |
const |
|
inline |
Definition at line 405 of file blobs.cpp.
{
for (b_it.mark_cycle_pt(); !b_it.cycled_list(); b_it.forward()) {
} else {
}
tail = tblob;
}
return tessword;
}
void TWERD::SetupBLNormalize |
( |
const BLOCK * |
block, |
|
|
const ROW * |
row, |
|
|
float |
x_height, |
|
|
bool |
numeric_mode, |
|
|
DENORM * |
denorm |
|
) |
| const |
Definition at line 424 of file blobs.cpp.
{
int num_segments = 0;
if (numeric_mode) {
TBOX blob_box = blob->bounding_box();
}
}
num_segments, segs);
delete [] segs;
}
Member Data Documentation
The documentation for this struct was generated from the following files:
- /mnt/data/src/tesseract-ocr/ccstruct/blobs.h
- /mnt/data/src/tesseract-ocr/ccstruct/blobs.cpp