classify/baseline.h File Reference

#include "general.h"
#include "tessclas.h"

Go to the source code of this file.




Define Documentation

#define BASELINE_OFFSET   64

File: baseline.h (Formerly baseline.h)
Baseline and related function
Mark Seaman, SW Productivity
Fri Oct 16 14:37:00 1987 Wed Feb 27 13:39:35 1991 (Mark Seaman) marks
 * (c) Copyright 1987, Hewlett-Packard Company.
 ** 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
 ** 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 32 of file baseline.h.

#define BASELINE_SCALE   128

Definition at line 33 of file baseline.h.

Referenced by width_priority().

#define is_baseline_normalized (  )     (baseline_normalized)

Check the baseline_normalized flag to see if it is set.

Definition at line 47 of file baseline.h.

Referenced by ConvertOutline().

#define reset_baseline_normalized (  )     (baseline_normalized = FALSE)

Reset the baseline_normalized flag to show that it is not being done.

Definition at line 53 of file baseline.h.

#define set_baseline_normalized (  )     (baseline_normalized = TRUE)

Set the baseline_normalized flag to show that it is being done.

Definition at line 59 of file baseline.h.

Function Documentation

void init_baseline (  ) 

Initialize the needed baseline variables.

Definition at line 50 of file baseline.cpp.

References baseline_enable, and baseline_normalized.

Referenced by init_ms_debug().

00050                      { 
00051   make_baseline_enable(); 
00053   baseline_normalized = baseline_enable;
00054 }

Variable Documentation

int baseline_enable

Referenced by init_baseline(), and width_priority().

INT8 baseline_normalized

Definition at line 36 of file baseline.cpp.

Referenced by init_baseline().

Generated on Wed Feb 28 19:49:18 2007 for Tesseract by  doxygen 1.5.1