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/visCalib_error.h,v $
23 * Date : $Date: 2008/10/02 11:53:05 $
24 * Version : $Revision: 1.4 $
25 * CVS Id : $Id: visCalib_error.h,v 1.4 2008/10/02 11:53:05 neil Exp $
26 *
27 * Author : Legacy TINA
28 *
29 * Notes :
30 *
31 *********
32 */
33
34 #ifndef TINA_VIS_CALIB_ERROR_HDR
35 #define TINA_VIS_CALIB_ERROR_HDR
36
37 #include <tina/sys/sysDef.h>
38 #include <tina/math/mathDef.h>
39 #include <tina/geometry/geomDef.h>
40 #include "visModel_smplx.h"
41
42
43 #ifdef __cplusplus
44 extern "C" {
45 #endif /* __cplusplus */
46
47
48 /*
49 typedef struct
50 {
51 int feat1, feat2;
52 int disp1, disp2;
53 float ls1, ls2, ls3, ls4;
54 Vec2 p1, p2, p3, p4;
55 Vec3 l1, l2;
56 } Occ_struct;
57 */
58
59 double camerror(int *n_data, double *f, Camera * cam, List * world3d, Vec2 * (*pix_get) ( /* ??? */ ), Vec3 * (*world_get) ( /* ??? */ ), double accuracy)
60 ;
61
62 double pot_camerror(int *n_data, double *f, Model_smplx *ms, double accuracy, List *cliche_spec);
63 double rad_camerror(int *n_data, double *rad, double *err, Camera * cam, List * world3d, Vec2 * (*pix_get) ( ), Vec3 * (*world_get) ( ));
64 double triv_camerror(int *n_data, double *x, Camera * cam1, Camera * cam2, List * world3d, Vec2 * (*pix_get1) ( ), Vec2 * (*pix_get2) ( ),
65 double accuracy);
66 double cam_reg(Covar * incov, int mask, double *a);
67 double stereo_reg(Covar * incov, int mask, double *a);
68 Mat3 S_array(double T1, double T2, double T3);
69 double lat_shift( List * list, Vec2 perpVec, Camera * cam, Model_smplx *ms,
70 double lshift1, double lshift2, double line_orient, List * el_orients, double *sh);
71 double get_line_orient( Vec2 sp, Vec2 ep );
72 Vec3 get_semi_memo( List * memo );
73 List *proj_linepts(List * memo, Camera *cam, double * fOrient, Vec2 * perpVec);
74 void split_ellipse( List * memo, List * part_list, List ** elist1, List ** elist2,
75 List ** orients1, List ** orients2, Camera * cam,
76 double * alpha, double * theta, Vec2 * centre, Vec2 * perp_vec );
77 List * occluding_line( int choice, Cliche_id * cl_id, double *fOrient, Vec2 *perpVec, double pix_sep );
78 float proj_shift_line( float lat_shift, Camera * cam, Vec3 point );
79
80 #ifdef __cplusplus
81 }
82 #endif /* __cplusplus */
83 #endif
84
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.