[SightCalibrator] Out of sync frames for extrinsic calibration.
Summary
I encountered this bug when calibrating a stereo endoscope using two sets of chessboard images (one for each camera).
Steps to reproduce
I used this data set to trigger the bug.
- Run ARCalibration
- Launch the calibration activity
- Create two cameras using the images in the
left
folder for the first camera and theright
folder for the second. - Calibrate both views, or load any calibration, they don't need to be accurate here.
- Go to the extrinsic calibration view
- Start the players, choose the OpenCV player for both views.
- Enjoy your out of sync images.
Dev environment
Any.
What is the current bug behavior?
The images are displayed out of sync although they have the exact same timestamp.
Strangely, the images added using the +
button are always in sync and it is therefore still possible to compute an accurate extrinsic transform.
What is the expected correct behavior?
Images should be displayed in sync. The image pairs with the same timestamp should be visible at the same time.
(What you should see instead)
Relevant logs and/or screenshots
Out of sync images in the main view :
Correct stereo pair extracted by clicking the +
button:
Possible fixes
I'm not sure but I don't believe that the problem comes from the grabber, it looks like there's something wrong with the way the images are passed to the SVideo
adapter.