Tesseract  3.02
tesseract-ocr/wordrec/plotseg.h
Go to the documentation of this file.
00001 /* -*-C-*-
00002  ********************************************************************************
00003  *
00004  * File:        plotseg.h  (Formerly plotseg.h)
00005  * Description:
00006  * Author:       Mark Seaman, SW Productivity
00007  * Created:      Fri Oct 16 14:37:00 1987
00008  * Modified:     Fri Apr 26 10:03:32 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 PLOTSEG_H
00026 #define PLOTSEG_H
00027 
00028 /*----------------------------------------------------------------------
00029               I n c l u d e s
00030 ----------------------------------------------------------------------*/
00031 #include "states.h"
00032 #include "render.h"
00033 
00034 /*----------------------------------------------------------------------
00035               V a r i a b l e s
00036 ----------------------------------------------------------------------*/
00037 extern ScrollView *segm_window;
00038 extern INT_VAR_H(wordrec_display_segmentations, 0, "Display Segmentations");
00039 
00040 /*----------------------------------------------------------------------
00041               F u n c t i o n s
00042 ----------------------------------------------------------------------*/
00043 void display_segmentation(TBLOB *chunks, SEARCH_STATE segmentation);
00044 
00045 void render_segmentation(ScrollView *window,
00046                          TBLOB *chunks,
00047                          SEARCH_STATE segmentation);
00048 #endif