Ask Your Question

Revision history [back]

Intrinsic initialisation

Hello,

i just came around a problem, that i was not able to calibrate a camera when using normalized points and there an image size of 1x1. The reason is found in the cvInitIntrinsicParams2D function where the principal point is initialized to:

a[2] = (imageSize.width - 1)*0.5;

a[5] = (imageSize.height - 1)*0.5;

So the principal point will be initialized to zero which is leading to wrong results. When i manually set the principal point to 0.5/0.5 after this point in the code, the calibration will give me good results.

So is there any reason why normalized coordinates are not allowed for calibration? Just wanted to ask for a reason before submitting a patch.

Bastian