Method and apparatus for measuring color

- L'OREAL

The invention relates to apparatus for measuring color, the apparatus comprising: an acquisition system including a video camera and processing means organized to respond to the signals delivered by the camera to determine the tristimulus values of the color of the object in a reference calorimetric system by using a transfer matrix to transform the calorimetric system associated with said acquisition system into the reference calorimetric system, and to determine a correction function &Ggr; to correct the non-linearities of said acquisition system.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

[0001] To measure the color of an opaque object, it is known to use a calorimeter comprising a light source for illuminating the object, optical analyzer apparatus for analyzing the light reflected by the object, and calculation means responsive to the signals delivered by the optical analyzer apparatus to determine the tristimulus values X, Y, and Z of the color of the object in a reference colorimetry system, for example the system adopted in 1931 by the International Commission on Illumination (CIE).

[0002] The optical analyzer apparatus includes means for splitting the light reflected by the object into three beams, each of which passes through a filter system and terminates on an associated photoelectric cell.

[0003] That type of known calorimeter suffers from the drawback of requiring direct contact between the optical analyzer apparatus and the object whose color is to be measured, and of being unsuited to measuring the color of an object remotely or to measuring the color of an object that is not opaque, that diffuses or absorbs light while also passing a portion thereof, such as the skin or certain plastics or kinds of makeup.

[0004] To mitigate those drawbacks, attempts have been made to measure color by means of a video camera.

[0005] Nevertheless, so far as the Applicant company is aware, there still does not exist any apparatus which is suitable for remotely measuring the color of an object, in particular an object that is not opaque, and which is capable of measuring color accurately, reliably, and quickly while nevertheless being of relatively low price.

OBJECTS AND SUMMARY OF THE INVENTION

[0006] A particular object of the present invention is to provide novel apparatus for measuring the color of any type of object, using a video camera, and making it possible to measure color accurately, reliably, and quickly while being of relatively low cost and easy to use.

[0007] The invention achieves this by means of an apparatus for measuring color, comprising:

[0008] an acquisition system including a video camera, said acquisition system being suitable for delivering signals representative of the tristimulus values in a calorimetric system associated with said acquisition system for the color of an object placed in the observation field of the camera; and

[0009] processor means organized to respond to said signals to determine the tristimulus values of the color of the object in a reference colorimetric system using a transfer matrix to transform from the calorimetric system associated with said acquisition system into the reference calorimetric system, and a correction function for correcting the non-linearities of said acquisition system, said transfer matrix and said correction function being calculated using an iterative process based on the known tristimulus values in the reference calorimetric system of three primary colors and of at least two gray levels and from their tristimulus values in the colorimetric system associated with said acquisition system, as obtained by using said video camera to observe said primary colors and said gray levels.

[0010] In a preferred embodiment of the invention, the apparatus further includes a display system for reproducing all or a portion of the image observed by said video camera after said signals delivered by the acquisition system have been processed by said correction function.

[0011] Preferably, said display system includes a cathode ray tube (CRT) display device.

[0012] Advantageously, the apparatus further comprises a light source for illuminating the object placed in the field of observation of the camera, said source having a continuous emission spectrum I(&lgr;) selected so as to be close to a reference illuminant of spectrum D(&lgr;).

[0013] The camera includes a set of optical filters of spectra FR(&lgr;), FG(&lgr;), and FB(&lgr;) to resolve the image observed by the camera into primary color images on the sensors of said camera, advantageously the source is filtered by one or more filters for which the resultant filter function F(&lgr;) is selected so as to minimize the error of differences between the products D(&lgr;).x(&lgr;), D(&lgr;).y(&lgr;), and D(&lgr;).z(&lgr;), and a linear combination of the products:

[0014] F(&lgr;).I(&lgr;).FR(&lgr;), F(&lgr;)I(&lgr;).FG(&lgr;), and F(&lgr;).I(&lgr;).FB(&lgr;) where x(&lgr;), y(&lgr;), and z(&lgr;) are the spectral tristimulus values in the reference calorimetric system.

[0015] Preferably, said reference illuminant is the CIE illuminant of spectral D65(&lgr;).

[0016] The invention also provides a method of measuring the color of an object from an acquisition system including a video camera suitable for delivering signals representative of the tristimulus values, in a colorimetric system associated with the said acquisition system, of the color of an object placed in the field of observation of the camera, the method comprising the steps consisting in:

