Ask Your Question

3d calibration

asked 2013-04-11 05:27:48 -0600

engine gravatar image

Hi ! I'm using the sample project for the 3d calibration, my question is about the input file the XML file. I don'T understand what I should but square size , is it the size in millimeter ? and what do they by metric system ?

!-- The size of a square in some user defined metric system (pixel, millimeter)--> <square_size> I should give her e the value !!!</square_size>

thanks in advance for help

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2013-04-12 22:13:59 -0600

The square size is in whatever units you want to use. A good choice might be cm. Measuring accurately will allow you to make use of your calibration data by allowing you to determine the absolute coordinates of points and objects in such methods as Block Matching, Semi-Global Block Matching, and solvePnP. Also, understand that you need not recompute the distortion coefficients at different image sizes, but that you MUST scale your f_x, f_y, c_x, and c_y to the size of the image in question if it is different from the calibration image size. Some contend that it is good practice to obtain your calibration coefficients at various image sizes and appropriately average/combine the results.

edit flag offensive delete link more

answered 2013-04-12 05:24:17 -0600

diego gravatar image


I'm not sure about this, since I'm new myself to opencv, but I actually measure one chessboard square and place the value in there.

edit flag offensive delete link more


I am guessing that you have to measure the square in mm.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-12 06:11:35 -0600 )edit

answered 2015-07-17 05:49:18 -0600

Giancola gravatar image

Hi, a have a big question, if square size is dimensionless ( i found a lot of document who confirmed that) why, if i put SS= 10000 or SS=1 i have totally different results in terms of intrinsic parameters?? I thought that should change only exstrinsic's one, but i have different Fx and Fy and in particolar way i have Cx and Cy very very close to ideal central point. Can yoy explain me that?

edit flag offensive delete link more

Question Tools


Asked: 2013-04-11 05:27:48 -0600

Seen: 642 times

Last updated: Jul 17 '15