~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina6/tina-libs/tina/vision/vis_ModelDef.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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_ModelDef.h,v $
 27  * Date    :  $Date: 2008/10/30 09:43:59 $
 28  * Version :  $Revision: 1.5 $
 29  * CVS Id  :  $Id: vis_ModelDef.h,v 1.5 2008/10/30 09:43:59 neil Exp $
 30  *
 31  * Author  : Legacy TINA
 32  *
 33  * Notes :
 34  *
 35  *********
 36 */
 37 
 38 #ifndef TINA_VIS_MODEL_DEF_HDR
 39 #define TINA_VIS_MODEL_DEF_HDR
 40 
 41 #include <tina/sys/sysDef.h>
 42 #include <tina/math/mathDef.h>
 43 #include <tina/geometry/geomDef.h> 
 44 
 45 #define ELLIPSE3D_OR 11121 /* remove this later NAT 2008*/
 46 
 47 typedef struct match_clique
 48 {
 49     Ts_id ts_id;                /* Tina structure identifier */
 50     float   strength;
 51     List   *mlist;
 52     int     csize;
 53     void  *cliche_tag;
 54 }       Match_clique;
 55 #define MATCH_CLIQUE_SWAP_STRING "fpip"
 56 
 57 typedef struct pwrte_gen    /* generic pair wise relation table entry */
 58 {
 59     Ts_id ts_id;                /* Tina structure identifier */
 60     int type1;
 61     int type2;
 62     void *p1;                    
 63     void *p2;
 64 } Pwrte_gen;
 65 #define PWRTE_GEN_SWAP_STRING "iipp"
 66 
 67 typedef struct pwrte_point_to_point
 68 {
 69     Ts_id ts_id;                /* Tina structure identifier */
 70     int type1;
 71     int type2;
 72     void *p1;
 73     void *p2;
 74     float lowdist,hidist;               /* range of distance */
 75 } Pwrte_point_to_point;
 76 #define PWRTE_POINT_TO_POINT_SWAP_STRING "iippff"
 77 
 78 typedef struct pwrte_point_to_vec
 79 {
 80     Ts_id ts_id;                /* Tina structure identifier */
 81     int type1;
 82     int type2;
 83     void *p1;
 84     void *p2;
 85     float lowmind,himind;               /* range of min distance */
 86     float lowvecd,hivecd;               /* range of distance along vec */
 87 } Pwrte_point_to_vec;
 88 #define PWRTE_POINT_TO_VEC_SWAP_STRING "iippffff"
 89 
 90 typedef struct pwrte_vec_to_vec  
 91 {
 92     Ts_id ts_id;                /* Tina structure identifier */
 93     int type1;
 94     int type2;
 95     void *p1;
 96     void *p2;
 97     Bool parallel;                    /* boolean */
 98     float lowang,hiang;               /* range of angular difference */
 99     float lowmind,himind;             /* range of min distance */
100     float lowvec1,hivec1;             /* range of distance along vec1 */ 
101     float lowvec2,hivec2;             /* range of distance along vec2 */     
102 } Pwrte_vec_to_vec;
103 #define PWRTE_VEC_TO_VEC_SWAP_STRING "iippiffffffff"
104 
105 typedef union pwrte
106 {
107     struct pwrte_gen gen;
108     struct pwrte_point_to_point p_to_p;
109     struct pwrte_point_to_vec p_to_v;
110     struct pwrte_vec_to_vec v_to_v;
111 } Pwrte;
112 
113 typedef struct match_cliche
114 {
115     Ts_id ts_id;                /* Tina structure identifier */
116     struct list *focus;
117     int fthres; /* required mutually consistent focus features matches */
118     struct list *group;
119     int gthres; /* required total number of mutually consistent matches */
120     void *cliche_tag;
121 } Match_cliche;
122 #define MATCH_CLICHE_SWAP_STRING "pipiip"
123 
124 typedef struct _cliche_id
125 {
126      double  vx, vy, vz;
127      int     feat1, feat2;
128      char    type;
129      float   latShift1, latShift2, latShift3, latShift4;
130      int     display1, display2;
131      Vec2   p1, p2, p3, p4;
132      Vec3   l1, l2;
133      int    n1, n2;
134 } Cliche_id;
135 #define MATCH_CLICHEID_SWAP_STRING "dicfitti"
136 
137 
138 typedef struct model_smplx
139 {
140    Ts_id ts_id;
141    Camera *cam;
142    Imrect *gradx;
143    Imrect *grady;
144    Imrect *potim;
145    List   *parts;
146    int match;
147    int lSwitch;
148    int occflag;
149    int pix_div;
150    double noise;
151    double scale_factor;
152    double scale_factor2;
153    double scale_factor3;
154    double or_err;
155    double olThresh;
156    double shift_factor;
157    double pix_sep;
158    Transform3 *trans;
159    Mat3 rect;
160 } Model_smplx;
161 
162 #define MODEL_SMPLX_SWAP_STRING "pppppiiiidddddddd"
163 
164 #endif
165 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.