Tesseract
3.02
|
#include <cube_line_segmenter.h>
Public Member Functions | |
CubeLineSegmenter (CubeRecoContext *cntxt, Pix *img) | |
~CubeLineSegmenter () | |
Pix * | PostProcessedImage () |
int | ColumnCnt () |
Box * | Column (int col) |
int | LineCnt () |
Pixa * | ConComps () |
Pixaa * | Columns () |
double | AlefHgtEst () |
double | DotHgtEst () |
Pix * | Line (int line, Box **line_box) |
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.
double tesseract::CubeLineSegmenter::AlefHgtEst | ( | ) | [inline] |
Definition at line 80 of file cube_line_segmenter.h.
{ return est_alef_hgt_; }
Box* tesseract::CubeLineSegmenter::Column | ( | int | col | ) | [inline] |
Definition at line 52 of file cube_line_segmenter.h.
{ if (init_ == false && Init() == false) { return NULL; } return columns_->boxa->box[col]; }
int tesseract::CubeLineSegmenter::ColumnCnt | ( | ) | [inline] |
Definition at line 46 of file cube_line_segmenter.h.
{ if (init_ == false && Init() == false) { return NULL; } return columns_->n; }
Pixaa* tesseract::CubeLineSegmenter::Columns | ( | ) | [inline] |
Definition at line 73 of file cube_line_segmenter.h.
{ if (init_ == false && Init() == false) { return NULL; } return columns_; }
Pixa* tesseract::CubeLineSegmenter::ConComps | ( | ) | [inline] |
Definition at line 66 of file cube_line_segmenter.h.
{ if (init_ == false && Init() == false) { return NULL; } return con_comps_; }
double tesseract::CubeLineSegmenter::DotHgtEst | ( | ) | [inline] |
Definition at line 81 of file cube_line_segmenter.h.
{ return est_dot_hgt_; }
Pix * tesseract::CubeLineSegmenter::Line | ( | int | line, |
Box ** | line_box | ||
) |
Definition at line 866 of file cube_line_segmenter.cpp.
int tesseract::CubeLineSegmenter::LineCnt | ( | ) | [inline] |
Definition at line 59 of file cube_line_segmenter.h.
{ if (init_ == false && Init() == false) { return NULL; } return line_cnt_; }
Pix* tesseract::CubeLineSegmenter::PostProcessedImage | ( | ) | [inline] |
Definition at line 40 of file cube_line_segmenter.h.
{ if (init_ == false && Init() == false) { return NULL; } return img_; }