[0017] successively or simultaneously placing in the field of observation of the camera three primary colors and at least two gray levels, the tristimulus values of said primary colors and of said gray levels being known in a reference calorimetric system;

[0018] using an iterative process based on said tristimulus values in said reference colorimetric system and the corresponding tristimulus values in the calorimetric system associated with said acquisition system as obtained by observing said primary colors and said gray levels using said camera to calculate a transfer matrix for transforming from the calorimetric system associated with said acquisition system into the reference calorimetric system, and also a correction function for correcting the non-linearities of said acquisition system; and

[0019] determining the tristimulus values in the reference calorimetric system of the color of an object placed in the field of observation of the camera by using said transfer matrix and said correction function as calculated.

[0020] Advantageously, in the method, the color of the object is also viewed by means of a display system after the non-linearities of the acquisition system have been corrected.

[0021] Advantageously, in this method, the non-linearities of the display system are also corrected.

[0022] In a particular implementation of the method of the invention, the display system includes a CRT display device.

[0023] In a particular implementation of the method of the invention, a function for correcting the non-linearities of the display system is determined by:

[0024] displaying two zones having the same color but with luminances that may be different, the color of one of the zones being obtained by juxtaposing pixels having distinct control levels and the color of the other zone being obtained by a set of pixels all having the same control level corresponding to the mean of the control levels of the pixels of the other zone; and

[0025] making the luminances of the two zones equal for an observer by acting on pixel control level in one of the zones.

[0026] From the values of the pixel control levels in each of said zones before and after luminance equalization, information is deduced for calculating said correction function for correcting the non-linearities of the display system.

[0027] Preferably, one of the zones is rasterized.

[0028] Advantageously, said rasterized zone has every other raster line black.

[0029] When the display system includes a CRT display device and at a control level transition for pixels in the same raster line giving rise to a change in luminance between at least one pixel in said raster line and the pixel immediately following it, in the raster scanning direction, the control level for said immediately following pixel is advantageously selected as a function of the rate at which the control signal for the electron beam reaching pixels situated on the same raster line varies when the pixel control level varies.

[0030] To determine the correction to be made to take account of the rate at which the signal controlling the electron beam reaching pixels situated on the same raster line varies, it is advantageous to proceed as follows.

[0031] Two zones of the same color but of luminances that may be different are displayed, the color of one of the zones being obtained by juxtaposing on the same-raster line pixels of different control levels, and the color of the other zone being obtained by a set of pixels all having the same control level, then the luminances of the two zones are made equal for an observer by acting on pixel luminance control level in one of the zones.

[0032] From the values of the pixel luminance control levels in each of said zones before and after equalization, information is deduced for calculating the correction to be provided in order to take into account the rate at which the control signal for the electron beam reaching the pixels situated in the same raster line varies when the pixel control level varies.

[0033] Preferably, the zone formed by juxtaposing pixels of different luminances comprises, in the scan direction, alternating pixels each of luminance set to a level different from that of the preceding pixel.

[0034] The invention also provides a method of correcting the response of a display device having raster lines of pixels, in which, at a transition in the control level for pixels in the same raster line that gives rise to a variation of luminance at least between a pixel of said raster line and the pixel immediately following it in the raster scanning direction, the control level of said immediately following pixel is selected as a function of the rate at which the luminance of pixels situated on the same raster line varies when the control level of said pixels varies.

[0035] Advantageously, a correction function is determined for correcting the non-linearities of said display device by:

[0036] displaying two zones having the same color but luminances that may be different, the color of one of said zones being obtained by juxtaposing pixels having different control levels, while the color of the other zone is obtained by a set of pixels all having the same control level;

[0037] making the luminances of the two zones equal for an observer by acting on the pixel control levels of one of the zones; and

[0038] from the values of the pixel control levels of each of said zones, deducing information for calculating said correction function for correcting the non-linearities of the display device.

[0039] In a particular implementation of this method, said zone made up of pixels having different control levels is rasterized.

[0040] Advantageously, said rasterized zone includes raster lines in which every other raster line is black.

[0041] In another particular implementation of the method, said zone made up of pixels having different control levels includes alternating pixels in each raster line having a control level that is different from the control level of the preceding pixel in said raster line.

[0042] Also, in a particular implementation of the method of the invention, the above-mentioned iterative process comprises the steps consisting in:

