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

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

~ [ 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.