Computer vision coursework · 2023

Stereo Vision

I used known camera geometry and pairs of detected circles to reconstruct sphere centres and estimate their radii.

Explore the exhibit

Stereo reconstruction

I built a pipeline that detected circles in two camera views, matched them and reconstructed sphere centres and radii in 3D. This simulated example shows the geometry of one match.

Scroll or swipe sideways · Arrow keys to scrub · Space to pause or resume

Simulated camera rigCamera A + Camera B
Camera projections
Camera A
Camera B
3D reconstruction
AB
Dot: estimate · Ring: simulated centreClosest approach

From circles to matches

I detected circles in both images with the Hough transform, then computed the fundamental matrix from the camera parameters. I used the resulting epipolar constraint to score potential matches between circle centres.

From matches to depth

I solved for each matched centre in world coordinates, then converted the two image radii to world scale and averaged them. I displayed the reconstructed and reference spheres as overlapping point clouds so I could compare shape and position.

When reconstruction breaks

I compared reconstructed centres and radii with the simulated ground truth. Mean centre error ranged from 0.165 to 0.545 world units across five runs. Spheres outside the circle detector’s configured size range could be missed entirely.