Giter VIP home page Giter VIP logo

3d_reconstruction's Introduction

Structure From Motion

First image pair retrieval

First image pair is greatly affect the result of structure from motion pipeline. First image pair should have as many matching feature keypoints as possible and the repartition of the corresponding features in each image. But at the same time, the baseline or angle between cameras should also be large enough to provide reliable geometric information. In my experience, we can choose first image pair manually and put it on the first position of dataset. As the images below, we have 5 type of image pairs:

Type 1

Two cameras have same location and same direction but different field of view. This view pair position is not able to be used for reconstructing 3d points but it's able to be used for estimates the intrinsic params. this view pair is also called "pure rotation".

View1

Type 2

Two cameras have same location and same field of view but different direction. This view pair position is able to be used for reconstructing 3d points but the 3d points have very low quality.

View2

Type 3 and Type 4

Two cameras have same direction and same field of view but different location. This view pair position is good to be used for reconstructing 3d points. It's the most popular position when the cameras move in the straight direction

View3 View4

Type 5

Two cameras have different location, different direction and same field of view. This view pair position is the best to be used for reconstructing 3d points. It has large baseline between cameras, the cameras also have enough feature points for reconstruct reliable 3d point cloud.

View4

Test

To run code we have to change the img_dir = '../vkist2/' to your image direction and run the sfm.py file

python sfm.py

My result

Result1 Result2 Result3 Result4 Result5 Result6 Result7 Result8 Result9 Result10 Result11 Result12 Result13 Result14 Result15 Result16 Result17

3d_reconstruction's People

Contributors

daovietanh190499 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

flyinggh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.