# Patent

## Title
Method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters

## Abstract

A method for determining the optimal colorant thicknesses and linear combinations for integral illuminant-weighted CIE color-matching filters is provided. A reflectance colorimeter for configuring printers may be designed using this method.

## Background
CROSS-REFERENCES
The present application claims the benefit of Provisional Application No. 60/664,117, filed Mar. 23, 2005, which is herein incorporated by reference. The present application is a continuation-in-part of commonly owned, pending U.S. application Ser. No. 11/281,766, entitled “METHOD FOR DESIGNING A COLORIMETER HAVING INTEGRAL CIE COLOR-MATCHING FILTERS”, filed Nov. 16, 2005, now U.S. Pat. No. 7,420,680 which is herein incorporated by reference. The present application is related to commonly owned U.S. Pat. No. 6,163,377, entitled “COLORIMETER”, issued Dec. 19, 2000, which is herein incorporated by reference.


BACKGROUND
1. Field of the Invention
Embodiments of the present invention generally relate to optical Commission Internationale de l'Eclairage (CIE) color-matching filters and, more specifically, to a method for determining optical colorant thicknesses for deposited filters designed through the use of varying densities of a controlled set of colorants, such that, when weighted by an available illuminant spectrum, the deposited filters approximate CIE-like color-matching filters weighted by a colorimeter illuminant spectrum.
2. Description of Related Art
Optical filters are used in many color-related applications, including various color measurement systems, such as colorimeters. There are many types of filters, including absorptive filters, interference filters, and others. A photoelectric tristimulus colorimeter is used to measure the color of light incident on the device. If such light is emitted from a light source, such as a computer display screen, the colorimeter is performing an emissive color measurement. However, the subject of this invention is a reflective photoelectric colorimeter. Such a colorimeter has a light source that directs light through an optical system against a color sample. The light is reflected by the color sample toward three or more photoelectric detecting devices. A primary filter is positioned in front of each photoelectric detecting device. In one technology, each primary filter substantially conforms the spectral sensitivity of the photoelectric detecting device to a linear combination of the color-matching functions. A measuring device, which is connected to the photoelectric detecting devices, reads or measures the amounts of the respective primaries or tristimulus values in response to the incident light. It may, however, be desirable to estimate the tristimulus values that would be produced by the sample under a reference light (such as a CIE standard illuminant), even when the actual colorimeter light has a known but different spectrum. In that case, each primary filter substantially conforms to a linear combination of the color-matching functions, weighted by the ratio of the spectrum of the reference light to the spectrum of the actual colorimeter light.
Although it is theoretically possible to design primary filters exactly corresponding to an ideal, it is practically impossible to manufacture primary filters having transmission factors exactly corresponding to the ideal. This is because an error is inherent in measuring primary or tristimulus values of the color sample. This error is caused by differences between actual and theoretical transmission factors of the primary filters.
Past attempts to correct this error have involved attempts to alter the transmission factor characteristics of the primary filters by forming the primary filters using a number of superimposed colored plates. However, because the spectral characteristics of the colored plates depend upon the components of the materials used in the plates—normally glass—it was generally impossible to exactly match the theoretical transmission factors. It was prohibitively difficult to accurately duplicate the theoretical transmission values over the complete wavelength range of the primaries or tristimulus values. These past attempts that increased the number of plates, undesirably decreased the amount of light received or passed through the primary filter. In addition, past attempts to fabricate primary filters by carefully superimposing a number of plates in an attempt to match theoretical transmission factors were time consuming and expensive to make.
SUMMARY
The present invention includes various embodiments of a method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters, including determining optimal colorant thicknesses. The following definitions apply herein. The colorimeter illuminant is the spectrum of light used in the colorimeter itself. The reference illuminant is the spectrum of light (e.g., a CIE standard illuminant) under which it is desired to measure the tristimulus values of the sample.
One embodiment is a method for determining the design of a color-measuring device. The color-measuring device includes light detectors and colorants. The colorants are permanently deposited onto the color-measuring device. The colorants comprise optical filters and reflected light passes through the filters to cause the light detectors to produce output. The output of all the detectors can be combined to approximate the spectral responses of one or more CIE-like color-matching functions weighted by a reference illuminant spectrum.
Another embodiment is a method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters. A set of channels is determined from a plurality of channels. A set of filters is determined. Each filter is permanently deposited on each of the channels. Each filter is an absorptive filter and each filter has at least one layer. There is at least one channel with a double layer so that a linear combination of the set of channels weighted by a colorimeter illuminant spectrum matches a set of CIE-like target color-matching functions weighted by a reference illuminant spectrum within a tolerance. Each channel integrates one or more detectors and one or more filters onto a single semiconductor device. A colorant is determined for each layer on each channel from a set of colorants. A thickness of each layer on each channel is also determined.
Yet another embodiment is a method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters. Colorants and target CIE-like functions are received. Channel colorant recipes and additive mixtures of channels weighted by a colorimeter illuminant spectrum to match the target CIE-like functions weighted by a reference illuminant spectrum within a tolerance are determined for a minimum number of channels and colorants per channel. Each channel is one of the channels in a colorimeter. Each channel has at least one filter covering each detector. The best solution from the channel colorant recipes and the additive mixtures of channels is provided. The best solution includes the number of channels, the thickness for each colorant in each channel, and a matrix of linear coefficients. Another embodiment is a computer-readable medium having stored thereon a plurality of instructions, the plurality of instructions including instructions which, when executed by a processor, cause the processor to perform the steps of this method.



BRIEF DESCRIPTION OF THE DRAWINGS
The teachings of the present invention can be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart showing an overview of an exemplary embodiment of the method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters;
FIGS. 2, 3, 4, 5, 6, 7, and 8 are flow charts showing the method of FIG. 1 in more detail;
FIG. 9 is a flow chart showing an overview of another exemplary embodiment of the method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters;
FIGS. 10, 11, 12, 13, 14, and 15 are flow charts showing the method of FIG. 9 in more detail;
FIG. 16 is a flow diagram showing an overview of yet another exemplary embodiment of the method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters;
FIG. 17 is a chart showing the spectral power distributions for some exemplary illuminants;
FIG. 18 is a chart showing four double-coated filter transmittances for use with a warm white light-emitting diode (LED) in the computational study;
FIG. 19 is a chart showing D65 CIEXYZ functions (dotted and dashed curves) with approximations by the four filters in FIG. 18, weighted by the warm white LED spectrum (solid curves) in the computational study;
FIG. 20 is a chart showing D50 CIEXYZ functions (dotted and dashed curves) with approximation by the four filters in FIG. 18, weighted by the warm white LED (solid curves) in the computational study;
FIG. 21 is a chart showing transmittances of five double-coated filter for use with the warm white LED in the computational study;
FIG. 22 is a chart showing D65 CIEXYZ functions (dotted and dashed curves) with approximations by the five filters in FIG. 21, weighted by the warm white LED (solid curves) in the computational study;
FIG. 23 is a chart showing D50 CIEXYZ functions (dotted and dashed curves) with approximations by five filters in FIG. 21, weighted by the warm white LED (solid curves) in the computational study;
FIG. 24 is a chart showing transmittances of four double-coated filters for use with a 2900K tungsten source in the computational study;
FIG. 25 is a chart showing D65 CIEXYZ functions (dotted and dashed curves) with approximations by the four filters in FIG. 24, weighted by the 2900K tungsten source (solid curves) in the computational study;
FIG. 26 is a chart showing D50 CIEXYZ functions (dotted and dashed curves) with approximations by the four filters in FIG. 24, weighted by the 2900K tungsten source (solid curves) in the computational study;
FIG. 27 is a chart showing transmittances of five double-coated filters for use with the 2900K tungsten source in the computational study;
FIG. 28 is a chart showing D65 CIEXYZ functions (dotted and dashed curves) with approximations by the five filters in FIG. 27, weighted by the 2900K tungsten source (solid curves) in the computational study;
FIG. 29 is a chart showing D50 CIEXYZ functions (dotted and dashed curves) with approximations by the five filters in FIG. 27, weighted by the 2900K tungsten source (solid curves) in the computational study;
FIG. 30 is a table showing ΔE results using projection transformation with double-coated filters and the warm white LED illumination, D50 reference illumination in the computational study;
FIG. 31 is a table showing ΔE results using projection transformation with double-coated filters and the warm white LED illumination, D65 reference illumination in the computational study;
FIG. 32 is a table showing ΔE results using projection transformation with double-coated filters and the tungsten illumination, D50 reference illumination in the computational study;
FIG. 33 is a table showing ΔE results using projection transformation with double-coated filters and the tungsten illumination, D65 reference illumination in the computational study;
FIG. 34 is a table showing coating thickness in microns of each colorant for sets of four filters in the computational study;
FIG. 35 is a table showing coating thickness in microns of each colorant for sets of five filters in the computational study; and
FIG. 36 is a high level block diagram of a general-purpose computer suitable for use in performing the functions described herein.



To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures.
DETAILED DESCRIPTION
The present invention includes various embodiments of a method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters, including determining optimal colorant thicknesses. Colorants include pigments, dyes, and the like. For example, a printer calibration device designed according to an embodiment of the method for designing a reflectance colorimeter having integral illuminant-weighted CIE color-matching filters has many advantages, including a lower cost for production and calibration than existing devices, elimination of high loss optical elements, such as a diffuser and lens, and uniform characteristics due to minimal chip-to-chip variation in semiconductor fabrication. Such a printer calibration device may be standalone or embedded. However, embodiments of the present invention have many applications in colorimetry in addition to printer calibration devices. Colorimetry is the science and practice of determining and specifying colors and quantitative analysis by color comparison. In colorimetry, colors can be described in numbers and physical color can be matched using a variety of measurement instruments, such as colorimeters, spectrophotometers, densitometers, and spectroradiometers. Colorimetry is used in many industries, including chemistry, color printing, textile manufacturing, paint manufacturing, graphic arts, and consumer electronics. A person of ordinary skill in the art will recognize that the present invention is applicable to many applications of colorimetry in many industries and to many kinds of measurement instruments.
One embodiment is a reflectance color-measuring device, such as a reflectance colorimeter. The colorimeter is a solid-state device having light detectors and filters. Colorants are permanently deposited onto the solid-state device using methods familiar to those of ordinary skill in the art of manufacturing solid-state light detectors. The device has an output of spectral responses that can be combined to approximate CIE or CIE-like color-matching functions, weighted by a reference illuminant spectrum. Some examples of CIE-like color-matching filters include the CIE 1931 2-degree color-matching functions, the CIE 1964 10-degree color-matching functions or modifications of the CIE functions, such as derived by D. Judd (1951) or by J. J. Vos (1978). In one embodiment, the colorants are in the form of dyes or pigments. In one embodiment, the filters include a number of colorants of various thicknesses and in various combinations, weighted by a colorimeter illuminant spectrum. The colorants are permanently deposited onto either a single detector or a plurality of detectors on the device.
Embodiments of the present invention, in conjunction with a colorimeter light source of known spectrum, achieve color separation and approximation of the CIE color matching functions, weighted by a reference illuminant spectrum, through the use of multiple color filters. The spectral transmission of each filter is designed through the use of varying densities of a small set of colorants with the goal of determining the optimal thickness of each colorant layer, as well as the number of channels necessary to achieve a desired level of colorimetric performance.
Unlike an emissive colorimeter, a reflectance colorimeter that is designed using embodiments of the present invention includes a sensor and an illumination source. Such a reflectance colorimeter operates as if it had CIE-like filters and was measuring the sample reflectance under a reference illuminant. A much wider range of spectral distributions needs to be measured in embodiments of the present invention, because the variation of reflectance spectra is much greater than the variation of radiant spectra from the subject being measured (e.g., a monitor). CIEXYZ values are determined for certain illuminations, such as D50 and D65 illuminations. An exemplary embodiment of a design process uses reference reflectance spectra, such as the ceramic tile reflectance spectra available from CERAM Research (formerly British Ceramic Research Association (BCRA)) or Munsell reflectance spectra available from GretagMacbeth. In a computational study, three different light sources were used: a standard white light-emitting diode (LED), a tungsten light source with a correlated color temperature of 2900K, and a warm white LED source. As one of skill in the art recognizes, other light sources that provide a smooth spectrum throughout the visible range may also be used.
One embodiment is a method of designing a sensor for use in a reflectance colorimeter. A solution of combinations of colorants is derived, where the solution maximizes the number of combinations of colorants used singly and minimizes the combinations of colorants, weighted by a colorimeter illuminant spectrum. In one embodiment, this method is computational and may operate on a processor. In one embodiment, the method results in a selection of the best or the optimum combination of colorants according to predetermined criteria. The combination of colorants is used on the light detectors, which have known responses to light photons. The colorants are computationally selected from a larger set of colorants. The computation takes into account the combined response of the light source, the colorants, and the detectors to select the best or optimum solution so that the output of the device has spectral responses that approximate reference-illuminant-weighted CIE or CIE-like color-matching functions and so that the performance of the device meets predetermined criteria.
Colorimeter on a Chip Using a Reflectance Mode Algorithm
FIG. 1 is a flow chart showing an exemplary embodiment of the method 100 for designing a colorimeter having integral illuminant-weighted CIE color-matching filters, including determining optimal colorant thicknesses. In the method 100, the following input 102 is received:

    
    
        1) A set of Q colorant absorbance-per-unit-thickness transmission spectra, where Q is the number of different colorants available (e.g., Q=6, i.e., red, green, blue, cyan, magenta, and yellow colorants);
        2) A photodetector spectral response function;
        3) A colorimeter optics transmission spectra, e.g., ultraviolet (UV) and infrared (IR) filters);
        4) A set of target CIE-like color-matching functions;
        5) A spectral power distribution of a colorimeter illuminant;
        6) A reference illuminant spectrum for calculation of L*, a*, and b* needed for the error measurement (ΔE) computation and for weighting the color-matching functions; and
        7) Reflectance spectra to be used in optimization.
    
    


At 104, the method 100 determines the optimal colorant thicknesses in each channel and the optimum linear combinations of colorimeter illuminant spectrum weighted (CISW) channels that best match reference illuminant spectrum weighted (RISW) integral CIE color-matching filters. (See FIG. 2.)
In the method 100, the following output 106 is provided:

    
    
        1) The number of channels, N, needed to match the CIE-like target functions;
        2) The number of colorant layers needed per channel;
        3) The type of colorant needed for each layer, e.g., red, green, blue, cyan, magenta, or yellow;
        4) The thickness of each of the colorant layers;
        5) A plot of the best-fit match to the target functions; and
        6) The quantitative color difference between best-fit function, L*, a*, and b* values and target L*, a*, and b* values.
    
    


FIG. 2 shows more detail about how at 104 in FIG. 1, the optimal colorant thicknesses in each channel and the optimum linear combinations of CISW channels for integral RISW CIE color-matching filters are determined. At 200, a colorimeter that has a number of CISW channels, N, is considered, where a channel has at least one filter covering each detector (e.g., 3 filters cover each detector). The calculated absorptive filter is unique to that detector that contains a single or multiple layers of colorants and also an IR filter and a UV filter that cover all detectors. It is required that the linear combination of the N channels adds up to match a set of RISW CIE-like target color-matching functions to within a predetermined tolerance.
At 202, for each channel, the following is calculated.

    
    
        1) The colorant needed for each layer;
        2) The number of colorant layers needed;
        3) The thickness of each of the colorant layers; and
        4) The linear combination of CISW channels that best matches each RISW target CIE-like color-matching function.
    
    


At 204, the solution is constrained with the following conditions.

    
    
        1) Prefer the solution with the minimum number of channels needed to acceptably match the RISW CIE-like target functions;
        2) Prefer the solution with the minimum number of colorant layers per channel that does not increase the number of channels needed for an acceptable match to the target function; and
        3) Prefer the solution that minimizes deviations in performance under the influence of layer thickness variations.

FIG. 3 is a flow chart showing even more detail than FIG. 2 about how at 104 in FIG. 1, the optimal colorant thicknesses in each channel and the optimum linear combinations of CISW channels that best matches RISW integral CIE color-matching filters are determined. At 300, the number of colorant layers allowed on any channel is set equal to an initial value of 1. At 302, it is determined whether the number of layers on any channel is greater than the predetermined constant, MaxLayerNum, (e.g., MaxLayerNum=4). If so, then control flows to 322, otherwise control flows to 304. At 304, the number of channels is set to an initial value of 3. At 306, it is determined whether the number of channels is greater than the predetermined constant, MaxChNum, (e.g., MaxChNum=6). If so, then control flows to 320, otherwise control flows to 308. At 308, it is determined whether all combinations of colorants and thicknesses have been tried on each channel. If so, control flows to 318, otherwise control flows to 310. At 310, a random initial condition is selected for the colorant type and layer thickness for each channel. At 312, an optimization is performed for colorant selection and layer thicknesses and channel coefficients to find the best CISW match to the RISW target color-matching functions. (See FIG. 4). At 314, ΔE values are computed for the test reflectance spectra. (See FIG. 5.) At 316, results are compared and stored for the computed configuration. (See FIG. 6.) At the bottom of the loop 304-318, the number of channels is increased by one and control flows from 318 back to the top of the loop at 306. At the bottom of the loop 300-320, the number of allowed layers on the channel is increased by one and control flows from 320 back to the top of the loop at 302. At 322, there is a test for layer thickness variation and a sort by a figure of merit value. (See FIG. 7.) At 324, the best configuration type and layer structure is selected. (See FIG. 8.)

    
    


FIG. 4 shows how the optimization at 312 in FIG. 3 is performed for colorant selection and layer thicknesses and channel coefficients to find the best CISW match to the RISW target color-matching functions. At 400, for all combinations of Q colorants, the following equation is solved.




  
    
      
        
          max
          c
        
        ⁢
        
          
            [
            
              Trace
              (
              
                
                  A
                  T
                
                ⁢
                
                  L
                  v
                
                ⁢
                
                  
                    LDOM
                    ⁡
                    
                      (
                      
                        
                          
                            M
                            T
                          
                          ⁢
                          LDOLDOM
                        
                        +
                        
                          K
                          n
                        
                      
                      )
                    
                  
                  
                    -
                    1
                  
                
                ⁢
                
                  M
                  T
                
                ⁢
                
                  LDOL
                  v
                
                ⁢
                A
              
              ]
            
          
          
            [
            
              Trace
              ⁡
              
                (
                
                  
                    A
                    T
                  
                  ⁢
                  
                    L
                    v
                  
                  ⁢
                  
                    L
                    v
                  
                  ⁢
                  A
                
                )
              
            
            ]
          
        
      
    
    
      
        (
        1
        )
      
    
  




where the color filter transmission matrix, M=[m1, . . . , mN] and mi=10−Hci, matrix H is the spectral densities of the colorants at maximum density, each column ci of matrix c is a vector comprising the thicknesses of all the colorant layers in channel i, the power operation is performed component-by-component, Lv is the reference illuminant (used for RISW), and L is the colorimeter illumination (used for CISW). The component values of the thickness vectors ci are constrained to be greater than cLL and less than cUL, where cLL is the lower limit of the layer thickness (e.g., 0.5 microns) and cUL is the upper limit of the layer thickness (e.g., 2.0 microns). Equation (1) optimizes the colorant layer thicknesses, c. In equation (1), the matrix A represents the target CIE-like color-matching functions, the matrix D represents the photodetector spectral response function, the matrix O represents the combined colorimeter optical element transmission functions, and the matrix Kn represents an estimation of system noise covariance. At 402, subsequently, optimization s done to find the linear coefficients given by matrix B, that minimize the sum of the square residual values between the calculated CISW channel responses as functions of wavelength and the RISW target CIE-like color-matching functions.

FIG. 5 shows how at 314 in FIG. 3 ΔE is computed for the test reflectance spectra. At 500, for the new colorant layer structure (i.e., colorant layer type and thickness matrix c), the maximum and mean CIELAB ΔE for the spectral reflectances in the test reflectance set are computed. The ΔE value is between the L*, a*, and b* values obtained from the calculated best-fit color-matching functions and those values found using the target CIE-like functions. At 502, the L*, a*, and b* values are calculated using the reference illuminant spectrum.
FIG. 6 shows how at 316 of FIG. 3 the results are compared and stored for the computed configuration. At 600, the new (just computed) colorant layer structure for each channel along with the corresponding computed sum of the best-fit residuals and the nominal mean and maximum ΔE values are stored. At 602, the new values for the residuals and ΔE are compared to a predetermined number of previously stored best values (e.g., the top 100). If the new values are better than any of the best values, those values are replaced with the new values.
FIG. 7 shows how the test at 322 of FIG. 3 is performed for layer thickness variation and how the sort by a figure of merit value is performed. At 700, for the best performing layer structures, the sensitivity to layer thickness variations is tested by computing the maximum and mean ΔE values, with each layer thickness having been increased and decreased by some variation tolerance (e.g., 0.1 microns). At 702, for a given number of channels, N, (e.g., N=3, 4, 5, 6) and a given number of filter layers (e.g., 1, 2, 3, or 4), the optimum layer structure is selected out for each configuration. For example, the optimum structure for a 4 channel configuration that allows up to 2 layers for each channel is selected out and the optimum structure for a 5 channel configuration that allows only a single layer for each channel is selected out, and so forth. At 704, the optimum layer structure is chosen by selecting the structure that was the least sensitive to layer thickness variations. This is done by sorting the results for the smallest maximum and mean ΔE values computed using the layer thickness variation test.
FIG. 8 shows how the selection at 324 of FIG. 3 is performed to select the best configuration type and layer structure. At 800, the optimum layer structure for each configuration is compared. At 802, the performance results for each of the optimum structures is sorted using the sum of the best-fit residuals to the RISW target color-matching functions, the nominal mean and maximum ΔE values for the test reflectances, and the mean and maximum ΔE values for the layer thickness variation test. At 804, the best overall configuration is chosen by selecting the solution with the least number of channels and minimum number of filter layers that still exceeds a set numerical performance tolerance for each of the results listed previously.
FIG. 9 shows an overview of another exemplary embodiment of the method for designing a colorimeter having integral illuminant-weighted CIE color-matching filters, including determining optimal colorant thicknesses. This embodiment can be used to design a colorimeter on a chip using a reflectance mode algorithm. The method 900 receives the following input 902: colorant spectra, spectral reflectances, colorimeter illuminant spectrum, target CIE-like functions, a detector response spectrum, an optics transmission spectrum, and a reference illuminant spectrum. At 904, the channel colorant recipes and additive mixtures of CISW channels are computed so as to best match RISW target CIE-like functions for a minimum expedient number of channels and colorants per channel. The method 900 provides the following output 906: a number of channels, the colorant recipe in each channel, and the channel mixtures to match the RISW target CIE-like functions.
FIG. 10 shows more detail and exemplary values for how at 904 in FIG. 1, the channel colorant recipes and additive mixtures of CISW channels are computed so as to best match RISW target CIE-like functions for a minimum expedient number of channels and colorants per channel. More specifically, the method 900 receives the following input 902: a number, N, colorant spectra (absorbance per unit thickness at P wavelengths), an ensemble of spectral reflectances, a colorimeter illuminant spectrum, a 3×P matrix of CIE-like functions xbar, ybar, zbar at P wavelengths, an optics transmission spectrum O, and a reference illuminant spectrum. More specifically, at 904, there is a computation having three loops, loop I 1000, loop II 1002, and loop III 1004. Loop I 1000 repeats for the maximum number of colorants per channel, loop II 1002 repeats for the number of channels, and loop III 1004 repeats for all the combinations of colorants in all the channels. Inside loop III 1004, the following step are performed:

    
    
        1) Optimize fit of thickness recipes in all CISW channels to RISW CIE-like function space;
        2) Optimize CISW channel combinations to approximate RISW CIE-like X Y Z functions;
        3) Compute ancillary metrics for goodness of fit; and
        4) Store loop state.
    
    


Continuing at 904 outside the loops, the method 900 compares the optima of all the loop states (I, II, III) to find the best one and writes the following output 906: the number of channels, N, the thickness recipes of colorants in each channel, and the matrix of linear coefficients from CISW channels to RISW CIE XYZ.
FIG. 11 shows the exemplary method 900 of FIGS. 9 and 10 in yet more detail and with additional exemplary values. The method 900 receives the following input 902: Q colorant spectra (e.g., absorbance per unit thickness at P=151 wavelengths, 400 to 700 nm in 2-nm increments), an ensemble of spectral reflectances Sk, colorimeter illuminant spectrum L, a 3×P matrix of CIE-like functions xbar, ybar, zbar at P wavelengths, an optics transmission spectrum O, and a reference illuminant spectrum Lv.
At 904, the method 900 performs a computation involving loop I 1000, loop II 1002, and loop III 1004, and then (outside the loops) compares the results of all the loop states to find the best answer. Separate sorts are performed in decreasing LSBF residual, mean CIELAB ΔE, and maximum CIELAB ΔE. Of the best (e.g., the best 50 or 100) on each sort, the variation of the filter thickness from the nominal values is simulated and the ΔE values are recomputed. The best state (with thicknesses ci and linear coefficients B) that was least sensitive to variation is selected and the output is written at 906. This book-keeping can also be done cumulatively inside loop III 1004, after step 4 1106. At 906, the following output is provided: the number of channels N, the colorant thickness recipe in channel i, ci (which is 0 if not used) for i=1 . . . N and a 3×N matrix B of linear coefficients from N CISW channels to RISW CIE-like XYZ.
Loop I 1000 repeats for the maximum number of colorants n′ per channel (e.g., n′=1, 2, 3). Loop II 1002 repeats for the number of channels N, (e.g., N=3, 4, 5, 6). Loop III 1004 repeats for all combinations of Q colorants in each of N channels 1-, 2-, . . . , n′ at a time separately for each channel. Inside Loop III 1004, the following steps are performed.

    
    
        1) At 1100, adjust the thickness recipes ci in all channels to maximize the following equation (a repeat of Eq. 1), which maximizes alignment of instrument and CIE spectral subspaces.
    
    






  
    
      
        
          max
          c
        
        ⁢
        
          
            [
            
              
                Trace
                (
                
                  
                    A
                    T
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    L
                    v
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      LDOM
                      ⁡
                      
                        (
                        
                          
                            
                              M
                              T
                            
                            ⁢
                            
                              
                            
                            ⁢
                            LDOLDOM
                          
                          ⁢
                          
                            
                          
                          +
                          
                            
                          
                          ⁢
                          
                            K
                            n
                          
                        
                        )
                      
                    
                    
                      -
                      1
                    
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    M
                    T
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    LDOL
                    v
                  
                  ⁢
                  
                    
                  
                  ⁢
                  A
                
              
              ]
            
          
          
            Trace
            ⁡
            
              [
              
                
                  A
                  T
                
                ⁢
                
                  
                
                ⁢
                
                  L
                  v
                
                ⁢
                
                  
                
                ⁢
                
                  L
                  v
                
                ⁢
                
                  
                
                ⁢
                A
              
              ]
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




    
    
        2) At 1102, adjust linear coefficients of all N channels to minimize square error over wavelength (LSBF) between channel response and RISW CIE xbar, ybar, zbar, which chooses the best CIE fit out of the N channels.
        3) At 1104, compute ancillary metrics: max and mean CIELAB ΔE for ensemble of reflectance spectra using thickness recipes and linear coefficients from steps 1 and 2.
        4) At 1106, Collect loop state, ci, linear coefficients B, LSBF residual, mean ΔE, and max ΔE.
    
    


FIG. 12 shows more detail of how at step 1100 inside loop III 1004 (shown in FIG. 11) the thickness recipes are adjusted in all channels to maximize equation 2. The intermediate input 1200 to step 1100 includes the 3×P matrix A of CIE-like target spectra, the Q×P matrix of colorant spectra H, colorant subsets allocated to each of N channels, a detector sensitivity spectrum in a P×P diagonal matrix D, an optical system transmission spectrum in a P×P diagonal matrix O, diagonal P×P colorimeter illuminant spectrum L, and diagonal P×P reference illuminant spectrum Lv. The computation at 1100 is as follows.

    
    
        1) Randomly initialize the thickness vectors ci, for i=1, . . . , N, subject to the constraint of n′ (e.g., 1, 2, or 3) colorants per channel. Initial thicknesses chosen from a uniform distribution in a range, such as about 0.5 to 3 microns.
        2) Compute filter transmission spectra M with columns mi=10−Hci 
        3) Choose ci to maximize equation (2) such that each component thickness is within the range using, for example, sequential quadratic programming.
        4) Compute channel responses C=LvMTDO.

The output 1202 of computation 1100 inside loop III 1004 includes the thickness recipe vectors ci in channel i, for i=1 to N. Colorants unused on channel i receive ci components of 0. Also output is the N×P matrix C of the channel response spectra. These outputs are intermediate.

    
    


FIG. 13 shows more detail of how at step 1102 inside loop III 1004 (shown in FIG. 11) linear coefficients of all N channels are adjusted to minimize square error over wavelength (LSBF) between the combined channel response and RISW CIE-like target functions, which chooses the best fit out of the N channels. The intermediate input 1300 includes the P×3 matrix A of CIE-like spectra, the N×P matrix C of channel responses, and the P×P matrix L of colorimeter illuminant spectrum. The computation 1102 includes the following steps.

    
    
        1) Compute 3×N matrix of channel-to-RISW XYZ coefficients B=(LA)T(CTC)−1CT so that BC best approximates(LA)T.
        2) Compute P×3 matrix A′=Lv−1(BC)T of approximate CIE spectra.

The intermediate outputs 1302 include the 3×N matrix B of channel-to-RISW XYZ coefficients and the P×3 matrix A′ of approximate CIE spectra.

    
    


FIG. 14 shows more detail of how at step 1104 inside loop III 1004 (shown in FIG. 11) to compute ancillary metrics: maximum and mean CIELAB ΔE for ensemble of reflectance spectra, using thickness recipes and linear coefficients. The intermediate input 1400 includes a P×1 reflectance spectra Sk, a P×3 matrix A (i.e., target xbar, ybar, zbar spectra), a P×3 matrix A′ (i.e., approximate xbar, ybar, zbar spectra), a P×1 default reference illuminant spectrum Lv (e.g., CIE D50 or D65), and a column P-vector 1 of ones. The computation 1104 includes the following steps, which include an inner loop IV 1106 for each reflectance spectrum Sk (e.g., from a color atlas).

    
    
        1) Compute reference white CIE XYZ: (Xn,Yn,Zn)T=ATLv1.
        2) Compute reference white approximate XYZ: (X′n,Y′n,Z′n)T=A′TL1.

Loop IV 1106, for each reflectance spectrum Sk:

        3) Compute true CIE X,Y,Z of spectrum: (X,Y,Z)T=ATLvSk.
        4) Compute approximate CIE X,Y,Z of spectrum: (X′,Y′,Z′)=A′TLSk.
        5) Transform (X,Y,Z) to CIELAB (L*, a*, b*) with parameters (Xn,Yn,Zn)
        
            L*=116f(Y/Yn)−16
            a*=500[f(X/Xn)−f(Y/Yn)]
            b*=200[f(Y/Yn)−f(Z/Zn)]
            where f(q)=q1/3 for q>0.008856, else f(q)=7.787q+16/116.
        
        
        6) Transform (X′,Y′,Z′) to (L′*,a′*,b′*) with parameters (X′n,Y′n,Z′n):
        
            L′*=116f(Y′/Yn)−16
            a*=500[f(X′/X′n)−f(Y′/Y′n)]
            b*=200[f(Y′/Y′n)−f(Z′/Z′n)]
            where f(q)=q1/3 for q>0.008856, else f(q)=7.787q+16/116.
        
        
        7) Compute ΔEk=[(L*−L′*)2+(a*−a′*)2+(b*−b′*)]1/2 

End Loop IV.

        8) Compute MeanΔE=meanΔEk and MaxΔE=maxk{ΔEk}.

The intermediate output 1402 includes MeanΔE and MaxΔE.

    
    


FIG. 15 shows more detail of the how at step 1106 inside loop III 1004 (shown in FIG. 11) to compare the optima of all loop states to find the best one. The intermediate input 1500 includes tabulated records, each containing the following: N, n′, channel, colorant combinations, LSBF residual, mean CIELAB ΔE, max CIELAB ΔE, thickness recipes ci, and coefficient matrix B. The computation 1106 includes the following steps.

    
    
        1) Separately sort records in decreasing LSBF residual, mean CIELAB ΔE, max CIELAB ΔE.
        2) Of the best (e.g., 50 or 100) on each sort, simulate variation of the filter thickness from the nominal values and recomputed the ΔE values.
        3) Select as best the record least sensitive to variations.

The intermediate output 1502 includes the winning record, containing the following: N, n′, channel colorant combinations, LSBF residual, mean CIELAB ΔE, max CIELAB ΔE, thickness recipes ci, and coefficient matrix B.

Computational Study: Printer Colorimeter Design

    
    


The spectral sensitivity of a colorimeter is modeled using a vector space notation, where the visible spectrum is sampled at P wavelengths. An N band system is modeled as

m=MTLDOr+n  (2)

where m is an N element vector that represents the measurement of each band of the instrument, M is a P×N matrix with elements that represent the spectral transmission of the N filters, L is a P×P diagonal matrix that represents the spectral power distribution of the device illumination, D is a P×P diagonal matrix that represents the spectral sensitivity of the detector(s), O is a P×P diagonal matrix that represents the combined spectral transmission of various optical elements in the device (e.g., diffuser, IR filter, etc.), r is a P element vector that represents the reflectance spectrum under measurement, and n is additive noise.

The colorimeter is configured to provide accurate colorimetric measurements of the reflectance spectrum r. Using the vector space notation, the CIEXYZ value of the reflectance spectrum r is denoted by

t=ATLvr  (3)

where A is a P×3 matrix that represents the CIEXYZ color matching functions, and Lv is the reference illuminant under which the measurements are desired (e.g., D50 or D56).

There is not complete freedom in the selection of the matrix M. Instead, selection of the matrix M is bounded by the use of filter colorants that can be layered at a specified range of densities. The relationship between a filter transmission in the matrix M=[m1, . . . , mN] and the density of the material is nonlinear and approximated by Beer's law, which is given by

mi=10−Hci  (4)

where H is a matrix having columns representing the spectral densities of the colorants at maximum density, i is the channel index, mi is a column P vector, ci is a vector that represents the thickness of each dye layer, and the power operation is performed element wise upon the vector −Hci.

In method 100, a goal is to determine the optimal vector c constrained by manufacturability constraints. Due to the nonlinear nature of the problems, solutions are determined numerically. An iterative method solves this problem using an approach as follows.

    A. Select a random initial condition for the colorant concentration.
    B. For a given initial condition, solve the following optimization problem






  
    
      
        
          max
          c
        
        ⁢
        
          
            [
            
              Trace
              (
              
                
                  A
                  T
                
                ⁢
                
                  L
                  v
                
                ⁢
                
                  
                    LDOM
                    ⁡
                    
                      (
                      
                        
                          
                            M
                            T
                          
                          ⁢
                          LDOLDOM
                        
                        +
                        
                          K
                          n
                        
                      
                      )
                    
                  
                  
                    -
                    1
                  
                
                ⁢
                
                  M
                  T
                
                ⁢
                
                  LDOL
                  v
                
                ⁢
                A
              
              ]
            
          
          
            [
            
              Trace
              ⁡
              
                (
                
                  
                    A
                    T
                  
                  ⁢
                  
                    L
                    v
                  
                  ⁢
                  
                    L
                    v
                  
                  ⁢
                  A
                
                )
              
            
            ]
          
        
      
    
    
      
        (
        1
        )
      
    
  




where M depends upon c as given in equation (3), c is constrained between about [0,3] and Kn is the noise covariance matrix. This quantity is a measure of the overlap between the subspace spanned by the filters and the subspace spanned by the color-matching functions.

    C. Clip to zero, values of c that are less than about 0.5 microns.
    D. If a maximum number of iterations have not been reached and the clipping amount was significant, then set initial conditions to the clipped output and repeat step B.
    E. Test filter performance in terms of least-squares fit, maximum and average ΔE on an ensemble of reflectance spectra and in terms of average and maximum ΔE with filter coating variations of about ±0.1 microns.
    F. If filter is better than others tested, then save it.
    G. Return to step A until N random initial conditions have been run.


FIG. 16 is a flow diagram showing an overview of yet another exemplary embodiment of the method 1600 for determining optimal colorant thicknesses for integral illuminant-weighted CIE color-matching filters. This method 1600 was used in the computational study to solve for the dye densities necessary to obtain the best approximation to the RISW CIE color-matching functions for a fixed number of channels. However, the present invention includes methods for determining optimal colorant thicknesses for integral illuminant-weighted CIE color-matching filters, which solve a more general design problem than that of the computational study.
This method 1600 was used to determine the following.

    
    
        8) How to use a given set of filter functions to generate reasonable CIE color-matching functions;
        9) The minimum number of filter and detector channels needed to minimize cost;
        10) The thickness of each filter layer;
        11) Expected performance from the sensor; and
        12) How to vary the filter functions to get satisfactory performance and match to the CIE functions.
    
    


The approach was as follows.

    
    
        1) At 1602, select a random initial condition for the colorant concentration (thickness).
        2) At 1604, for the given initial conditions, solve the following optimization problem.
    
    






  
    
      
        
          max
          c
        
        ⁢
        
          
            [
            
              Trace
              (
              
                
                  A
                  T
                
                ⁢
                
                  L
                  v
                
                ⁢
                
                  
                    LDOM
                    ⁡
                    
                      (
                      
                        
                          
                            M
                            T
                          
                          ⁢
                          LDOLDOM
                        
                        +
                        
                          K
                          n
                        
                      
                      )
                    
                  
                  
                    -
                    1
                  
                
                ⁢
                
                  M
                  T
                
                ⁢
                
                  LDOL
                  v
                
                ⁢
                A
              
              ]
            
          
          
            [
            
              Trace
              ⁡
              
                (
                
                  
                    A
                    T
                  
                  ⁢
                  
                    L
                    v
                  
                  ⁢
                  
                    L
                    v
                  
                  ⁢
                  A
                
                )
              
            
            ]
          
        
      
    
    
      
        (
        1
        )
      
    
  




In equation (1), M depends upon c, c is constrained between [0,3], and Kn is the noise covariance matrix. This quantity is a measure of the overlap between the subspace spanned by the filters and the subspace spanned by the RISW color-matching functions (CMFs).

    
    
        3) At 1606, clip to zero, values of c that are less than about 0.5 microns.
        4) At 1608, if the maximum number of iterations is not reached and the clipping amount was significant, then set the initial conditions to the clipped output (at 1610) and repeat step 2 (1604).
        5) At 1612, test the filter performance in terms of a least squares fit, maximum and average ΔE on an ensemble of reflectance spectra and in terms of average and maximum ΔE with filter coasting variations of 10.1 microns.
        6) At 1614, if the filter is better than the other tested, and then save it.
        7) At 1616, return to step 1 (1602) until N random initial conditions are run.
    
    


The method 1600 addresses the problem of variation to initial conditions by using a variety of starting points and saving the best results. The problem of the solution set not being continuous is addressed by using iterations.
It is known that multiple coatings of filters increase the cost of the device. Placing a constraint on the number of coatings is a useful technique for simplifying the optimization problem. It was determined that by limiting the number of coatings to one and two coatings, the sensitivity to initial conditions was no longer found to be a significant problem. In addition, it was possible to search all the various one and two coating combinations, maximizing the cost function of equation (8).
Computational Study Results
In a computational study, to assess the feasibility of a reflectance device according to the present invention, each possible double coated filter combination was optimized for filter sets sizes 4 and 5. A linear estimator was used to map from the recorded values to CIEXYZ values. The estimator used a priori knowledge of the reflectance spectra being measured. The filter set that provided the maximum values for equation (4) was then selected.
FIG. 17 is a chart showing the spectral power distributions for some exemplary colorimeter illuminants, (e.g., tungsten, standard white LED, warm white LED). As illustrated, the results for the standard white LED spectrum were poor due to the extreme spectral variation of the source. For this reason and to reduce the amount of data presented, the remainder of this description will concentrate on the tungsten and warm white LED sources.
FIGS. 18-29 display various filter transmittances and their approximation of the CIEXYZ color matching functions. Specifically, FIGS. 18-20 are charts illustrating the transmittances and illuminant-weighted color matching function approximations for four filters for use with warm white LEDs, FIGS. 21-23 are charts illustrating the transmittances and weighted color matching function approximations for five filters for use with warm white LEDs, FIGS. 24-26 are charts illustrating the transmittances and weighted color matching function approximations for four filters for use with a 2900K tungsten source, and FIGS. 27-29 are charts illustrating the transmittances and weighted color matching function approximations for five filters for use with a 2900K tungsten source.
FIGS. 30-35 shows tables, which summarize the calorimetric performances of the filters using the projection and linear minimum mean square error (LMMSE) transformation methods. The coating thickness values for the filter sets are given in the tables shown in FIGS. 34 and 35. Nominal ΔEmax is the maximum ΔE value across an ensemble of reflectance spectra for the filter set with its specified coating. Nominal ΔEavg is the average ΔE value across an ensemble of reflectance spectra for the filter set with its specified coating. Deviation MAXΔEmax is the maximum ΔE value across an ensemble of reflectance spectra for the filter set with all ±0.1 micron variations from the specified coating. Deviation MAXΔEavg is the maximum taken across all ±0.1 micron variations from the specified coating of the average ΔE value across an ensemble of reflectance spectra.
Based upon this data, a tungsten source or a warm white LED source can be implemented to design a good reflectance colorimeter with these colorants. A concern with the tungsten source is the low power levels in the blue portion of the spectrum as well as concerns about power consumption, if the device were powered via USB or even battery. The low signal level in the blue region is the reason for the relatively high signal-to-noise ratios (SNR) that were used in the simulation. The SNR as reported was computed as an average SNR across the channels. Hence, the SNR in the blue end of the spectrum is lower than indicated in the table and the SNR in the red end is higher.
FIG. 36 is a high level block diagram of a general purpose computer suitable for use in performing the functions described herein. In FIG. 36, the system 3600 comprises a processor element 3602 (e.g., a CPU), a memory 3604, e.g., random access memory (RAM) and/or read only memory (ROM), an exemplary embodiment of the method for designing a colorimeter having integral CIE color-matching filters, including determining optimal colorant thicknesses 3605, and various input/output devices 3606 (e.g., storage devices, including but not limited to, a tape drive, a floppy drive, a hard disk drive or a compact disk drive, a receiver, a transmitter, a speaker, a display, a speech synthesizer, an output port, and a user input device, such as a keyboard, a keypad, a mouse, and the like).
Exemplary embodiments of the present invention can be implemented in software and/or in a combination of software, firmware, and/or hardware, e.g., using application specific integrated circuits (ASIC), a general purpose computer or any other hardware equivalents. In one embodiment, the method 3605 can be loaded into memory 3604 and executed by processor 3602 to implement the functions as discussed above. As such, the method 3605 (including associated data structures) of the present invention can be stored on a computer readable medium or carrier, e.g., RAM memory, magnetic or optical drive or diskette and the like.
While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

## Claims

1. A method for determining a design of a color-measuring device, comprising:
determining a plurality of light detectors; and
determining a plurality of filters having a plurality of colorants that are permanently deposited onto the plurality of light detectors;
wherein the plurality of colorants permits reflected light to pass through the plurality of filters to cause the plurality of light detectors to produce an output approximating a plurality of spectral responses of at least one Commission internationale de l'éclairage (CIE)-like color-matching function weighted by a reference illuminant spectrum.

2. The method of claim 1, wherein the color-measuring device is a solid-state device.

3. The method of claim 1, wherein each filter in the plurality of filters has at least one layer, and further comprising:
determining a thickness of each of the at least one layer.

4. The method of claim 1, further comprising:
determining a set of combinations of the plurality of colorants weighted by a colorimeter illuminant spectrum, each combination in the set of combinations being determined so that the output has the plurality of spectral responses approximating the CIE-like color-matching function weighted by the reference illuminant spectrum.

5. The method of claim 4, further comprising:
selecting one combination in the set of combinations having a best solution and meeting predetermined performance criteria, the one combination being permanently deposited onto the color-measuring device.

6. A method for designing a colorimeter having integral illuminant-weighted Commission internationale de l'éclairage (CIE)-like color-matching filters, comprising:
determining a set of channels from a plurality of channels;
determining a set of filters, each filter in the set of filters being permanently deposited on each channel in the set of channels, each filter in the set of filters being an absorptive filter, each filter in the set of filters having at least one layer, at least one channel in the set of channels having at least one filter with a double layer so that a linear combination of the set of channels weighted by a colorimeter illuminant spectrum matches a set of CIE-like target color-matching functions weighted by a reference illuminant spectrum within a tolerance, each channel in the set of channels integrating at least one detector and at least one filter in the set of filters onto a single semiconductor substrate;
determining a colorant for each layer on each channel in the set of channels from a set of colorants; and
determining a thickness of each layer on each channel in the set of channels.

7. The method of claim 6, further comprising:
determining the linear combination of the set of channels weighted by the colorimeter illuminant spectrum to approximate each CIE-like target color-matching function in the set of CIE-like target color-matching functions weighted by the reference illuminant spectrum.

8. The method of claim 6, wherein each channel in the set of channels is substantially identical prior to attachment of the set of filters.

9. The method of claim 6, wherein selection of the colorant for each channel in the set of channels and a colorant thickness for each layer on each channel in the set of channels is performed by:
generating a set of potential solutions, the set of potential solutions including a set of colorants to be apportioned in colorant layers to comprise a filter for each channel in the set of channels, a particular number of colorant layers for each filter, and a thickness of each colorant layer for each channel in the set of channels.

10. The method of claim 9, further comprising:
selecting a solution from the set of potential solutions by minimizing a number of channels in the set of channels needed to match the CIE-like target color-matching functions within the tolerance, by minimizing a number of colorant layers per channel in the set of channels without increasing the number of channels in the set of channels needed to match the CIE-like target color-matching functions weighted by the reference illuminant spectrum within the tolerance, and by minimizing deviations in performance under the influence of colorant layer thickness variations; and
providing the solution, the solution including the set of channels, the colorant for each layer of each channel in the set of channels, and the thickness of each layer needed to match the CIE-like target color-matching functions weighted by the reference illuminant spectrum within the tolerance.

11. The method of claim 10, wherein selecting the solution further comprises:
optimizing colorant selection and layer thicknesses for a best match to the CIE-like target color-matching functions weighted by the reference illuminant spectrum; and
optimizing channel coefficients for the best match to the CIE-like target color-matching functions weighted by the reference illuminant spectrum.

12. The method of claim 10, wherein selecting the solution further comprises:
testing the set of potential solutions for layer thickness variation;
sorting the set of potential solutions by a figure of merit value;
selecting a solution from the set of potential solutions by configuration type and layer structure.

13. The method of claim 10, wherein matching the CIE-like target color-matching functions weighted by the reference illuminant spectrum within the tolerance includes computing an error measure for a test reflectance spectra.

14. The method of claim 10, further comprising: comparing and storing results for set of the potential solutions.

15. The method of claim 10, further comprising:
providing a plot of the solution and the target color-matching functions weighted by the reference illuminant spectrum.

16. The method of claim 10, further comprising:
providing quantitative color differences between the solution and the target color-matching functions weighted by the reference illuminant spectrum.

17. A method for designing a colorimeter having integral illuminant-weighted Commission internationale de l'éclairage (CIE) color-matching filters, comprising:
receiving a plurality of colorants and a plurality of target CIE-like color-matching functions;
determining a plurality of channel colorant recipes and a plurality of additive mixtures of channels weighted by a colorimeter illuminant spectrum to match the plurality of target CIE-like functions weighted by a reference illuminant spectrum within a tolerance for a minimum number of channels and colorants per channel, each channel being one of a plurality of channels in a colorimeter, each channel having a filter covering each detector; and
providing a best solution from the plurality of channel colorant recipes and the plurality of additive mixtures of channels, the best solution including a set of channels, a thickness for each colorant in each channel, and a matrix of linear coefficients.

18. The method of claim 17, further comprising: generating a plurality of combinations of the plurality of channel colorant recipes and the plurality of additive mixtures of channels;
finding a plurality of potential solutions by optimizing the thickness for each colorant in each channel and to approximate the target CIE-like color-matching functions weighted by the reference illuminant spectrum; and
selecting the best solution from the plurality of potential solutions.

19. The method of claim 17, further comprising:
receiving a plurality of colorant spectra, a detector response spectrum, an optics transmission spectrum, and a reference illuminant spectrum.

20. The method of claim 17, further comprising:
receiving a plurality of reference reflectance spectra.

21. The method of claim 17, wherein the filter is absorptive and the best solution includes at least one double layer.

22. A semiconductor substrate according to the method of claim 17, the semiconductor substrate having deposited thereon the plurality of channels, each channel in the plurality of channels integrating at least one detector and at least one filter, according to the best solution.

23. A computer-readable medium having stored thereon a plurality of instructions, the plurality of instructions including instructions which, when executed by a processor, cause the processor to perform the steps of a method for designing a colorimeter having integral Commission internationale de l'éclairage (CIE) color-matching filters, comprising:
determining a plurality of light detectors; and
determining a plurality of filters having a plurality of colorants that are permanently deposited onto the plurality of light detectors;
wherein the plurality of colorants permit reflected light to pass through the plurality of filters to cause the plurality of light detectors to produce an output approximating a plurality of spectral responses of at least one CIE-like color-matching function weighted by a reference illuminant spectrum.