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

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

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