|
tesseract v5.3.3.20231005
|
#include <seam.h>
Public Member Functions | |
| SEAM (float priority, const TPOINT &location) | |
| SEAM (float priority, const TPOINT &location, const SPLIT &split) | |
| float | priority () const |
| void | set_priority (float priority) |
| bool | HasAnySplits () const |
| TBOX | bounding_box () const |
| bool | CombineableWith (const SEAM &other, int max_x_dist, float max_total_priority) const |
| void | CombineWith (const SEAM &other) |
| bool | ContainedByBlob (const TBLOB &blob) const |
| bool | UsesPoint (const EDGEPT *point) const |
| bool | SharesPosition (const SEAM &other) const |
| bool | OverlappingSplits (const SEAM &other) const |
| void | Finalize () |
| bool | IsHealthy (const TBLOB &blob, int min_points, int min_area) const |
| bool | PrepareToInsertSeam (const std::vector< SEAM * > &seams, const std::vector< TBLOB * > &blobs, int insert_index, bool modify) |
| bool | FindBlobWidth (const std::vector< TBLOB * > &blobs, int index, bool modify) |
| void | ApplySeam (bool italic_blob, TBLOB *blob, TBLOB *other_blob) const |
| void | UndoSeam (TBLOB *blob, TBLOB *other_blob) const |
| void | Print (const char *label) const |
| void | Mark (ScrollView *window) const |
| void | Hide () const |
| void | Reveal () const |
| float | FullPriority (int xmin, int xmax, double overlap_knob, int centered_maxwidth, double center_knob, double width_change_knob) const |
Static Public Member Functions | |
| static void | PrintSeams (const char *label, const std::vector< SEAM * > &seams) |
| static void | BreakPieces (const std::vector< SEAM * > &seams, const std::vector< TBLOB * > &blobs, int first, int last) |
| static void | JoinPieces (const std::vector< SEAM * > &seams, const std::vector< TBLOB * > &blobs, int first, int last) |
|
inline |
Definition at line 39 of file seam.h.
Definition at line 106 of file seam.cpp.
| TBOX tesseract::SEAM::bounding_box | ( | ) | const |
Definition at line 33 of file seam.cpp.
|
static |
Definition at line 181 of file seam.cpp.
|
inline |
Definition at line 60 of file seam.h.
|
inline |
|
inline |
|
inline |
| bool tesseract::SEAM::FindBlobWidth | ( | const std::vector< TBLOB * > & | blobs, |
| int | index, | ||
| bool | modify | ||
| ) |
Definition at line 74 of file seam.cpp.
| float tesseract::SEAM::FullPriority | ( | int | xmin, |
| int | xmax, | ||
| double | overlap_knob, | ||
| int | centered_maxwidth, | ||
| double | center_knob, | ||
| double | width_change_knob | ||
| ) | const |
Definition at line 238 of file seam.cpp.
|
inline |
| void tesseract::SEAM::Hide | ( | ) | const |
| bool tesseract::SEAM::IsHealthy | ( | const TBLOB & | blob, |
| int | min_points, | ||
| int | min_area | ||
| ) | const |
Definition at line 44 of file seam.cpp.
|
static |
| void tesseract::SEAM::Mark | ( | ScrollView * | window | ) | const |
|
inline |
| bool tesseract::SEAM::PrepareToInsertSeam | ( | const std::vector< SEAM * > & | seams, |
| const std::vector< TBLOB * > & | blobs, | ||
| int | insert_index, | ||
| bool | modify | ||
| ) |
Definition at line 54 of file seam.cpp.
| void tesseract::SEAM::Print | ( | const char * | label | ) | const |
|
static |
|
inline |
| void tesseract::SEAM::Reveal | ( | ) | const |
|
inline |
|
inline |
Definition at line 122 of file seam.cpp.
|
inline |