Code Monkey home page Code Monkey logo

sfm-3dreconstruction's Introduction

SfM-3DReconstruction

3D reconstruction using Structure from Motion(SfM) algorithm.

Report: Link

Requirments

Build OpenCV and PCL libraries from source.

Installation

git clone https://github.com/aditya-jha13/SfM-3DReconstruction

Build & Run

cd path/to/SfM-3DReconstruction
cmake .
make
./mySfM

Demo

The input images are present in test images folder. The images are taken from different viewpoints of a scene.

Feature Matching

The features are detected in each image using the AKAZE Detector and features are matched for each pair of image using FLANN Based Matcher.

1 1

Final Reconstruction & Comparison

Final Image of Reconstruction(pointclouds)

1

Expected Reconstruction(3D triangular meshes)

1

The expected output is optimal as it has bundle adjustment integrated as well as the the point clouds are made denser by converting pointclouds to meshes.

TODO: Integrate bundle adjustment and make the final reconstruction denser.

About

The first step in the SfM pipeline is Feature Matching where we find and match the features between each pair of images which is later used to find the relative transformation between the images. In the second step, we estimate motion between the images and triangulate the matched points in 3D space. The major functions used in this step are cv::findEssentialMat, cv::recoverPose and cv::triangulatePoints.

sfm-3dreconstruction's People

Contributors

aditya-jha13 avatar kuromadoshimj avatar

Stargazers

Radu-Stefan Popovici avatar

Watchers

 avatar

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.