/home/rays/src/opensrc/tesseract-ocr/classify/extract.h File Reference

#include "featdefs.h"
#include <stdio.h>

Go to the source code of this file.

Functions

CHAR_DESC ExtractBlobFeatures (const FEATURE_DEFS_STRUCT &FeatureDefs, const DENORM &denorm, TBLOB *Blob)
void ExtractorStub ()

Function Documentation

CHAR_DESC ExtractBlobFeatures ( const FEATURE_DEFS_STRUCT FeatureDefs,
const DENORM denorm,
TBLOB Blob 
)

Extract features from Blob by calling the feature extractor which is currently being used. This routine simply provides a high level interface to feature extraction. The caller can extract any type of features from a blob without understanding any lower level details.

Parameters:
FeatureDefs definitions of feature types/extractors
denorm Normalize/denormalize to access original image
Blob blob to extract features from
Returns:
The character features extracted from Blob.
Note:
Exceptions: none
History: Sun Jan 21 10:07:28 1990, DSJ, Created.
void ExtractorStub (  ) 

This routine is used to stub out feature extractors that are no longer used. It simply calls DoError.

Note:
Exceptions: none
History: Wed Jan 2 14:16:49 1991, DSJ, Created.
Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3