Tesseract
3.02
|
#include <search_object.h>
Public Member Functions | |
SearchObject (CubeRecoContext *cntxt) | |
virtual | ~SearchObject () |
virtual int | SegPtCnt ()=0 |
virtual CharAltList * | RecognizeSegment (int start_pt, int end_pt)=0 |
virtual CharSamp * | CharSample (int start_pt, int end_pt)=0 |
virtual Box * | CharBox (int start_pt, int end_pt)=0 |
virtual int | SpaceCost (int seg_pt)=0 |
virtual int | NoSpaceCost (int seg_pt)=0 |
virtual int | NoSpaceCost (int start_pt, int end_pt)=0 |
Protected Attributes | |
CubeRecoContext * | cntxt_ |
Definition at line 36 of file search_object.h.
tesseract::SearchObject::SearchObject | ( | CubeRecoContext * | cntxt | ) | [inline, explicit] |
Definition at line 38 of file search_object.h.
{ cntxt_ = cntxt; }
virtual tesseract::SearchObject::~SearchObject | ( | ) | [inline, virtual] |
Definition at line 39 of file search_object.h.
{}
virtual Box* tesseract::SearchObject::CharBox | ( | int | start_pt, |
int | end_pt | ||
) | [pure virtual] |
Implemented in tesseract::CubeSearchObject.
virtual CharSamp* tesseract::SearchObject::CharSample | ( | int | start_pt, |
int | end_pt | ||
) | [pure virtual] |
Implemented in tesseract::CubeSearchObject.
virtual int tesseract::SearchObject::NoSpaceCost | ( | int | seg_pt | ) | [pure virtual] |
Implemented in tesseract::CubeSearchObject.
virtual int tesseract::SearchObject::NoSpaceCost | ( | int | start_pt, |
int | end_pt | ||
) | [pure virtual] |
Implemented in tesseract::CubeSearchObject.
virtual CharAltList* tesseract::SearchObject::RecognizeSegment | ( | int | start_pt, |
int | end_pt | ||
) | [pure virtual] |
Implemented in tesseract::CubeSearchObject.
virtual int tesseract::SearchObject::SegPtCnt | ( | ) | [pure virtual] |
Implemented in tesseract::CubeSearchObject.
virtual int tesseract::SearchObject::SpaceCost | ( | int | seg_pt | ) | [pure virtual] |
Implemented in tesseract::CubeSearchObject.
CubeRecoContext* tesseract::SearchObject::cntxt_ [protected] |
Definition at line 51 of file search_object.h.