Hi,
>Is there a reference out there which describes exactly what camera
>calibration file contains?
Just source codes.....
Camera parameters are follows.
typedef struct {
int xsize, ysize;
double mat[3][4];
double dist_factor[4];
} ARParam;
xsize and ysize represents image size(ex. 640x480).
mat[3][4] represents perspective transformation matrix of the camera.
It is like
fx s x0 0
0 fy y0 0
0 0 1 0
(fx,fy) is focal length.
s means skew.
(x0,y0) is image center.
I am not sure your parameters fit to these.
dist_factor[4] is a distortion parameter.
I think this is different from yours.
But this parameter is used by just following 2 functions:
int arParamIdeal2Observ( double dist_factor[4], double ix, double iy,
double *ox, double *oy );
int arParamObserv2Ideal( double dist_factor[4], double ox, double oy,
double *ix, double *iy );
So you may modify these 2 functions.
--
------------------------------------------------------------------
Hirokazu Kato
Faculty of Information Sciences
Hiroshima City University Phone: 082-830-1705
Email: kato@s ........................ Fax: 082-830-1435
URL: http://www.sys.im.hiroshima-cu.ac.jp/people/kato/
|