Monday, March 07, 2005

 

Directory Structure

Files
The executable produced when simpleTest.c is compiled is simpleTestd.exe. In the same directory is a folder called Data that contains three files required by the program.
camera_para.dat
In artoolkit, camera parameter consists of perspective projectionmatrix and distortion parameters. The perspective projectionmatrix does not contain translation/rotation components. It consistsof field of view (f), aspect ratio(a), skew factor(s) and image center(x,y):



f s x 0
0 af y 0
0 0 1 0

Also usually s = 0. It depends on camera calibration method.This represents relationship between camera coordinates (X,Y,Z) andscreen coordinates (x, y).Unit of (X,Y,Z) is usually [mm]. This also depends on camera calibration.Unit of (x,y) is [pixel].

hiroPatt
A previously recorded image of the "Hiro" pattern is included for matching with markers found in the video. The Data folder will also contain files for other markers to be identified.


object_data
This file says which virtual objects the patterns correspond to.



Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?