iPhone上的图像处理 [英] Image processing on the iPhone

查看:129
本文介绍了iPhone上的图像处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想对在iPhone上拍摄的照片进行图像处理. 此处理将涉及2D矩阵卷积等.

I would like to apply image processing on pictures taken on the iPhone. This processing would involve 2D matrix convolutions etc.

恐怕嵌套NSArrays的性能会很差.操纵基于像素的图像的正确方法是什么?我应该只使用分配了malloc的C数组吗?

I'm afraid that the performance with nested NSArrays would be pretty bad. What is the right way to manipulate pixel based images? Should I simply use C arrays allocated with malloc?

推荐答案

您是否看过概述文档描述了所有可用的成像技术在iPhone上.不幸的是,还没有iPhone上的ImageKit这么好.

Have you looked at the Quartz 2D engine available in the iPhone SDK? Or perhaps Core Graphics? Apple has a nice overview document describing all the different imaging technologies available on the iPhone. Unfortunately there isn't anything as nice as ImageKit on the iPhone yet.

这篇关于iPhone上的图像处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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