Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Color splines -> ColorCurve object

This from the basics should receive it's own tutorial:

ColorCurve is a color spline class for performing color correction. It can take as parameters a SciPy Univariate spline, or an array with at least 4 point pairs. Either of these must map in a 255x255 space. The curve can then be used in the applyRGBCurve, applyHSVCurve, and applyInstensityCurve functions:

img = Image("lenna") clr = ColorCurve([[0,0], [100, 120], [180, 230], [255, 255]]) img.applyIntensityCurve(clr)