Introduction to Camera Calibration
Within the world of color management, there is a bifurcation between the path to choose for the creation of ICC Profiles and the so-called ‘Camera Calibration‘, which Adobe has adopted with the help of the 24-patch Colorchecker cards and the calibration workflow based on DNG files.
However, it should be noted that the use of camera profiles or DNG profiles is not exclusive of ICC color management. Camera profiles arise from Adobe’s need to delve deeper into color specifications during the development processes. Camera profiles work during Raw development, or more precisely, on images referred to real scenes (input-referred), while ICC color profiles work on processed images (output-referred).
The workflow to obtain ICC profiles was already seen in another section, so we will introduce the workflow based on a DNG. It is worth mentioning that the well-known developer Capture One has not yet opted for this procedure and has continued exclusively using ICC profiles for color management and assigning Looks to the resulting images.
A DNG file is nothing more than a RAW file but adjusted to a specification and standard that, currently, RAW files do not comply with. Some manufacturers (Leica, Samsung, Hasselblad, etc.) are already beginning to include this specification in their equipment in order to generate a universal RAW. From Adobe’s aspirations to popularize the DNG arises a workflow based precisely on this file format.
Definition of the calibration process
As with any profiling process, we proceed to photograph our color chart. Here I will use a Colorchecker Passport, which is a pocket version of the 24-patch Colorchecker Classic. As we have already mentioned in other articles, at this point exposure and white balance are fundamental. The Colorchecker Passport includes a small, quite practical white card, as it is interesting to perform the balance already in-camera to avoid having to make subsequent adjustments in the developer.
First, we need a DNG. Most likely, our camera does not generate them yet, so it must come from converting a RAW to DNG. This process can be done in two ways: with DNG Converter, a free Adobe tool designed exclusively for these processes; or through ACR itself from the Save Image menu, choosing the image type as DNG.
The second step is to use an application to generate the ‘Camera Calibration’ or pseudo profile. Again, two possibilities arise: doing it from the X-Rite DNG Profiler editor that comes with our Colorchecker Passport cards, which does it quite automatically since the application detects the patches as soon as the image is opened; or using DNG Profiler Editor, a small free utility launched by Adobe in 2008 for this purpose.
DNG Profiler Editor may be a bit more confusing than X-Rite’s, although it is enough to open an image in the application, go to the Chart tab, and place small discs over the corresponding color patch to locate the position of the four corners. Then activate Create Color Table and without any further adjustment, from the File menu choose the Export Profile option.
In both applications, the result of creating the adjustment or profile is a file located in a specific directory (by default), where both LR and ACR will look to load those adjustments.
Another option to these two steps is to do it from LR with the plugin provided by X-Rite with its Colorchecker Passport card. Once this plugin is installed, we must load the RAW containing the capture of our Colorchecker chart. Then, in the Export option, we choose the X-Rite Presets plugin as output. Without more, and after a short interval, our camera adjustment will be created.
After these steps, whether by one way or another, in the Camera Calibration menu of ACR or LR, we can already choose the calibration that interests us most for each development, depending on the light, equipment, etc.
This is where most tutorials and advertising generated around the DNG calibration workflow end.
If you want to know more about creating camera profiles, you can consult the following article: “Camera Calibration DNG for ACR and Lightroom“, where the camera calibration processes are detailed thoroughly.
However, if we observe closely, we can appreciate the need to select a profile before giving the final output to our image. Adobe’s team seems to have its own strategy regarding color management and has decided not only to hide but also to limit the use of ICC profiles to three possible ones: Adobe RGB, sRGB, and ProPhoto in LR, adding ColorMatch RGB in ACR.
At this step, ACR will convert our image to the chosen profile, so the most sensible option is to use the ProPhoto profile, as it has the widest gamut, ensuring that all color nuances of our image will fit within this color space. If we choose a smaller profile, such as sRGB, there is a possibility, especially if we work with very saturated colors, that they will be lost during the conversion.
Perhaps the idea that Adobe offers us this reduced palette of profiles is motivated by the intention that, inevitably, we will resort to PS to finalize our work, and profile assignment during development is not particularly relevant.
Workflow: calibration Vs profile creation:
The following tests arise from the idea of comparing color management with ICC profiles with the management proposed with profiling using DNGs. The objective reliability tests are carried out by taking the LAB values measured with color samples from PS on the same photograph of my chart used for generating the profile I am assigning and comparing them with the values of its reference file, which contains the ‘factory’ LAB values of the chart.
The methodology for this process is detailed here.
Therefore, the scheme of my test workflow is:
- Perform a white balance in-camera on the scene containing my color chart.
- Photograph my color chart.
- Develop my color chart, for example with ACR, without any preset and paying attention to the correct white balance.
- Generate the ICC profile with the help of its corresponding reference file and Rough Profiler.
- Assign the resulting ICC profile to the image created in step three.
- Sample the image with the Digital Color Meter.
- Compare with the reference file the difference between values and the average of these differences.
The workflow with DNG profiling is similar:
- White balance.
- Take one or several shots at different exposures of the chart.
- Open it in one of the aforementioned DNG profilers and generate the camera calibration.
- Develop my chart in ACR with that calibration.
- Assign Prophoto RGB as ICC profile.
- Sample the image with the Digital Color Meter.
- Compare with the reference file the difference between values and the average of these differences
Based on the two workflows described above, I have conducted an evaluation of the following combinations:
- CCP I developed my RAW neutrally and then created the ICC profile with the resulting TIFF.
- ADOBE I used Adobe’s DNG Profile Editor to create a camera calibration that I used to develop a RAW and output to TIFF with Prophoto RGB profile.
- XRITE Same as the previous point but using the DNG Profiler developed by X-RITE.
- ADOBE+CCP I developed under the conditions of point 2, but creating an ICC profile with the TIFF created as in point 1.
- XRITE+CCP Same as the previous point but using the TIFF generated in point three.
The result of this process is summarized in the following table:
| Patches | ΔE* CCP | ΔE* ADOBE | ΔE* XRITE | ΔE* XRITE+CCP | ΔE* ADOBE+CCP |
|---|---|---|---|---|---|
| A01 | 1,2 | 10,4 | 9,6 | 0,6 | 1,3 |
| A02 | 1,8 | 7,8 | 7,5 | 1,6 | 1,9 |
| A03 | 2,4 | 7,4 | 9,5 | 2,0 | 2,6 |
| A04 | 2,7 | 9,8 | 10,8 | 1,9 | 2,0 |
| A05 | 1,5 | 7,3 | 8,6 | 2,4 | 1,7 |
| A06 | 2,4 | 10,0 | 7,3 | 1,3 | 2,0 |
| B01 | 3,4 | 9,6 | 13,4 | 2,9 | 3,3 |
| B02 | 4,3 | 5,3 | 14,5 | 3,9 | 4,4 |
| B03 | 2,6 | 4,6 | 10,5 | 2,1 | 2,6 |
| B04 | 3,2 | 7,1 | 9,2 | 2,1 | 3,5 |
| B05 | 2,0 | 7,4 | 9,3 | 2,4 | 2,3 |
| B06 | 3,5 | 7,9 | 12,3 | 3,1 | 3,5 |
| C01 | 6,0 | 7,5 | 16,3 | 5,3 | 5,5 |
| C02 | 2,2 | 6,7 | 7,6 | 1,6 | 1,8 |
| C03 | 3,8 | 7,6 | 11,8 | 2,6 | 3,5 |
| C04 | 3,2 | 9,2 | 9,3 | 2,3 | 3,3 |
| C05 | 3,4 | 7,2 | 11,2 | 3,1 | 3,9 |
| C06 | 12,3 | 13,4 | 14,8 | 12,2 | 12,3 |
| D01 | 2,1 | 13,5 | 13,0 | 2,6 | 2,4 |
| D02 | 2,1 | 8,3 | 7,9 | 2,3 | 2,3 |
| D03 | 2,0 | 6,4 | 5,8 | 2,3 | 2,2 |
| D04 | 1,0 | 7,0 | 7,5 | 1,5 | 1,2 |
| D05 | 1,9 | 11,0 | 10,4 | 1,8 | 1,8 |
| D06 | 3,2 | 10,3 | 10,5 | 2,3 | 2,8 |
| ΔE* Average | 3,1 | 8,4 | 10,4 | 2,8 | 3,1 |
ΔE* (CIE76) calculations for each Colorchecker patch. The last row corresponds to the average.
Conclusions
Observing the global values expressed in the table above, it can be easily appreciated that in the processes where we exclusively use profiling from a DNG, along with the use of Prophoto RGB as the output profile for our image, we experience a higher error rate than in images where, regardless of development, a correct ICC output profile has been assigned to our image.
Recommendations on camera calibration
According to what has been seen, profiling, or rather pseudo-profiling with the DNG workflow, is not exclusive to assigning the appropriate ICC profile for each scene, light, or device.
With ‘camera calibration’ we obtain images with a good Look, but slightly further from faithful color reproduction than in the traditional ICC profiling process.
The workflow with ICC profiles is the only methodology that allows us color consistency throughout the entire process and, therefore, is essential even when calibrating with DNGs.
Although the Colorchecker is not a recommended chart for profile creation, as it offers slightly poorer gamuts than the IT8, it is, however, the only one that allows us to initiate good color management when working outside a studio.