Main Page
Namespaces
Classes
Files
File List
File Members
3rdParty
ARToolKitPlus
tools
CameraCalib
src
calib_camera.h
Go to the documentation of this file.
1
#ifndef CALIB_DIST_H
2
#define CALIB_DIST_H
3
4
#define H_NUM 6
5
#define V_NUM 4
6
#define LOOP_MAX 20
7
#define THRESH 200
8
9
typedef
struct
{
10
ARFloat
x_coord
;
11
ARFloat
y_coord
;
12
}
CALIB_COORD_T
;
13
14
typedef
struct
patt
{
15
unsigned
char
*
savedImage
[
LOOP_MAX
];
16
CALIB_COORD_T
*
world_coord
;
17
CALIB_COORD_T
*
point
[
LOOP_MAX
];
18
int
h_num
;
19
int
v_num
;
20
int
loop_num
;
21
}
CALIB_PATT_T
;
22
23
void
calc_distortion
(
CALIB_PATT_T
*
patt
,
int
xsize
,
int
ysize
,
ARFloat
dist_factor
[3] );
24
int
calc_inp
(
CALIB_PATT_T
*
patt
,
ARFloat
dist_factor
[4],
int
xsize
,
int
ysize
,
ARFloat
mat
[3][4] );
25
26
#endif
patt
Definition:
calib_camera.h:14
CALIB_COORD_T::x_coord
ARFloat x_coord
Definition:
calib_camera.h:10
LOOP_MAX
#define LOOP_MAX
Definition:
calib_camera.h:6
CALIB_COORD_T::y_coord
ARFloat y_coord
Definition:
calib_camera.h:11
CALIB_PATT_T
struct patt CALIB_PATT_T
patt::h_num
int h_num
Definition:
calib_camera.h:18
CALIB_COORD_T
Definition:
calib_camera.h:9
dist_factor
ARFloat dist_factor[4]
Definition:
tools/CameraCalib/src/main.cpp:39
ysize
int ysize
Definition:
tools/CameraCalib/src/main.cpp:33
patt::point
CALIB_COORD_T * point[LOOP_MAX]
Definition:
calib_camera.h:17
patt::v_num
int v_num
Definition:
calib_camera.h:19
calc_inp
int calc_inp(CALIB_PATT_T *patt, ARFloat dist_factor[4], int xsize, int ysize, ARFloat mat[3][4])
Definition:
calib_inp.cpp:18
patt::savedImage
unsigned char * savedImage[LOOP_MAX]
Definition:
calib_camera.h:15
ARFloat
float ARFloat
Definition:
config.h:60
patt::loop_num
int loop_num
Definition:
calib_camera.h:20
patt::world_coord
CALIB_COORD_T * world_coord
Definition:
calib_camera.h:16
xsize
int xsize
Definition:
tools/CameraCalib/src/main.cpp:33
mat
ARFloat mat[3][4]
Definition:
tools/CameraCalib/src/main.cpp:40
calc_distortion
void calc_distortion(CALIB_PATT_T *patt, int xsize, int ysize, ARFloat dist_factor[3])
tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun Sep 4 2016 03:24:33