This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
DESCRIPTION | |
Prints the polynomials that describe a photoshop curve. | |
There are three curves (one per RGB channel) which you can later | |
use to make a custom filter for your image. | |
See http://www.weemoapps.com/creating-retro-and-analog-image-filters-in-mobile-apps | |
for the theory behind this method. |