Tesseract
3.02
|
#include <feature_base.h>
Public Member Functions | |
FeatureBase (TuningParams *params) | |
virtual | ~FeatureBase () |
virtual bool | ComputeFeatures (CharSamp *char_samp, float *features)=0 |
virtual CharSamp * | ComputeFeatureBitmap (CharSamp *char_samp)=0 |
virtual int | FeatureCnt ()=0 |
Protected Attributes | |
TuningParams * | params_ |
Definition at line 34 of file feature_base.h.
tesseract::FeatureBase::FeatureBase | ( | TuningParams * | params | ) | [inline, explicit] |
Definition at line 36 of file feature_base.h.
: params_(params) { }
virtual tesseract::FeatureBase::~FeatureBase | ( | ) | [inline, virtual] |
Definition at line 39 of file feature_base.h.
{}
virtual CharSamp* tesseract::FeatureBase::ComputeFeatureBitmap | ( | CharSamp * | char_samp | ) | [pure virtual] |
Implemented in tesseract::FeatureBmp, tesseract::FeatureChebyshev, and tesseract::FeatureHybrid.
virtual bool tesseract::FeatureBase::ComputeFeatures | ( | CharSamp * | char_samp, |
float * | features | ||
) | [pure virtual] |
Implemented in tesseract::FeatureBmp, tesseract::FeatureChebyshev, and tesseract::FeatureHybrid.
virtual int tesseract::FeatureBase::FeatureCnt | ( | ) | [pure virtual] |
Implemented in tesseract::FeatureBmp, tesseract::FeatureChebyshev, and tesseract::FeatureHybrid.
TuningParams* tesseract::FeatureBase::params_ [protected] |
Definition at line 50 of file feature_base.h.