Jump to navigation
Can someone please tell me the formula used to fit the piecewise curve to the control points:
Are they cubic? quadratic?
Open Source: Beast, LayerEffects, VFLib, SimpleDJ, DSP Filters...
You can achieve this through cubic or quadratic interpolation. The only problem is that these interpolations tend to swing around the points and thus create overshoots which might cross the boundaries of the box. Hence there are special modifications of these interpolations which get rid of the overshoots.
Well when you bring control points close together, the local minima/maxima quickly go outside the box. Photoshop handles this by just clamping the output to [0, ]1
You can achieve this through cubic or quadratic interpolation.
By marking a control point as a "corner" it breaks the polynomial in half, piecewise, into two smaller degree polynomials passing through the left and right set of points, with 1 point shared (the corner point). Two adjacent corner points implement a straight line piece.
© 2014 Raw Material Software Ltd.