Thursday 9 July 2015

post processing - How are the levels and curves tools related?


I started to use levels and curves tools quite recently and now I mostly use the second one. Mostly this is due to the fact that I understand the underlied mathematics of curves better than levels. My current understanding of levels is that it is simplified linear version of curves. I mean that those left and right sliders in levels are responsible for the edges of the linear curve like this one


enter image description here


(but strictly linear in between). Am I right? Where can I find a strict mathematical description of levels?


The other version of the question: is it always possible to replace levels by curves? Or there are things which can be done only using levels?



Answer



Levels are a special case of curves, where the curve is pinned at both ends and has one control point in between. The two pairs of "input levels" and "output levels" specify the coordinates of the end points of the curve.



The "middle value" specificies the degree of curvature. Levels can only have one radius of curvature, so the curve you posted is not possible using levels. A value greater than 1 means the line is bent outward, a value less than one means it's bent inward. Here's what a levels adjustment would look like in the curves tool:



Curves may have many more control points and can "double back" having negative slope, meaning two or more different input values can reach the same output value (levels is strictly "one to one" from a mathematical point of view). This is not possible using levels:



As such curves are slightly more powerful, but often levels allows you to get to the desired result more quickly as there only five numerical parameters to adjust. Getting exactly the same result in curves is possible but probably requires more clicks.


No comments:

Post a Comment

Why is the front element of a telephoto lens larger than a wide angle lens?

A wide angle lens has a wide angle of view, therefore it would make sense that the front of the lens would also be wide. A telephoto lens ha...