lyn87
lyn87

Reputation: 49

how to reconstruct in 3d of a scene from two images

I wish to make a 3D reconstruction of a scene. For that, I have 2 images of the scene taken from two different angles. Is there a library that does that? (I work in python) if not, what are the steps that must be followed? if you have the code ready, it is welcome. thanks

Upvotes: 1

Views: 9649

Answers (2)

j.doe
j.doe

Reputation: 327

You can use vtk First step is image processing and second step is 3d reconstructions For example you can try for first step:

1)Median Filtering

2)Image contrast

3)Thresholding

4)Noise reduction

And second step includes:

1)vtkMarchingCubes

2)vtkPolyDataMapper

3)vtkActor

4)Renderer

Also you can read this article : enter link description here

Upvotes: 0

Rasim
Rasim

Reputation: 1296

I have not tried it for myself yet, but it seems simple with OpenCV.

OpenCV has module for 3D reconstruction.

Also check out this tutorial.

Upd. Please look at comments from @berak below. I misunderstood yours question at first.

I found SfM-Toy-Library library on github, which uses algorithms from mentioned "Multiple View Geometry" book. It's written using OpenCV and better relates to the topic, but it might be not so easy to use library in Python.

Upvotes: 0

Related Questions