tesseract
4.1.1
chop.h
Go to the documentation of this file.
1
/* -*-C-*-
2
********************************************************************************
3
*
4
* File: chop.h
5
* Author: Mark Seaman, SW Productivity
6
*
7
* (c) Copyright 1987, Hewlett-Packard Company.
8
** Licensed under the Apache License, Version 2.0 (the "License");
9
** you may not use this file except in compliance with the License.
10
** You may obtain a copy of the License at
11
** http://www.apache.org/licenses/LICENSE-2.0
12
** Unless required by applicable law or agreed to in writing, software
13
** distributed under the License is distributed on an "AS IS" BASIS,
14
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
** See the License for the specific language governing permissions and
16
** limitations under the License.
17
*
18
*******************************************************************************/
19
20
#ifndef CHOP_H
21
#define CHOP_H
22
23
/*----------------------------------------------------------------------
24
I n c l u d e s
25
----------------------------------------------------------------------*/
26
#include "
genericheap.h
"
27
#include "
kdpair.h
"
28
#include "
seam.h
"
29
30
/*----------------------------------------------------------------------
31
T y p e s
32
---------------------------------------------------------------------*/
33
#define MAX_NUM_POINTS 50
34
// The PointPair elements do NOT own the EDGEPTs.
35
using
PointPair
=
tesseract::KDPairInc<float, EDGEPT*>
;
36
using
PointHeap
=
tesseract::GenericHeap<PointPair>
;
37
38
#endif
kdpair.h
genericheap.h
tesseract::GenericHeap
Definition:
genericheap.h:58
seam.h
tesseract::KDPairInc
Definition:
kdpair.h:51
src
wordrec
chop.h
Generated on Thu Mar 26 2020 12:00:00 for tesseract by
1.8.14