tesseract
3.04.00
|
#include <coutln.h>
Public Member Functions | |
C_OUTLINE () | |
C_OUTLINE (CRACKEDGE *startpt, ICOORD bot_left, ICOORD top_right, inT16 length) | |
C_OUTLINE (ICOORD startpt, DIR128 *new_steps, inT16 length) | |
C_OUTLINE (C_OUTLINE *srcline, FCOORD rotation) | |
~C_OUTLINE () | |
BOOL8 | flag (C_OUTLINE_FLAGS mask) const |
void | set_flag (C_OUTLINE_FLAGS mask, BOOL8 value) |
C_OUTLINE_LIST * | child () |
const TBOX & | bounding_box () const |
void | set_step (inT16 stepindex, inT8 stepdir) |
void | set_step (inT16 stepindex, DIR128 stepdir) |
inT32 | pathlength () const |
DIR128 | step_dir (int index) const |
ICOORD | step (int index) const |
const ICOORD & | start_pos () const |
ICOORD | position_at_index (int index) const |
FCOORD | sub_pixel_pos_at_index (const ICOORD &pos, int index) const |
int | direction_at_index (int index) const |
int | edge_strength_at_index (int index) const |
int | chain_code (int index) const |
inT32 | area () const |
inT32 | perimeter () const |
inT32 | outer_area () const |
inT32 | count_transitions (inT32 threshold) |
BOOL8 | operator< (const C_OUTLINE &other) const |
BOOL8 | operator> (C_OUTLINE &other) const |
inT16 | winding_number (ICOORD testpt) const |
inT16 | turn_direction () const |
void | reverse () |
void | move (const ICOORD vec) |
bool | IsLegallyNested () const |
void | RemoveSmallRecursive (int min_size, C_OUTLINE_IT *it) |
void | ComputeEdgeOffsets (int threshold, Pix *pix) |
void | ComputeBinaryOffsets () |
void | render (int left, int top, Pix *pix) const |
void | render_outline (int left, int top, Pix *pix) const |
void | plot (ScrollView *window, ScrollView::Color colour) const |
void | plot_normed (const DENORM &denorm, ScrollView::Color colour, ScrollView *window) const |
C_OUTLINE & | operator= (const C_OUTLINE &source) |
![]() | |
ELIST_LINK () | |
ELIST_LINK (const ELIST_LINK &) | |
void | operator= (const ELIST_LINK &) |
Static Public Member Functions | |
static void | FakeOutline (const TBOX &box, C_OUTLINE_LIST *outlines) |
static C_OUTLINE * | deep_copy (const C_OUTLINE *src) |
static ICOORD | chain_step (int chaindir) |
Static Public Attributes | |
static const int | kMaxOutlineLength = 16000 |
|
inline |
Definition at line 47 of file coutln.cpp.
Definition at line 79 of file coutln.cpp.
Definition at line 139 of file coutln.cpp.
inT32 C_OUTLINE::area | ( | ) | const |
Definition at line 256 of file coutln.cpp.
|
inline |
|
static |
Definition at line 1040 of file coutln.cpp.
|
inline |
void C_OUTLINE::ComputeBinaryOffsets | ( | ) |
Definition at line 834 of file coutln.cpp.
void C_OUTLINE::ComputeEdgeOffsets | ( | int | threshold, |
Pix * | pix | ||
) |
Definition at line 722 of file coutln.cpp.
Definition at line 342 of file coutln.cpp.
Definition at line 259 of file coutln.h.
|
inline |
|
inline |
|
static |
Definition at line 240 of file coutln.cpp.
|
inline |
bool C_OUTLINE::IsLegallyNested | ( | ) | const |
Definition at line 615 of file coutln.cpp.
void C_OUTLINE::move | ( | const ICOORD | vec | ) |
Definition at line 599 of file coutln.cpp.
Definition at line 471 of file coutln.cpp.
Definition at line 1000 of file coutln.cpp.
inT32 C_OUTLINE::outer_area | ( | ) | const |
Definition at line 310 of file coutln.cpp.
|
inline |
inT32 C_OUTLINE::perimeter | ( | ) | const |
Definition at line 290 of file coutln.cpp.
void C_OUTLINE::plot | ( | ScrollView * | window, |
ScrollView::Color | colour | ||
) | const |
Definition at line 931 of file coutln.cpp.
void C_OUTLINE::plot_normed | ( | const DENORM & | denorm, |
ScrollView::Color | colour, | ||
ScrollView * | window | ||
) | const |
Definition at line 963 of file coutln.cpp.
|
inline |
void C_OUTLINE::RemoveSmallRecursive | ( | int | min_size, |
C_OUTLINE_IT * | it | ||
) |
Definition at line 634 of file coutln.cpp.
void C_OUTLINE::render | ( | int | left, |
int | top, | ||
Pix * | pix | ||
) | const |
Definition at line 890 of file coutln.cpp.
void C_OUTLINE::render_outline | ( | int | left, |
int | top, | ||
Pix * | pix | ||
) | const |
Definition at line 907 of file coutln.cpp.
void C_OUTLINE::reverse | ( | ) |
Definition at line 576 of file coutln.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 137 of file coutln.h.
Definition at line 161 of file coutln.h.
inT16 C_OUTLINE::turn_direction | ( | ) | const |
Definition at line 547 of file coutln.cpp.
Definition at line 507 of file coutln.cpp.