A display color correction method and device
By generating a large number of individual color matching functions and average perceived color coordinates, and combining the confidence ellipse algorithm and the Monte Carlo method, the brightness of the three primary colors of the display device is adjusted, thus solving the problem of color perception differences in the display device and achieving subjective color consistency of the display device.
Patent Information
- Application Number
- CN202410096918.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-01-23
AI Technical Summary
Different individuals have subjective differences in their perception of the colors displayed on display devices, and existing technologies cannot effectively improve the subjective color consistency of display devices.
By simulating and generating color matching functions for a large number of individuals, the average perceived color coordinates of the three primary color spectra of the display device are determined. These average perceived color coordinates are then used to calibrate the display device. By combining the confidence ellipse algorithm and the Monte Carlo method, a color matching function matching the user group is generated, and the brightness of the three primary colors is adjusted to achieve color consistency.
It improves the subjective consistency of color perception of display devices among different individuals, enabling display devices with different spectra to give different people the same color perception, thus alleviating the differences in color perception between individuals.
Smart Images

Figure CN119252206B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of terminal technology, and in particular to a display color correction method and device. Background Technology
[0002] In device display scenarios, because different individuals' color perceptions are not entirely consistent, there may be inconsistencies in the subjective perception of the displayed colors by different individuals. For example, different people may see different colors for the same image displayed on the same device, or different people may see different colors for the same image displayed on different devices with the same color coordinates. To achieve subjective consistency in users' color perception of display devices, it is necessary to calibrate the displayed colors of the display devices. Summary of the Invention
[0003] The purpose of this invention is to provide a display color correction method and device for correcting the display colors of a display device, thereby improving the subjective consistency of color perception among different users.
[0004] In a first aspect, the present invention provides a display color correction method, comprising: determining the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of a display device for each of the multiple target individuals according to the color matching function of the multiple target individuals; and performing display color correction on the display device using the average perceived color coordinates of the multiple target individuals for each of the primary color spectra.
[0005] In the above implementation scheme, the average perceived color coordinates of the three primary colors of the display device are fitted to the color matching functions of a large number of individuals. Then, the average perceived color coordinates of the three primary colors of the display device are used to correct the various displayed colors of the display device. This correction process combines the visual perception of a large number of individuals, which can improve the subjective consistency of users' color perception of the display device, and maximize the effect that the display screens of display devices with different spectra provide the same color perception to different people.
[0006] In one implementation of the display color correction method described above, the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for each target individual are determined according to the color matching function of the multiple target individuals. This includes: determining the perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for each target individual according to the color matching function of the multiple target individuals; and determining the average perceived color coordinates of the multiple target individuals for each primary color spectrum according to the perceived color coordinates of the multiple target individuals for each primary color spectrum.
[0007] In one implementation of the display color correction method described above, the perceptual color coordinates of each target individual for each primary color spectrum in the three primary color spectrum of the display device are determined according to the color matching function of multiple target individuals. This includes: determining the tristimulus values of each target individual for each primary color spectrum in the three primary color spectrum of the display device according to the color matching function of multiple target individuals; and determining the perceptual color coordinates of multiple target individuals for each primary color spectrum according to the tristimulus values of each target individual for each primary color spectrum.
[0008] In one implementation of the display color correction method described above, the average perceived color coordinates of multiple target individuals for each primary color spectrum are determined based on the perceived color coordinates of each target individual for each primary color spectrum. This includes: using a target algorithm to determine the center color coordinates of the perceived color coordinates of each target individual for each primary color spectrum; and determining each center color coordinate as the average perceived color coordinates of multiple target individuals for each primary color spectrum.
[0009] In this implementation, the average perceived color coordinates of multiple target individuals are determined using a target algorithm. Then, the display device is color-corrected based on the average perceived color coordinates of the group, so that the corrected colors can give different individuals similar color perception.
[0010] In some implementations of the first aspect of the display color correction method described above, the target algorithm is a confidence ellipse algorithm or a confidence ellipsoid algorithm.
[0011] In some implementations of the first aspect of the display color correction method described above, before determining the center color coordinates of the perceived color coordinates of each target individual for each primary color spectrum using a target algorithm, the method further includes: converting the perceived color coordinates of each target individual for each primary color spectrum to a uniform color space.
[0012] In this implementation, the perceptual color coordinates of different individuals are transformed to a uniform color space before center fitting, which can improve the accuracy of the fitting results and make the fitting results better represent the average level of the population.
[0013] In some implementations of the first aspect of the display color correction method described above, before performing display color correction on the display device using the average perceived color coordinates of multiple target individuals for each primary color spectrum, the method further includes: converting the average perceived color coordinates from a uniform color space to the color space corresponding to the color matching function.
[0014] In some implementations of the first aspect of the display color correction method described above, the display device is corrected by using the average perceived color coordinates of multiple target individuals on the spectrum of each primary color. This includes: calculating the target three primary color brightness corresponding to each display color of the display device using the average perceived color coordinates of multiple target individuals on the spectrum of each primary color; and correcting the current three primary color brightness of each display color of the display device using the target three primary color brightness.
[0015] In one implementation of the display color correction method described above, the average perceived color coordinates of multiple target individuals for each primary color spectrum are used to calculate the target three primary color brightness corresponding to each display color of the display device, including: according to the formula Calculate the target three primary color brightness corresponding to each displayed color of the display device; where x1, y1, z1 are the average perceived color coordinates of multiple target individuals for the R primary color of the display device, x2, y2, z2 are the average perceived color coordinates of multiple target individuals for the G primary color of the display device, and x3, y3, z3 are the average perceived color coordinates of multiple target individuals for the B primary color of the display device; x mix y mix , z mix Let X be the color coordinate of any displayed color on the display device. mix Y mix Z mix Y1 represents the tristimulus value of any displayed color in the display device; Y2 represents the target R primary color luminance of any displayed color in the display device; and Y3 represents the target G primary color luminance of any displayed color in the display device.
[0016] In this implementation, the characteristic that only the brightness of the three primary color spectra changes when the display device displays different colors, while the color coordinates of the three primary color spectra remain unchanged, can be utilized to correct the brightness of the three primary colors corresponding to different displayed colors by using the average perceived color coordinates of the three primary color spectra of the audience.
[0017] In some implementations of the first aspect of the display color correction method described above, before determining the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for multiple target individuals based on the color matching function of multiple target individuals, the method further includes: generating the color matching function of multiple target individuals using the Monte Carlo method.
[0018] In one implementation of the display color correction method described above, the Monte Carlo method is used to generate color matching functions for multiple target individuals, including: determining the target population that matches the display device; determining the constraints on the target color matching function model based on the eye state of the target population; and generating color matching functions for multiple target individuals based on the target color matching function model using the Monte Carlo method under the constraints.
[0019] In this implementation, the color matching function corresponding to the user group of different display devices can be generated in a targeted manner based on the differences of user groups of different display devices. This makes the subsequent correction results match the user group targeted by the display device, thereby improving the subjective color consistency of the target user group in the display device usage scenario.
[0020] Secondly, this technical solution provides an electronic device, including: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the device, cause the device to perform the method of the first aspect or any possible implementation thereof.
[0021] Thirdly, the present invention also provides a chip, the chip including a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface and executes the method in the first aspect or any possible implementation thereof.
[0022] Optionally, as one implementation, the chip may further include a memory storing instructions, and the processor is configured to execute the instructions stored in the memory. When the instructions are executed, the processor is configured to perform the method in the first aspect or any possible implementation thereof.
[0023] Fourthly, the present invention also provides a computer-readable storage medium storing program code for execution by a device, the program code including instructions for performing the method in the first aspect or any possible implementation thereof. Attached Figure Description
[0024] Figure 1 This is a schematic diagram of the 2006 2° viewing angle standard observer color matching function provided in the embodiments of this application;
[0025] Figure 2 This is a schematic flowchart of a display color correction method provided in an embodiment of this application;
[0026] Figure 3This is a schematic diagram of the color matching function for multiple target individuals provided in the embodiments of this application;
[0027] Figure 4 This is a schematic diagram of the fitting result of the confidence ellipse algorithm provided in the embodiments of this application on the average perceived color coordinates;
[0028] Figure 5 This is another schematic flowchart of the display color correction method provided in the embodiments of this application;
[0029] Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0030] Before describing the present invention, relevant background theory will be introduced for ease of understanding.
[0031] There are three different types of cone cells distributed in the human eye: L-type cone cells, M-type cone cells, and S-type cone cells. Among them, L-type cone cells are sensitive to long-wavelength light signals, M-type cone cells are sensitive to medium-wavelength light signals, and S-type cone cells are sensitive to short-wavelength light signals.
[0032] When a beam of light enters the human eye, it activates the three types of cone cells to varying degrees, causing them to generate electrical signals of different intensities, also known as stimulation values. These three different intensities of electrical signals then mix, causing the brain to produce specific color perception.
[0033] However, in real-world scenarios, the sensitivity of cone cells to light signals of different wavelengths varies among individuals. Therefore, different individuals may perceive different colors for the same image displayed on the same device, or the same image displayed on different devices may appear differently to different individuals. To achieve subjective color consistency across display devices, it is necessary to correct the displayed colors so that images displayed on devices with different spectra provide the same color perception to different individuals.
[0034] The color matching function (CMF) is used to characterize color perception produced by light signals of different wavelengths. Because of individual differences in vision, the CMF varies from person to person. To characterize the average level of human vision, the International Commission on Illumination (CIE) defined the concept of a standard observer. Figure 1 A schematic diagram of the standard observer color matching function for a 2006 2° viewing angle is given, where the horizontal axis represents wavelength and the vertical axis represents the relative intensity of the tristimulus values. According to... Figure 1The color matching function shown can determine the spectral tristimulus values of light signals of different wavelengths for a standard observer at a 2° viewing angle. It should be understood that the spectral tristimulus values represented by the color matching function belong to the XYZ color space. The XYZ color space is a user-friendly mathematical model constructed based on the stimulation values received by LMS cone cells, and the stimulation values received by LMS cone cells correspond to human physiological structural parameters.
[0035] In some technical solutions, the color matching function of the CIE 1931 2° viewing angle or 2006 2° viewing angle standard observer can be used to correct the displayed color of the display device.
[0036] However, as a theoretical concept, the color matching function of a standard observer is insufficient to characterize the spectral response of an individual observer's cone cells. Therefore, for the general population with visual biases, the above correction scheme cannot effectively reduce the differences in people's visual perception of colors displayed by display devices. In other words, the above technical solution can only ensure that the color coordinates of different display devices are corrected to be consistent, but it does not take into account the visual differences between individuals and cannot effectively improve the subjective color consistency of display devices.
[0037] Based on the above problems, embodiments of this application are proposed.
[0038] This application embodiment can simulate and generate color matching functions for a large number of individuals. Then, based on the color matching functions of a large number of individuals, the average perceived color coordinates of the population to the three primary color spectra of the display device can be determined. Finally, the display device is used to perform display color correction using the average perceived color coordinates of the population.
[0039] The above-mentioned solution in this application can make the corrected display color consistent with the actual color perception of the audience, thereby effectively alleviating the differences in individual color perception of the display screen and improving the subjective color consistency of the display screen.
[0040] The display color calibration method provided in this application can be applied to any display device to be calibrated. In this case, the display device to be calibrated can achieve its own display color calibration by executing the display color calibration method provided in this application.
[0041] Alternatively, the display color calibration method provided in this application can be applied to any calibration device used to calibrate a display device to be calibrated. In this case, the calibration device can achieve calibration of the display device to be calibrated by executing the display color calibration method provided in this application.
[0042] In this embodiment of the application, the display device to be calibrated can be any electronic device with display function, such as a mobile phone, tablet computer, television, wearable device, in-vehicle display device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc. This embodiment of the application does not impose any restrictions on the specific type of display device.
[0043] The display color calibration method provided in this application can be used by researchers to calibrate the display color of a display device before it leaves the factory, or it can be used by ordinary users to calibrate the display color of a display device after it leaves the factory. This application does not impose any limitations on this.
[0044] The display color correction method provided in the embodiments of this application will be described in detail below.
[0045] Figure 2 This is a schematic flowchart of a display color correction method provided in an embodiment of this application, such as... Figure 2 As shown, the display color correction method provided in this application embodiment includes:
[0046] 101, a color matching function that generates multiple target individuals.
[0047] This application provides a target color matching function model. The target color matching function model can be used to simulate and generate color matching functions for different target individuals. For example, the target color matching function model provided in this application can be:
[0048] lms-CMFs=f(a,v,d lens ,d macula ,d L ,d M ,d S ,s L ,s M ,s S )
[0049] Where a represents the observer's age, v represents the field of view, and d lens The deviation [%] of the average pigment density of the lens, d macula The deviation [%] of the average peak optical density of macular pigment is represented by d. L d M d SThe values represent the deviations [%] from the average peak optical density of the photopigments in cone cells at long, medium, and short wavelengths, respectively. L s M and s S These represent the deviation [nm] of the average shift of the photosensitive peak of the photopigments in cone cells for long-wave, medium-wave, and short-wavelength photosensitive cells.
[0050] In this embodiment, based on the aforementioned target color matching function model, relevant algorithms, such as the Monte Carlo method, can be used to randomly generate color matching functions for multiple target individuals. To approximate the true level of the population, in this embodiment, the number of generated color matching functions can be a relatively large value; for example, 5000 color matching functions for target individuals can be randomly generated as sample data.
[0051] Figure 3 A schematic diagram of the color matching function for each target individual is provided. The horizontal axis represents the wavelength of the light signal, and the vertical axis represents the spectral tristimulus value of the light signal at the corresponding wavelength. The larger the stimulus value, the more sensitive the observer is to the light signal at that wavelength. In particular, when the observer is 32 years old, the field of view is 2°, and all other deviations are 0, the corresponding color matching function is consistent with the color matching function of the standard observer at 20062°.
[0052] Depend on Figure 3 It is understandable that color perception varies among different target individuals, resulting in inconsistent color matching functions. Furthermore, the color matching functions of different individuals do not align with the color matching function of a standard observer. Therefore, this application determines the perceptual color coordinates of a large number of target individuals based on their color matching functions, and uses this as a basis to correct the displayed colors of the display device. This ensures that the corrected displayed colors are consistent with the color perception of the population, thereby improving the consistency of subjective perception of the colors displayed by the display device among different individuals.
[0053] In this embodiment of the application, step 101 can be executed in response to a correction trigger operation, thereby generating color matching functions for multiple target individuals in real time after each correction process is triggered.
[0054] Alternatively, step 101 can be performed before receiving the correction trigger operation, allowing color matching functions for multiple target individuals to be pre-generated and stored. Upon receiving the correction trigger operation, the color matching functions for multiple target individuals can be directly read, and step 102 can be executed. This implementation method can shorten the execution time of the scheme.
[0055] Specifically, when the display color calibration method is performed by the display device to be calibrated itself, the aforementioned calibration triggering operation may, for example, be a triggering operation of the relevant setting buttons in the display device's settings interface. Alternatively, when the display color calibration method is performed by a calibration device connected to the display device to be calibrated, the aforementioned calibration triggering operation may, for example, be a triggering operation of the relevant control buttons in the calibration device.
[0056] 102. Based on the color matching function of multiple target individuals, determine the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for each target individual.
[0057] After generating color matching functions for multiple target individuals, the perceptual color coordinates of each target individual for each primary color spectrum in the three primary color spectrum of the display device can be determined based on the color matching function of each target individual.
[0058] Specifically, in real-world scenarios, common display devices employ RGB (Red, Green, Blue) three-primary-color display. Therefore, embodiments of this application can obtain the spectral information of the display device currently to be calibrated, including the spectral information of each of the three primary colors, R, G, and B.
[0059] In one possible implementation, the spectral information of the display device can be pre-stored in the display device to be calibrated before it leaves the factory. When the execution subject of this method is the display device to be calibrated itself, the display device can directly read the pre-stored spectral information. In this implementation, step 102 can also be executed before receiving the calibration trigger operation, thereby shortening the execution time of the scheme. When the execution subject of this method is a calibration device connected to the display device to be calibrated, the calibration device can obtain the spectral information of the display device to be calibrated from the display device to be calibrated.
[0060] In another possible implementation, the display device to be calibrated does not need to pre-store spectral information. When the execution subject of this method is the display device to be calibrated itself, before executing step 102, the display device to be calibrated can display a spectral information input interface for the user to input spectral information. At this time, the user can use a relevant spectral measuring instrument to measure the spectral information of the display device to be calibrated and complete the input in the spectral information input interface of the device to be calibrated. When the execution subject of this method is a calibration device connected to the display device to be calibrated, before executing step 102, the calibration device can display a spectral information input interface for the user to input spectral information. At this time, the user can use a relevant spectral measuring instrument to measure the spectral information of the display device to be calibrated and complete the input in the spectral information input interface of the calibration device.
[0061] Furthermore, the perceived color coordinates of each target individual for the three primary color spectra of R, G, and B can be calculated sequentially, including the perceived color coordinates (x, y, y) of the R primary color spectrum. r y r , z r ), and the perceived color coordinates (x) of the G primary color spectrum g y g , z g ), and the perceived color coordinates (x) of the B primary color spectrum. b y b , z b ).
[0062] For ease of explanation, we will use any single target individual A as an example below. It should be understood that this method applies equally to all other target individuals besides target individual A.
[0063] Specifically, firstly, based on the color matching function of the target individual A and the spectral information of the three primary colors, the tristimulus values (X, X, Y) of the target individual A for the spectrum of the primary color R can be calculated respectively. r Y r Z r ), and the tristimulus values (X) for the G primary color spectrum g Y g Z g ), and the tristimulus values (X) for the B primary color spectrum. b Y b Z b ).
[0064] It should be understood that, in essence, cone cells cannot distinguish wavelengths. When light signals of different wavelengths enter the human eye, such as blue light signals of 400nm, 450nm, and 500nm, each wavelength of light signal will cause a response from the cone cells, and the intensity of the response signal is the sum of the three.
[0065] Therefore, in this embodiment of the application, once the three primary color spectrum of the display device is determined, the XYZ tristimulus value of any primary color can be determined based on the sum of the stimulus values of each wavelength, that is, by integrating the stimulus values of each wavelength in the spectrum.
[0066] The tristimulus values (Xi, Xj, Xt) of the target individual A for the R primary color spectrum are calculated using the following formulas. r Y r Z r ), and the tristimulus values (X) of the G primary color spectrum g Y g Z g ), and the tristimulus values (X) of the B primary color spectrum. b Y b Z b ):
[0067]
[0068] Where X, Y, and Z represent the absolute values of the tristimulus, with Y also representing brightness. k is the adjustment factor. It is the spectral response function of the display device. These represent the spectral tristimulus values for the corresponding wavelengths. 380-780 is used to represent the wavelength range.
[0069] Furthermore, based on the tristimulus values corresponding to each primary color spectrum, the perceptual color coordinates (x, y, x) of the target individual A to the primary color spectrum of the display device R can be calculated using the following formula. r y r , z r ), and the perceived color coordinates (x) of the G primary color spectrum g y g , z g ), and the perceived color coordinates (x) of the B primary color spectrum. b y b , z b ):
[0070]
[0071] Among them, x, y, and z can represent the color coordinates in the colorimetric system.
[0072] By repeating the above calculation process for each of the remaining target individuals, the perceptual color coordinates of each target individual for the three primary color spectra of the display device can be obtained.
[0073] Furthermore, based on the perceived color coordinates of each target individual for each primary color spectrum in the three primary color spectrum of the display device, the average perceived color coordinates of each target individual for each primary color spectrum can be calculated, including the average perceived color coordinates for the R primary color spectrum. Average perceived color coordinates of the G primary color spectrum and the average perceived color coordinates of the B primary color spectrum
[0074] The following explanation uses the R primary color spectrum as an example to illustrate how to calculate the average perceived color coordinates of each target individual. It should be understood that this calculation method also applies to the G and B primary color spectra.
[0075] In this embodiment, a correlation algorithm can be used to fit the central color coordinates of the perceived color coordinates of each target individual for the R primary color spectrum. For example, a confidence ellipse algorithm can be used to fit the x-coordinates of the perceived color coordinates of each target individual in a two-dimensional plane formed by x and y. r y rThe components are fitted to obtain the central color coordinates in the two-dimensional plane formed by x and y. Alternatively, a confidence ellipsoid algorithm can be used to fit the perceived color coordinates of each target individual in the three-dimensional plane formed by x, y, and z to obtain the central color coordinates. These central color coordinates can then be determined as the average perceived color coordinates of each target individual for the R primary color spectrum.
[0076] In another implementation, before fitting the center color coordinates of the perceived color coordinates of each target individual for each primary color spectrum, the perceived color coordinates of each target individual can be transformed into a color space, such as L*a*b* color space or L*u*v* color space, from the XYZ color space to a uniform color space.
[0077] A uniform color space is one in which, when two or more colors are measured to have a color difference, the magnitude of that difference should correspond to the difference perceived by the human eye. Simply put, in a uniform color space, the spatial distance between different colors on the chromaticity diagram represents a color difference that corresponds to the visual difference perceived by the human eye. Conversely, in a non-uniform color space, even if the spatial distance between different colors on the chromaticity diagram is large, the visual difference perceived by the human eye may be very small.
[0078] Therefore, by transforming the perceived color coordinates to a uniform color space and then fitting a confidence ellipse to the perceived color coordinates in the uniform color space, the resulting fit can better represent the average level of the population and improve the accuracy of the fit.
[0079] Figure 4 A schematic diagram is presented showing the fitting results of the average perceptual color coordinates for each perceptual color coordinate on the plane formed by a*b* in the L*a*b* color space, using the confidence elliptic algorithm. Here, the a* component represents the components from green to red, and the b* component represents the components from blue to yellow.
[0080] It should be noted that after determining the average perceived color coordinates based on the above implementation method, before performing color correction on the display device, a color space conversion is required again to convert the average perceived color coordinates from the uniform color space back to the color space corresponding to the color matching function, namely the XYZ color space.
[0081] 103. The display color is corrected by using the average perceived color coordinates of multiple target individuals for each primary color spectrum.
[0082] For devices using RGB primary colors for display, once the spectra of the three primary colors are determined, different display colors can be obtained by adjusting the brightness (Y) of each of the RGB primary colors. Therefore, when calibrating any display color within a standard color gamut (such as sRGB, P3, etc.), it is only necessary to adjust the brightness (Y) of each of the RGB primary colors corresponding to that color. After adjusting the brightness (Y) of each of the RGB primary colors, the brightness of the RGB primary colors can be set according to the adjusted brightness to obtain the corresponding display color.
[0083] It should be noted that once the three primary color spectra of a display device are determined, the color coordinates x, y, z corresponding to each of the three primary color spectra are unique. In other words, a display device can obtain different display colors by adjusting the brightness Y of each of the RGB primary colors, but during this process, the color coordinates x, y, z corresponding to each of the three primary color spectra remain unchanged.
[0084] Based on the above description, in this embodiment of the application, for any display color to be corrected in the standard color gamut of the display device, the target three primary color brightness corresponding to the display color to be corrected can be calculated by using the average perceived color coordinates of multiple target individuals for each primary color spectrum. Then, the correction of the display color to be corrected is completed using the target three primary color brightness.
[0085] Specifically, for any display color to be corrected in the standard color gamut of a display device, the brightness of the target three primary colors corresponding to the display device can be calculated according to the following formula:
[0086]
[0087]
[0088] Among them, X mix Y mix Z mix Let Y be the tristimulus value of any display color to be calibrated in the standard color gamut of the display device, where Y is the tristimulus value of the display device. mix The value is given by the standard color gamut and is a known quantity.
[0089] x mix y mix z mix The color coordinates of any display color to be corrected in the standard color gamut of the display device are given by the standard color gamut and are known quantities.
[0090] Subscripts 1, 2, and 3 represent the three primary colors R, G, and B, respectively. X1, Y1, and Z1 represent the tristimulus values of the R primary color corresponding to the display color to be corrected, which are unknowns to be solved. X2, Y2, and Z2 represent the tristimulus values of the G primary color corresponding to the display color to be corrected, which are unknowns to be solved. X3, Y3, and Z3 represent the tristimulus values of the B primary color corresponding to the display color to be corrected, which are unknowns to be solved.
[0091] Among them, Y1, Y2, and Y3 also represent the target three primary color brightness of R, G, and B primary colors, respectively.
[0092] x1, y1, z1 represent the color coordinates of the R primary color corresponding to the display color to be corrected, and their values are the average perceived color coordinates of the R primary color by the aforementioned multiple target individuals. Consistent with each other, these are known quantities; x2, y1, z2 represent the color coordinates of the G primary color corresponding to the display color to be corrected, and their values are consistent with the average perceived color coordinates of the G primary color by the aforementioned multiple target individuals. Equal to each other, which are known quantities; x3, y3, z3 represent the color coordinates of the B primary color corresponding to the display color to be corrected, and their values are equal to the average perceived color coordinates of the B primary color by the aforementioned multiple target individuals. Consistent, and is a known quantity.
[0093] Using the above formula, the target three primary color luminances corresponding to each display color to be corrected in the standard color gamut of the display device can be calculated: Y1, Y2, Y3.
[0094] After obtaining the target primary color brightness for each display color to be calibrated on the display device, the current primary color brightness of each display color to be calibrated can be corrected using the target primary color brightness. For example, the current primary color brightness of each display color to be calibrated on the display device can be directly replaced with the target primary color brightness and stored. At this point, the display color calibration of the display device is complete.
[0095] After color calibration is completed, when the display device needs to display a specific color, it can directly read the brightness of the three primary colors corresponding to the color. Then, according to the read brightness of the three primary colors, the brightness of the three RGB primary colors can be set respectively to obtain the corresponding display color.
[0096] In the above technical solution, the average perceived color coordinates of the three primary colors of the display device are fitted to the color matching functions of a large number of individuals. Then, the average perceived color coordinates of the three primary colors of the display device are used to correct the various displayed colors of the display device. This correction process combines the visual perception of a large number of individuals. Through this correction process, the subjective consistency of users' color perception of the display device can be improved, so that the display images of display devices with different spectra can give different people the same color perception.
[0097] Figure 5 This is another schematic flowchart of the display color correction method provided in the embodiments of this application, such as... Figure 5 As shown, the display color correction method provided in this application embodiment includes:
[0098] 201. Identify the target audience that matches the display device.
[0099] 202. Based on the visual state of the target population, determine the constraints on the target color matching function model.
[0100] 203. Under constraints, the Monte Carlo method is used to generate color matching functions for multiple target individuals based on the target color matching function model.
[0101] In real-world scenarios, different types and models of display devices target different age groups of users. Furthermore, the eye conditions (such as field of view, lens pigment density, and macular pigment peak optical density) of users of different age groups vary, and their corresponding color matching functions are also different.
[0102] Based on the above description, in this embodiment of the application, before the display device leaves the factory, the age structure of the user group corresponding to different types and models of display devices can be determined in advance based on market research results and other information, and the eye condition of the user group of that age structure can be determined based on medical research results related to human eye development.
[0103] Furthermore, based on the age structure of the user groups corresponding to different types and models of display devices, as well as the eye states of user groups of different age groups, a mapping table can be generated and stored in the display devices. The mapping table can contain predefined mapping relationships between various types and models of display devices and target groups, as well as mapping relationships between different target groups and different eye states.
[0104] In response to the calibration process trigger operation, device information of the display device, such as device type and model, can be obtained. Then, based on the pre-stored mapping table, the target audience and the eye state of the target audience can be determined for different display devices.
[0105] Then, constraints on the target color matching function model can be generated based on the eye state of the target population. For example, the constraints could be the range of deviations in the average lens pigment density, the range of deviations in the average peak optical density of macular pigment, etc.
[0106] Based on the above scheme, after generating the color matching function of the target individual using the target color matching function model, the generated color matching function of the target individual can be matched with the eye state of the target population.
[0107] The above implementation method enables the color matching functions of multiple target individuals obtained based on the Monte Carlo method to match the user group targeted by the display device to be calibrated. This helps to improve the matching between the subsequent calibration results and the user group targeted by the display device, and specifically improves the subjective color consistency of the target user group in the display device usage scenario.
[0108] 204. Based on the color matching function of multiple target individuals, determine the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for each target individual.
[0109] 205. The display color is corrected by using the average perceived color coordinates of multiple target individuals for each primary color spectrum.
[0110] The implementation methods for steps 204 and 205 can be referred to the above embodiments, and will not be repeated here.
[0111] In another embodiment of this application, an electronic device may be provided, which can be used to perform the display color correction method provided in the above embodiments.
[0112] It is understood that, in order to achieve the above-mentioned functions, electronic devices include hardware and / or software modules that perform the respective functions. Based on the steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments.
[0113] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0114] When dividing each function into modules according to its corresponding function. Figure 6 This application provides a schematic diagram illustrating a possible composition of an electronic device, such as... Figure 5 As shown, the electronic device 600 may include: a determining unit 601 and a correcting unit 602, wherein:
[0115] The determining unit 601 is used to determine the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for each of the multiple target individuals according to the color matching function of the multiple target individuals;
[0116] The correction unit 602 is used to perform color correction on the display device by using the average perceived color coordinates of each primary color spectrum of multiple target individuals.
[0117] In one possible implementation, the determining unit 601 is specifically used to: determine the perceptual color coordinates of each target individual for each primary color spectrum in the three primary color spectrum of the display device according to the color matching function of multiple target individuals; and determine the average perceptual color coordinates of multiple target individuals for each primary color spectrum according to the perceptual color coordinates of each target individual for each primary color spectrum.
[0118] In one possible implementation, the determining unit 601 is specifically used to: determine the tristimulus values of each primary color spectrum in the three primary color spectrum of the display device for each target individual according to the color matching function of the multiple target individuals; and determine the perceptual color coordinates of the multiple target individuals for each primary color spectrum according to the tristimulus values of each target individual for each primary color spectrum.
[0119] In one possible implementation, the determining unit 601 is specifically used to determine the center color coordinates of the perceived color coordinates of each target individual for each primary color spectrum using a target algorithm; and to determine the center color coordinates as the average perceived color coordinates of multiple target individuals for each primary color spectrum.
[0120] In one possible implementation, the target algorithm is the confidence ellipse algorithm or the confidence ellipsoid algorithm.
[0121] In one possible implementation, before determining the center color coordinates of the perceptual color coordinates of each target individual using the target algorithm, the determining unit 601 is further configured to convert the perceptual color coordinates of each target individual to a uniform color space.
[0122] In one possible implementation, the determining unit 601 is further configured to convert the average perceived color coordinates from a uniform color space to the color space corresponding to the color matching function.
[0123] In one possible implementation, the correction unit 602 is specifically used to calculate the target three primary color brightness corresponding to each displayed color of the display device by using the average perceived color coordinates of each primary color spectrum of multiple target individuals; and to correct the current three primary color brightness of each displayed color of the display device by using the target three primary color brightness.
[0124] In one possible implementation, the correction unit 602 is specifically used to, according to the formula Calculate the target three primary color brightness corresponding to each displayed color of the display device; where x1, y1, z1 are the average perceived color coordinates of multiple target individuals for the R primary color of the display device, x2, y2, z2 are the average perceived color coordinates of multiple target individuals for the G primary color of the display device, and x3, y3, z3 are the average perceived color coordinates of multiple target individuals for the B primary color of the display device; x mix y mix , z mix Let X be the color coordinate of any displayed color on the display device. mix Y mix Z mix Y1 represents the tristimulus value of any displayed color in the display device; Y2 represents the target R primary color luminance of any displayed color in the display device; and Y3 represents the target G primary color luminance of any displayed color in the display device.
[0125] In one possible implementation, before determining the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for multiple target individuals based on the color matching function of multiple target individuals, the determining unit 601 is further configured to generate the color matching function of multiple target individuals using the Monte Carlo method.
[0126] In one possible implementation, the determining unit 601 is specifically used to: determine the target population that matches the display device; determine the constraints on the target color matching function model based on the eye state of the target population; and, under the constraints, use the Monte Carlo method to generate color matching functions for multiple target individuals based on the target color matching function model.
[0127] It should be understood that the electronic equipment described here is embodied in the form of functional units. The term "unit" here can be implemented in software and / or hardware, without specific limitation. For example, a "unit" can be a software program, hardware circuit, or a combination of both that implements the above-described functions. The hardware circuit may include application-specific integrated circuits (ASICs), electronic circuits, a processor (e.g., a shared processor, a proprietary processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, integrated logic circuits, and / or other suitable components supporting the described functions. Whether a function is implemented in hardware or in a manner driven by computer software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments.
[0128] The module division in this embodiment is illustrative and represents only one logical functional division. In actual implementation, other division methods are possible. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into a single processing module. The integrated modules described above can be implemented in hardware.
[0129] This application also provides an electronic device, which includes a storage medium and a central processing unit. The storage medium may be a non-volatile storage medium, and a computer-executable program is stored in the storage medium. The central processing unit is connected to the non-volatile storage medium and executes the computer-executable program to implement the above-described display color correction method.
[0130] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the various steps of the display color correction method of this application.
[0131] This application also provides a computer program product containing instructions that, when run on a computer or any at least one processor, causes the computer to execute the various steps of the display color correction method of this application.
[0132] This application also provides a chip, including a processor and a data interface. The processor reads instructions stored in a memory through the data interface to execute corresponding operations and / or processes performed by the display color correction method provided in this application.
[0133] Optionally, the chip further includes a memory connected to the processor via a circuit or wire, the processor being used to read and execute computer programs stored in the memory. Further optionally, the chip includes a communication interface to which the processor is connected. The communication interface is used to receive data and / or information that needs to be processed, the processor obtaining the data and / or information from the communication interface and processing the data and / or information. The communication interface can be an input / output interface.
[0134] The memory can be read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types of dynamic storage devices that can store information and instructions. It can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices. Alternatively, it can be any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
[0135] In this embodiment, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0136] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0137] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0138] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0139] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A display color correction method, characterized in that, include: Based on the color matching function of multiple target individuals, the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for each of the multiple target individuals are determined respectively; The display device is used to perform display color correction by using the average perceived color coordinates of the primary color spectrum of the multiple target individuals; The step of using the average perceived color coordinates of the multiple target individuals for each primary color spectrum to perform display color correction on the display device includes: Using the average perceived color coordinates of the multiple target individuals for each primary color spectrum, the target three primary color brightness corresponding to each displayed color of the display device is calculated; Using the target three primary color brightness, the current three primary color brightness of each displayed color of the display device is corrected; The step of calculating the target three primary color brightness corresponding to each displayed color of the display device by using the average perceived color coordinates of the multiple target individuals for each primary color spectrum includes: According to the formula Calculate the target three primary color brightness corresponding to each display color of the display device; Among them, the , , The average perceived color coordinates of the R primary color of the display device for the plurality of target individuals, the , , The average perceived color coordinates of the multiple target individuals for the G primary color of the display device, the , , The average perceived color coordinates of the multiple target individuals for the B primary color of the display device; The , , Let the color coordinates of any displayed color of the display device be the coordinates of the color ... , , The tristimulus value for any displayed color of the display device; , , The tristimulus value of the R primary color represents the color to be corrected for the display color. , , The tristimulus value of the G primary color corresponding to the display color to be calibrated; , , The tristimulus value of the B primary color, corresponding to the display color to be calibrated; The The target R primary color brightness for any displayed color of the display device, the The target G primary color brightness for any displayed color of the display device, the The target B primary color brightness for any displayed color on the display device.
2. The method according to claim 1, characterized in that, The step of determining the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for each of the multiple target individuals based on the color matching function of the multiple target individuals includes: Based on the color matching functions of multiple target individuals, the perceptual color coordinates of each target individual for each primary color spectrum in the three primary color spectrum of the display device are determined respectively; Based on the perceived color coordinates of each target individual for each primary color spectrum, the average perceived color coordinates of each target individual for each primary color spectrum are determined.
3. The method according to claim 2, characterized in that, The step of determining the perceived color coordinates of each target individual for each primary color spectrum in the three primary color spectrum of the display device based on the color matching function of multiple target individuals includes: Based on the color matching functions of multiple target individuals, the tristimulus values of each target individual for each primary color spectrum in the three primary color spectrum of the display device are determined respectively; Based on the tristimulus values of each primary color spectrum for each target individual, the perceptual color coordinates of each primary color spectrum for each of the multiple target individuals are determined.
4. The method according to claim 2, characterized in that, The step of determining the average perceived color coordinates of the multiple target individuals for each primary color spectrum based on the perceived color coordinates of each target individual for each primary color spectrum includes: Using a target algorithm, the center color coordinates of the perceived color coordinates of each target individual for each primary color spectrum are determined respectively; Each of the central color coordinates is determined as the average perceived color coordinate of the multiple target individuals for each primary color spectrum.
5. The method according to claim 4, characterized in that, The target algorithm is either the confidence elliptic algorithm or the confidence ellipsoid algorithm.
6. The method according to claim 4 or 5, characterized in that, Before determining the center color coordinates of the perceived color coordinates of each target individual for each primary color spectrum using the target algorithm, the method further includes: The perceptual color coordinates of each target individual to each primary color spectrum are transformed to a uniform color space.
7. The method according to claim 6, characterized in that, Before performing color correction on the display device using the average perceived color coordinates of the primary color spectra of the multiple target individuals, the method further includes: The average perceived color coordinates are transformed from the uniform color space to the color space corresponding to the color matching function.
8. The method according to claim 1, characterized in that, Before determining the average perceived color coordinates of each primary color spectrum in the three primary color spectrum of the display device for the multiple target individuals based on the color matching function of the multiple target individuals, the method further includes: Using the Monte Carlo method, color matching functions for multiple target individuals are generated.
9. The method according to claim 8, characterized in that, The method of generating color matching functions for multiple target individuals using the Monte Carlo method includes: Identify the target audience that matches the display device; Based on the visual state of the target population, determine the constraints on the target color matching function model; Under the constraints, the Monte Carlo method is used to generate color matching functions for multiple target individuals based on the target color matching function model.
10. An electronic device, characterized in that, include: One or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs including instructions that, when executed by the device, cause the device to perform the method as described in any one of claims 1-9.
11. A chip, characterized in that, The chip includes a processor and a data interface. The processor reads instructions stored in the memory through the data interface and executes the method as described in any one of claims 1-9.
12. A storage medium, characterized in that, The storage medium stores program instructions that, when run on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-9.
Citation Information
Patent Citations
Observer metameric failure reduction method
CN104509104A