Skip to content

Python code to generate the polynomials needed in order to create image filters (like the ones used in Instagram , Camera+ etc) and examples on how to use them in iOS and Windows Phone

Notifications You must be signed in to change notification settings

Joelone/filteriser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

*****
Intro
*****
Using this code, you can start creating your own filters like the ones you see in Apps like Instagram, Hipstamatic etc.

What you need is Python, and some curve files. To get you started there is already a sample curve file ( Country.acv ) inside the repo.

Curve files are some special Photoshop files that alter the appearance of the image. You can find lots of them for free, and there is no need to have Photoshop installed in order to create filters from them.


*************
How to use it
*************

Using the extractCurvesFromACVFile.py Python code, you can extract the polynomials you need, and then you can use them in your code to alter the image. 

More info here:
http:https://www.weemoapps.com/creating-retro-and-analog-image-filters-in-mobile-apps

Warning: The iPhone code is slow and unoptimized. It is mainly intented as a proof of concept.
There are many ways to make it better, if you want to help here are the discussions:
https://github.com/WeemoApps/filteriser/wiki


PS. WP7 example to follow soon.

About

Python code to generate the polynomials needed in order to create image filters (like the ones used in Instagram , Camera+ etc) and examples on how to use them in iOS and Windows Phone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published