[0043] calculating an approximate transfer matrix on the basis of the known tristimulus values of said primary colors and of said gray levels, and on the basis of an approximate correction function;

[0044] calculating a new approximate correction function using the approximate transfer matrix calculated in this way and the known tristimulus values of said gray levels, and by interpolating the missing values; and

[0045] recalculating the approximate transfer matrix and the approximate correction function until a fixed convergence threshold is reached.

[0046] In a variant, the iterative process comprises the steps consisting in:

[0047] calculating an approximate correction function on the basis of the known tristimulus values of said primary colors and of said gray levels, and on the basis of an approximate transfer matrix;

[0048] calculating a new approximate transfer matrix using the known tristimulus values of said grays and interpolating the missing values; and

[0049] recalculating the approximate correction function and the approximate transfer matrix until a fixed convergence threshold is reached.

[0050] Advantageously, non-uniformities in the illumination of the object by the source are also corrected, as are optical aberrations of the camera, by measuring the luminance of the screen at various points and by comparing it with the luminance at a reference point, e.g. the center of the image.

BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The invention will be better understood on reading the following detailed description of a non-limiting embodiment of the invention, and on examining the accompanying drawings, in which:

[0052] FIG. 1 is a diagrammatic view of color measuring apparatus constituting an embodiment of the invention;

[0053] FIG. 2 is a model of the acquisition system;

[0054] FIG. 3 is a model of the processing that enables the tristimulus values in the reference colorimetry system to be determined;

[0055] FIG. 4 is a flow chart showing the iterative process for calculating the transfer matrix and a correction function for correcting the non-linearities of the acquisition system;

[0056] FIG. 5 is a model of the processing enabling corrected tristimulus values to be determined in the colorimetry system associated with the display system;

[0057] FIG. 6 is a model of the processing applied to the input signals in a CRT display device;

[0058] FIGS. 7 and 8 show two test patterns for calibrating the-display system; and

[0059] FIGS. 9 and 10 are diagrams showing how luminance variation in pixels on the same raster line varies as a function of variation in the control level applied to the pixels, respectively with and without anticipated correction for taking into account the rate at which the signal controlling the electron beam reaching the pixels varies when the control level varies.

MORE DETAILED DESCRIPTION

[0060] FIG. 1 shows apparatus constituting a non-limiting embodiment of the invention and enabling the color of an object 0 to be measured remotely.

[0061] The apparatus 1 comprises a video camera 2, a microcomputer 3, and a cathode ray tube (CRT) display device 4.

[0062] The camera 2 has three CCD type sensors 8, 9, and 10 suitable for delivering respective analog electric signals VR, VG, and VB, representative of red, green, and blue levels at each point of the image observed and scanned by the camera 2, in conventional manner.

[0063] A light source 7 serves to illuminate the object 0 placed in the field of the camera 2. Advantageously, a xenon light source is used which comes close to the D65(&lgr;) spectrum as defined by the CIE.

[0064] The microprocessor 3 includes a central processor unit 5 and a three-channel analog-to-digital converter 6 connected to the central unit 5 and enabling the analog signals VR, VG, and VB delivered by the camera 2 to be converted into digital form.

[0065] The signals converted into digital form and respectively referenced R, G, and B are then applied to the central unit 5.

[0066] In the particular example described, each of the signals R, G, and B is encoded on 8 bits, and the data acquired by the camera at each image point is constituted by a triplet (R, G, B) of three integers each lying in the range 0 to 255.

[0067] Naturally, it would not go beyond the ambit of the invention to encode the signals on some other number of bits.

[0068] The camera 1 and the converter 6 constitute an acquisition system which is modelled in FIG. 2.

[0069] The light spectrum reflected from each point of the object 0 and observed by the camera is the product of the spectrum of the light source I(&lgr;) multiplied by the reflectance spectrum Re(&lgr;) at said point.

[0070] The optical system of the camera 2 has three optical filters of respective spectra FR(&lgr;), FG(&lgr;), and FB(&lgr;) to resolve the image observed by the camera onto the CCD sensors 8, 9, and 10 in the form of images in the primary colors red, green, and blue.

[0071] The electronic components of the acquisition system contribute noise that can be resolved into an AC component and a DC component, with the noise in each of the channels being written NR, NG, and NB.

[0072] The high and low digitizing levels for each of the channels 11, 12, and 13 in the converter 6 are adjustable.

