Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image Processing in iPhone

Actually I am adding Image Processing Feature in my iPhone Application It should do Brightness, Contrast, Sharpen, Exposure....

But i am not able to Find any article/Tutorial on the Internet. Will you please help me to find any tutorial or tell me how can i implement the iPhone View Based Application.

I have found 1 link http://www.iphonedevsdk.com/forum/iphone-sdk-development/10094-adjust-image-brightness-contrast-fly.html its worked also for Brightness but its not working on iPad.

So Suggest something that i can start with my Image Processing Logic.

Thanks

Rick Jackson

like image 620
Rahul Jain Avatar asked Feb 05 '26 02:02

Rahul Jain


2 Answers

I personally like the approach in the GLImageProcessing project from Apple's sample code. Check it out.

like image 107
fsaint Avatar answered Feb 06 '26 18:02

fsaint


There are a few libraries that support image processing in Quartz. There are even a few categories on UIImage to do some basic stuff.

The following are a few examples:

  • https://github.com/esilverberg/ios-image-filters
  • https://github.com/cmkilger/CKImageAdditions
  • http://code.google.com/p/simple-iphone-image-processing/

But as said before by @Felz those libraries are slow because they use the quartz codebase, which isn't that fast (for example: changing the saturation of an image with a resolution of 1024x1024 might take up to 4 to 8 seconds, depending on which device your using).

If your project is iOS 5 or higher then you should definitely consider using CoreImage

like image 27
polyclick Avatar answered Feb 06 '26 18:02

polyclick