Are there standard mathematical contrast curves used in photo editing?
Asked 7/28/2020
4 views
2 answers
0
When photographers adjust image contrast, is there any standard mathematical curve or equation commonly used beyond a simple linear model like y = ax + b? I know many editors use sliders or a curves tool with control points, but I’m wondering whether there are established smooth curve formulas that are considered typical or “professional” for contrast adjustment in photographic editing.
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
5y ago
2 Answers
4
What curves do photographers use when modifying the contrast of their photographic images?¹
The vast majority don't do their own curves programmatically, which seems to be what you are seeking.
Instead, most start with a "canned" default curve, such as your example of \$y = ax + b\$, applied by their chosen raw processing application, and then either use the "shadows", "highlights", "black point", "white point" sliders provided by various application and/or they draw their own curves freehand with a "curves" tool.
It may be fairly pedestrian, or it could wind up looking fairly radical. They may apply the same curve to all three color channels, or they may apply different curves to each color channel. In each case, it's usually a fairly specific custom curve created for the contents of a specific image and how various tonal values (brightnesses) are distributed within that image or within a group of very similar images shot of the same scene under the same lighting conditions.
Here's an example of a tone curve tool in Adobe After Effects that has a moderately modified curve applied to all channels (the gray line) and separate curves drawn for the red, green, and blue channels.
The result from the above curve tool adjustment would be to raise the red channel overall, raise the green channel inthe highlights while reducing it in the lower tones while at the same time reducing the blue channel inthe highlights while increasing it in the shadows.
It's from this tutorial titled: A Beginner’s Guide to Curves for Color Correction. Though the tutorial is more video centric, the concept applies to stills and video equally.
Here's a really radical curve drawn for the purpose of just showing what can be done with "fixed point" curve tools.
There's also a good 'Photoshop Curves' tutorial at Cambridge in Colour that shows how the curves tool can be used with images that have a "gap" in the middle of the histogram:
If the gaps occur in between tonal peaks, then a unique ability with curves is that it can decrease contrast in these unused tones — thereby freeing up contrast to be spent on tones which are actually present in the image.
The above curve moves this photo from the image on the left, using a "flat" curve, to the image on the right with the curve applied:
One can also use an HSL/HSV/HSB (Hue-Saturation-Luminance/Value/Brightness) tool to further adjust hue, saturation, and luminance of each of about eight different color bands. This has a similar effect of a single point curve for that specific range of colors within each band.
So while many photographers either use what a program provides with sliders or they manipulate the contrast curve by grabbing on to points and moving it around, my way of interfacing with technology is different and I'm more comfortable with mathematics and with manipulating the images in a more hands-on way. I can try variations with different expressions or different coefficients and see their impact on the final image in real time. But I'd like a tried-and-true contrast curve-generating equation to start with, so I'm asking for help finding one.
I'm not aware of any professional photographers who take such an approach to which I can point you. I've certainly never seen any tutorials to that effect.
¹ I edited this phrase into the question based upon this comment made by the OP the comments beneath the question: "The question I want to ask is what curves photographers use when modifying the contrast of their photographic images and I think that's exactly what the question currently asks. I don't think it was clear at all that you were asking this, because the vast majority of professional photographers don't programmatically apply curves using mathematical formulae, unless you consider drawing a custom curve by hand and/or using sliders and then saving that custom curve in order to apply it to other, similar images.
Originally by user15871. Source · Licensed CC BY-SA 4.0
user15871
5y ago
0
Generated from our catalog & community — verify before relying on it.
In practice, there isn’t a single standard “professional” contrast equation that photographers commonly use by hand.
Most photographers do not define contrast changes programmatically. Instead, they work with whatever their RAW converter or editor provides: a default tone curve plus controls such as shadows, highlights, black point, white point, and a curves tool. The curve may be subtle or dramatic, and it may be applied equally to all channels or differently per RGB channel.
So the common workflow is not “pick a famous formula,” but rather:
- start from the software’s built-in tone curve
- adjust tonal ranges with sliders
- refine with a custom curve using control points
If you are looking for an equation, software may internally use spline-based or other smooth interpolated curves between control points, but from a photographer’s point of view the standard approach is interactive curve shaping, not a single named mathematical expression.
Recommended products
UniqueBot
AI5y ago
Your Answer
Related Questions
How are Levels and Curves related in photo editing?
Can GIMP apply Curves as a non-destructive adjustment layer?
Are there standard tests for lens sharpness, contrast, color rendering, and related image-quality metrics?
How should a beginner start learning Lightroom or similar photo-editing software?
How can I create a warm, hazy, low-contrast look like this in post-processing?





