# Patent

## Title
Color management system

## Abstract

A system for efficiently converting computer graphics images to film images with accurate color management is described. The system involves the creation of a direct mapping of chromaticity and intensity data from the values used to generate images on a computer monitor to the values used to display the images on projected motion picture film.

## Background
This application is a continuation of U.S patent application Ser. No. 10/699,561, filed Oct. 30, 2003, now U.S. Pat. No. 6,895,110, entitled “color management system”, which is in turn, a continuation of U.S patent application Ser. No. 09/182,070, filed Oct. 29, 1998, now U.S. Pat. No. 6,697,519, entitled “color management system”.


FIELD OF THE INVENTION
The present invention relates to digital film production and, more particularly, to techniques for efficiently and accurately converting color computer graphics images to film images.
BACKGROUND OF THE INVENTION
When creating a computer-animated motion picture, the animation team uses computers to create, view, and manipulate images used in the motion picture. The animation team makes judgments concerning the desired appearance of the images, and manipulates the images, based on how the images appear when displayed on the computer monitors.
The motion picture ultimately will be displayed to a theater audience using conventional motion picture film and projectors. Accordingly, the image data stored on computer must be converted into film images for projection in a theater.
Digital film recorders are used to convert the original, computer-generated images created by the animation team into images on photosensitive motion picture film. Conventional digital film recorders use a light source (such as a laser) to expose each frame of the film as necessary to produce the desired image in the frame. The film is then advanced to the next frame and the process is repeated. When a strip of film has been recorded, it is sent to a laboratory for development into a color negative and, ultimately, a positive print.
To create high quality computer-generated films, film producers must make certain that the ultimate appearance of the motion picture that is projected and viewed by an audience matches the appearance desired by the creative team. The color of each location on the exposed film should match, as closely as possible, the color of the corresponding picture element (“pixel”) on the display device used by the artist who created the image. To produce a visually accurate color image using a digital film recorder, the locations on a frame of film that correspond to each pixel of an image must be exposed precisely. The calculation of this exposure (for each primary component, red, green and blue) depends on the nature of the source and the characteristics of the film used.
Producing a film image that corresponds visually to the original image created and/or stored on a computer is not as straightforward as it might initially appear. Difficulties arise because the color densities produced on a film generally do not correspond linearly to the RGB color values that displayed on the computer monitor. The color densities actually produced on the film are affected by a variety of factors, including chemical characteristics of the film itself. For example, due to chemical characteristics of the film, the density of a particular color produced on the film by a beam of light generally will not vary linearly with the intensity of light used to expose the film for a given time duration. Temperature, film type, characteristics of a light source used in the recorder and noise generated by the system can affect the color density values actually produced.
Similarly, the stored value used to produce a particular measured density for one color component in a neutral tone generally will not produce the same measured density in color. For example, if the combination of red, green and blue code values X1, Y1 and Z1 produce measured red, green and blue densities R1, G1, and B1, then the red code value X1 used in combination with different green and blue code values (i.e., Y2 and Z2) generally will not produce the density R1.
The monitor itself has nonlinear characteristics. The well-known gamma correction process is used to correct for nonlinearities in specific monitors. Nevertheless, even a monitor's characteristics tend to degrade over time. Monitors operate in RGB color spaces in which colors are created by mixing proportions of Red, Green and Blue light. Monitors from different suppliers may use different phosphors and an individual monitor itself will age. This is equivalent to different or gradually changing color spaces. All of these problems and complexities suggest to those skilled in the field the complex color management schemes necessary.
Another problem is that the film cannot reproduce all the colors reproducible on the monitor (the converse is also true, but less important since we're only trying to mimic the monitor). This phenomenon is referred to as “gamut mismatch”, and treating such cases in a consistent manner is difficult. One approach would be to take all the colors that are outside the film's gamut and map them to the closest (in some sense) point on the surface of the film's gamut. Colors which are inside the gamut to start with would be left alone. This approach, however, results in abrupt color changes which result in banding artifacts in the final image.
Industry literature generally teaches that solutions to the above-described problems must be complex. “Historically, managing color has been a very time consuming and costly process in the printing, prepress, and film industries”. Has & Newman, Color Management: Current Practice and The Adoption of a New Standard. “Color is an immensely complex subject, one that draws on concepts and results from physics, physiology, psychology, art, and graphic design. The color of an object depends not only on the object itself, but also on the light source illuminating it, on the color of the surrounding area, and on the human visual system”. See Foley and Van Dam, Computer Graphics Principles and Practice (Second Edition 1996).
In accordance with such theory, conventional approaches to producing color images on film that match the originally created computer graphics images have been complex. For example, some conventional approaches involve the use of complex models of the film development process to change the primary color component values derived from the computer graphics images into values that will produce a similar visual result on film. Other conventional approaches arrive (by trial and error and much manual tweaking) at a transfer curve for each channel such that the colors on the screen look acceptable. Such methods do not allow for fine-grained, color-by-color matching. In any event, it is generally understood that brightness, or intensity, values that are used in connection with the display of images on a computer screen cannot be converted to the film media, as they are irrelevant to the visual perception of the film in the theater environment. In the theater environment, so the reasoning goes, the psychophysical perception of various colors by the audience is affected by the darkness of the theater and numerous other subtle factors that are difficult or impossible to account for in advance. It is generally understood that the intensity value of each color component must be determined by visual inspection in the new medium (i.e., the film projected in a theater environment).
Conventional approaches to dealing with the above matter typically address the reproduction of color on print media, which cannot reproduce colors as well as monitors can. Most importantly, the dynamic range (ratio of maximum to minimum brightness values) is substantially lower than that of monitors. Much attention is therefore focused on the problem of compressing the dynamic range. Film, on the other hand, offers a dynamic range that is comparable (or even larger) than that of monitors, an issue which has not been addressed adequately in the literature.
Efficient and accurate techniques for converting color computer graphics images to film images would be highly desirable.
SUMMARY OF THE INVENTION
The present invention involves a color management system for efficiently and accurately converting computer graphics images to film images. In certain embodiments, the system includes at least three steps: determining an RGB-to-XYZ mapping for the monitor; measuring the RGB-to-XYZ mapping applicable to the film recording; and creating an RGB-to-RGB mapping for operating on the image colors displayed on the monitor to create accurate color densities on the film. In many embodiments, each mapping uses color spaces that incorporate both chromaticity and intensity data for each color component.
As will be understood by those skilled in the art based on the present disclosure, a wide variety of embodiments of the present invention exist and fall within the scope of the claims set forth herein. The scope of the present invention is defined by the claims.



BRIEF DESCRIPTION OF THE FIGURES
FIG. 1 shows one embodiment of a digital film production system in connection with which color management according to the present invention is useful.
FIG. 2 shows a series of steps for performing color management according to the present invention.



DETAILED DESCRIPTION OF PREFERRED EMBODIMENT(S)
A diagram of one example of a digital film production system for recording computer-generated images onto motion picture film is illustrated at 10 in FIG. 1. Embodiments of the present invention are useful when performing color management in connection with any conventional film production system, including film production system 10.
In FIG. 1, computer system 102 preferably is a workstation, although any conventional computer system may be used. In addition to other conventional components, computer system 102 comprises a conventional monitor 104 used to view images during the film production process. Creative personnel 101 create, manipulate and modify images on computer system 102, viewing the images on monitor 104 and basing their creative judgements regarding color in part on the appearance of the images when displayed on monitor 104.
After images have been created and modified using computer system 102, the images are printed onto motion picture film using a film recorder 106. Film recorder 106 is a conventional digital film recorder, preferably a laser recorder that exposes film according to specified RGB values. It will be appreciated by those skilled in the art that the present invention is also useful in connection with CRT and EBR (electron beam) recorders.
The recorded filmstrips are then sent to a photographic laboratory (“lab”) 108 for processing. In a conventional manner, the filmstrips are developed to create a negative, which is used to create a positive filmstrip 110.
Filmstrip 110 is then viewed using a conventional motion picture film projector 112.
In the past, in order to address the problem of color management with respect to chromaticity alone, film producers have created a look-up table 113 to convert the color data stored on the computer into color data that can be used by film recorder 106 to expose a strip of film and used complicated models 115 to account for nonlinearities during laboratory processing. The film has then been viewed using projector 112 to determine appropriate intensity levels for each color component for a given motion picture. Certain embodiments of the present invention eliminate the need for such complexity.
In accordance with the present invention, color management is performed in connection with converting the computer graphics images created on computer system 102 to the film images printed on filmstrip 110 that are projected for a viewing audience using projector 112. Certain embodiments of the present invention looks at the system “end-to-end”, from the computer graphics image input to the projected image output, and involve the creation of a monitor-to-film (“MFM”) mapping 120 for the system using color spaces that incorporate both chromaticity and intensity data for each color component.
Color management in accordance with certain embodiments of the present invention involves three main steps, which need not be performed in the order listed below. The first step (step 202) is to determine a first RGB-to-XYZ mapping applicable to the monitor. This first RGB-to-XYZ mapping preferably uses color spaces incorporating both chromaticity and intensity data for each color component.
The XYZ color space is a way of representing color information in device independent terms in a manner that incorporates both intensity and chromaticity data for each color component. The basis of device independent color representation is usually the Commission Internationale De L'Eclairage (“CIE”) XYZ space. It will be apparent to those skilled in the art, based on the present disclosure, that color spaces other than the CIE XYZ space may be used as the XYZ color space for purposes of the present invention.
Certain embodiments of the present invention use an adaptation of the ATD space proposed by Lee Guth. Other embodiments use other perceptually uniform spaces, like CIELab or CIELuv. Those skilled in the art will recognize that the color space in which measurements are made (XYZ) and the computation space (ATD, preferably) are distinct. As will be apparent to those skilled in the art, the choice of computation space is important for the treatment of out-of-gamut colors.
The second step (step 204) is to make appropriate measurements to create a second RGB-to-XYZ mapping applicable to the film recording. The second RGB-to-XYZ mapping preferably uses color spaces incorporating both chromaticity and intensity data for each color component. To accomplish this objective, one records a strip of 1000 frames of flat color patches calculated to span the entire RGB space (10 steps along each axis). Next, one projects these frames on to a screen, and points a spectrophotometer (preferably, a Spectrascan PR-650) at the center of the patch. One reads the spectrum (101 samples in 4 nm steps from 380 to 780 nm), corrects it for the projector bulb spectrum (i.e. divide by test projector spectrum and multiply by theater projector spectrum), and converts to an XYZ triple by integration. (This integration process is well-defined by CIE). One thus obtains a set of 1000 readings, where each reading consists of a pair of triples: the RGB triple used to record the patch, and the resulting XYZ triple. The XYZ values are converted finally to the internal computation space (ATD).
The third step (step 206) is to create an RGB-to-RGB mapping, preferably incorporating both chromaticity and intensity data for each color component, for operating on the image colors displayed on the monitor to create accurate color densities on the projected film.
The present invention also addresses the issue of gamut mismatch. The basic idea is to “pull in” colors along a line connecting the gray (or achromatic) axis and the color to be reproduced. This line intersects both film and monitor gamut surfaces. If the monitor surface intersection is nearer than the film surface intersection, one need do nothing, because all colors along this line are reproducible on film. If not, one smoothly (using a quadratic function) remaps colors along the line such that the monitor surface intersection color is mapped to the film surface intersection color.
Although the present invention has been described in connection with certain specific embodiments, it will be clear to those skilled in the art that the inventive features of the present invention are applicable to other embodiments as well. All of such embodiments are intended to fall within the scope of the present invention.
Based on the present disclosure, those skilled in the art will understand that the present invention has broad applicability in connection with the use of computers during the production or processing of film. For example, embodiments of the present invention are useful in connection with computer generation of entirely synthetic images for 2D or 3D animation. Embodiments of the present invention are also useful in connection with the use of computers to modify live action film, either for touch up or to add special effects.

## Claims

1. A color management method comprises
driving a monitor with a first plurality of input values in a first color space;
determining a first plurality of output values in a second color space for the monitor in response to the first input values in the first color space;
determining a first color space map between the first color space and the second color space in response to the first plurality of input values in the first color space and in response to the first plurality of output values in the second color space;
determining a second plurality of input values in the first color space for a plurality of images;
projecting the plurality of images with a first projector onto a projection screen;
determining a plurality of projected values in response to the plurality of images projected onto the first projection screen;
determining a second plurality of output values in the second color space in response to the plurality of projected values and in response to characteristics of a bulb for a second projector;
determining a second color space map between the first color space and the second color space in response to the second plurality of input values in the first color space for the plurality of images and in response to the second plurality of output values in the second color space; and
determining a color space map from input values in the first color space to modified input values in the first color space in response to the first color space map between the first color space and the second color space and the second color space map between the first color space map and the second color space.

2. The method of claim 1 wherein determining the plurality of projected values comprises using a spectrophotometer.

3. The method of claim 2
wherein determining the plurality of projected values comprises determining a plurality of spectrum values in response to the plurality of images projected onto the first projection screen; and
wherein determining the second plurality of output values comprises:
modifying at least some of the plurality of spectrum values to form a plurality of modified spectrum values in response to a spectrum associated with the bulb for the second projector; and
converting the plurality of modified spectrum values to the second color space.

4. The method of claim 3 wherein a spectrum associated with a bulb for the first projector is different from the spectrum associated with the bulb for the second projector.

5. The method of claim 1
wherein the first color space comprises RGB color space; and
wherein the second color space is selected from the group consisting of: CIE XYZ, ATD, CIE Lab, CIELuv.

6. The method of claim 5 further comprising storing the color space map in a tangible memory.

7. The method of claim 6 further comprising
receiving a plurality of input values in the first color space for a series of images;
modifying the plurality of input values to form a plurality of modified input values in response to the color space map; and
storing a modified series of images in response to the plurality of modified input values.

8. The method of claim 5
wherein determining the color space mapping from input values in the first color space to modified input values in the first color space comprises:
determining a first color gamut in response to the first plurality of output values in the second color space;
determining a second color gamut in response to the second plurality of output values in the second color space; and
reducing a gamut mismatch between the first color gamut and the second color gamut.

9. The method of claim 8 wherein reducing the gamut mismatch comprises:
determining a first color within the first color gamut but not the second color gamut; and
associating the first color to a second color, wherein the second color is within the second color gamut.

10. The method of claim 9 wherein an intensity for the first color is different from an intensity for the second color.

11. A method comprises:
retrieving media comprising a plurality of images; and
projecting the plurality of images with a theater projector onto a theater screen;
wherein the plurality of images are determined in response to a plurality of modified input values in a first color space;
wherein the plurality of modified input values in the first color space are determined in response to a plurality of input values in the first color space and in response to a color space map from the first color space and to the first color space;
wherein the color space map from the first color space to the first color space is determined in response to a first color space map between the first color space and a second colors space and in response to a second color space map between the first color space and the second color space;
wherein the first color space map between the first color space and the second color space is determined in response to a first plurality of input values in the first color space and in response to a first plurality of output values in the second color space;
wherein the first plurality of output values in the second color space is determined from output from a monitor in response to the first plurality of input values in the first color space;
wherein the second color space map between the first color space and the second color space is determined in response to a second plurality of input values in the first color space and in response to a second plurality of output values in the second color space; and
wherein the second plurality of output values in the second color space is determined from output from a projector in response to the second plurality of input values in the first color space.

12. The method of claim 11 wherein the second plurality of output values in the second color space is determined from output from the projector using a spectrophotometer.

13. The method of claim 12
wherein the second plurality of output values in the second color space is determined from output from the projector also in response to a spectrum associated with a bulb of the theater projector.

14. The method of claim 13
wherein the spectrum associated with a bulb for the projector is different from the spectrum associated with the bulb for the theater projector.

15. The method of claim 12
wherein the color space map from the first color space to the first color space is also determined in response to a first color gamut determined in response to the first plurality of output values in the second color space, and in response to a second color gamut determined in response to the second plurality of output values in the second color space.

16. The method of claim 15 wherein the first color gamut and the second color gamut are different.

17. The method of claim 16 wherein a first color within the first color gamut but not the second color gamut is associated with a second color, wherein the second color is within the second color gamut.

18. The method of claim 17 wherein an intensity for the first color is different from an intensity for the second color.

19. The method of claim 16 wherein a first plurality of colors within the first color gamut but not within the second color gamut are smoothly remapped to a second plurality of colors within the second color gamut.

20. The method of claim 11
wherein the first color space comprises RGB color space; and
wherein the second color space is selected from the group consisting of: CIE XYZ, ATD, CIE Lab, CIELuv.