首页 / 专利库 / 显示技术 / RGB颜色空间 / Color image reproduction apparatus having a digitally operated look-up table constructed by means of a least squares algorithm

Color image reproduction apparatus having a digitally operated look-up table constructed by means of a least squares algorithm

阅读:973发布:2022-06-02

专利汇可以提供Color image reproduction apparatus having a digitally operated look-up table constructed by means of a least squares algorithm专利检索,专利查询,专利分析的服务。并且Color image reproduction apparatus, including a video monitor and a computer-based workstation, provides for modifying an original color image read from an input film and for writing a reproduced image on an output film. A plurality of digitally operated look-up tables (LUTs), associated with the workstation, serve for transforming original imaging data to a common color space (CIELUV L* u* v*) and for transforming reproduced imaging data to different use-dependent RGB color spaces, e.g. video monitor, output film, etc. Color image values stored in each LUT are altered from exact color image values by means of a least squares algorithm to provide an average error of zero--an unbiased error--for linearly interpolated values derived from each LUT.,下面是Color image reproduction apparatus having a digitally operated look-up table constructed by means of a least squares algorithm专利的具体信息内容。

What is claimed is:1. In imaging apparatus including an input device adapted to produce a multivariate signal representing an input image, a multi-dimensional look-up table storing a set of discrete multivariate signal values and a corresponding set of discrete non-linearly related reproduction signal values representative of useable output image information, and electronic computer means coupling said input device and said look-up table, for linearly interpolating between neighboring multivariate signal values in said look-up table in accordance with an actual multivariate signal provided by said input device, to compute a reproduction signal relating to an output image actually to be used, wherein the improvement comprises:the discrete reproduction signal values in said look-up table are altered by means of a least squares algorithm from exact values defined by the aforementioned non-linear relationship, to cause the average error, in the reproduction signal values computed, to be zero when interpolating between neighboring multivariate signal values in said look-up table.2. In image composition apparatus including a scanner for scanning a photographic film to produce a tristimulous signal representative of colors in the film, a 3-dimensional look-up table storing a set of discrete tristimulous signal values and a corresponding set of discrete reproduction signal values related in a non-linear manner to the set of tristimulous signal values and representative of colorants to be recorded on a particular photosensitive medium, and electronic computer means, coupling said scanner and said look-up table, for linearly interpolating between neighboring tristimulous signal values in said look-up table as a function of an actual tristimulous signal produced by said scanner, to compute a reproduction signal relating colors in the film to colorants actually to be recorded on the photosensitive member, wherein the improvement comprises:the discrete reproduction signal values in said look-up table having respective values that are altered by means of a least squares algorithm from exact values defined by the aforementioned non-linear relationship, to drive the average error, between the reproduction signal values computed and exact reproduction signal values, to zero when interpolating between neighboring tristimulous signal values in said look-up table.

说明书全文

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to transforming one or more independent variables to one or more dependent variables where a closed-form expression for each transform is not adequately known or, if known, is not useable practically due to its complexity. More particularly, the invention relates to color imaging apparatus that employs a least squares algorithm to construct a multi-dimensional look-up table for transforming imaging information between non-linearly related color spaces.

2. Description of the Prior Art

In the following description of relevant background art, reference is made to FIGS. 1(a) and 1(b), of the accompanying drawings, which illustrate a problem associated with interpolating linearly between neighboring values of a digitally operated look-up table defining a non-linear function.

Color image reproduction systems known in the art permit an operator to edit the color and composition of an original image to form a reproduced image. For example, U.S. Pat. No. 4,500,919 discloses an image reproduction system of one type in which an electronic reader scans an original color image, which may be in the form of a transparency or a print, and converts it to an electronic image. A computer workstation and an interactive operator interface, including a video display, permits an operator to edit the image displayed. When the operator has composed a desired image on the video display, the workstation causes an output writer device to make an inked output that is intended to match the reproduced image composed on the video display.

