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 Lesser 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 Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser 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 **********
20 *
21 * Program : TINA
22 * File : $Source: /home/tina/cvs/tina-libs/tina/vision/vis_CorrDef.h,v $
23 * Date : $Date: 2004/08/04 15:07:47 $
24 * Version : $Revision: 1.1 $
25 * CVS Id : $Id: vis_CorrDef.h,v 1.1 2004/08/04 15:07:47 paul Exp $
26 *
27 * Author : Legacy TINA
28 *
29 * Notes :
30 *
31 *********
32 */
33 #ifndef TINA_VIS_CORR_DEFS_HDR
34 #define TINA_VIS_CORR_DEFS_HDR
35
36 #include <tina/sys/sysDef.h>
37 #include <tina/math/mathDef.h>
38 #include <tina/image/imgDef.h>
39
40 /*
41 Defintions used by stereo correlation functions
42 */
43
44 #include <tina/geometry/geom_LineDef.h>
45 typedef enum {diffx_gauss, diffx, DoG, gauss, grad, none} Enhance;
46 typedef enum {quad_interp, sinc5_interp, sinc3_interp} Interp;
47
48 #ifdef __cplusplus
49 extern "C" {
50 #endif /* __cplusplus */
51
52 typedef struct
53 {
54 int pos;
55 int warp;
56 int disparity;
57 float score;
58 } Stereo_match;
59
60 typedef struct
61 {
62 Imregion blk_roi; /* image blocks the ctf region covers */
63 Imregion pix_roi; /* image pixels the ctf region covers */
64 int ctf_level;
65 int ctf_scale;
66 int edge_count;
67 float max_disp;
68 float min_disp;
69 Bool new_blk;
70 Bool keep;
71 Bool valid_disp;
72 } Ctf_info;
73
74 typedef struct
75 {
76 List *list_ptr;
77 int ctf_scale;
78 Bool used;
79 Vec2 pix_cen;
80 Vec2 blk_cen;
81 int support;
82 } Mlist_info;
83
84 #define PAD_DEPTH 8
85
86 extern float NO_DISP; /* ARRRGGG! I know, its a global variable */
87
88 #ifdef __cplusplus
89 }
90 #endif /* __cplusplus */
91 #endif /* TINA_VIS_CORR_DEFS_HDR */
92
93
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.