calib_camera.h
Go to the documentation of this file.
00001 #ifndef CALIB_DIST_H
00002 #define CALIB_DIST_H
00003 
00004 #define  H_NUM        6
00005 #define  V_NUM        4
00006 #define  LOOP_MAX    20
00007 #define  THRESH     200
00008 
00009 typedef struct {
00010     ARFloat   x_coord;
00011     ARFloat   y_coord;
00012 } CALIB_COORD_T;
00013 
00014 typedef struct patt {
00015     unsigned char  *savedImage[LOOP_MAX];
00016     CALIB_COORD_T  *world_coord;
00017     CALIB_COORD_T  *point[LOOP_MAX];
00018     int            h_num;
00019     int            v_num;
00020     int            loop_num;
00021 } CALIB_PATT_T;
00022 
00023 void calc_distortion( CALIB_PATT_T *patt, int xsize, int ysize, ARFloat dist_factor[3] );
00024 int  calc_inp( CALIB_PATT_T *patt, ARFloat dist_factor[4], int xsize, int ysize, ARFloat mat[3][4] );
00025 
00026 #endif


tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun May 29 2016 02:50:12