Imaging signals, for example signals corresponding to the primaries red (R), green (G), and blue (B), serve for driving the video display and the output writer devices used in the variety of color image reproduction systems known in the art. Each output imaging device, however, may require its own set of color signals, even though each set corresponds to the same colors, in order to account for differences in the color sensitivities of the different output imaging devices. For example, with a color image reproduction system that employs a film writer as an output device, the RGB color signals that drive the video display may be different from the RGB signals that drive the film writer. Moreover, to facilitate color correction, the computer itself may store color signals in a coordinate system that is device independent and relates to the perceptually relevant dimensions such as the Munsell value, hue, and chroma; the 1976 CIE color spaces CIELAB (L* a* b*) and CIELUV (L* u* v*); etc. Accordingly, the computer workstation is required to manipulate color signals, corresponding to the various images stored, produced and displayed, in a variety of coordinate systems.

In a computational sense, color correction requires the definition of multiple complicated functions in their respective color spaces (device dependent and independent) and the ability to transform or to map a set of color imaging data between one color space and a corresponding set of imaging data in one or more other color spaces. Color correction is a computationally expensive step because the various "color spaces" or coordinate systems used are related as complicated non-linear transformations between multiple variables that in some cases are not all independent of one another.

In more recently developed commercially available color image reproduction systems, color signals have been computer processed in digital form because of the high accuracy, speed, and flexibility that digital color correction can provide. To those ends, U.S. Pat. No. 4,346,402 teaches that color correction can be carried out by means of a digitally operated look-up table, referred to generally hereinafter as a LUT, for transforming color coordinate values from one color space to another color space.

To rival analog processing in flexibility, however, digital color correction must handle large digital data sets defining non-linear transformations. It can be appreciated by those skilled in the color imaging art that a brute-force LUT implementation requiring no on-line calculation for mapping from one color space to another would be prohibitive in computer storage space because, even with modern day memory devices, the number of data storage cells cannot be increased indefinitely.

One way to reduce the storage space that a LUT requires is to reduce the amount of data used to define a given color space and to provide on-line digital processing that linearly interpolates between adjacent data points (nodes) of the LUT. A piece-wise linear interpolation procedure, however, only approximates a higher-order non-linear function of the kind descriptive of color spaces actually employed.

FIG. 1(a), for example, shows an error (ε) between the actual values of a non-linear function and corresponding linearly interpolated values; more specifically, FIG. 1(b) illustrates an error, over the interval x=0 to x=1, between actual values of the cubic function, x3, and linearly interpolated values derived from a LUT defining the cubic at equally spaced nodes x={0, 0.2, 0.4, 0.6, 0.8, 1.0}. Although the error is zero at each node, it has local maxima at points midway between adjacent nodes and is always negative at points between the nodes. In other words, an error, defined by the difference between actual values of a non-linear function and linearly interpolated values derived from the LUT, is biased.

SUMMARY OF THE INVENTION

In view of the foregoing, an object of the invention is to construct, for color image reproduction apparatus, a digitally operated look-up table (LUT) in which recorded table values, representative of useable image information in a given color space, provide an average error of zero (unbiased) for linearly interpolated image values in that color space. This object is achieved by recording table values that are altered from exact image values by means of a least squares algorithm.

For a LUT of a given size (number of recorded values) derived via a least squares algorithm, image values are more accurate in the sense that, in the aggregate, the average error between an exact image value and a value derived from the LUT, is zero. In other words, a more accurate piece-wise linear approximation to a continuous non-linear function has been achieved, without resorting to increasing LUT capacity.

This advantage, as well as other advantages of the invention, will become more apparent in the detailed description of a preferred embodiment presented below.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be described with reference to the accompanying drawings, wherein:

FIGS. 1(a) and 1(b) are graphs illustrating a disadvantage of a digitally operated look-up table (LUT) constructed according to the prior art;

FIGS. 2(a) and 2(b) are graphs, similar to FIGS. 1(a) and 1(b), illustrating improved performance of a digitally operated LUT constructed in accordance with the present invention;

