954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

converting a 2d image to a 3d one

I am trying to convert a 2d image to 3d one in python. please introduse me some good source or if there is an open source program.

Thanks alot.

funfullson
Junior Poster in Training
77 posts since Jan 2009
Reputation Points: 10
Solved Threads: 2
 

Blender.org

Greeky
Newbie Poster
6 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

@Greeky not sure if Blender supports Python. I seen Blender Java API for sure

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

Blender has python built in. In the newer versions of Blender, there is even a python console interpreter built right into the scripting section for quick easy debugging and prototyping.

Here is a tutorial with getting started with Blender and Python.

As for actually converting the image, I can't help. You will need to know a lot about 3D data processing and the like. There will be some issues though, because regular 2D images are very hard to grab depth from. You see how long it took Microsoft to develop the Kinect, and it even uses special hardware to grab stereoscopic images of the surroundings.

The Kinect has been open-sourced and has some Python libs to handle the data if that would be a better option.

Tech B
Posting Whiz in Training
268 posts since May 2009
Reputation Points: 59
Solved Threads: 33
 

Thanks for your helps.
how about python opencv?
did u test it?

funfullson
Junior Poster in Training
77 posts since Jan 2009
Reputation Points: 10
Solved Threads: 2
 

I'm also looking for a program that does the same thing except I don't care if it's not open source as long as I don't have to pay for it. I found "Autodesk Photo Scene Editor" but it requires you to upload the 20GB of photos to their website then download another 1GB of textures and data to render the model. Surely there is a better way. Please advice.

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

So there is no way to make such model?
My Real project is described below:
I have some Aerial photograph and am trying to make a model from the mountains.
If you saw before, Geographers make a model from this pictures by Contours.

Do you know any way that help me to do this?

funfullson
Junior Poster in Training
77 posts since Jan 2009
Reputation Points: 10
Solved Threads: 2
 

As I said you can upload 20GB of photos through Autodesk Photo Scene Editor and receive a 1GB 3d model in return but I don't have that sort of bandwidth :( I know it's possible if you can do it through the cloud. The question for me is how to do it without the cloud (eg on localhost).

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

Sorry.
I forgot to say that themes name's is "Topographical map".

funfullson
Junior Poster in Training
77 posts since Jan 2009
Reputation Points: 10
Solved Threads: 2
 

Somebody please mention a few programs or scripts that will convert a bunch of 2d images to a single textured 3d object (3ds preferably) file. I know Autodesk Photo Scene Editor does this but it requires uploading and downloading each and every photo which takes ever so long. Can somebody please mention an alternative where it is done entirely on my local computer and none of this cloud stuff. (I have an i7 3.0GHz processor) Thank you.

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

Nobody has no answer?

funfullson
Junior Poster in Training
77 posts since Jan 2009
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: