IPhone Image Processing

I would like to apply image processing to pictures taken on the iPhone. This processing will include two-dimensional matrix convolutions, etc.

I am afraid that performance with nested NSArrayswill be good. How can I manipulate pixel-based images? Should I just use the C arrays allocated with malloc?

+3
source share
4 answers

Have you seen the Quartz 2D engine available in the iPhone SDK? Or maybe Core Graphics? Apple has a nice overview document that describes all the image processing technologies available on the iPhone. Unfortunately, there is nothing nice on the iPhone like ImageKit.

+3
source

OpenCV, , . OpenCV , NSArray. : OpenCV C/++, NSImage OpenCV . Google, . OpenCV iPhone, OpenCv IPhone: http://computer-vision-talks.com/2010/12/building-opencv-for-ios/

+1

, C , .

As already mentioned, you should look and see if you can use Quartz2D to perform the manipulations that interest you, since they will probably work better on a hardware basis. If not, just make your own with an array of pixels.

0
source

The iPhone also supports OpenCL, and its GPU has more processing power than a processor.

-2
source

Source: https://habr.com/ru/post/1729626/


All Articles