[0073] The low digitizing level in each channel is adjusted so as to eliminate the DC component of the noise, and the procedure is to ensure the lens cap is in place on the camera and then increase progressively the low digitizing level until the darkest zone of the image corresponds to the converter outputting a digital signal equal to unity on each channel.

[0074] The high digitizing level is adjusted by placing the brightest object liable to be observed in the field of observation of the camera.

[0075] It is advantageous to use a white surface.

[0076] The high digitizing level is adjusted until the brightest observed zone on the image corresponds to each channel of the example described outputting the maximum value of its digital signal minus unity, i.e. outputting the value 254.

[0077] If necessary, the brightness of the source 7 is reduced if the high level cannot be adjusted in the above manner.

[0078] AC noise can be attenuated by averaging a plurality of successive acquisitions of the same image.

[0079] The digital signals (R, G, B) delivered by the converter 6 are processed in the central unit 5 to determine, at each point of the image observed by the camera 2, the tristimulus values in a reference colorimetry system, such as the XYZ colorimetry system of the CIE. This processing corrects the non-linearities in the acquisition system, i.e. essentially the non-linearities of the CCD sensors 8, 9, and 10, and also the non-linearities of the converter 6. This processing also advantageously corrects non-uniformity of illumination of the object 0 by the source 7, and optical aberrations of the camera 2.

[0080] Naturally, it would not go beyond the ambit of the invention to select a reference colorimetry system other than the XYZ colorimetry system of the CIE.

[0081] FIG. 3 models the processing performed by the central unit 5.

[0082] &Ugr;R, &Ugr;G, and &Ugr;B designate the components of the function &Ugr; for correcting the non-linearities of the CCD sensors 8, 9, and 10 and of the converter 6 in each of the red, green, and blue channels.

[0083] The transfer function for transforming the calorimetric system associated with the acquisition system into the reference colorimetric system can be written in the form of a matrix M.

[0084] X, Y, and Z represent the tristimulus values in the reference colorimetric system.

[0085] FX(i, j), FY(i, j), and FZ(i, j) designate the functions for correcting non-uniformity in the illumination of the object by the source 7, and for correcting optical aberrations of the camera 2, as a function of the coordinates (i, j) of each point under consideration in the image.

[0086] The coefficients of the matrix M and the components &Ugr;R, &Ugr;G, and &Ugr;R are calculated in the manner described below with reference to the algorithm shown in FIG. 4.

[0087] Initially, in step 14, a first data set is acquired for use in the subsequent processing, by placing successively or simultaneously in the field of observation of the camera n calorimetric samples corresponding to different gray levels with known tristimulus values (X, Y, Z) in the reference calorimetric system XYZ.

[0088] Then, in the next step 15, three calorimetric samples corresponding to three primary colors with known tristimulus values in the reference calorimetric system are placed successively or simultaneously in the field of view to acquire a second data set for subsequent use in the processing. The tristimulus values in the reference colorimetry system can be measured using a spectrophotometer.

[0089] By way of example, the primary colors can be red, green, and blue, or magenta, cyan, and yellow. In general, they can be any colors providing they form a base in the reference calorimetric system.

[0090] The primary colors are preferably selected in such a manner that the triangle they form in the plane of the chromatic diagram for the reference colorimetric system encompasses all of the colors that are to be measured.

[0091] The calorimetric samples used are preferably opaque and of uniform color, and therefore measurable using a conventional colorimeter or spectrophotometer.

[0092] The various grays and primary colors are preferably measured in the center of the observation field of the camera 2 over an area that is sufficiently small, preferably constituting only about 10% of the total area covered by the field of observation of the camera, and which can be considered as being illuminated in uniform manner by the source 7.

[0093] Preferably, in order to acquire the various grays and primary colors, the positions of the source 7 and of the camera 2 relative to the samples, and also the type of lighting used, are as close as possible to the measurement configuration used by the calorimeter or spectrophotometer for determining the tristimulus values of the colors of the calorimetric samples used in the reference calorimetric system.

[0094] In step 14, the acquisition system delivers signals representative of the tristimulus values of n gray levels in the form of triplets of values which are written, in simplified manner: RE1, RE2, . . . , REn, and the corresponding triplets in the reference calorimetric system are respectively written, likewise in simplified manner, as: XE1, XE2, . . . , XEn.

[0095] The notation REi designates a triplet of values (R, G, B) and the notation XEi designates the corresponding triplet of values (X, Y, Z).

