07-31-2013 07:36 AM
Hello!
Is it possible to open the .calib file that LabVIEW creates after calibration, to se what is in the file? What does it contain? What information?
gbbalint
Solved! Go to Solution.
07-31-2013 02:05 PM - edited 07-31-2013 02:07 PM
Hello,
the values written in the calibration data should be:
- the intrinsic parameters of each camera (focal length,pricipal point and distortion)
- extrinsic parameters, the transformation of one image coordinate system to the other (translation vector and rotation matrix).
To be honest, i really don't know why NI codes this information in some strange gibberish...
Anyway, if i remember correctly,you can extract those values yourself.
Best regards,
K
07-31-2013 02:17 PM
Hi,
The data stored is binary data representing the calibration. It is not possible to open that file. However, you can call IMAQ get Binocular Stereo Calibration Info and IMAQ Get Maximum Disparity 2 to retrieve the information associated with the stereo calibration, such as the rotation matrix, translation vector, essential matrix, fundamental matrix, Q matrix, max disparity and Min Depth Covered.
You can load a saved calibration using IMAQ Read Binocular Stereo File to use it without having to go through the whole calibration process again.
Christophe
07-31-2013 02:20 PM - edited 07-31-2013 02:21 PM
The intrinsic parameters can be retrieved if you saved the left and right calibration files that you must have created in order to calibrate the stereo system.
IMAQ Get Camera Parameters (located in the Vision and Motion>>Vision Utilities>>Calibration palette) retrieves this info from the left or right calibration file.
08-01-2013 02:52 AM
Thank you!