#include "extract.h"
#include "variables.h"
#include "flexfx.h"
#include "funcdefs.h"
#include "danerror.h"
Go to the source code of this file.
#define DEFAULT_FX 2 |
Not used anywhere in tesseract 1.02
Definition at line 43 of file extract.cpp.
#define DUMMY_ERROR 1 |
Referenced by ExtractorStub().
#define NUM_FX 3 |
Not used anywhere in tesseract 1.02
Definition at line 41 of file extract.cpp.
typedef CHAR_FEATURES(*) CF_FUNC() |
** (c) Copyright Hewlett-Packard Company, 1988. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** http://www.apache.org/licenses/LICENSE-2.0 ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
Definition at line 29 of file extract.cpp.
CHAR_DESC ExtractBlobFeatures | ( | TBLOB * | Blob, | |
LINE_STATS * | LineStats | |||
) |
Extract features from Blob by calling the feature extractor which is currently being used.
Blob | TBLOB, blob to extract features from | |
LineStats | LINE_STATS, statistics about line blob is in |
Definition at line 64 of file extract.cpp.
References ExtractFlexFeatures().
Referenced by LearnBlob().
00064 { 00065 return (ExtractFlexFeatures (Blob, LineStats)); 00066 } /* ExtractBlobFeatures */
void ExtractorStub | ( | ) |
Used to stub out feature extractors that are no longer used. It simply calls.
none |
Definition at line 97 of file extract.cpp.
References DoError(), and DUMMY_ERROR.
00099 { 00100 DoError (DUMMY_ERROR, "Selected feature extractor has been stubbed out!"); 00101 } /* ExtractorStub */
void InitExtractorVars | ( | ) |
Install global extractor variables into the variable system.
none |
Definition at line 78 of file extract.cpp.
References InitFlexFXVars().
Referenced by mfeature_variables().
00078 { 00079 // VALUE dummy; 00080 InitFlexFXVars(); 00081 } /* InitExtractorVars */
int CurrentFx = DEFAULT_FX |
Not used anywhere in tesseract 1.02
Definition at line 45 of file extract.cpp.