Tesseract
3.02
|
00001 /****************************************************************************** 00002 ** Filename: cutoffs.h 00003 ** Purpose: Routines to manipulate an array of class cutoffs. 00004 ** Author: Dan Johnson 00005 ** History: Wed Feb 20 09:34:20 1991, DSJ, Created. 00006 ** 00007 ** (c) Copyright Hewlett-Packard Company, 1988. 00008 ** Licensed under the Apache License, Version 2.0 (the "License"); 00009 ** you may not use this file except in compliance with the License. 00010 ** You may obtain a copy of the License at 00011 ** http://www.apache.org/licenses/LICENSE-2.0 00012 ** Unless required by applicable law or agreed to in writing, software 00013 ** distributed under the License is distributed on an "AS IS" BASIS, 00014 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 ** See the License for the specific language governing permissions and 00016 ** limitations under the License. 00017 ******************************************************************************/ 00018 #ifndef CUTOFFS_H 00019 #define CUTOFFS_H 00020 00024 #include "matchdefs.h" 00025 00026 typedef uinT16 CLASS_CUTOFF_ARRAY[MAX_NUM_CLASSES]; 00027 00032 /* 00033 #if defined(__STDC__) || defined(__cplusplus) 00034 # define _ARGS(s) s 00035 #else 00036 # define _ARGS(s) () 00037 #endif*/ 00038 00039 /* cutoffs.c 00040 void ReadNewCutoffs 00041 _ARGS((char *Filename, 00042 CLASS_CUTOFF_ARRAY Cutoffs)); 00043 #undef _ARGS 00044 */ 00045 #endif