marker coordinate in Camera coordinate

robotic_w
Posts: 2
Joined: Wed Aug 02, 2017 8:10 pm

marker coordinate in Camera coordinate

Postby robotic_w » Wed Aug 02, 2017 8:41 pm

HI,
I plane to use the ARToolKit to do a simple robotic application, i need to know the marker coordinate's position in camera coordinate, so i extract the transformation Matrix "gPatt_trans", the data in this matrix like this:
/--------------------------------
0.999557, -0.028736, 0.007724, -2.585367,
-0.027937, -0.995650, -0.088885, -17.809560,
0.010245, 0.088629, -0.996012, 460.221278,
/------------------------------
and the last column is the tanslation matrix, but when i move the marker towards to camera along z axis, if i move 10mm, about 8 would decrease in the translation matrix's z direction(460.221278), and tried many other data, like 100mm towards, nearly 80 will decrease. who can tell me the unit in translation matrix is millimetre or other unit ? through my experiment , different camaras and different image size are tried, there always a scalar facor between them, and the factor is nearly 0.8, can anyone help me ?

robotic_w
Posts: 2
Joined: Wed Aug 02, 2017 8:10 pm

Re: marker coordinate in Camera coordinate

Postby robotic_w » Thu Aug 03, 2017 2:00 am

i have solved the problem, the size of my marker is 100mm, but the paramter in the program is 80( gPatt_width = 80.0), i fixed it, and it works normaly now!


Return to “ARToolKit for Desktop v5.x”

Who is online

Users browsing this forum: No registered users and 2 guests