All about DNG camera profiles

0
1260

Around 2003, with the proliferation of digital cameras and their RAW format, along with the launch of the well-known Photoshop plugin, Camera Raw, Adobe decided to address a latent problem in ICC color management, namely that it was output-referred, that is, referred to the output or the already processed image. This orientation of the ICC had been valid for printing strategies and even for scanners. However, ICC color management did not specify color standards for input-referred images or those referred to the real scene.

This situation implied numerous problems, for example in the treatment of the dynamic range of scenes or tone mapping, since, for example, an outdoor scene can have a contrast of 10,000:1 while on screen or paper it may be around 200:1; similarly, in nature there are colors with saturation levels much higher than we can represent.

rim_3To solve this problem of ICC color management, Adobe launched a new proposal called camera profiles (DNG Camera Profile, DCP). Camera profiles are a type of profile that contain descriptions related to color transformations during the RAW development process.

It was in early 2008 when Adobe proposed its well-known digital negatives (DNG) as a means for creating and managing camera profiles, commonly called DNG profiles, and different tools were developed both by Adobe (Adobe DNG Profile Editor) and third parties such as X-Rite or Datacolor, for device characterization or managing our own camera profiles from various color charts.

Perhaps one of the most relevant features of camera profiles is the possibility of creating profiles that work under two illuminants simultaneously, for example for artificial light type A and daylight type D65. This feature provides some representativeness regarding usual shooting conditions.

Camera profiles are neither substitutes nor exclusive of ICC color management. They are also not properly part of the traditional color management definition, since they are characteristic elements of RAW development, while color management itself deals with images once developed.

For the moment, DNG profiles are a characteristic aspect of Adobe tools such as Camera Raw or Lightroom. There are other development tools on the market that incorporate input-type ICC color profiles as part of the development workflow, similarly to how scanner software would.

Adobe has classified its camera profiles into Standard profiles, related to its own development engine, and camera profiles that imprint a characteristic manufacturer look during development, which can be for landscape, portrait, neutral, etc.

Another relevant feature of camera profiles and workflows with Adobe tools is that these are incorporated into DNGs or digital negatives resulting from these workflows. This way, it is possible to preserve such characterizations beyond our operating system.

Methodology:

Currently, it is only possible to create camera profiles (DCP) or DNG profiles using two tools: on one hand Adobe’s DNG Profile Editor, and on the other the X-RITE tool that accompanies the Colorchecker Passport charts and which bears the same name.

In both tools, one starts from a DNG that must be created previously with Adobe Camera RAW or Lightroom.

Creating a DNG is very simple; we can do it with Adobe’s tool, DNG Converter, or simply by opening it in ACR and saving it as DNG. The adjustments we have in ACR during this process are irrelevant since our camera profile creation software will work on the original scene contained in the RAW.

If we use the X-RITE tool from our Colorchecker Passport, it is enough to load our DNG into the application, and it will automatically determine the location of the Colorchecker color patches to finally create the camera profile or DNG profile.

dng_profile_editorIf we opt for Adobe’s DNG Profiler tool, the results are very similar although the workflow logic is a bit more extensive: first, we load our DNG, go to the Chart tab and we will see small disks that coincide with the colors of the patches at the corners of the Colorchecker; these patches must be dragged to match their corresponding color patch. Then, in the same tab, we activate the Create Color Table button to proceed with reading the patches. If we go to the Color Tables tab, in the Base Profile combo box, we will see that the Colorchecker option has been selected.
Initially, there is nothing else to adjust; we go to the File menu, and in the last Export option, we can generate our camera profile.

It should be noted that camera profiles can be created to respond to scenes made under two different illuminants. In the X-Rite tool, we can load up to two DNGs with any type of illuminant, since the application detects the color temperature and deduces the illuminant. In DNG Profile Editor, it only allows creating camera profiles that work in D65 and type A.

The article “Calibration and DNG Camera Profiles for ACR and Lightroom” explains in more detail the features of this tool.

After these steps, we can select our new camera profiles from the ACR or Lightroom menu.

Conclusions

The development procedure with custom camera profiles does not exempt us from using ICC color profiles for our color management. It should be remembered that these camera profiles are used by the RAW developer to achieve greater precision in tone mapping.
deltasCamera profiles or DNG profiles are not part of color management workflows but belong to RAW development processes. The result of a RAW development will always be an output-referred image, and therefore it is now where ICC management processes come into play.
As we see in the graph on the left, with a correct camera calibration workflow, very low deltas can be achieved, which combined with a color management process with device characterization profiles, it is possible to reach very high degrees of color accuracy.

Evaluating DNG Camera Profiles

Like other color transformation processes, it is advisable to perform evaluations of the degree of accuracy, with the help of color charts, their reference files, and some delta calculation software.

However, it is advisable to take some precautions since ACR or Lightroom software by default apply certain values to controls such as contrast, highlights, tone curves, etc. These values create a certain look on the image but are not desirable in camera profile evaluation processes as they will distort the results:

neutral adjustments adobe camera rawOnce our RAW is loaded in ACR, a first step is to create a perfectly neutral development. For this, we must set all controls in the basic panel to zero, such as exposure, recovery, fill light, blacks, highlights, contrast, clarity, vibrance, and saturation. Then we must go to the Tone Curve panel in the Point tab and choose the Linear curve mode. In Camera Calibration and Split Toning, everything must also be set to zero.

exposure adjustment adobe camera rawOnce all these parameters are defined, we must adjust exposure and white balance.
We do the white balance with the White Balance tool on the fourth neutral patch.
For exposure, we place a color sample on the patch and increase the exposure control until the RGB values of the sample are around 240, or just below the point where any of the channels starts clipping.

With this strategy, we can adjust an image without conditioning the color transformations carried out by the camera profile, making a relatively objective evaluation of its performance possible.