# Stereo Calibration Not Working

So here's the problem: This is what the rectified images look like:

Right:

Left:

The original Images looked like:

Right:

Left:

Our calibration images can be found in the calibration folder in this github repository: 3d_Camera

The calib.py is the script we're using to calibrate on the left and right images in those folders (it also needs to be run in that folder). We're using the calibration methods specified in Daniel Lee's StereoVision Library and our calibration reprojection error with those images 286, which is very far from where we need it to be. We've gotten calibration down to 12px error with other calibration images (even though it seemed they were worse calibration images), but the warping still happens in the same way on the rectified images.

Our hardware setup is two raspberry pi cameras that are mounted 12 cm away from each other and oriented to be on the same plane and oriented the same way. They take images at separate times, but it's within a quarter of a second.

We're really struggling to figure out what's going wrong with this.

Any help would be appreciated with fixing these rectified images.

Thanks so much!

edit retag close merge delete

( 2018-04-04 01:27:02 -0600 )edit

Divide image in four square

1 put you grid in this four square = 4 images (grid must fill square) 2 put your grid wit an orientation different from 1 in this four squares 4 images 3 divide image in 9 square and repeat 1 and 2 Full process = 4+4+9+9 images for one camera

stereo calibration

repeat process using 1 and 2 for three distances 8 images per distance =24 images for stereo calibration

( 2018-04-04 01:34:35 -0600 )edit

( 2018-04-04 02:07:21 -0600 )edit

I'll look into re-doing calibration with those things in mind. Can anyone diagnose what in particular is wrong with the calibration images that we have? and where all of that error would come from?

( 2018-04-04 10:04:09 -0600 )edit

without seeing your actual calibration images it is difficult to identify your problem!

( 2018-04-05 00:33:28 -0600 )edit

It's in the github repository that's in the question: link text

( 2018-04-07 14:10:54 -0600 )edit