13
3DRSim 3D Reconstruction Simulator By Tharindu Mathew

3DRSim - 3D Reconstruction Simulator

Embed Size (px)

Citation preview

Page 1: 3DRSim - 3D Reconstruction Simulator

3DRSim3D Reconstruction Simulator

By Tharindu Mathew

Page 2: 3DRSim - 3D Reconstruction Simulator

Motivation

● Explore ideas to generate 3D

reconstructions of complex objects with a

single image

● Simulation allows us to experiment with a

large number of projectors and cameras

● Algorithms will be applicable in the real world

Page 3: 3DRSim - 3D Reconstruction Simulator

3D Reconstruction

Page 4: 3DRSim - 3D Reconstruction Simulator

Demo

● Let’s see it...

Page 5: 3DRSim - 3D Reconstruction Simulator

Challenges

● Coming up with a pattern and related

algorithm that will allow us to get a

correspondence with one image

Page 6: 3DRSim - 3D Reconstruction Simulator

Related Work

Rapid Shape Acquisition Using Color Structured Light and Multi-pass Dynamic Programming - Zhang et al.

(2002)

Page 7: 3DRSim - 3D Reconstruction Simulator

Pattern based on De Bruijn sequence

● B(k, n) => A k size alphabet where every local n sequence is

unique

● A Debruijn sequence of an alphabet of size 5, i.e. {a, b, c, d, e},

where any sequence of 3 is unique.

● Assign a color for each letter, ex: a = 101 (RGB), and pick an

initial color

● Generate colors by following: Ci+1 = Ci ⊕ Di

Page 8: 3DRSim - 3D Reconstruction Simulator

Approach

For each horizontal row,

1. detect edges

2. correspond each edge between

two images

3. for each corresponded edge, do

ray intersection

Page 9: 3DRSim - 3D Reconstruction Simulator

Results

Page 10: 3DRSim - 3D Reconstruction Simulator

Future Work

● Use homography to and allow for different

camera configurations

● Experiment with more robust methods

Page 11: 3DRSim - 3D Reconstruction Simulator

Learnings

● Render to texture, Projective Texture

Mapping, Coordinate multiple shaders/

viewports

● 3D reconstruction

Page 12: 3DRSim - 3D Reconstruction Simulator

Acknowledgements

● Prof. Daniel for many of the concepts and related math

● Many openGL tutorials

● Debruijn sequence generator - Used from here -

http://stackoverflow.com/questions/4008603/how-to-

compute-de-bruijn-sequences-for-non-power-of-two-sized-

alphabets

● A wrapper class for loading bitmaps based on this tutorial -

http://www.tomdalling.com/blog/modern-opengl/02-textures/

Page 13: 3DRSim - 3D Reconstruction Simulator

Questions?