Although I have frequently cited profiling applications in input devices such as cameras, scanners—whether flatbed or drum—and oriented towards reflective (opaque) or transmissive (transparent) documents, they had not been the subject of any article until now.
The profiling process for this type of device is essentially identical to that of a camera; however, I will take advantage of the process to emphasize certain practices, particularly regarding the validation processes of our color profiles and document or image digitization processes where color reproduction and documentation are a requirement.
I will carry out the process on an EPSOM Perfection scanner using reflective and transmissive IT8 Monaco color charts, and a Colorchecker Mini. For profiling software, I will use RoughProfiler.
To begin the profiling process, it is essential to disable all color control or adjustment functions, gamma compensation, or color management in the scanner software. This step is indispensable because otherwise, our color profile will be created for certain settings that we must maintain whenever we use those profiles.
During the scanning or digitization of our IT8 chart, particularly the reflective or opaque one, it is advisable to include another chart for which we have a reliable color reference; in my case, I will use a Colorchecker Mini, but a Kodak Q13 can also be used. This second chart will be employed in the validation process of the created color profile.
Once everything is digitized, we separate our IT8 as usual in other processes, and we must make certain exposure adjustments or white point adjustments on it. Initially, if we use Photoshop curves and the white point definition tool, in most cases this is sufficient. The white point tool in our curves will raise the image brightness until the white point is set at 255.
However, we can make this adjustment manually and, in any case, verify the values of the following gray patches:
- Patch 0: 240-255
- Patch 11: 100-128
- Patch 23: 5-25
The exposure level of each chart depends considerably on its reflectance or gloss. For example, charts with high gloss such as the Hugo-EGM will show relatively higher whites than other charts. In these glossy charts, it is common to detect certain deviations in the color channels due to the lamp’s effect on their surface. Thus, while a matte or satin chart may have a deviation (σ) of 3, a chart like the Hugo-EGM can have a deviation between its channels of up to 8. This can be easily observed if we use the automatic white point adjustment with curves in the irregular distribution of these per channel.
For the digitization of our transmissive IT8 chart, we must adhere to this same recommendation, although obviously without problems related to gloss effects on exposure. However, due to the density of our transmissive color chart and the backlighting power of our scanner, it is likely that we will observe much lower values in these white patches than in a reflective chart.
This white point adjustment on our color chart or test image will not need to be performed on every document or image we digitize, as the color profile will be responsible for adjusting these levels to those indicated in its reference file.
Once these adjustments are made, we can go to RoughProfiler to create our profile. As I mentioned in another article, not all algorithms or profile types are suitable for working with any input device. The most appropriate, due to the uniformity of its illumination, is to use a profile of the XYZ cLUT or Display XYZ + matrix type. Although depending on our scanner and the results we obtain, we can experiment with other profiles, particularly the LAB cLUT, which is usually the most common.
Once the color profile is created, we can install it in the color management options of our scanner or leave it for later assignment in our Photoshop.
At this point, there are some gaps or difficulties: On one hand, as has happened to me with Epson scanning software, only color profiles with PCS (Profile Connection Space) of the LAB type are supported; profiles with XYZ-type spaces are not supported. Therefore, even obtaining better results with XYZ-type color profiles, I had to use cLUT-type profiles. On the other hand, this type of software includes an option called “target” with options for certain standard color profiles. What target does is convert the resulting digitized image from our custom profile to a more or less standard one such as ProPhoto or sRGB. However, when working via TWAIN from Photoshop, the resulting image will be created based on our “Working Space” options in Photoshop’s “Color Settings.” This situation can create a considerable problem because what happens through TWAIN is that the supposed output profile, for example ProPhoto, is replaced by the default one, for example sRGB, causing a significant color deviation since no prior conversion between spaces has been performed.
Obviously, I recommend the reader use the ProPhoto space since, similarly to RAW developments, we obtain images with wider color spaces and therefore with fewer delta-e deviations.
Besides calculating the possible delta-e deviation of our profile on a test image, it is also necessary to do so from one obtained from our scanner software after adjusting the color management options, especially if there are intermediate controls that may induce color deviation during the process.
As we see, the process is quite simple. However, we must still delve into another more interesting and somewhat more complex process, which is the validation of the performance of our color profile.
The validation or performance evaluation process of our color profile is truly essential to know the margin of error with which we work in our digitization processes, whether of negatives, transparencies, or opaques.
This validation process is very similar to proofing or soft proofing evaluation processes in printing since the essence is the use of delta-e (ΔE). The delta-e error is based on the Euclidean distance between two colors; the farther apart they are, the more different they are. However, there is a limit called JND or “just noticeable difference,” beyond which two colors are apparently identical to human vision.
There are various formulas for calculating delta-e; however, the simplest and most commonly used by ISO 12647 and ISO 13655 standards, which deal with quality in graphic processes, is CIE76. According to this calculation, there is a table we must keep in mind to evaluate the quality of our process and particularly to assess the difference between two colors:
- ΔE 0-2 Perfect
- ΔE 2-4 Good
- ΔE 4-6 Acceptable
- ΔE 6-9 Fair
- ΔE 9 Unacceptable
In general, we can say that 3 is usually a value that, generalizing, we can use as the minimum value for two colors to appear identical to the human eye. The further our delta deviates above 3, the more different our color is.
Although the delta-e CIE76 formula is simple, performing calculations for the 286 patches of our IT8 or the 24 of the Colorchecker is somewhat tedious.
For delta-e studies, we can use a small script I released some time ago for Colorchecker and Photoshop, but if possible, I recommend downloading the program FRAME, which I find ideal for these processes.
FRAME will compare the LAB values of our test image with their reference values and provide us with a considerable amount of highly interesting statistics.
The process is simple: on the test image resulting from our digitization, whether the IT8, the Colorchecker, or a Q13, without any adjustment, or on our secondary color chart, we assign the resulting color profile. This way, we have our compensated image. If we use Colorchecker and my script, we can proceed with the delta-e calculation; however, if we are going to use FRAME, we must first convert our image to the ProPhoto color space. The reason for this process is that FRAME does not consider our color profile but uses standard color spaces such as sRGB, AdobeRGB, or ProPhoto. Therefore, we must have our test image in the same color space as the preferences of our FRAME. We must also load our reference file through the File menu, and if we work with IT8, specify in preferences which columns of our IT8 we want to use: RGB, CMYK, HSL, or all.
It is advisable to keep in mind that our reference files, whether generic or calculated by ourselves, usually contain a certain delta-e, which in the best case may be around 0.5 but can often reach up to 1.5, and even higher if our color chart is somewhat aged.
With all these parameters perfectly adjusted, we can now review our test image through the Color Accuracy option. This option will open two windows: one with an XYZ color space showing the deviation of the colors in our test image relative to the reference values of our chart, and at the bottom, we can see a summary of the average (Average) delta-e value from the different formulas.
In the column corresponding to CIE76, we should aim to have a value below 4, with approximately 5 being the maximum error limit we should tolerate.
The reason for using more than one color chart for validation or delta calculation processes is to have the maximum number of elements on which to perform delta-e calculations and to have a more precise view of how our scanner is working.
Having a properly profiled scanner is very useful for achieving high levels of fidelity in our digitization processes, particularly if we work with digitization and reproduction of artworks or historical documents, where the responsibility for accurate color reproduction and documentation is very high. We must consider that with a scanner profiled with delta values below 3, we can affirm that the digital reproduction we are making of our document has a fairly high degree of reliability, if not identical, in terms of human vision.
