Coder Social home page Coder Social logo

3d-reconstruction-from-two-2d-images's Introduction

3D Reconstruction from two 2D images

Overview

This project explores the classical computer vision technique (non-deep learning) of converting 2D images into 3D Reconstruction. By harnessing the power of computer vision methodologies and utilities, I converted two images depicting a castle into a three-dimensional representation. A pivotal aspect of this effort was ascertaining the camera's positions when the photographs were captured, followed by the creation of the 3D visual.

> Highlighted milestones of this endeavor are:
  1. Retrieving 3D Transformations:

    • The objective here was to uncover the 3D transformation (R, T) between dual viewpoints. For two points (P1, P2 in R^3) that represent the same scene in the first and second frames, the relationship is given by (P2 = RP1 + T).
  2. Deriving the Essential Matrix:

    • Method of Least Squares:
      • I utilized the 8-point technique to deduce the essential matrix (E) by way of the SVD decomposition approach.
    • RANSAC Technique:
      • To improve the resilience of the (E) derivation, I incorporated the elementary RANSAC method, ensuring protection against inconsistencies from incorrect matches. Description of Image
    • Depicting Epipolar Lines:
      • With the help of the essential matrix, I illustrated the epipolar lines on both snapshots, providing insight into the correlation between corresponding points.
  3. Deciphering Pose & Constructing 3D:

    • Resolving Twisted Pair Ambiguity:
      • Investigated the solutions concerning twisted pair ambiguity associated with (E), which gave rise to four potential solutions for the transformation (R, T).
    • Point Triangulation:
      • Points were triangulated to pinpoint the confluence of rays from the two cameras. From the four potential transformations, I refined the 3D construction by opting for the transformation where the majority of the 3D points appeared in the foreground for both cameras.
  4. Reprojection Verification:

    • As an essential verification step, I juxtaposed points from one camera's original snapshot against the reprojected points from the alternate camera. This process called for the application of the camera's projection blueprint and a deep dive into the transformation's articulation across the two viewpoints.

3d-reconstruction-from-two-2d-images's People

Contributors

satyajeetburla 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.