|
tesseract
4.00.00dev
|
#include <blobs.h>
Public Member Functions | |
| TBLOB () | |
| TBLOB (const TBLOB &src) | |
| ~TBLOB () | |
| TBLOB & | operator= (const TBLOB &src) |
| TBLOB * | ClassifyNormalizeIfNeeded () const |
| void | CopyFrom (const TBLOB &src) |
| void | Clear () |
| void | Normalize (const BLOCK *block, const FCOORD *rotation, const DENORM *predecessor, float x_origin, float y_origin, float x_scale, float y_scale, float final_xshift, float final_yshift, bool inverse, Pix *pix) |
| void | Rotate (const FCOORD rotation) |
| void | Move (const ICOORD vec) |
| void | Scale (float factor) |
| void | ComputeBoundingBoxes () |
| int | NumOutlines () const |
| TBOX | bounding_box () const |
| bool | SegmentCrossesOutline (const TPOINT &pt1, const TPOINT &pt2) const |
| bool | Contains (const TPOINT &pt) const |
| void | EliminateDuplicateOutlines () |
| void | CorrectBlobOrder (TBLOB *next) |
| const DENORM & | denorm () const |
| void | plot (ScrollView *window, ScrollView::Color color, ScrollView::Color child_color) |
| int | BBArea () const |
| int | ComputeMoments (FCOORD *center, FCOORD *second_moments) const |
| void | GetPreciseBoundingBox (TBOX *precise_box) const |
| void | GetEdgeCoords (const TBOX &box, GenericVector< GenericVector< int > > *x_coords, GenericVector< GenericVector< int > > *y_coords) const |
Static Public Member Functions | |
| static TBLOB * | PolygonalCopy (bool allow_detailed_fx, C_BLOB *src) |
| static TBLOB * | ShallowCopy (const TBLOB &src) |
Public Attributes | |
| TESSLINE * | outlines |
|
inline |
|
inline |
Definition at line 349 of file blobs.h.
| TBOX TBLOB::bounding_box | ( | ) | const |
Definition at line 482 of file blobs.cpp.
| TBLOB * TBLOB::ClassifyNormalizeIfNeeded | ( | ) | const |
Definition at line 363 of file blobs.cpp.
| void TBLOB::Clear | ( | ) |
Definition at line 402 of file blobs.cpp.
| void TBLOB::ComputeBoundingBoxes | ( | ) |
Definition at line 462 of file blobs.cpp.
Definition at line 535 of file blobs.cpp.
|
inline |
Definition at line 324 of file blobs.h.
| void TBLOB::CopyFrom | ( | const TBLOB & | src | ) |
Definition at line 386 of file blobs.cpp.
|
inline |
| void TBLOB::EliminateDuplicateOutlines | ( | ) |
Definition at line 495 of file blobs.cpp.
| void TBLOB::GetEdgeCoords | ( | const TBOX & | box, |
| GenericVector< GenericVector< int > > * | x_coords, | ||
| GenericVector< GenericVector< int > > * | y_coords | ||
| ) | const |
| void TBLOB::GetPreciseBoundingBox | ( | TBOX * | precise_box | ) | const |
| void TBLOB::Move | ( | const ICOORD | vec | ) |
Definition at line 448 of file blobs.cpp.
| void TBLOB::Normalize | ( | const BLOCK * | block, |
| const FCOORD * | rotation, | ||
| const DENORM * | predecessor, | ||
| float | x_origin, | ||
| float | y_origin, | ||
| float | x_scale, | ||
| float | y_scale, | ||
| float | final_xshift, | ||
| float | final_yshift, | ||
| bool | inverse, | ||
| Pix * | pix | ||
| ) |
Definition at line 413 of file blobs.cpp.
| int TBLOB::NumOutlines | ( | ) | const |
Definition at line 469 of file blobs.cpp.
| void TBLOB::plot | ( | ScrollView * | window, |
| ScrollView::Color | color, | ||
| ScrollView::Color | child_color | ||
| ) |
Definition at line 524 of file blobs.cpp.
Definition at line 344 of file blobs.cpp.
| void TBLOB::Rotate | ( | const FCOORD | rotation | ) |
Definition at line 441 of file blobs.cpp.
| void TBLOB::Scale | ( | float | factor | ) |
Definition at line 455 of file blobs.cpp.
Definition at line 316 of file blobs.h.
Definition at line 352 of file blobs.cpp.