Tesseract 3.01
/data/source/tesseract-ocr/wordrec/pieces.h
Go to the documentation of this file.
00001 /* -*-C-*-
00002  ********************************************************************************
00003  *
00004  * File:        pieces.h  (Formerly pieces.h)
00005  * Description:
00006  * Author:       Mark Seaman, SW Productivity
00007  * Created:      Fri Oct 16 14:37:00 1987
00008  * Modified:     Tue Apr 30 11:49:11 1991 (Mark Seaman) marks@hpgrlt
00009  * Language:     C
00010  * Package:      N/A
00011  * Status:       Reusable Software Component
00012  *
00013  * (c) Copyright 1987, Hewlett-Packard Company.
00014  ** Licensed under the Apache License, Version 2.0 (the "License");
00015  ** you may not use this file except in compliance with the License.
00016  ** You may obtain a copy of the License at
00017  ** http://www.apache.org/licenses/LICENSE-2.0
00018  ** Unless required by applicable law or agreed to in writing, software
00019  ** distributed under the License is distributed on an "AS IS" BASIS,
00020  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00021  ** See the License for the specific language governing permissions and
00022  ** limitations under the License.
00023  *
00024  *********************************************************************************/
00025 #ifndef PIECES_H
00026 #define PIECES_H
00027 
00028 /*----------------------------------------------------------------------
00029               I n c l u d e s
00030 ----------------------------------------------------------------------*/
00031 #include "matrix.h"
00032 #include "seam.h"
00033 #include "states.h"
00034 
00035 /*----------------------------------------------------------------------
00036               T y p e s
00037 ----------------------------------------------------------------------*/
00038 typedef struct
00039 {                                /*  BOUNDS  */
00040   TPOINT topleft;
00041   TPOINT botright;
00042 } BOUNDS;
00043 
00044 typedef BOUNDS *BOUNDS_LIST;     /*  BOUNDS_LIST  */
00045 
00046 /*----------------------------------------------------------------------
00047               F u n c t i o n s
00048 ----------------------------------------------------------------------*/
00049 
00050 void bounds_of_piece(BOUNDS_LIST bounds,
00051                      inT16 start,
00052                      inT16 end,
00053                      TPOINT *extreme_tl,
00054                      TPOINT *extreme_br);
00055 
00056 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines