~ubuntu-branches/ubuntu/vivid/tesseract/vivid

« back to all changes in this revision

Viewing changes to wordrec/plotseg.h

  • Committer: Package Import Robot
  • Author(s): Jeff Breidenbach
  • Date: 2014-02-03 11:10:20 UTC
  • mfrom: (1.3.1) (19.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20140203111020-igquodd7pjlp3uri
Tags: 3.03.01-1
* New upstream release, includes critical fix to PDF rendering
* Complete leptonlib transition (see bug #735509)
* Promote from experimental to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*-C-*-
2
 
 ********************************************************************************
3
 
 *
4
 
 * File:        plotseg.h  (Formerly plotseg.h)
5
 
 * Description:
6
 
 * Author:       Mark Seaman, SW Productivity
7
 
 * Created:      Fri Oct 16 14:37:00 1987
8
 
 * Modified:     Fri Apr 26 10:03:32 1991 (Mark Seaman) marks@hpgrlt
9
 
 * Language:     C
10
 
 * Package:      N/A
11
 
 * Status:       Reusable Software Component
12
 
 *
13
 
 * (c) Copyright 1987, Hewlett-Packard Company.
14
 
 ** Licensed under the Apache License, Version 2.0 (the "License");
15
 
 ** you may not use this file except in compliance with the License.
16
 
 ** You may obtain a copy of the License at
17
 
 ** http://www.apache.org/licenses/LICENSE-2.0
18
 
 ** Unless required by applicable law or agreed to in writing, software
19
 
 ** distributed under the License is distributed on an "AS IS" BASIS,
20
 
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
 
 ** See the License for the specific language governing permissions and
22
 
 ** limitations under the License.
23
 
 *
24
 
 *********************************************************************************/
25
 
#ifndef PLOTSEG_H
26
 
#define PLOTSEG_H
27
 
 
28
 
/*----------------------------------------------------------------------
29
 
              I n c l u d e s
30
 
----------------------------------------------------------------------*/
31
 
#include "states.h"
32
 
#include "render.h"
33
 
 
34
 
/*----------------------------------------------------------------------
35
 
              V a r i a b l e s
36
 
----------------------------------------------------------------------*/
37
 
extern ScrollView *segm_window;
38
 
extern INT_VAR_H(wordrec_display_segmentations, 0, "Display Segmentations");
39
 
 
40
 
/*----------------------------------------------------------------------
41
 
              F u n c t i o n s
42
 
----------------------------------------------------------------------*/
43
 
void display_segmentation(TBLOB *chunks, SEARCH_STATE segmentation);
44
 
 
45
 
void render_segmentation(ScrollView *window,
46
 
                         TBLOB *chunks,
47
 
                         SEARCH_STATE segmentation);
48
 
#endif