FIG. 3 illustrates the use of one of more LUTs for transforming image data in one color space to data representing the same image in a different color space;

FIG. 4 illustrates a 3-dimensional LUT;

FIG. 5 illustrates a single cell of a 3-dimensional LUT;

FIG. 6 is a block diagram of color imaging apparatus that utilizes multiple LUTs, constructed in accordance with the invention, for transforming digital color image data between multiple color spaces; and

FIG. 7 is a flowchart illustrating the construction of a LUT by means of a least squares algorithm.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT

An object of the invention is to construct a digitally operated look-up table (LUT) in which recorded table values, for effecting a multivariate non-linear transformation, provide an unbiased error for linearly interpolated values. By way of example, and without limitation, FIG. 2(a) illustrates generally an unbiased error between actual values of a non-linear function and corresponding linearly interpolated values derived from a discrete representation of the same function; FIG. 2(b) is a plot of an unbiased error for dependent values derived from a LUT storing the aforementioned cubic function y=x3, at x=0, 0.2, 0.4, 0.6, 0.8, and 1.0. Both FIGS. 2(a) and 2(b) illustrate that the errors (the difference between true values for the non-linear function and corresponding linearly interpolated values) are now both positive and negative. For that to be the case, FIG. 2(b) also shows that the nodal values for the dependent variable y (the table values for y over the interval x=0 to x=1) are altered from the true values (defined by y=x3).

Since it will be useful later on in describing a least squares algorithm used, in accordance with the invention, for modifying the dependent nodal values to produce an unbiased error, consideration will first be given to the way in which linear interpolation is achieved. To that end, consider generally a simple one-dimensional LUT with nodes xi for the independent variable and nodes bi for corresponding values of the dependent variable, where i is a positive integer 1, 2, 3, -----.

Interpolation is a simple matter of determining within which cell of a LUT a particular value, xp, for the independent variable falls, e.g. xj ≦xp ≦xj+1. The term "cell" as used herein shall mean and refer to the "region" between and including an adjacent pair of nodes for the independent variable, e.g. (xi-1, xi), (xi, xi+1), etc.

The extent to which xp "penetrates" its resident cell, denoted sp, is computed from:

sp =(xp -xj)/(xj+1 -xj)

A linear interpolation, to find the dependent variable yp corresponding to xp, is computed from:

yp =bj +(bj+1 -bj)sp or

yp =(1-sp)bj +sp bj+1 

where bj is the nodal value from the LUT for the dependent variable corresponding to xj.

Accordingly, interpolation within a cell of a one-dimensional LUT is simply a linear combination of nodal values of the LUT defining the boundary for that cell, the node at the right boundary of the cell being weighted by the "depth-of-penetration" sp and the node at the left boundary being weighted by (1-sp).

The technique of linear least squares serves to generate a LUT in which the dependent variable of the LUT, when interpolating between neighboring dependent values in the table, has an average error of zero. To that end, the problem under consideration, i.e. generating an "unbiased" LUT, can be modeled in the linear form

Y=Sβ+ε

where

Y is an (n×l) vector of known observations of the dependent variable,

βis a (w×l) vector of the independent variable,

S is an (n×w) matrix representing the penetration of the w values of the independent variable into their corresponding cells, and

εis an (n×l) error vector.

The error sum of squares can be written as: ##EQU1## since β'S'Y=Y'Sβ.

