Instagram Image Filters on iPhone
How does one go about adding image filters in an iPhone application? (similar to what Instagram and picplz have)
Folks,
I have made an attempt at replicating instagram and photoshop filters using pure CoreGraphics and direct pixel manipulation, not using OpenGL.
Find this project at:
https://github.com/esilverberg/ios-image-filters
** UPDATE **
You also should consider this project: https://github.com/gobackspaces/DLCImagePickerController
Have you checked simple-iphone-image-processing? It is a “simple C++ class with an Objective-C wrapper that provides a set of common image processing tasks” as well as UIImage
conversion. It provides:
- Canny edge detection
- Histogram equalisation
- Skeletonisation
- Thresholding, adaptive and global
- Gaussian blur (used as a preprocessing step for canny edge detection)
- Brightness normalisation
- Connected region extraction
- Resizing – using interpolation
Other C++ open source libraries are:
- http://cimg.sourceforge.net/
- http://filters.sourceforge.net/
Edit Also, take a look at this open-source code - https://github.com/OmidH/Filtrr
Sadly there is no CoreImage library in the iOS SDK so you have to use OpenGLES to do image processing, Apple have an example application that demonstrates several techniques.
http://developer.apple.com/library/ios/#samplecode/GLImageProcessing/Introduction/Intro.html