iPhone——数字图像处理
我想构建一个类似于 Fat Booth、Aging Boot 等的应用程序。我对数字图像处理完全是菜鸟。我应该从哪里开始?一些提示?
I want to build an app similar to Fat Booth, Aging Boot etc. I am totally noob to digital image processing. where should I start? Some hints?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 iPhone 上以任何速度处理图像都需要 OpenGL ES。那就是起点。 (不过,如果这是您的第一个 iOS 项目,我不建议从 GL 开始。)
Apple 在此处提供了一个图像处理示例:http://developer.apple.com/iphone/library/samplecode/GLImageProcessing/Introduction/Intro.html。
我想你提到的应用程序也使用 GL。例如,Fat Booth 可能会用您的照片构建网格纹理,然后扭曲网格以使照片在中间凸出。也可以纯粹使用片段着色器来完成。
Processing images on the iPhone with any kind of speed is going to require OpenGL ES. That would be the place to start. (If this is your first iOS project, though, I wouldn’t recommend starting off with GL.)
Apple has an image processing example available here: http://developer.apple.com/iphone/library/samplecode/GLImageProcessing/Introduction/Intro.html.
I imagine the apps you refer to use GL too. Fat Booth, for example, might texture a mesh with your photo, then distort the mesh to make the photo bulge out in the middle. It could also be done purely with fragment shaders.