One of the difficulties frequently encountered by professionals who must face projects related, in some way, to color management, such as digitization, documentation, or restoration of photographic or audiovisual material, is the ability to document or transmit a color faithfully, or at least effectively, to other professionals.
To delve into this problem and its possible solutions, we must first be aware of certain determining characteristics for the perception of a color:
- The palette of possible colors is represented by what is known as the CIE spaces. These are three-dimensional spaces where, from a triplet of XYZ-type values, it is possible to locate a particular color. A gamut is an area with particular dimensions within a CIE space and therefore with a particular range or palette of colors.
- Each device capable of capturing or representing a color palette will perform this task based on qualities inherent to its construction or nature.
Each device, therefore, has its own color space or gamut called “device-dependent space” since it is characteristic of that particular device. A device-dependent color space means that the resulting images from that device have a color representation characteristic of that device or space. Device-dependent spaces include, for example, RGB since these values result from the analog-to-digital conversion of devices such as cameras or scanners. - Device-dependent color spaces can be converted into device-independent color spaces through color space conversion operations. The most common independent color space is LAB or CIELAB, based on the human vision model and capable of representing all perceptible colors regardless of the device that generated them. Conversion operations between dependent and independent color spaces are possible thanks to the use of ICC color profiles and the existence of Color Matching Modules, or engines included in our operating systems and graphic tools responsible for performing these conversions based on algorithms provided by the profiles.
- Alongside device-dependent or independent color spaces, we have working color spaces, which are spaces designed to restrict a color range to a standard palette. Examples of working color spaces are sRGB and Adobe RGB, which offer a more or less reduced color gamut to achieve a more or less correct visualization regardless of the device. There are other working color spaces such as Prophoto RGB, which are oriented towards working with practically the entire available color space.
- The perception of a color is an experience conditioned by the environment or viewing conditions under which we observe a particular color. For this reason, there are standards such as ISO 12646 Graphic technology — Displays for colour proofing — Characteristics and viewing conditions or ISO 3664 Graphic technology and photography — Viewing conditions, responsible for defining viewing conditions to minimize errors in the inspection of graphic material.
- The final perception of the color of an image through a digital device is the result of a series of conversions between dependent and independent spaces among the different devices that make up our work environment, along with the viewing conditions of that image.
An important part of the digital color problem is controlled by color profiles in their different varieties and applications; for example, the most interesting types of profiles are:
- Input-type profiles: responsible for converting the device-dependent color space into a device-independent color space. Colloquially, we can say that these profiles interpose between the original image or, in other words, its RGB values and us, performing various conversions that allow us to see the image as it is regardless of the device that created it. As mentioned earlier, the result of this type of profile is a LAB-type color space.
- Display-type profiles: These profiles are intended for working spaces and are generally associated with images intended for electronic viewing and distribution. Under this name, profiles that interpose between the graphics card and our monitor, performing conversions between the RGB values output by it, are also classified.
- Output-type profiles: Responsible for simulating the result of a printer with particular inks and paper. Output profiles do not modify printer characteristics but are used in proofing techniques to anticipate the result of a print.
At this point, we already have some indication that the RGB values of an image are somewhat unreliable since they are subject to the viewing conditions imposed by input or display-type profiles. Thus, it would be more correct to speak of LAB values, as it is the space closest to our vision and independent of the device that generated the image.
However, even speaking of LAB and not RGB, we cannot guarantee a somewhat objective experience of a color. For this, it is necessary to discuss workflows related to color management, which will be responsible for providing some reliability to the perceived colors.
Color management consists of techniques responsible for maintaining color consistency throughout the chain of devices that form our work environment: from reality to our monitor or printer.
For example, a characteristic color management workflow for input devices would be as follows:
1.- Characterization or profiling of a device. Through this process and with the help of a color chart (IT8, Colorchecker, etc.) and ICC color profile creation software, we can create an input-type profile that, when assigned to an image resulting from that device, allows us to create a device-independent color space and thus perceive the colors of that image relatively close to reality.
2.- Optionally convert that device-independent color space into a working space such as sRGB or Adobe RGB if we are going to distribute our image in certain contexts, although it would be better to use Prophoto RGB to preserve the maximum possible gamut.
In these two steps, I have used two terms of some relevance: one has been “assign” a color profile and the other “convert” to a color space.
The first term “assign” allows interposing a color profile between the RGB values of an image and our vision, but this process is reversible, as we can replace that profile with any other without the RGB values of the image suffering alterations, although obviously its final appearance does.
The second term “convert” allows converting an image from a device-independent color space, so it must be an image with a previously assigned input-type profile, to the color space of a display or working profile. In conversion processes, the RGB values of the image approximate those perceived through the LAB space but within the working profile space sRGB, etc. This process is not reversible since there has been a transformation of the original RGB values of the image.
Conversion between spaces can have multiple motivations; however, for the topic at hand, it is interesting when, for example, describing the color of an image in RGB terms, since the result of converting an image to the sRGB standard is an image with RGB values compensated by the action of an input-type profile.
Sample size.
A problem related to color perception is the influence on it of the colors that surround it. When we intend to determine the color of an area of an image, the perception we have of that area is the result of the average, possibly several tens or hundreds of pixels of more or less similar colors.
If we take the color of one of those pixels and decontextualize it, we will probably obtain a color not especially representative of our area or color patch to document. This is what creates the sample size problem: the smaller it is, the less representative it is.
In tools such as Photoshop, it is possible to define the sample size according to the surface of the color patch to be determined, so that the result of that sample is the average of an area of 5×5, 6×6 pixels, etc., creating somewhat more plausible color samples.
Another way to face this problem is to use tools like posterize or pixelate, which create abstractions of our images with summarized tonal ranges.
Process evaluation
When we set out to document a series of colors of a surface through devices such as cameras or scanners, it is necessary to accompany our specimens with properly referenced color charts; this means color charts whose LAB values of their color patches are known, in order to perform an evaluation between the colors obtained in our image and the expected ones through delta-e color difference calculations.
The evaluation of results through color difference calculations, in the style of soft-proofing or hard-proofing procedures, is essential to determine error margins and therefore the quality of our projects.
