I'm using a wide-angle lens (178º Diagonal FOV ) and I'm trying to calibrate it properly using Opencv Calibration module. All the detection and calibration process are working fine, but the result is very poor.
I have tried many different configurations:
The best I can get is something like:
Any ideas about how could I get a good calibration? Do you think using two calibrattion patterns at the same time, or using a circles grid as calibration pattern would help?
I've seen in opencv 3.0 thin prism coeffs are added. I haven't tried it, but I don't think there will make a difference, right? Edit: Checked it... Nothing
Camera Calibration is nothing but estimating the parameters of a camera, parameters about the camera are required to determine an accurate relationship between a 3D point in the real world and its corresponding 2D projection (pixel) in the image captured by that calibrated camera.
OpenCV: Camera calibration and 3D reconstruction (calib3d module)
– Understand that in principle calibration is possible under very weak assumptions like 'zero skew'. The traditional way to calibrate the camera is to take images of a known calibration grid. Six points are needed to obtain 12 equations.
Are you making sure to use the CV_CALIB_RATIONAL_MODEL
flag? That will tell OpenCV to use a model that supports wider angle lenses.
Here are my suggestions for a 150 deg lens. You might also consider trying April Cal which I have had decent luck with.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With