The least squares estimate of β is the value of a vector b, which when substituted for the vector β (or β') in the above equation, minimizes ε'·ε. The vector b is determined by differentiating ε'·ε with respect to β, and setting the resultant matrix equation equal to zero.

In mathematical form, ##EQU2## since S'Sβ and β'S'S are equivalent. Substituting the vector b for β leads to the normal equations ##EQU3##

The elements of b are linear functions of the dependent observations y1, y2, --- yn and provide unbiased estimates of the (w×l) vector of independent parameters β.

The technique of linear least squares, in accordance with the invention, is illustrated by way of example for a simple one-dimensional LUT. To that end, a LUT having independent nodes at x={0.0, 0.2, 0.4, 0.6, 0.8, 1.0} is to be built for the underlying function y=x3. The values for the corresponding dependent nodes are to provide an unbiased estimate for linearly interpolated values.

For this purpose, data are needed relating the dependent variable y to the independent variable x. In this case, the function is known so that data relating the independent and dependent variables can be computed simply and directly from y=x3. (If this hypothetical problem concerned an unknown function, for example determining the functional relationship between two different color spaces, corresponding data representing input and output color spaces would be derived empirically from color test strips.)

Assume that the following ten (x, y) pairs of data are generated:

______________________________________   x    y = x3______________________________________   0.03 0.000027   0.09 0.000729   0.22 0.010648   0.26 0.017576   0.32 0.032768   0.40 0.064000   0.57 0.185193   0.70 0.343000   0.88 0.681472   0.92 0.778688______________________________________

In other words, Y, the (n×l) vector of observations, consists of n=ten (10) observations.

Relating the ten corresponding observations of x to the six independent nodes selected for the LUT, e.g. x=0, 0.2, 0.4, 06, 08, 1.0, the matrix S, corresponding to the aforementioned cell "penetration", is calculated to be of the form: ##EQU4##

Knowing S and Y, the vector b, the least squares estimates for the dependent variable bi corresponding to xi =0, 0.2, 0.4, 0.6, 0.8, 1.0, is computed from equation (1) and is found to be:

______________________________________xi      bi y(xi) = x3______________________________________0.0          0.00013 0.00.2          0.00148 0.0080.4          0.05824 0.0640.6          0.20695 0.2160.8          0.48093 0.5121.0          0.97876 1.0______________________________________

The true values of the cubic x3 are included in the third column for comparison with the corresponding values of bi. Note that the dependent variable bi has values that are different from the exact values for the cubic.

The above dependent parameters bi, obtained by least squares of ten pairs of data points, tend to provide an average error of zero (FIGS. 2(a) and 2(b)) when interpolating between neighboring dependent values. In actuality, many additional pairs of data points would generally be used, thus resulting in an overall error that is more clearly unbiased.

In a preferred embodiment of the invention, a LUT functions to transform a set of color imaging data (multiple independent variables) in one color space to a corresponding set of color imaging data (multiple dependent variables) in a different color space. For example, by mixing three sources (independent variables)--a red, a green, and a blue--almost any spectrum color (dependent variable) can be obtained. FIG. 3 shows, for example, that by means of multiple LUTs, input signals corresponding to R, G, B can be transformed mathematically to arrive at CIELUV output signals L*, u*, and v*.

It will be understood by those skilled in the art, however, that the number of independent variables need not be the same as the number of dependent variables. It will also be understood that multiple LUTs can be used in the reverse direction to transform input signals corresponding to L*, u*, and v* to output signals corresponding to R, G, and B.

As referred to previously herein, the specifications for patches of material in a given color space (device independent or dependent) are commonly derived via measurement and calculation using color test strips. Having the specifications for an input color space, for example RGB, and corresponding specifications for an output color space, for example CIELUV (L* u* v*), the transform or functional relationship between the two color spaces can then be defined. There is a variety of publications relating to the transforming of imaging data in one color space to imaging data in another color space. See, for example, THE REPRODUCTION OF COLOUR IN PHOTOGRAPHY, PRINTING AND TELEVISION, R. W. G. Hunt, published 1987 by Fountain Press.

When mapping between multivariant functions, the case for transforming between color spaces, individual cells of a LUT may be viewed as a multi-dimensional grid, the number of dimensions being equal to the number of independent variables. FIG. 4, for example, shows a 3-dimensional grid, with four nodes or addresses for each dimension. Each address in the grid has associated with it a triplet of numbers (64 triplets for a 4x4x4 grid) representing a particular combination of independent function values, for example red (R), green (G), and blue (B) transmittance values. Similarly, each address in the grid has associated with a value for a particular dependent variable--L*, u* or v* for the CIELUV color space. Alternatively, each address in the grid may have associated with it multiple values representing a like multiple of dependent values of the LUT, for example, L*, u* and v*. In the latter case, the transformation of RGB to L*, u*, v* (FIG. 3) could be represented by a single LUT.

The use of a multi-dimensional LUT is much the same as described previously for a one-dimensional LUT. For a three-dimenisonal LUT, linear interpolation is accomplished, as before, by first determining the cell of the LUT in which the value of each independent variable resides, e.g.

Ri ≦RP ≦Ri+1 

Gj ≦GP ≦Gj+1 

Bk ≦BP ≦Bk+1 

For each independent variable, the depth of cell penetration, Sp, is computed as before:

SRP =(RP -Ri)/(Ri+1 -Ri)

SGP =(GP -Gj)/(Gj+1 Gj)

SBP =(BP -Bk)/(Bk+1 -Bk)

FIG. 5 illustrates that a resident cell of a 3-dimensional LUT--the cell containing each of the three values of a given triplet--may be normalized, and, in so doing, defined at its eight corners by b111, b211, ---b222. A linear interpolation to find, for example the dependent variable LP * (or uP * or vP *), corresponding to the independent variables RP, GP, BP, is computed from: ##EQU5##

Note SRP, SGP, and SBP all lie, as with a 1-dimensional LUT, between 0 and 1, and thereby (1-SRP), etc. also always fall within the interval 0 to 1. Accordingly, except for the additional terms, an S matrix for a multi-dimensional case is constructed in a manner similar to that of a 1-dimensional LUT.

For the general case of constructing a 3-dimensional LUT for transforming RGB to a different color space, the 2-dimensional matrix S is of a size

n×(mR mG mB)

where

n is the number of corresponding pairs of known observations between RGB and a dependent variable RGB is to be transformed to, and

mR, mG, and mB are the number of addresses of the LUT selected for R, G, and B, respectively.

FIG. 6 shows, in block diagram form, color imaging apparatus 30 that permits an operator to edit the color and composition of an original photographic image to produce an aesthetically modified image. To that end, the imaging apparatus 30 employs a variety of LUTs, constructed in accordance with the teachings of the present invention, for transforming image data in one color space to data representing the same image in a different color space.

An image scanner 32, having a light source 34 defining preferably a line of diffuse illumination, serves for scanning an image on a sheet of photographic film 36. For that purpose, the film 36 is mounted on a movable drum table or the like (not shown) for stepwise movement in a line scan direction, preferably under the influence of a stepper motor (also not shown).

A charge coupled device (CCD) linear image sensor 38, arranged to receive a line of light modulated in accordance with the film image, includes an overlay comprising three parallel arrays of color filters--red (R), green (G), and blue (B). This "tri-linear" image sensor 38 further includes three corresponding parallel output registers which are coupled, respectively, to an output of one of the color filter arrays. Thus, the output of one of the registers corresponds to an R video signal, a second register to a G video signal, and the third register to a B video signal.

Clock generating electronics 40 serves to control the CCD sensor 38 and to process its output signals to produce in a known manner a high-resolution video signal corresponding to the film image. The clock generating electronics 40 applies R, G, and B signals in digital form to a microprocessor-based workstation 46 for subsequent operations, such as editing the image and to provide a composite video signal for displaying the reproduced image on a video monitor 48.

A tri-linear image sensor array and corresponding clock generating electronics of the type disclosed herein are the subject of U.S. Pat. No. 4,278,995 entitled COLOR LINE SENSOR FOR USE IN FILM SCANNING APPARATUS, assigned to the assignee of this invention and the disclosure of which is incorporated herein by reference.

The microprocessor-based workstation 46 enables an operator to modify (color and/or composition) the digital signal image. To that end, the video monitor 48, which includes a frame store and a digital to analog (D/A) converter, serves to display an image corresponding to R" G" B" signals provided by the workstation 46. Operator control apparatus 52, preferably including a keyboard and a mouse or tablet, enables an operator to interact with the workstation 46 to provide input information such as film type and film size and to provide image-manipulation commands pertinent to modifying the image displayed. An interactive workstation of this general type may be obtained from Sun Microsystems Inc., Mountain View, Ca.

The workstation 46 preferably stores a representation of the image in a perceptually based color space. The aforementioned CIE 1976 (L* u* v*) color space, commonly called CIELUV, is suitable for that purpose.

The workstation 46 also has available to it color imaging data in R' G' B' space for driving a film writer 54 which preferably is of the type disclosed in U.S. Pat. No. 4,631,551, assigned to the assignee of the present invention.

For accomplishing its functions, the workstation 46 has associated with it a bank of storage devices 56 that individually serve as a digitally operated LUT for transforming image data in one color space to data representing the same image in a different color space. A first LUT 56a, for example, serves to transform original RGB image data, generated by the image sensor 38, to CIELUV image data; LUTs 56b and 56c function, respectively, to transform CIELUV data to RGB video and RGB writer data, in accordance with the sensitivities of the monitor 48 and the writer 54 to their respective drive signals. A LUT 56d serves to transform CIELUV data to RGB space.

The transformations to be made are each a function of the particular photographic film employed (the film type read by the scanner 32 and the film type written onto by the writer 54). Accordingly, additional LUTs, only one of which is shown in phantom, are provided for each film type employed for converting from the appropriate RGB color space to CIELUV or vice versa.

To convert image data into a desired color space, the workstation 46, by means of a LUT select line 58, retrieves "transform" data from the appropriate LUT. One or more processing devices, denoted by a microprocessor 60, perform, under program control, both logic operations to retrieve data values from the correct addresses of the LUT selected and arithmetic operations for linear interpolation on the values retrieved.

When a desired image has been composed on the video monitor 48, an operator may make a machine-readable record of the image composed. To that end, a peripheral storage device 62, such as a magnetic tape or magnetic disk, functions to record image-bearing signals, preferably in CIELUV space, corresponding to the final image composed.

LUTs, in accordance with the present invention, are constructed "off-line", as part of the manufacturing and assembly of a presently preferred embodiment of color imaging apparatus. To that end, a solid state read-only memory (ROM) or a magnetic disk serves as a suitable storage device for each LUT constructed.

There are two factors to be considered initially in the construction of a LUT of a given capacity. The first concerns the space between neighboring values of a given variable. The number of nodes (or cells) actually used, i.e. LUT capacity, is determined, among other things, by the accuracy requirement of the LUT and the storage space available.

A second factor in the construction of a LUT is the values to be assigned to each dependent variable based on the values of the independent variables selected. FIG. 7 illustrates generally, in flowchart from the manner in which a linear least squares algorithm is employed in computing the values for the set of dependent variables to be entered into each LUT.

First, the number of independent nodes and the signal values for such nodes are selected. A particular advantage of my invention is that the values selected for a given independent variable need not be equally spaced. Accordingly, in regions where a dependent variable is changing more rapidly with changes in a given independent variable, the spacing between adjacent nodes can be smaller to reduce localized interpolation errors.

FIG. 7 also shows that the functional relationship between two color spaces is determined by using laboratory test data. For example, a densitometer functions for reading R, G, and B density values from color test strips; spectrophotometric methods, known in the art, serve to provide the data needed to calculate corresponding L*, u*, and v* values. Generally, the larger the set of off-line data values, the greater the accuracy of the LUT to be constructed.

After the off-line data relating different color spaces are correlated, the aforementioned S matrix is computed, based on the node values selected for each independent variable; then, corresponding node values for each dependent variable are computed, as a function of the S matrix and the matrix Y of observations (test data) of the dependent variable, e.g. (S'S)-' S'Y.

The invention has been described in detail with reference to the figures; however, it will be appreciated that variations and modifications are possible within the spirit and scope of the invention.

高效检索全球专利

专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。

我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。

申请试用

分析报告

专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。

申请试用

QQ群二维码
意见反馈