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

Linux Cross Reference
Tina6/tina-libs/tina/vision/visPgh_types.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/visPgh_types.h,v $
 27  * Date    :  $Date: 2006/04/11 14:15:30 $
 28  * Version :  $Revision: 1.4 $
 29  * CVS Id  :  $Id: visPgh_types.h,v 1.4 2006/04/11 14:15:30 neil Exp $
 30  *
 31  * Author  : Legacy TINA
 32  *
 33  * Notes :
 34  *
 35  *********
 36 */
 37 #ifndef TINA_VIS_PGH_TYPES_HDR
 38 #define TINA_VIS_PGH_TYPES_HDR
 39 
 40 #include <tina/vision/visPgh_defs.h>
 41 #include <tina/sys/sys_GenDef.h>
 42 #include <tina/sys/sys_LstDef.h>
 43 #include <tina/image/img_GenDef.h>
 44 
 45 #ifdef __cplusplus
 46 extern "C" {
 47 #endif /* __cplusplus */
 48 
 49 #define HIST_REF_TYPE 11
 50 #define MATCH_REF_TYPE 12
 51 #define MODEL_POLY_TYPE 13
 52 
 53 /* Data structures for pgh code */
 54 
 55 typedef struct model_poly_header{
 56  
 57         char name[MAX_MODEL_NAME];
 58         int  ref;
 59         List *model_poly_data;
 60         Vec2 landmark;
 61         Vec2 centroid;
 62  
 63 }Model_poly_header;
 64  
 65 
 66 typedef struct match_ref{
 67  
 68         Imrect *hist;
 69         double  scale_factor; /* APA 1/2/94 */
 70         double  dp;
 71         int orientation;
 72  
 73 }Match_ref;
 74  
 75 typedef struct hist_ref{
 76  
 77         Line2             *line_seg;
 78         Model_poly_header *model;
 79         double             l0;
 80         double             l; 
 81         double             scale_factor; /* APA 2/2/94 */
 82         List              *matches;
 83         int                type;  /* NAT 2/3/94 */
 84  
 85 }Hist_ref;
 86 
 87 typedef struct match_cut_def{
 88 
 89         int match_cut_mode;
 90         int best_N_matches;
 91         int dp_upper_thres;
 92         int dp_lower_thres;
 93         int delta_max_dp;
 94 
 95 }Match_cut_def;
 96 
 97 typedef struct pairs_hough_def{
 98 
 99         double loc_hough2_max_x;
100         double loc_hough2_max_y;
101         double loc_hough2_min_x;
102         double loc_hough2_min_y;
103         double loc_hough2_binsize_x;
104         double loc_hough2_binsize_y;
105 
106         double peak_percent;
107         double gauss_sigma;
108 
109         double orient_binsize;
110 
111         int    plot_type;
112 
113         double min_angle;
114         int    orient_plot_type;
115         double eig_lim;
116         double    peak_no;
117 
118 }Pairs_hough_def;
119 
120 typedef struct pairs_hist_def{
121 
122         int     pairs_type;
123         double dbin_max;
124         double dbin_size;
125         int    num_abin;
126         double angle_sigma;
127         double dist_ramp;
128         double min_length;
129 
130 }Pairs_hist_def;
131 
132 typedef struct pairs_scale_def{
133 
134                 double HTbinsize;                               /* Scale HT binsize */
135                 double HTd_error;       /* Used to decide which matches contrib. to peak */
136                 double HTsigma;
137 
138                 int             HTmethod;
139 
140                 double scale_max;
141                 double scale_min;
142                 double match_score_thres;
143                 double precision;
144 
145 }Pairs_scale_def;
146 
147 #ifdef __cplusplus
148 }
149 #endif /* __cplusplus */
150 #endif /* TINA_VIS_PGH_TYPES_HDR */
151 

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