#include "olutil.h"
#include "structures.h"
#include "blobs.h"
#include "const.h"
Go to the source code of this file.
| void correct_blob_order |
( |
TBLOB * |
blob1, |
|
|
TBLOB * |
blob2 |
|
) |
| |
Definition at line 46 of file olutil.cpp.
54 if (origin1.
x > origin2.
x) {
void blob_origin(TBLOB *blob, TPOINT *origin)
| void eliminate_duplicate_outlines |
( |
TBLOB * |
blob | ) |
|
Definition at line 67 of file olutil.cpp.
72 for (outline = blob->
outlines; outline; outline = outline->
next) {
74 for (last_outline = outline, other_outline = outline->
next;
76 last_outline = other_outline, other_outline = other_outline->
next) {
79 last_outline->
next = other_outline->
next;
83 other_outline = last_outline;
#define same_outline_bounds(outline, other_outline)
| void setup_blob_outlines |
( |
TBLOB * |
blob | ) |
|
Definition at line 96 of file olutil.cpp.
99 for (outline = blob->
outlines; outline; outline = outline->
next) {
void ComputeBoundingBox()