Skip to content

flyingGH/3D-scene-reconstruction-pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Scene Reconstruction Pipeline

The entire pipeline is composed of various parts.

1) Using Optical Flow to get Point Correspondences and estimate Depths.

Optical flow is computed over a small window. The smallest singular value of spatiotemporal derivative matrix is calculated and the pixels above a certain threshold value are considered.

Flow Vectors:

Alt text

Epipoles after RANSAC and satisfying planar condition equation by a threshold:

Alt text

Depths are then calculated by assuming pure translational motion:

Alt text


2) Reconstruction of 3D scene from 2 views using 2-view SFM

Feature identification using SIFT:

Alt text Alt text

Key point matching using Least Squares and RANSAC:

Alt text Alt text

Resulting Epipolar lines:

Alt text Alt text

Reprojection of points of one image onto the other:

Alt text Alt text


3) Recreate 3D Model from multi-view SFM

Input views:

Alt text

Disparity:

Alt text

Disparity and depth after post processing:

Alt text

L-R Consistency check mask:

Alt text

Reconstructed 3d model from 2 views using ZNCC Kernel - Alt text

Entire Reconstructed 3d model Alt text

About

Pipeline for 3D recontruction from images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%