wordrec/charsample.h File Reference

#include "elst.h"
#include "pageres.h"
#include "memry.h"
#include "notdll.h"

Go to the source code of this file.

Classes

Defines

Enumerations

Functions


Define Documentation

#define BAD_SCORE   MAX_INT32

Note:
File: charsample.h (Formerly charsample.h)
Class to contain character samples and match scores to be used for adaption
Author:
Chris Newton
Date:
Thu Oct 7 13:40:37 BST 1993
 * (C) Copyright 1993, Hewlett-Packard Ltd.
 ** 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 charsample.h.

Referenced by CHAR_PROTO::match_sample(), CHAR_SAMPLE::match_sample(), CHAR_SAMPLES::match_score(), CHAR_SAMPLE::mean_score(), and CHAR_SAMPLE::variance().

#define FIRST_CHAR   '!'

Definition at line 30 of file charsample.h.

Referenced by CHAR_SAMPLES::assign_to_char().

#define LAST_CHAR   '~'

Definition at line 31 of file charsample.h.

Referenced by CHAR_SAMPLES::assign_to_char().


Enumeration Type Documentation

enum ClusterType

Each cluster of black pixels will be classified into one of these.

Enumerator:
UNKNOWN 
BLOB_CLUSTER 
IMAGE_CLUSTER 

Definition at line 37 of file charsample.h.

00038 {
00039    UNKNOWN,
00040    BLOB_CLUSTER,
00041    IMAGE_CLUSTER
00042 };


Function Documentation

ELISTIZEH ( CHAR_SAMPLES   ) 

ELISTIZEH ( CHAR_SAMPLE   ) 


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