[0096] In step 15, the acquisition system delivers triplets of tristimulus values RC1, RC2, and RC3, which triplets correspond in the reference calorimetric system to XC1, XC2, and XC3, respectively, using the same type of notation as above.

[0097] In step 16, an iteration parameter k is initialized to the value 0, and in step 17, an approximate correction function &Ugr;k is initialized with components &Ugr;Rk, &Ugr;Gk, and &Ugr;Bk, which function may vary on each iteration.

[0098] At iteration k=0, &Ugr;R0, &Ugr;G0, and &Ugr;B0 are selected to be equal to the identity function.

[0099] In step 18, for each iteration k, an approximate matrix Pk is calculated for converting from the reference colometric system XYZ into the colorimetric system associated with the acquisition system by the formula:

Pk(&Ugr;k)([RC1RC2RC3])[XC1XC2XC3]−1

[0100] In step 19, the n values of the approximate correction function &Ugr;k are calculated using the formula:

(&Ugr;k(REi)=PkXEi for i going from 1 to n.

[0101] In step 20, the values missing from the correction function &Ugr;k at iteration k are interpolated as follows.

[0102] For example, for the component &Ugr;Rk:

[0103] if &Ugr;Rk(&ohgr;0) is known and if &Ugr;Rk(&ohgr;1) is known,

[0104] then for &ohgr;0<&ohgr;<&ohgr;1,

[0105] &Ugr;Rk(&ohgr;) is determined by the following formula:

log(&Ugr;Rk(&ohgr;)/255)=((&ohgr;−&ohgr;1)/(&ohgr;0−&ohgr;1)·log(&Ugr;Rk(&ohgr;0)/255)+((&ohgr;−&ohgr;0)/(&ohgr;0−&ohgr;1))·log(&Ugr;Rk(&ohgr;1)/255)

[0106] The same is applied to &Ugr;Gk and &Ugr;Bk.

[0107] In step 21, the correction functions &Ugr;Rk, &Ugr;Gk, and &Ugr;Bk are normalized:

255.&Ugr;Rk(&ohgr;)/&Ugr;Rk(255)→&Ugr;Rk(&ohgr;)

255.&Ugr;Gk(&ohgr;)/&Ugr;Gk(255)→&Ugr;Gk(&ohgr;)

255.&Ugr;Bk(&ohgr;)/&Ugr;Bk(255)→&Ugr;Bk(&ohgr;)

[0108] for &ohgr; going from 1 to n.

[0109] In step 22, the error ek is calculated using the formula:

ek(&Sgr;((Mk&Ugr;k(RCi)−XCi)2)1/2

[0110] for i going from 1 to n, with Mk=(Pk)−1.

[0111] In step 23, the iteration parameter k is incremented.

[0112] In step 24, a test is made to see whether the error ek has converged.

[0113] If it has converged, the iterative process is stepped in step 25, otherwise the process returns to step 18 to calculate a new approximate transfer matrix Pk and a new approximate function &Ugr;k for correcting non-linearities.

[0114] In step 25, the final transfer matrix M is calculated for transforming the colorimetric system associated with the acquisition system into the reference colorimetric system using the formula:

M=Mk=&Ugr;k([XC1XC2XC3])[RC1RC2RC3]−1

[0115] The transfer matrix M and the function &Ugr; for correcting non-linearities are thus calculated using an iterative method in which each iteration calculates an approximate transfer matrix and an approximate function for correction non-linearities.

[0116] Once the components &Ugr;R, &Ugr;G, and &Ugr;B of the function &Ugr; for calculating the transfer matrix M has been calculated, functions are determined for correcting non-uniformity in the illumination of the object 0 by the source 7, and for correcting the optical aberrations of the camera, i.e. the above-mentioned function FX(i, j), FY(i, j), and FZ(i, j) are calculated.

[0117] The functions FX(i, j), FY(i, j), and FZ(i, j) are calculated by acquiring the image of an object of uniform color that occupies the entire field of observation of the camera, and by determining the correction to be provided in such a manner that all of the image points have the same tristimulus values as the center of the image.

[0118] More precisely, in the example described, the tristimulus values for all of the points belonging to a measurement window are averaged, with said set of points being centered on a point having coordinates (i, j).

[0119] Mean values IMX(i, j), IMY(i, j), and IMZ(i, j) are thus obtained and the functions FX(i, j), FY(i, j), and FZ(i, j) are obtained by applying the following formulae:

FX(i, j)=IMX(icenter, jcenter)/IMX(i, j)

FY(i, j)=IMY(icenter, jcenter)/IMY(i, j)

FZ(i, j)=IMZ(icenter, jcenter)/IMZ(i, j)

[0120] where (icenter, icenter) are the coordinates of the center of the image.

[0121] Transforming from (R, G, B) coordinates to (X, Y, Z) coordinates as described above can impart a bias when the products D65(&lgr;).x(&lgr;), D65(&lgr;).y(&lgr;) and D65(&lgr;).z(&lgr;) are not linear combinations of the products I(&lgr;).FR(&lgr;), I(&lgr;).FG(&lgr;), and I(&lgr;).FB(&lgr;), as is usually the case.

[0122] In order to reduce this bias, the source can advantageously be filtered with an optical filter F defined in such a manner as to minimize the error of differences between the products D65(&lgr;).x(&lgr;), D65(&lgr;).y(&lgr;), and D65(&lgr;).z(&lgr;) and a linear combination of the products F(&lgr;).I(&lgr;).FR(&lgr;), F(&lgr;)I(&lgr;).FG(&lgr;), and F(&lgr;).I(&lgr;).FB(&lgr;)

[0123] Such a filter serves to optimize color measurement and is matched to the acquisition system.

[0124] It will be understood that the particular embodiment of the invention described above makes it possible to discover accurately the components (X, Y, Z) in the reference colorimetric system of an object that is placed in the field of observation of a video camera.

[0125] Thus, for example, it is possible to inspect, without making physical contact, articles such as receptacles or labels travelling at high speed on a manufacturing line, with inspection serving to detect any change in the color of said objects or any surface defects.

[0126] It can also be advantageous to use a display system to reproduce accurately the color of an object observed by the camera.

[0127] Advantageously, a color is simultaneously measured and accurately reproduced by the display system. Nevertheless, without going beyond the ambit of the invention, it is possible to perform one or the other.

[0128] When all that is required is to reproduce the color of an object accurately by means of the display system, there is no need to display to the user the tristimulus values of the color of the object in the reference calorimetric system as calculated by the central unit 5 in the manner described above.

[0129] Applying the output signals (R, G, B) from the converter 6 directly to the input of the display system would lead to unsatisfactory reproduction of the color of the object on the screen of the display device 4, in particular because of the non-linearities in the acquisition system and because of the non-linearities in the display system, and because of the differences between the calorimetric systems associated respectively with the acquisition system and with the display system.

[0130] A first improvement is provided by correcting the non-linearities of the acquisition system, as described above.

[0131] Nevertheless, the quality with which the color of the object is reproduced can be further improved when the non-linearities of the display system are also corrected.

[0132] This correction is performed in the central unit 5.

[0133] FIG. 5 shows a model of the processing for transforming tristimulus values (X, Y, Z) in the reference calorimetric system XYZ into tristimulus values (R′, G′, B′) at the input to the display system.

[0134] The process begins by transforming the previously determined tristimulus values (X, Y, Z) into tristimulus values in the calorimetric system associated with the display system by means of a transfer matrix M′, and then each of the values obtained in this way has a correction function &Ugr;′ applied thereto which is not related to position on the screen, which function has components &Ugr;R′, &Ugr;G′, and &Ugr;B′, and then a function is applied for correcting non-uniformity of screen illumination FR(i, j), FG(i, j), and FB(i, j) which is associated with position on the screen.

[0135] FIG. 6 shows a model of the processing applied to the digital signals (R′, G′, B′) received by the display system which leads to an image being obtained on the screen of the display device.

[0136] The tristimulus values (R′, G′, B′) for each image point are transformed into analog signals by means of a three-channel digital-to-analog converter 26, 27, and 28. The analog signals output from the converter are processed in conventional manner at 29 so that each of them controls a cathode beam for illuminating phosphorescent regions of the screen that respond to the incident electron flux by emitting light of a determined color. Summing the spectra R(&lgr;), G(&lgr;), and B(&lgr;) emitted by the phosphorescent regions, respectively producing the colors red, green, and blue, gives rise to a resultant spectrum E(&lgr;) for each image point.

[0137] This transfer matrix M′ is calculated by knowing the tristimulus values (XR′, GR′, ZR′), (XG′, YG′, ZG′) and (XB′, YB′, ZB′) in the reference colorimetric system XYZ of input colors corresponding respectively to the following triplets (255, 0, 0), (0, 255, 0), and (0, 0, 255) for each image point.

[0138] The transfer matrix M′ has column vectors comprising the coordinates in the reference colorimetirc system for the three primary colors under consideration. 1 M ′ = X R ′ , X G ′ , X B ′ Y R ′ , Y G ′ , Y B ′ Z R ′ , Z G ′ , Z B ′

[0139] To calculate the components &Ugr;′R, &Ugr;′G, and &Ugr;′B of the correction function &Ugr;′, and knowing the matrix M′, it is possible to use a screen calorimeter to measure the light emitted at the center of the image as a function of successive and different input triplet values (R′, G′, B′).

[0140] It is also possible to determine the components &Ugr;′R, &Ugr;′G, and &Ugr;′B without screen color measurement, as follows.

[0141] Account is taken of the fact that the luminance W from each screen point is associated with the voltage V controlling the electron beam reaching it by the following approximate formula:

log(W/Wmax)=k1+k2log(V/Vmax)+k3(log(V/Vmax)2+k4(log(V/Vmax))3

[0142] Two ranges of input values R′, G′, or B′ are then distinguished: [0, 64] and [64, 255].

[0143] In each range, the parameters k1, k2, k3, and k4 are determined by the luminance value when the input digital signal has the following values in succession: 0, 32, 64, 128 in the first range, and 32, 64, 128, 255 in the second.

[0144] By way of example, it is assumed that the procedure begins by seeking to determine the component &Ugr;′R.

[0145] A test pattern of the kind shown in FIG. 7 is displayed on the screen which pattern comprises a central rectangle of red color corresponding to an input selection (128, 0, 0). The central rectangle is included in a rasterized rectangle where every other line is of a red color corresponding to an input of (255, 0, 0) and where every other line is of a black color corresponding to input values of (0, 0, 0).

[0146] Thereafter, and where appropriate, the input digital signal (R′, 0, 0) controlling the luminance of the central rectangle is controlled until the luminance thereof appears to be equal to the luminance of the rasterized rectangle.

[0147] Thereafter, the correction is deduced that ought to have been applied to the input signal in order to obtain such equalization in the value of the function &Ugr;′R(128).

[0148] The procedure is then repeated by displaying a central rectangle of color (64, 0, 0) surrounded by a rasterized rectangle where every other line is of a red color corresponding to (&Ugr;′R(128), 0, 0) and the intermediate lines being black in color, thereby making it possible to calculate &Ugr;′R(64), etc . . . .

[0149] Thereafter, the values of the parameters k1, k2, k3, and k4 are determined and the missing values of &Ugr;′R are calculated from the preceding formula.

[0150] The same procedure is applied for calculating &Ugr;′G and &Ugr;′B.

[0151] Non-uniformity in screen illumination is due mainly to the dispersion of the electron beam that strikes the screen.

[0152] In order to correct this non-uniformity, the luminance and various points of the screen is measured for each of the three channels: red, green, and blue.

[0153] For each of the red, green, or blue channels, correction factors are calculated to be applied to each point on the screen.

[0154] The correction factors for each of the red, green, and blue channels are written FR(i, j), FG(i, j), and FB(i, j) respectively.

[0155] It is assumed that the screen is calibrated in the center, so that it suffices to know the correction factors to be applied to each point of coordinates (i, j) on the surface of the screen away from the center in order to obtain a screen that is calibrated in full.

[0156] The illumination of the screen as a function of the coordinates (i, J) of a point away from the center and of the coordinates icenter, jcenter at the center of the screen varies approximately with the following function C(i, j):

C(i, j)=(((i−icenter)2+(j−jcenter)2/r2) * ((1+(i−icenter)2)/r2)1/2 * ((1+(j−jcenter)2)/r2)1/2

[0157] where r is the radius of curvature of the screen.

[0158] The luminance of each rectangle of a calibration grid of the kind shown in FIG. 8 is then measured by means of a screen calorimeter or by means of a spectro-photometer.

[0159] By comparing this luminance with the luminance at the center, it is possible to deduce a plurality of values for the function FR(i, j).

[0160] Given these values, it is then possible to calculate the missing values of the function FR(i, j) by interpolating using a 3rd degree polynomial function.

[0161] FG(i, j) and FB(i, j) are obtained in the same manner.

[0162] Also, a CRT behaves like a lowpass filter, and the value of the control signal applied to the electron beam reaching pixels on a given raster line depends on the value of the control signal for the preceding pixel on the same raster line.

[0163] By way of example, FIG. 9 shows how luminance variation for successive pixels situated on a given raster line itself varies as a function of variation in control level.

[0164] More precisely, the example shown relates to the case where the control level is m1 for pixels situated at the beginning of the raster line and changes to m2 for the following pixels, where the value m2 is less than the value m1.

[0165] It is observed that the luminance W of the pixels in response to control level m2 does not drop suddenly form W(m1) to W(m2) but drops in substantially exponential manner.

[0166] In other words, if the pixel control level changes suddenly from the value m1 to the value m2, then the luminance does not switch immediately to the level W(m2).

[0167] It is then advantageous to correct the control level in anticipation of the rise or fall time for each of the red, green, and blue channels.

[0168] The correction is performed for each raster line in the scanning direction.

[0169] Assuming that it is desired in a given raster line to switch from a luminance W(m1) corresponding to a control level m1 to a luminance W(m2) corresponding to a control level m2, then the level of the pixel control signal is corrected by anticipation for the pixels that are to be activated so that said pixels reach the luminance level W(m2) more quickly.

[0170] Thus, the pixels are controlled using a control level m3 that is lower than m2 so as to cause luminance to fall off more quickly, as shown in FIG. 10.

[0171] This predictive correction to the control level does not appear in the model shown in FIG. 5, in order to clarify the drawing.

[0172] In order to determine the time constant that makes it possible to calculate the rise or fall time of the electron beam control signal, it is possible to proceed by displaying a first rectangle on the screen in a single color in which every other pixel of each raster line constituting the rectangle is controlled by means of different control levels.

[0173] A second rectangle having the same color and the same control level in all of its pixels is also displayed on the screen.

[0174] Thereafter, it is possible to deduce the value of the time constant from the values of the pixel control levels applied to the two rectangles displayed on the screen, and thus to deduce the correction that should be applied to the control levels for said pixels in order to perform the above-mentioned predictive correction.

[0175] Finally, the invention makes it possible to measure the color of objects whether or not they are opaque, whether or not they are plane or in relief, whether or not they are moving or fixed, and it enables the measurement to be performed without coming into contact with the objects, with measurement being performed in transmission or in reflection, and more particularly the invention makes it possible to measure the color of skin and of hair.

[0176] In an advantageous embodiment, the invention further makes it possible to reproduce without excessive distortion the color of an object by means of a display device.

[0177] The invention also makes it possible to measure the color of each point of an object, even if the object is non-uniform in color.

[0178] Naturally, the invention is not limited to the embodiment described above and, in particular, it is possible to use other display devices, such as a printer or a liquid crystal screen.

Claims

1. A method of correcting the response of a display device having rasters of pixels, wherein, at a transition in the control level for pixels in the same raster line that gives rise to a variation of luminance at least between a pixel of said raster line and the pixel immediately following it, in the raster scanning direction, the control level of said immediately following pixel is selected as a function of the rate at which the luminance of pixels situated on the same raster line varies when the control level of said pixels varies.

2. A method according to claim 1, wherein a correction function is determined for correcting the non-linearities of said display device by: displaying two zones having the same color but luminances that may be different, the color of one of said zones being obtained by juxtaposing pixels having different control levels, while the color of the other zone is obtained by a set of pixels all having the same control level; making the luminances of the two zones equal for an observer by acting on the pixel control levels of one of the zones; and from the values of the pixel control levels of each of said zones, deducing information for calculating said correction function for correcting the non-linearities of the display device.

3. A method according to claim 2, wherein said zone made up of pixels having different control levels is rasterized.

4. A method according to claim 3, wherein said rasterized zone includes raster lines in which every other raster line is black.

5. A method according to claim 3, wherein said zone made up of pixels having different control levels includes alternating pixels in each raster line having a control level that is different from the control level of the preceding pixel in said raster line.

Patent History
Publication number: 20020051097
Type: Application
Filed: Oct 10, 2001
Publication Date: May 2, 2002
Applicant: L'OREAL
Inventors: Laurence Caisey-Bluteau (Cormeilles En Parisis), Johan Aubert (Clichy)
Application Number: 09972927
Classifications
Current U.S. Class: Cathode-ray Tube (348/805)
International Classification: H04N005/68;