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-tools/tinatool/tlvision/tlvisCalib_tool.h,v $
27 * Date : $Date $
28 * Version : $Revision: 1.4 $
29 * CVS Id : $Id: tlvisCalib_tool.h,v 1.4 2008/10/30 09:48:18 neil Exp $
30 *
31 * Author : Legacy TINA
32 *
33 * Notes :
34 *
35 *********
36 */
37
38 #ifndef TINA_TLVIS_CALIB_TOOL_HDR
39 #define TINA_TLVIS_CALIB_TOOL_HDR
40
41 #include <tina/sys/sysDef.h>
42 #include <tina/math/mathDef.h>
43 #include <tina/image/imgDef.h>
44 #include <tina/geometry/geomDef.h>
45 #include <tina/vision/vis_ModelDef.h>
46 #include <tinatool/draw/drawDef.h>
47
48 #ifdef __cplusplus
49 extern "C" {
50 #endif /* __cplusplus */
51
52 void set_corner_3d(Edgel * corner, int type, void *data, int i, int j);
53 Imrect *make_impot(Imrect *gradx, Imrect *grayy, double noise);
54 void store_left_vertex(List * world, Line2 * line1, Line2 * line2, int label);
55 void store_right_vertex(List * world, Line2 * line1, Line2 * line2, int label);
56 void add_to_cal3d(Vec2 * leftpos, Vec2 * rightpos, Vec3 * pos);
57 double get_leftpix_pot(Vec2 leftpos);
58 double plot_leftpix(Vec2 leftpos);
59 double plot_leftpix2(Vec2 leftpos);
60 double get_rightpix_pot(Vec2 rightpos);
61 double plot_rightpix(Vec2 rightpos);
62 void calib_tool(int x, int y);
63 double l_prop(List * memo, Model_smplx *ms, double shift, Vec2 perp_vec, double f_orient, List * orients, double hyp_limit);
64 int disp_init(Tv *tv, List *memo, double l_p, Model_smplx *ms, double shift, Vec2 perp_vec, double f_orient, List *orients, double hyp_limit );
65 void split_ellipse( List * memo, List * part_list, List ** elist1, List ** elist2, List ** orients1, List ** orients2, Camera * cam, double * alpha, double * theta, Vec2 * centre, Vec2 * perp_vec );
66 void init_logLVec1( );
67 double get_line_orient( Vec2 sp, Vec2 ep );
68 double lat_shift( List *list, Vec2 perpVec, Camera *cam, Model_smplx *ms, double lat_shift1, double lat_shift2, double line_orient, List *el_orients, double *shift);
69 void split_ellipse( List * memo, List * part_list, List ** elist1, List ** elist2, List ** orients1, List ** orients2, Camera * cam, double * alpha, double * theta, Vec2 * centre, Vec2 * perp_vec );
70 void cliche_id_update( List *cl_id);
71 void init_cam_trans( void );
72 Camera *get_leftcam( void );
73 void fisher_search_proc( void );
74 void model_calib_proc( void );
75 void model_min_proc( void );
76 void cal_get_proc( void );
77 List *proj_linepts(List * memo, Camera *cam, double *fOrients, Vec2 *perpVec);
78 void set_match_type( int n );
79 void set_prop_thresh( int prop, int r_switch );
80
81 #ifdef __cplusplus
82 }
83 #endif /* __cplusplus */
84
85 #endif /* TINA_TLVIS_CALIB_TOOL_HDR */
86
87
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.