-4

Input: 2D image

Output: 3D image

Platform: IOS

I need to convert a 2D image into 3D in my ios application.How to do this in my ios application? What are the frameworks I need to use? Will OpenGL-es helps in this? Or anyother packages are there in IOS to do this? What are the steps I need to follow to make a 2D image to 3D?

Project Description: I need to do a application similar to this "Morfo" or "Photo Speak". In these applications what I belive is they are converting a 2D image to 3D image and that is the reason I posted here for some start up and help.

3DNewbie
  • 73
  • 1
  • 5
  • 6
    That's easy ! Every 2d image is a (2+n)d (n>0) image with "flat" [2+1,...,2+n] dimensions. Just rename it maybe. – A-Live Mar 26 '13 at 11:25
  • 1
    @3DNewbie You have to give more information to make this question answerable. What purpose should the 3D image fulfill? What kind of images do you want to convert. Without a lot more specifics the only valid answer is the broad answer given by A-Live. – Nikolai Ruhe Mar 26 '13 at 11:33
  • @A-Live I have updated my question! Please have a look – 3DNewbie Mar 26 '13 at 11:59

1 Answers1

5

I strongly recommend that you take a look at the following book

A search for the term "single view 3d reconstruction" yielded this website. Maybe

Reconstructing a 3D image from a 2D image is extremely challenging and often not possible, unless you can apply some extra knowledge about the scenery, e.g. the Manhattan World Assumption, which assumes that most of the world is built on a Cartesian grid.

You can get better results if you have more than one view of the same scene (preferably a static scene that did not change during the creation of the different views).

I suggest that you do some searching about "single/multiple view 3d reconstruction" and come back with a more focused question :-)

Other suggested search terms are:

  • Monocular depth estimation
  • 3d computer vision
  • shape from shading
  • face animation (added after the question was updated)

Now more specifically to your questions:

  1. I have no idea how you are going to do this in your iOS application, but I do not want to discourage you, just know that it is very hard.
  2. I do not know of any frameworks that solve this problem out of the box for you. There are many computer vision frameworks out there. OpenCV is a very popular one and it has a version for iOS.
  3. OpenGL-ES is for displaying 3D scenes on an "embedded system" (ES)
  4. You will probably have to implement most of the algorithms yourself.
  5. In order to turn a 2D image into 3D image you need to recover the depth information, which is non-trivial.
bjoernz
  • 3,852
  • 18
  • 30
  • 1
    Can you go through this [link](http://stackoverflow.com/questions/8951492/ios-2d-image-turn-into-a-3d) .. the answers imply that it is possible in OpenGL ES.. your comment will be very helpful for me... – 3DNewbie Mar 26 '13 at 12:53