All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tesseract::FeatureBase Class Referenceabstract

#include <feature_base.h>

Inheritance diagram for tesseract::FeatureBase:
tesseract::FeatureBmp tesseract::FeatureChebyshev tesseract::FeatureHybrid

Public Member Functions

 FeatureBase (TuningParams *params)
virtual ~FeatureBase ()
virtual bool ComputeFeatures (CharSamp *char_samp, float *features)=0
virtual CharSampComputeFeatureBitmap (CharSamp *char_samp)=0
virtual int FeatureCnt ()=0

Protected Attributes


Detailed Description

Definition at line 34 of file feature_base.h.

Constructor & Destructor Documentation

tesseract::FeatureBase::FeatureBase ( TuningParams params)

Definition at line 36 of file feature_base.h.

37  : params_(params) {
38  }
TuningParams * params_
Definition: feature_base.h:50
virtual tesseract::FeatureBase::~FeatureBase ( )

Definition at line 39 of file feature_base.h.

39 {}

Member Function Documentation

virtual CharSamp* tesseract::FeatureBase::ComputeFeatureBitmap ( CharSamp char_samp)
pure virtual
virtual bool tesseract::FeatureBase::ComputeFeatures ( CharSamp char_samp,
float *  features 
pure virtual
virtual int tesseract::FeatureBase::FeatureCnt ( )
pure virtual

Member Data Documentation

TuningParams* tesseract::FeatureBase::params_

Definition at line 50 of file feature_base.h.

The documentation for this class was generated from the following file: