calib_dist.h
Go to the documentation of this file.
00001 #ifndef CALIB_DIST_H
00002 #define CALIB_DIST_H
00003 
00004 #include <AR/gsub_lite.h>
00005 
00006 #define  THRESH     100
00007 #define  H_NUM        6
00008 #define  V_NUM        4
00009 #define  LOOP_MAX    20
00010 
00011 typedef struct {
00012     double   x_coord;
00013     double   y_coord;
00014 } CALIB_COORD_T;
00015 
00016 typedef struct patt {
00017     unsigned char  *savedImage[LOOP_MAX];
00018         ARGL_CONTEXT_SETTINGS_REF arglSettings[LOOP_MAX];
00019     CALIB_COORD_T  *point[LOOP_MAX];
00020     int            h_num;                               // Number of dots horizontally in the calibration pattern.
00021     int            v_num;                               // Number of dots vertically in the calibration pattern.
00022     int            loop_num;                    // How many images of the complete calibration patterns we have completed.
00023 } CALIB_PATT_T;
00024 
00025 void calc_distortion( CALIB_PATT_T *patt, int xsize, int ysize, double dist_factor[4] );
00026 
00027 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:14:59