#include <cube_line_segmenter.h>
Definition at line 34 of file cube_line_segmenter.h.
◆ CubeLineSegmenter()
tesseract::CubeLineSegmenter::CubeLineSegmenter |
( |
CubeRecoContext * |
cntxt, |
|
|
Pix * |
img |
|
) |
| |
◆ ~CubeLineSegmenter()
tesseract::CubeLineSegmenter::~CubeLineSegmenter |
( |
| ) |
|
Definition at line 49 of file cube_line_segmenter.cpp.
55 if (lines_pixa_ != NULL) {
56 pixaDestroy(&lines_pixa_);
60 if (con_comps_ != NULL) {
61 pixaDestroy(&con_comps_);
65 if (columns_ != NULL) {
66 pixaaDestroy(&columns_);
◆ AlefHgtEst()
double tesseract::CubeLineSegmenter::AlefHgtEst |
( |
| ) |
|
|
inline |
◆ Column()
Box* tesseract::CubeLineSegmenter::Column |
( |
int |
col | ) |
|
|
inline |
Definition at line 52 of file cube_line_segmenter.h.
53 if (init_ ==
false && Init() ==
false) {
57 return columns_->boxa->box[col];
◆ ColumnCnt()
int tesseract::CubeLineSegmenter::ColumnCnt |
( |
| ) |
|
|
inline |
◆ Columns()
Pixaa* tesseract::CubeLineSegmenter::Columns |
( |
| ) |
|
|
inline |
◆ ConComps()
Pixa* tesseract::CubeLineSegmenter::ConComps |
( |
| ) |
|
|
inline |
◆ DotHgtEst()
double tesseract::CubeLineSegmenter::DotHgtEst |
( |
| ) |
|
|
inline |
◆ Line()
Pix * tesseract::CubeLineSegmenter::Line |
( |
int |
line, |
|
|
Box ** |
line_box |
|
) |
| |
Definition at line 870 of file cube_line_segmenter.cpp.
871 if (init_ ==
false && Init() ==
false) {
875 if (line < 0 || line >= line_cnt_) {
879 (*line_box) = lines_pixa_->boxa->box[line];
880 return lines_pixa_->pix[line];
◆ LineCnt()
int tesseract::CubeLineSegmenter::LineCnt |
( |
| ) |
|
|
inline |
◆ PostProcessedImage()
Pix* tesseract::CubeLineSegmenter::PostProcessedImage |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: