#include <cube_line_segmenter.h>
Definition at line 34 of file cube_line_segmenter.h.
tesseract::CubeLineSegmenter::CubeLineSegmenter |
( |
CubeRecoContext * |
cntxt, |
|
|
Pix * |
img |
|
) |
| |
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_);
double tesseract::CubeLineSegmenter::AlefHgtEst |
( |
| ) |
|
|
inline |
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];
int tesseract::CubeLineSegmenter::ColumnCnt |
( |
| ) |
|
|
inline |
Pixaa* tesseract::CubeLineSegmenter::Columns |
( |
| ) |
|
|
inline |
Pixa* tesseract::CubeLineSegmenter::ConComps |
( |
| ) |
|
|
inline |
double tesseract::CubeLineSegmenter::DotHgtEst |
( |
| ) |
|
|
inline |
Pix * tesseract::CubeLineSegmenter::Line |
( |
int |
line, |
|
|
Box ** |
line_box |
|
) |
| |
Definition at line 876 of file cube_line_segmenter.cpp.
877 if (init_ ==
false && Init() ==
false) {
881 if (line < 0 || line >= line_cnt_) {
885 (*line_box) = lines_pixa_->boxa->box[line];
886 return lines_pixa_->pix[line];
int tesseract::CubeLineSegmenter::LineCnt |
( |
| ) |
|
|
inline |
Pix* tesseract::CubeLineSegmenter::PostProcessedImage |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: