Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram Image Filters on iPhone

How does one go about adding image filters in an iPhone application? (similar to what Instagram and picplz have)

like image 465
akfalcon Avatar asked Oct 13 '10 23:10

akfalcon


People also ask

Can you apply Instagram filters to existing photos?

How to Add Instagram Filter to Existing Photos. Open your Instagram app and swipe left. Pick an image from the gallery, and click on the smile icon. Select your preferred filters, then click Done.


2 Answers

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

like image 197
esilver Avatar answered Oct 11 '22 02:10

esilver


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:

  1. http://cimg.sourceforge.net/
  2. http://filters.sourceforge.net/

Edit Also, take a look at this open-source code - https://github.com/OmidH/Filtrr

like image 32
Sagar Avatar answered Oct 11 '22 01:10

Sagar