Skip to content

VaidehiSom/3D_Scene_Reconstruction_pipeline

Repository files navigation

3D RECONSTRUCTION FROM IMAGES

The entire pipeline consists of different parts -

Using optical flow to get point correspondences and estimate depths.

Optical flow is computed first. The smallest singular value of spatiotemporal derivative matrix is calculated and only those pixels which are above a threshold value are considered. the flow vectors are shown below

drawing

Epipoles after RANSAC and satisfying planar condition equation by a threshold

drawing

Depths are then calculated by assuming pure translational motion

drawing

Reconstruction of 3d scene from 2 views using 2 view sfm

We first identify important features using SIFT -

drawing

We then match key points using both least square and RANSAC to prove effectiveness of ransac -

drawing

drawing

The resulting epipolar lines are as follows

drawing

Finally we reproject the points of one image onto the other

drawing

Lastly we recreate the 3D model from multi view sfm

Input views -

drawing

Disparity -

drawing

Disparity and depth after post processing -

drawing

L-R Consistency check mask -

drawing

Reconstructed 3d model from 2 views using ZNCC Kernel -

drawing

Entire Reconstructed 3d model

drawing

drawing

Releases

No releases published

Packages

No packages published