The present disclosure is generally related to the field of color characterization for color rendering devices or systems such as image/text printing or display systems and/or for color characterization of toner, ink, paint or other color marking material design processes. Characterizing the underlying mapping (forward transform) from a printer or display's internal color space (e.g., CMY, CMYK, etc.) or of a material design process space (e.g., mixture ratios of pigments, colorants, surfactants, magnetic materials, carriers, or other constituent components that affect color) to a perceived print-out/display color space (e.g., La*b* or other color spectrum) is important to achieving color consistency within and across color reproduction devices and marking material production processes. In practice, this color mapping varies from device to device and from process to process, and varies over time in a single device, due to physical conditions such as temperature, humidity, inks or other marking materials, printed media type (e.g., paper stock type, thickness), component wear and tear, and manufacturing tolerances associated with the reproduction devices. In printers or display devices, moreover, the forward color mapping characterization facilitates adjustments in the rendering process via control algorithms to adjust individual devices in order to achieve color consistency across product lines and over time. Color mapping transforms or models can be assessed in terms of accuracy with respect to human perceptions of color or another metric. The DeltaE2000 (dE2K) metric is one such scoring function or error metric for evaluating the accuracy of color models used in characterizing printing and display devices or color marking material design processes. However, the dE2K metric has a very complicated functional representation, whereby conventional color device or design process characterization methods do not directly use dE2K or other more accurate metrics in model generation.
Methods and systems are provided for characterizing a color rendering system or a color marking material design process or display process by generating parameters of a forward color transform at least partially according to an input characterization data set and a measured characterization data set to map color from a first color space to a second color space using a weighted least squares minimization of an error metric that is weighted according to a Taylor series expansion of the error metric.
In accordance with various aspects of the present disclosure, a method is provided for characterizing a color rendering system or a color marking material design process. The method includes producing test images according to an input characterization data set of a first color space (e.g., C, M, Y; C, M, Y, K; RGB; XYZ; process colorant pigment mix ratios; etc.) using the color rendering system or color marking material design process, and measuring the test images to generate a measured characterization data set in a second color space (e.g., CIELAB) that represents measurements of observed color values. The test images in certain embodiments are produced using a color rendering system such as a printer, display, etc., and the forward color transform maps color from the first color space associated with an internal color representation of the color rendering system into the second color space. In other embodiments, the test images are produced using materials created according to a color marking material design process (e.g., toner design, ink design, paint mixing, etc.), and the forward color transform maps color from the first color space associated with an internal color representation of the color marking material design process into the second color space. Using a processor, forward color transform parameters are computed or generated for a forward color transform that maps color from the first color space into the second color space using a least squares minimization of an error metric weighted according to a Taylor series expansion of the error metric at least partially according to the input characterization data set and the measured characterization data set.
In certain embodiments, the error metric is a twice differentiable error metric in which the distance from any point to itself is zero and the first derivative of the error metric at zero distance from any point is zero, for example, the DeltaE2000 (dE2K) error metric.
In certain embodiments, the error metric is weighted according to a second gradient (Hessian) of the dE2K error metric evaluated at each point in the input characterization data set. These quantities can also be approximated using any one of a number numerical differentiation techniques.
In certain C, M, Y, K embodiments, moreover, forward color transform parameters ΘL, Θa, and Θb are computed for a forward color transform ƒΘ(cmyk) using a weighted least squares minimization of the following equation:
where cmyki are data points of the input characterization data set, Labi are data points of the measured characterization data set, and Q1/2(Labi) is an error metric weighting determined according to a Taylor series expansion of the dE2K error metric. In certain embodiments, Q1/2(Labi) is the second derivative matrix ∇dE2Ki(Labi) of the dE2K error metric. These may be approximated using one or more numerical differentiation techniques, for example, with approximations computed numerically using the following equations:
where Labi are data points in the measured characterization data set, h is a small positive number (e.g., 1 in exemplary implementations), and Θi are unit vectors in the second color space (La*b*-space).
In accordance with further aspects of the disclosure, a system is provided for characterizing a color rendering system or a color marking material design process. The system includes a processor that computes forward color transform parameters for a forward color transform that maps color from a first color space associated with an internal color representation of the color rendering system or the color marking material design process into a second color space using a least squares minimization of an error metric weighted according to a Taylor series expansion of the error metric at least partially according to an input characterization data set of a first color space and a measured characterization data set in a second color space representing measurements of observed color values. In certain embodiments, characterization system is integrated in the color rendering system.
The present subject matter may take form in various components and arrangements of components, and in various steps and arrangements of steps. The drawings are only for purposes of illustrating preferred embodiments and are not to be construed as limiting the subject matter.
Referring now to the drawings, the disclosure provides techniques to facilitate use of the DeltaE2000 and other metrics more directly in the color model computation phase for printers/displays/material design processes using weights obtained from a second order Taylor expansion of the metric to provide local quadratic approximations to the dE2K function or other metric. The approximations can then be used to construct a weighted least squares problem, which more accurately captures the spatial inhomogeneity of the dE2K function while circumventing the functional complexity of the dE2K metric by doing the differentiation numerically. Preliminary studies show that color models computed with this technique are 5-10% more accurate than conventional techniques and larger accuracy gains are believed to be possible particularly if implemented as part of a multicell method.
Referring initially to
Unfortunately, the dE2K metric has a very complicated functional representation, rendering it difficult for analytical manipulation. As a result, most of the current models in use today do not use the dE2K metric explicitly in the computation of their color model parameters. Instead, standard metrics, such as the Euclidean or Max metrics, are used in the design computations and, only afterwards, the scoring of model error performance is done with dE2K.
Referring now to
The device/system characterization process 10 in
In certain embodiments, the error metric is a twice differentiable error metric, where the distance from any point to itself is zero for the error metric, and where the first derivative of the error metric at zero distance from any point is zero, such as the DeltaE2000 dE2K error metric. In computing the parameters of the transform at 18, the error metric in certain embodiments is weighted according to a Hessian of the dE2K error metric evaluated at each point in the input characterization data set 122a. If the error metric f is difficult to differentiate analytically, the gradient and Hessian may be computed using one or more numerical techniques, for example, using the following equations:
where x are the data points in the second color space in the measured characterization data set 122b, h is integer small positive number, and Θi are unit vectors in the second color space.
In an exemplary CMYK embodiment, forward color transform parameters ΘL, Θa, and Θb are computed for the forward color transform ƒΘ(cmyk) 125 using a weighted least squares minimization of the following equation:
where cmyki are data points of the input characterization data set 122a, Labi are data points of the measured characterization data set 122b, and Q1/2(Lab) is an error metric weighting determined according to a Taylor series expansion of the dE2K error metric. In this embodiment, the weighting Q1/2 (Labi) is the second derivative matrix ∇2 dE2Ki(Labi) of the dE2K error metric. These can be approximated numerically using the following equations:
where Labi are data points, in the measured characterization data set 122b, h is a small positive number (e.g., 1 in certain examples), and Θi are the unit vectors ΘL, Θa, Θb, in the second color space, ie, the La*b* space.
Referring again to
As shown in
Referring to
The second order Taylor expansion of a function gives a locally quadratic approximation of that function. For a twice differentiable function ƒ which maps points xεRn to R, the second order Taylor expansion of ƒ about a point xo given by the following equation (1):
where ∇ƒ(x0) and ∇2ƒ(x0) are, respectively, the gradient and the second derivative matrix (Hessian matrix) at x0 as seen in the following equations (2):
If ƒ is difficult to differentiate analytically, then the gradient and the Hessian can be approximated in the Taylor expansion using the following numerical approximations in equations (3) for the partials:
where ei the ith unit vector and h>0 is some sufficiently small number.
The color printer systems 100, 200 above can be viewed as a device which maps a digital input C, M, Y, K first color space into the physical output La*b* second color space. Computing a parameterized printer model from given input/output data is the process of finding a parametrized function which captures the printer mapping as closely as possible. Denoting ƒΘ(cmyk) as a parametrized forward transform function or model, Θ=(θ1, . . . , θn)εRn is a vector of parameters, where ƒΘ: R4R3, and ƒΘ: (cmyk)(Lab). In this case, ƒΘ: R4R3 has three components:
where each of ƒΘ,L, ƒΘ,a, ƒΘ,b maps R4, R1, and L, a, and b can be characterized separately as functions of CMYK values. The present disclosure addresses linearly parametrized models which can be computed using efficient least-squares methods. For example, if ƒΘ(cmyk) is an nth order polynomial parametrization, then Θ would be the coefficients and
where R(cmyk)=[I3ρ(cmyk)T] and Θ=(ΘL, Θa, Θb), and ρ(cmyk) is a vector of all possible products of the cmyk values that appear in an nth order polynomial. Given input/output data {(cmyki, Labi)}i=1N, where cmykiεR4 and LabiεR3, a printer model computation problem becomes finding Θ=(ΘL, Θa, Θb) which solves the following equation (4):
In this regard, ΘL or Θa or Θb can be written as a vector row of cmyk times the ΘL or times the Θa or times the Θb, and can be represented as some R matrix times which is the stacked ΘL Θa Θb, where the R matrix replicates that row matrix three times so that multiplying R by Θ yields fΘ(cmyk). However, because of the computational intractability of the dE2K formula, most methods to date instead solve a surrogate problem which, in the case of linearly parametrized ƒΘ, can be solved efficiently using least squares as shown in equation (5):
The present disclosure involves application of a numerical second order Taylor expansion idea to the dE2K metric, to obtain a more accurate surrogate problem. The new surrogate is still a least squares problem, but uses a weighting that is explicitly derived from the dE2K metric, thus giving a better approximation to (4). In this regard, the dE2K metric is symmetric, in the sense that dE2K(Labi, Labj)=dE2K(Labj, Labi), and thus can be rewritten as:
where δLab=Labj−Labi. Applying a second order Taylor expansion formula, yields the following equation (6):
In this formulation, it is noted that dE2Ki(Labi)=dE2K(Labi, Labi)=0, since the dE2K distance of any La*b* to itself is zero, and ∇dE2Ki(Labi)=0 because the function dE2Ki(Labi) attains its minimum (zero), therefore its gradient must be zero at that point (e.g., local minima or local maxima). As a result, the second order Taylor expansion of equation (6) simplifies to a pure quadratic in equation (7):
where Q(Labi):=[∇2dE2Ki((Labi)]. Due to the complexity of the dE2K formula, these can be computed numerically using the above equation (3). The contours of the “Hessian” (second order Taylor) approximation in equation (7) are shown as dashed lines in the graph 400 of
Applying this to the terms in the summation in the above equation (4), the problem can be approximated with the following equation (8):
In the case of a linear parametrization, such as polynomial, this yields a weighted least squares problem in the desired forward transform parameters Θ:
The results of using the approximation (9) of the dE2K explicitly in the design phase computation of the color model parameters is shown in the table below for a global third order polynomial fit on 164 points of (cmyk, La*b*) input-output data taken uniformly spaced along each axis in the cmyk space. There is a 10% improvement in the max fitting errors, and a 5% reduction in the 95-percentile and average errors, while the minimum is relatively unchanged.
In summary, the DeltaE2000 (dE2K) metric is currently the primary scoring function ƒ or measuring the accuracy of color models used in characterizing printing and display devices. Unfortunately, the dE2K metric has a very complicated functional representation, as a result, current color characterization methods in use today do not use the dE2K metric explicitly in the computation of their color model parameters. In this report, we show how to use the DeltaE2000 more explicitly in the printer color model computation phase, by using weights obtained from the second order Taylor expansion. This gives us local quadratic approximations to the dE2K function, which are then used to construct a weighted least squares problem, which more accurately captures the spatial inhomogeneity of the dE2K function. The functional complexity of the dE2K metric is circumvented by doing the differentiation numerically. Preliminary studies show that color models computed with this technique are 5-10% more accurate, as compared to the standard methods; and if implemented as part of a multicell method, the gains could be even larger.
The above described examples are merely illustrative of several possible embodiments of the present disclosure, wherein equivalent alterations and/or modifications will occur to others skilled in the art upon reading and understanding this specification and the annexed drawings. In particular regard to the various functions performed by the above described components (assemblies, devices, systems, circuits, and the like), the terms (including a reference to a “means”) used to describe such components are intended to correspond, unless otherwise indicated, to any component, such as hardware, processor-executed software, or combinations thereof, which performs the specified function of the described component (i.e., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the illustrated implementations of the disclosure. In addition, although a particular feature of the disclosure may have been disclosed with respect to only one of several embodiments, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for any given or particular application. Also, to the extent that the terms “including”, “includes”, “having”, “has”, “with”, or variants thereof are used in the detailed description and/or in the claims, such terms are intended to be inclusive in a manner similar to the term “comprising”. It will be appreciated that various of the above-disclosed and other features and functions, or alternatives thereof, may be desirably combined into many other different systems or applications, and further that various presently unforeseen or unanticipated alternatives, modifications, variations or improvements therein may be subsequently made by those skilled in the art which are also intended to be encompassed by the following claims.