如何将2D图像转换为3D的iPhone应用程序 [英] How to convert a 2D image to 3D in iphone app

查看:1511
本文介绍了如何将2D图像转换为3D的iPhone应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

输入: 2D图像

输出: 3D图像

平台: IOS

我需要将2D图像转换成3D在我的ios application.How做到这一点在我的iPhone应用程序?什么是我需要使用的框架?威尔的OpenGL-ES有助于这一点?或者电气特性的包装里有IOS做到这一点?什么是我需要遵循,使2D图像到3D的步骤?

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?

项目介绍:我需要做类似这样的 Morfo 或<一个一个应用程序href="https://play.google.com/store/apps/details?id=com.motionportrait.PhotoSpeak&feature=related_apps#?t=W251bGwsMSwxLDEwOSwiY29tLm1vdGlvbnBvcnRyYWl0LlBob3RvU3BlYWsiXQ.."相对=nofollow>照片说话。 在这些应用中是我相信的是,他们都2D图像转换成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.

推荐答案

我强烈建议你看看下面的书籍

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

  • 由理查·哈特利和安德鲁Zisserman 多视图的计算机视觉几何 >
  • "Multiple View Geometry in Computer Vision" by Richard Hartley and Andrew Zisserman

一个搜索术语单一视图的三维重建取得本网站。也许

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

从2D图像重建3D图像是非常具有挑战性,往往是不可能的,除非你可以申请有关的风景,比如一些额外的知识曼哈顿世界假设,即假设世界上大多数国家是建立在笛卡尔网格。

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.

如果你有同样的场景(preferably静态场景创建的不同意见不发生变化)的多个视图,您可以得到更好的结果。

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)

现在更具体的答案:

  1. 我不知道你将如何做到这一点在你的iOS应用程序,但我不想让你泄气,才知道,这是很困难的。
  2. 在我不知道的解决这个问题,开箱即用你的任何框架。有许多计算机视觉的框架存在。 OpenCV的是一个非常受欢迎的一个,它有一个版本的iOS。
  3. 的OpenGL-ES是一个嵌入式系统上显示的3D场景(ES)
  4. 您可能必须执行大部分自己的算法。
  5. 在为了把2D图像转换成3D图像,你需要恢复的深度信息,这是不平凡的。
  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.

这篇关于如何将2D图像转换为3D的iPhone应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