1 /**********
2 *
3 * This file is part of the TINA Open Source Image Analysis Environment
4 * henceforth known as TINA
5 *
6 * TINA is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation.
9 *
10 * TINA is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with TINA; if not, write to the Free Software Foundation, Inc.,
17 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * ANY users of TINA who require exemption from the existing licence must
20 * negotiate a new licence with Dr. Neil.A.Thacker, the sole agent for
21 * the University of Manchester.
22 *
23 **********
24 *
25 * Program : TINA
26 * File : $Source: /home/tina/cvs/tina-libs/tina/vision/vis_ShapeDef.h,v $
27 * Date : $Date: 2003/10/06 12:29:48 $
28 * Version : $Revision: 1.3 $
29 * CVS Id : $Id: vis_ShapeDef.h,v 1.3 2003/10/06 12:29:48 neil Exp $
30 *
31 * Author : Legacy TINA
32 *
33 * Notes :
34 *
35 *********
36 */
37
38 #ifndef TINA_VIS_SHAPE_DEF_HDR
39 #define TINA_VIS_SHAPE_DEF_HDR
40
41 #include <tina/sys/sysDef.h>
42 #include <tina/math/mathDef.h>
43
44 /* should be in sys NAT 19/9/2002. Put them back here for the moment PAB 25/9/2002 */
45 #define FALSE 0
46 #define TRUE 1
47
48 #define COVAR2 1001
49
50 /* ---------- Structures ---------- */
51 /* not yet ready for use with serialise NAT */
52
53 typedef struct hough_region{
54
55 double lx;
56 double ly;
57 double ux;
58 double uy;
59
60 }Hough_region;
61
62 typedef struct hough1_peak{
63
64 unsigned int type;
65 unsigned int label;
66 double x;
67 double height;
68 struct list *props;
69
70 }Hough1_peak;
71
72 typedef struct hough2_region{
73
74 double min_x;
75 double min_y;
76 double max_x;
77 double max_y;
78 double binsize_x;
79 double binsize_y;
80
81 }Hough2_region;
82
83 typedef struct hough2_peak{
84
85 unsigned int type;
86 unsigned int label;
87 Vec2 pos;
88 double height;
89 struct list *props;
90
91 }Hough2_peak;
92
93 #endif
94
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.