Raw sensitometry, contrast curves, and other conspiracies.

0
1184

One of the most basic questions that arises for anyone working with digital cameras is the eternal question: what will be the precise exposure for this scene?

In this article, we will delve into the details of digital exposure aimed at ensuring a correct tone transfer between scene and image.

What is the correct exposure?

I suppose this question could fill an entire thesis, but to simplify it from my point of view, the correct exposure will be the one that ensures a perfect correspondence between the luminance values of a scene and the electronic brightness values (expressed in L* or pixel intensity, etc.) of the same. That is, the luminance ranges of the scene correspond in value and contrast relationship with the image.

And how do we verify this? By calculating the sensitometric curve of our equipment + processing, where brightness values (L*) are related to exposure until locating on the curve which points for a given exposure will coincide with the reference L* values. In my case, I will use the densitometric scale of my Colorchecker since I know its L* values for each sample perfectly.

Contrast curves

At this point, many readers may wonder: what do contrast curves have to do with exposure?

Well, since everyone “develops” with Adobe products, and that company, the root of the 2012 process, decided to hide all traces of contrast curves from its panels, unlike the 2003 and 2010 processes where the user is aware that parameters and curves are applied and can consequently act on them by neutralizing them.

These curves are present, in the vast majority of cases involuntarily, in our processing, altering the tone transfer between scene and image, and therefore the contrast relationship of our scene.

It is not really an intrinsic process of Adobe products; in a way, all raw processors include certain aspects related to perception among their recipes.

And why these contrast curves?

There are perhaps two reasons to introduce these curves during raw processing:

  1. On one hand, contrast provides more “naturalness” to a colorimetrically perfect scene. This is due to Stevens’ phenomenon, whereby the perceived contrast ratio decreases as the light intensity under which we observe the scene decreases. That is, a natural scene will be perceived as having higher contrast than when viewed on a screen, even if it has the same brightness values (L*) for its different areas. This forces us to increase contrast to adapt our perception to observation under low light intensities (monitors, etc.).
  2. Improving the latitude of our exposure. The problem with the linearity of our sensors is that a supposed exposure for middle gray leaves the highlights (L*≈96) quite close to sensor saturation, so compressing the highlights a bit gains us supposed latitude before clipping in highlights (this at the processing level or the raw JPEG thumbnails). This use of curves is perhaps a direct inheritance from video, where the use of curves like the legendary S-Log, Hypergammas, Cinelike, RedGamma, etc., is very common.

The problem is that every curve tends to place our exposure in a different position, as we will see below.

That is, a curve has obvious aesthetic consequences (alterations in the contrast relationship) and also has sensitometric connotations.

Sensitometry: Adobe 2012 vs 2003 processing

Initially, I calculated my exposure with my Sekonic handheld light meter where for ISO 200 it gave me 1/15 shutter speed and f/4.4 aperture. We will use this data to estimate how exposure varies depending on the applied contrast curves.

Sensitometría raw proceso Adobe 2012

Next (left graph) we calculate the sensitometric curve of my camera (Nikon D610) for a “development” with Adobe’s 2012 process, importantly without touching any of the default settings.

From this curve, we see how the middle gray is located quite close to an L*≈50 for 1/15 shutter speed, which is not bad at all, but unfortunately we see how the white point of my Colorchecker with an L*≈96 is at 1/10 and the same for the black point (L*≈20).

That is, we face a tonal reproduction problem, since the different luminance ranges of the scene are not coherently transferred to the image. This is due to the presence of a contrast curve during raw processing, of which the user is unaware, as there is nothing in Adobe’s panels indicating this.

This phenomenon, regarding artistic photography, is at least irrelevant, but since my field of work is the documentation and digitization of cultural heritage, I have recently encountered too many people responsible for digitizing our heritage unaware of this phenomenon.

Sensitometry curve Photoshop 2003Let us then move to 2003 processing where we have previously neutralized all the adjustments Adobe suggests by default.

We now see that highlights, midtones, and shadows fit perfectly for 1/8 shutter speed. That is, the relationship between luminance ranges of the scene and the image almost perfectly coincide; we see how our white at 96%, gray at 50%, and black at 22% are in their place.

Note also that our white point is just over 1/3 of a f-stop from saturation, while for 2012, after compression in highlights, it leaves us a bit more than 1 EV before saturation.

PS2012vsThumbnailBut now let’s see another phenomenon: let’s extract the sensitometry of the JPEG thumbnails embedded in our raws, which are responsible for our camera histogram and for showing us the capture preview on screen, and compare it with Adobe 2012 processing.

There seems to be an astonishing coincidence between what Adobe introduces during processing with the curves of Nikon raw thumbnails. That is, we see a curve that places our middle gray well, but distorts highlights and shadows.

Sensitometry curve PhotoshopThat is, if we now compare the well-neutralized 2003 process with the 2012 process, we get the graph on the left. Besides the obvious curve, our exposure has shifted by +1 EV (3/3 f-stop).

Sensitometry curve photoshop rawWhere again the difference of up to +1 EV between the exposure measured by my handheld light meter (1/15), that offered by the camera histogram, and Adobe’s 2012 process is evident, compared to what would really be an exposure where we obtain perfect tone transfer (1/8).

OECFIf we resort to the OECF (optoelectronic conversion function) to relate optical density with electronic values, we observe an almost perfect correlation between the 2003 process and the density expressed in L* of my Colorchecker. And how the 2012 process and my thumbnail correlate quite well, leaving midtones intact and compressing highlights and shadows.

If, on the other hand, we deduce the contrast curve that Adobe applies for 2012, we find the design in the image on the left, where we also see the change in appearance before and after applying the curve to the image.

curva contraste

That is, Adobe is introducing a characteristic sigmoidal curve compressing highlights and shadows, which is not negligible in terms of the effect it has on exposure and contrast relationship of the scene.

Conclusions:

In a somewhat jocularly “conspiratorial” way, we see an astonishing coincidence between measurements from a Sekonic handheld light meter, Nikon previews, and Adobe development. That is, my light meter does give me an exposure that places middle gray in its place, but leaves highlights and shadows out of place, according to the contrast curves these manufacturers (Adobe and Nikon) incorporate into their tools.

I do not know if this is due to perception or to gain some latitude when previewing captures on our equipment. The fact is that we have +1 EV error in our measurements that we can well gain in favor of, for example, a higher shooting speed, or simply, if we want, we can take it as that famous “rightward histogram shift” that has been so much talked about.

Knowing this situation, one of the advantages of Sekonic Digitalmaster series light meters is that camera profiles can be created by software and correction parameters introduced in the measurements.

Connotations:

While for photographers dedicated to the aesthetic world, this phenomenon may be irrelevant or even work in their favor since what they see in camera is what they get when processing, for those of us dedicated to digitization and documentation of heritage, this is a serious problem for two reasons:

  1. Aesthetic: we are introducing a contrast curve to a work or artifact that does not have it.
  2. We are documenting or digitizing heritage assets or works of art with considerable incoherence at the tonal reproduction level. That is, we are placing highlights and shadows in “another place,” so the relationship between highlights, shadows, and midtones of our document to be digitized will not correspond to those of the image.

Finally, again the criticism towards Adobe for hiding certain practices (no explanation of this phenomenon at helpx.adobe.com ) and towards the user for accepting as pertinent everything that companies like Adobe, now almost more oriented to amateur use than professional, offer us.

In my next article “Histograms and previews under control with Nikon Picture Control” you will see how to control camera histograms so that they are more representative of the scene.