WO2022199332A1 - Color correction method, correctable display method, electronic device, and chip - Google Patents

Color correction method, correctable display method, electronic device, and chip Download PDF

Info

Publication number
WO2022199332A1
WO2022199332A1 PCT/CN2022/078370 CN2022078370W WO2022199332A1 WO 2022199332 A1 WO2022199332 A1 WO 2022199332A1 CN 2022078370 W CN2022078370 W CN 2022078370W WO 2022199332 A1 WO2022199332 A1 WO 2022199332A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
response data
mapping relationship
correction
corrected
Prior art date
Application number
PCT/CN2022/078370
Other languages
French (fr)
Chinese (zh)
Inventor
张钧凯
杨洋
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022199332A1 publication Critical patent/WO2022199332A1/en

Links

Images

Classifications

    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Definitions

  • the embodiments of the present application relate to the technical field of machine vision, and in particular, to a color correction method, a correctable display method, an electronic device, and a chip.
  • the CIE 1931 XYZ color space (also known as the CIE 1931 color space) is one of the first color spaces to be defined mathematically.
  • the CIE 1931 color space usually gives the tristimulus values of colors, and represented by X, Y and Z.
  • CIE 1931 XYZ tristimulus values are mainly used to define the human eye's response to color.
  • Embodiments of the present application provide a color correction method, a correctable display method, an electronic device, and a chip.
  • an embodiment of the present application provides a color correction method, the method comprising:
  • an embodiment of the present application provides a calibratable display method, the method comprising:
  • Color display is performed according to the corrected color mapping relationship.
  • an embodiment of the present application provides an electronic device, the electronic device includes: a detection unit, a generation unit, a correction unit,
  • the detection unit is configured to detect the response data of the target observer to the reference picture
  • the generating unit configured to generate a color correction instruction based on the response data
  • the correction unit is configured to, in response to the color correction instruction, perform correction processing on a preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and color the image according to the corrected color mapping relationship. Correction processing, providing a color-corrected image.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory storing instructions executable by the processor, and a display, and when the instructions are executed by the processor, the The color correction method according to the first aspect or the correctable display method according to the second aspect.
  • an embodiment of the present application provides a chip, the chip is coupled to a display, and the chip includes: a receiving module, a generating module, a correcting module, and an outputting module,
  • the receiving module is configured to obtain the response data of the target observer to the reference picture
  • the generation module configured to generate a color correction instruction based on the response data
  • the correction module configured to perform correction processing on a preset color mapping relationship based on the color correction instruction and the response data, and obtain a corrected color mapping relationship
  • the output module is configured to perform color correction on the image according to the corrected color mapping relationship, and/or, configured to provide a driving voltage for the display according to the corrected color mapping relationship.
  • Figure 1 is the spectral response curve of CIE 1931 tristimulus values
  • FIG. 2 is a schematic diagram of a color sensor measuring the brightness of a display
  • Figure 3 is a schematic diagram of brightness levels
  • Figure 4 is the tristimulus value X spectral response
  • Figure 5 is the tristimulus value Y spectral response
  • Fig. 6 is the Z spectral response of tristimulus value
  • Fig. 7 is the realization flow schematic diagram 1 of the color correction method
  • FIG. 8 is a schematic diagram 1 of acquiring a detection instruction
  • 9 is a schematic diagram 2 of acquiring a detection instruction
  • Fig. 10 is the schematic diagram of detection result
  • 11 is a schematic diagram 1 of obtaining a correction instruction
  • 12 is a schematic diagram 2 of obtaining a correction instruction
  • Fig. 14 is the realization flow schematic diagram II of the color correction method
  • FIG. 15 is a schematic flowchart of the implementation of the correctable display method
  • Fig. 16 is the realization flow schematic diagram three of the color correction method
  • FIG. 17 is a schematic diagram of a background interface
  • 20 is a schematic diagram 2 of a reference picture
  • Fig. 21 is the realization schematic diagram of color correction
  • FIG. 22 is a schematic diagram of the composition structure of an electronic device
  • FIG. 23 is a second schematic diagram of the composition structure of an electronic device
  • FIG. 24 is a schematic diagram of the composition structure of the chip.
  • the electronic device needs to perform color correction to establish a corresponding relationship between the digital signal of the display channel and the display color, wherein the displayed color needs to be represented by the color perceived by the human eye.
  • Color-corrected monitors display accurate colors.
  • the International Commission on Illumination (CIE) in 1931 recommended the human eye's sensitivity spectrum curve for color by measuring the data of thousands of people, as shown in Figure 1.
  • the CIE 1931 tristimulus spectral response curve, shown in Figure 1 is the average response to color for thousands of observers.
  • the XYZ tristimulus response of the human eye can be obtained by integrating the spectrum reflected by the light source or the object and the corresponding wavelength of the XYZ tristimulus spectral response curve.
  • the human eye has receptors (called cones) for short (S), medium (M) and long (L) wavelengths of light, so in principle only three parameters can describe color perception.
  • cones for short (S), medium (M) and long (L) wavelengths of light
  • M medium
  • L long
  • the weights of the three primary colors the color.
  • the tristimulus value usually gives the tristimulus values of a color, represented by X, Y, and Z.
  • a color space refers to any method of relating each color to three numbers (or tristimulus values), and the CIE 1931 color space is one such color space.
  • the CIE XYZ color space is special because it is based on a direct measurement of human color vision and serves as the basis for the definition of many other color spaces.
  • tristimulus values do not refer to the human eye's response to short, medium, and long wavelengths (S, M, and L), but rather a set of values called X, Y, and Z, roughly corresponding to red , green and blue (where the X, Y and Z values do not really appear to be red, green and blue, but are parameters derived from red, green and blue), and use the CIE 1931 XYZ colors matching function to calculate.
  • Two light sources made up of a mixture of different wavelengths of light can exhibit the same color, which is called "metamerism". When two light sources have the same apparent color to a standard observer (CIE 1931 standard chromaticity observer), they have the same tristimulus value, regardless of the spectral distribution of the light that generated them.
  • Figure 2 is a schematic diagram of the color sensor measuring the brightness of the display. As shown in Figure 2, the color measurement sensor can be attached to the central surface of the display;
  • FIG. 3 is a schematic diagram of the brightness level, as shown in Figure 3, the display can be from small to large to Display the R channel at a certain grayscale interval, for example, display the R channel with 0, 1, ..., 255;
  • step c Perform the operation of step c on the G channel, the B channel, the R+B channel, the R+G channel, the B+G channel and the R+G+B channel in turn;
  • RGB electronic signal strength and XYZ tristimulus values.
  • Table 1 shows the brightness levels and corresponding XYZ values displayed by the bit numbers of different channels of the display. As shown in Table 1, RGB can be established in the form of a 3D comparison table. Corresponding relationship between electronic signal strength and XYZ tristimulus value;
  • the 3D comparison table can be called for color display.
  • the monitor When the monitor performs color correction according to the color perception curve of a standard observer, the displayed colors will make different observers see different colors, especially for very saturated colors, the color perception color difference between different people will further increase .
  • the present application proposes a method for establishing a personalized color correction scheme, so that the display can display different RGB values for different observers, and can combine the color responses of different observers, so that they can see the same s color.
  • the electronic device may first detect the actual color response of the target observer to obtain corresponding response data, and then use the response data to correct the preset color mapping relationship corresponding to the standard observer, Thereby, the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values is obtained, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship.
  • the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
  • FIG. 7 is a schematic diagram of the first implementation flow of the color correction method.
  • the method for performing color correction by an electronic device may include the following steps :
  • Step 101 Detect response data of the target observer to the reference picture, and generate a color correction instruction based on the response data.
  • the electronic device may first detect the response data of the target observer to the reference picture, and then may generate the color correction instruction based on the response data.
  • the electronic device may respond to the detection instruction and acquire response data corresponding to the target observer according to a preset detection strategy.
  • the above-mentioned electronic device may be any terminal device configured with a display screen, such as a tablet computer, a mobile phone, an electronic reader, a personal computer (Personal Computer, PC), a notebook computer, Vehicle-mounted equipment, Internet TV, wearable equipment, Personal Digital Assistant (PDA), Portable Media Player (PMP), navigation device, etc.
  • a tablet computer such as a tablet computer, a mobile phone, an electronic reader, a personal computer (Personal Computer, PC), a notebook computer, Vehicle-mounted equipment, Internet TV, wearable equipment, Personal Digital Assistant (PDA), Portable Media Player (PMP), navigation device, etc.
  • PDA Personal Digital Assistant
  • PMP Portable Media Player
  • the detection device is configured with a display screen, and the display screen can display colors according to a preset color mapping relationship.
  • the preset color mapping relationship may represent the corresponding relationship between the reference tristimulus values corresponding to the standard observer and RGB.
  • the electronic device may acquire a detection instruction corresponding to the target observer, where the detection instruction is used to perform personalized detection instructions on the spectral response data corresponding to the target observer.
  • the electronic device may acquire the detection instruction corresponding to the target observer through the touch operation detected on the display screen.
  • FIG. 8 is the first schematic diagram of acquiring the detection instruction.
  • the electronic device calls out the display interface corresponding to the detection function through the touch operation detected on the display screen, and acquires the detection instruction in the display interface.
  • the electronic device may also acquire the detection instruction corresponding to the target observer through a preset trigger mechanism.
  • FIG. 9 is a second schematic diagram of acquiring a detection instruction. As shown in FIG. 9 , when the electronic device detects a pressing operation with a pressure greater than a preset threshold on the physical buttons on both sides, the detection function is triggered, that is, the target observer is acquired detection command.
  • the electronic device after acquiring the detection instruction corresponding to the target observer, the electronic device can detect the color response of the target observer according to the preset detection strategy, so as to obtain the corresponding response of the target observer. data.
  • the response data of the target observer detected by the electronic device to the reference picture may be spectral response data corresponding to the target observer.
  • the preset detection strategy may be used to detect the actual color response of the target observer in combination with the Gamma value of the display screen in the electronic device.
  • the tristimulus value is the amount of three primary color stimuli required to match the color of the avenue to be measured in the three-color system, which can be represented by XYZ, X is the red primary color stimulus, Y is the green primary color stimulus, Z For the blue primary color stimulus.
  • the stimulus amount of red, green and blue can be represented by R, G, and B respectively. Since the three primary colors of red, green and blue selected from the actual spectrum cannot be mixed with all the colors that exist in nature, CIE It is assumed that there are three primary colors in nature, that is, the theoretical three primary colors, which are represented by XYZ, in order to theoretically mix colors together, thus forming the XYZ color measurement system.
  • the reference tristimulus value corresponding to the standard observer may be expressed as XYZ
  • the tristimulus value corresponding to the target observer may be expressed as (XYZ)′.
  • the electronic device may further generate a color correction instruction based on the response data.
  • the electronic device can adjust the preset color mapping relationship.
  • the electronic device may start the correction process of color display by receiving a color correction instruction corresponding to the target observer. That is, the color correction instruction can be used as an instruction to perform personalized adjustment processing of color display for the target observer.
  • the method for performing color display by the electronic device may further include the following steps:
  • Step 104 Generate a detection result according to the response data and the reference color response data.
  • Step 105 displaying the detection result.
  • the electronic device can respond to the color detection result according to the response data and the reference color data corresponding to the standard observer, and then The detection result can be displayed.
  • the detection result can be generated by using the response data and the reference color response data, that is, the electronic device can pass the detection result. Indicates the difference and difference between the response data and the reference color response data, so that after the detection results are displayed, the target observer can more intuitively understand their own personalized needs.
  • the form of the detection result generated by the electronic device may include various forms such as graphics and tables, which are not specifically limited in the present application.
  • FIG. 10 is a schematic diagram of the detection result.
  • the detection result generated by the electronic device according to the response data and the reference color response data may be a comparison diagram of different colors. It is more intuitive to reflect the difference between the response data of the target observer and the reference color response data of the standard observer.
  • the electronic device may directly obtain the correction instruction corresponding to the target observer, or may first respond to the data based on the response data and the reference color. Generate and display the detection results, and then obtain the correction instructions corresponding to the target observer.
  • the electronic device may acquire the correction instruction corresponding to the target observer through a touch operation detected on the display screen.
  • FIG. 11 is a schematic diagram 1 of obtaining a calibration instruction.
  • the electronic device calls out the display interface corresponding to the calibration function through a touch operation detected on the display screen, and obtains the calibration instruction in the display interface.
  • the electronic device may also acquire the correction instruction corresponding to the target observer through a preset trigger mechanism.
  • FIG. 12 is the second schematic diagram of obtaining the correction instruction.
  • the electronic device corrects the pressing operation with the pressure greater than the preset threshold on the physical buttons on both sides, the correction function is triggered, that is, the target observer is obtained. correction command.
  • Step 102 In response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data, and obtain the corrected color mapping relationship.
  • the electronic device may respond to the color correction instruction, and perform correction processing on the preset color mapping relationship based on the response data, so as to obtain the corrected color mapping relationship .
  • the electronic device displays colors according to a preset color mapping relationship, wherein the preset color mapping relationship can be used for the reference corresponding to the standard observer.
  • the corresponding relationship between the tristimulus values and the RGB values is determined, that is, the reference color response data is the standard spectral response data corresponding to the standard observer; correspondingly, the preset color mapping relationship is the reference three corresponding to the standard observer. Correspondence between stimulus values and RGB values.
  • the electronic device can correct the preset color mapping relationship according to the response data corresponding to the target observer, that is, change the corresponding relationship between the reference tristimulus value and the RGB value, and finally obtain the corrected color Mapping relations.
  • the corrected color mapping relationship can be used to determine the correspondence between the tristimulus values corresponding to the target observer and the RGB values. That is to say, the response data is the spectral response data corresponding to the target observer; correspondingly, the corrected color mapping relationship is the corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values.
  • the electronic device performs correction processing on the preset color mapping relationship based on the response data
  • the method for obtaining the corrected color mapping relationship may include the following steps:
  • Step 102a Determine a correction matrix according to the response data and the reference color response data.
  • the electronic device may first determine a correction matrix according to the response data and the reference color response data, wherein the correction matrix is used to convert the reference color response data into response data, and the response data is the target observation data
  • the spectral response data corresponding to the observer; the reference color response data is the standard spectral response data corresponding to the standard observer.
  • the conversion between the spectral response data corresponding to the standard observer and the standard spectral response data corresponding to the target observer may be implemented by a 3 ⁇ 3 conversion matrix.
  • the standard spectral response data of a standard observer can be expressed as
  • the spectral response data corresponding to the target observer can be expressed as Then, when using the transformation matrix for transformation, the following formula can be used:
  • Step 102b Based on the calibration matrix, establish a conversion relationship between the tristimulus values corresponding to the target observer and the reference tristimulus values corresponding to the standard observer.
  • the electronic device can use the correction matrix to establish the tristimulus value corresponding to the target observer and the standard observer. Refer to the conversion relationship between tristimulus values.
  • the difference between the reference tristimulus value XYZ corresponding to the standard observer and the tristimulus value (XYZ)' corresponding to the target observer can be determined based on the conversion matrix.
  • the conversion relationship is expressed as the following formula:
  • the reference tristimulus value XYZ can be expressed as
  • the tristimulus values (XYZ)' corresponding to the target observer can be expressed as
  • Step 102c Determine the corrected color mapping relationship based on the conversion relationship and the preset color mapping relationship.
  • the electronic device can use the conversion relationship and the preset color mapping relationship to further determine the corrected value Color mapping relationship.
  • the preset color mapping relationship is pre-stored by the electronic device and used to determine the corresponding relationship between the reference tristimulus values and the RGB values. Therefore, when establishing the target observation On the basis of the conversion relationship between the corresponding tristimulus value and the reference tristimulus value, the electronic device can complete the correction of the color display, and convert the preset color mapping relationship into the corrected color mapping relationship, wherein the color mapping relationship uses The corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values is determined.
  • FIG. 13 is a schematic diagram of color display calibration.
  • the corresponding relationship between the RGB values of the electronic device and the reference tristimulus values corresponding to the standard observer is the preset color mapping relationship.
  • the corresponding relationship between the tristimulus value corresponding to the target observer and the RGB value of the electronic device can be further obtained based on the conversion relationship, that is, the corrected color can be obtained. Mapping relations.
  • the reference color response data and the preset color mapping relationship are all pre-stored by the electronic device.
  • the method for performing color display by the electronic device may further include the following steps:
  • Step 102d If the correction matrix satisfies the preset correction condition, perform correction processing on the preset color mapping relationship according to the correction matrix, and obtain the corrected color mapping relationship.
  • Step 102e If the calibration matrix does not meet the preset calibration condition, directly determine the preset color mapping relationship as the corrected color mapping relationship.
  • the electronic device may first determine whether correction processing is required, and then perform the next processing according to the determination result.
  • the electronic device can determine the degree of deviation between the response data and the reference color response data through the transformation matrix, that is, the difference in the color response between the target observer and the standard observer. If the deviation between the reference color response data is large, the electronic device may consider that the display effect will be reduced, so it is determined that correction processing is required; if the deviation between the response data and the reference color response data is small enough, the electronic device may consider that It will not affect the display effect, so it is determined that correction processing is not required.
  • the electronic device may preset a calibration condition, that is, a preset calibration condition, and if the calibration matrix satisfies the preset calibration condition, it is determined to perform calibration processing, and then the calibration process can be performed according to the calibration matrix.
  • the preset color mapping relationship is corrected, and the corrected color mapping relationship is obtained.
  • the electronic device may directly determine the preset color mapping relationship as the corrected color mapping relationship, that is, continue to perform color display according to the preset color mapping relationship.
  • FIG. 14 is a schematic diagram 2 of the implementation flow of the color correction method.
  • the method for performing color display by the electronic device may further include the following steps :
  • Step 106 Determine a deviation parameter between the response data and the reference color response data.
  • Step 107 If the deviation parameter is greater than the preset deviation threshold, perform correction processing.
  • the electronic device may compare the response data with the pre-stored reference color response data, calculate and obtain the deviation parameter between the two, and then according to The deviation parameter judges whether correction of color display is required.
  • the deviation parameter can determine the degree of deviation between the response data and the reference color response data, that is, the deviation parameter can determine the difference between the target observer and the standard observer on the color. Response gaps are determined.
  • the electronic device presets a threshold value to determine whether the correction process needs to be determined.
  • the electronic device can compare the deviation parameter between the calculated response data and the reference color response data with a preset deviation threshold, and if the comparison result is that the deviation parameter is greater than the preset deviation threshold, it can It is considered that for the target observer, the display effect of color display according to the original preset color mapping relationship is not ideal, so it is determined that correction processing is required; if the comparison result is that the deviation parameter is less than or equal to the preset deviation threshold, according to the original Some preset color mapping relationships for color display will not reduce the effect for the target observer, so it is determined that correction processing is not required.
  • the electronic device when it performs the correction process for color display, it may first detect the correction instruction corresponding to the target observer, and then respond to the correction instruction, based on the response data corresponding to the target observer.
  • the original preset color mapping relationship is adjusted to obtain the corrected color mapping relationship, so as to complete the correction processing.
  • the electronic device when the electronic device performs the correction process for color display, it can also directly determine whether to perform the correction process according to the obtained response data corresponding to the target observer.
  • the original preset color mapping relationship is adjusted based on the response data corresponding to the target observer, and the corrected color mapping relationship is obtained to complete the calibration process.
  • Step 103 Perform color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image.
  • the electronic device after the electronic device responds to the color correction instruction, performs correction processing on the preset color mapping relationship based on the response data, and obtains the corrected color mapping relationship, it can adjust the color mapping relationship according to the corrected color mapping relationship.
  • the image is color-corrected to provide a color-corrected image to complete the personalized color display for the target observer.
  • the electronic device first performs color display processing according to the preset color mapping relationship corresponding to the standard observer, and after completing the acquisition of the response data for the target observer, the electronic device can use The response data completes the conversion of the preset color mapping relationship, obtains the corrected color mapping relationship corresponding to the target observer, and then performs color correction processing on the image according to the corrected color mapping relationship to provide the color-corrected image, thus completing the Correction processing of color display for target observers.
  • the electronic device before performing color correction processing on an image according to the corrected color mapping relationship and providing a color corrected image, displays colors according to the preset color mapping relationship.
  • the electronic device when the electronic device performs color correction processing on the image according to the corrected color mapping relationship and provides a color corrected image, it can first determine the initial RGB values corresponding to the image; and then according to the corrected color mapping The relationship and the initial RGB value are used to determine the target tristimulus value; finally, the display driving voltage can be adjusted according to the target tristimulus value, thereby obtaining a color-corrected image.
  • the electronic device when it displays an image, it may first determine the RGB value of the image itself, that is, the initial RGB value, and then use the corrected color mapping relationship corresponding to the target observer to determine the initial RGB value
  • the tristimulus value corresponding to the value is the target tristimulus value.
  • the electronic device Based on the correspondence between the RGB electronic signal strength and the XYZ tristimulus values shown in Table 1 above, the brightness level displayed by the number of bits of different channels corresponding to the target tristimulus values can be further determined. Therefore, the electronic device can be based on the above Table 1, The display driving voltage is adjusted according to the target tristimulus value, and then the color-corrected image can be obtained and displayed, and finally the personalized color display for the target observer is completed.
  • the electronic device when the electronic device performs color correction processing on the image according to the corrected color mapping relationship and provides a color corrected image, it may first determine the initial RGB values corresponding to the image; and then according to the corrected color mapping The relationship and the initial RGB value are used to determine the target tristimulus value; finally, the color-corrected image is obtained according to the target tristimulus value.
  • the electronic device when it displays an image, it may first determine the RGB value of the image itself, that is, the initial RGB value, and then use the corrected color mapping relationship corresponding to the target observer to determine the initial RGB value The corresponding tristimulus value, that is, the target tristimulus value, then adjust and correct the displayed image data according to the target tristimulus value, obtain and display the color-corrected image, and finally complete the personalized color for the target observer. show.
  • the electronic device can provide customized color display schemes for different observers, so that different groups of people can perceive the same color.
  • the color correction method proposed in some embodiments of the present application can not only establish a customized color display scheme for color blindness and color weakness, but also establish a personalized display for the differences in color perception of normal visual observers of a larger population scheme so that different observers can perceive the same color.
  • the present application does not limit the specific group of target observers.
  • an electronic device detects response data of a target observer to a reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, a preset color mapping relationship is corrected based on the response data processing to obtain a corrected color mapping relationship; and performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer.
  • Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
  • FIG. 15 is a schematic diagram of an implementation flow of the calibratable display method.
  • the calibratable display method of an electronic device may include: The following steps:
  • Step 201 Detect response data of the target observer to the reference picture, and generate a color correction instruction based on the response data.
  • the electronic device may first detect the response data of the target observer to the reference picture, and then may generate the color correction instruction based on the response data.
  • the response data of the target observer detected by the electronic device to the reference picture may be spectral response data corresponding to the target observer.
  • the electronic device may further generate a color correction instruction based on the response data.
  • the electronic device can adjust the preset color mapping relationship.
  • the electronic device may start the correction process of color display by receiving a color correction instruction corresponding to the target observer. That is, the color correction instruction can be used as an instruction to perform personalized adjustment processing of color display for the target observer.
  • Step 202 in response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data, and obtain the corrected color mapping relationship.
  • the electronic device may respond to the color correction instruction, and perform correction processing on the preset color mapping relationship based on the response data, so as to obtain the corrected color mapping relationship .
  • the electronic device displays colors according to a preset color mapping relationship, wherein the preset color mapping relationship can be used for the reference corresponding to the standard observer.
  • the corresponding relationship between the tristimulus values and the RGB values is determined, that is, the reference color response data is the standard spectral response data corresponding to the standard observer; correspondingly, the preset color mapping relationship is the reference three corresponding to the standard observer. Correspondence between stimulus values and RGB values.
  • the electronic device can correct the preset color mapping relationship according to the response data corresponding to the target observer, that is, change the corresponding relationship between the reference tristimulus value and the RGB value, and finally obtain the corrected color Mapping relations.
  • the corrected color mapping relationship can be used to determine the correspondence between the tristimulus values corresponding to the target observer and the RGB values. That is to say, the response data is the spectral response data corresponding to the target observer; correspondingly, the corrected color mapping relationship is the corresponding relationship between the tristimulus values and the RGB values corresponding to the target observer.
  • the electronic device performs correction processing on the preset color mapping relationship based on the response data
  • the method for obtaining the corrected color mapping relationship may include the following steps: determining according to the response data and the reference color response data Correction matrix; based on the correction matrix, the conversion relationship between the tristimulus values corresponding to the target observer and the reference tristimulus values corresponding to the standard observer is established; based on the conversion relationship and the preset color mapping relationship, the corrected color mapping relationship is determined.
  • the preset color mapping relationship is pre-stored by the electronic device and used to determine the corresponding relationship between the reference tristimulus values and the RGB values. Therefore, when establishing the target observation On the basis of the conversion relationship between the corresponding tristimulus value and the reference tristimulus value, the electronic device can complete the correction of the color display, and convert the preset color mapping relationship into the corrected color mapping relationship, wherein the color mapping relationship uses The corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values is determined.
  • the reference color response data and the preset color mapping relationship are all pre-stored by the electronic device.
  • the method for performing color display by the electronic device may further include the following steps: if the correction matrix satisfies the preset correction condition, then The preset color mapping relationship is corrected according to the correction matrix to obtain the corrected color mapping relationship; if the correction matrix does not meet the preset correction conditions, the preset color mapping relationship is directly determined as the corrected color mapping relationship.
  • the electronic device may first determine whether correction processing is required, and then perform the next processing according to the determination result.
  • the electronic device can determine the degree of deviation between the response data and the reference color response data through the transformation matrix, that is, the difference in the response to color between the target observer and the standard observer. If the deviation between the reference color response data is large, the electronic device may consider that the display effect will be reduced, so it is determined that correction processing is required; if the deviation between the response data and the reference color response data is small enough, the electronic device may consider that It will not affect the display effect, so it is determined that correction processing is not required.
  • the method for performing color display by the electronic device may further include the following steps: determining a deviation parameter between the response data and the reference color response data; if the deviation parameter is greater than the preset value If the deviation threshold is exceeded, correction processing is performed.
  • the electronic device after detecting the response data of the target observer to the reference picture, the electronic device can compare the response data with the pre-stored reference color response data, calculate and obtain the deviation parameter between the two, and then according to The deviation parameter judges whether correction of color display is required.
  • the deviation parameter can determine the degree of deviation between the response data and the reference color response data, that is, the deviation parameter can determine the difference between the target observer and the standard observer on the color. Response gaps are determined.
  • Step 203 performing color display according to the corrected color mapping relationship.
  • the electronic device after the electronic device responds to the color correction instruction, performs correction processing on the preset color mapping relationship based on the response data, and obtains the corrected color mapping relationship, it can perform the correction processing according to the corrected color mapping relationship.
  • Color display to complete the personalized color display for the target observer.
  • the electronic device first performs color display processing according to the preset color mapping relationship corresponding to the standard observer, and after completing the acquisition of the basic color response data of the target observer, the electronic device
  • the basic color response data can be used to complete the conversion of the preset color mapping relationship, and the corrected color mapping relationship corresponding to the target observer can be obtained, and then the color can be displayed according to the corrected color mapping relationship, thus completing the target observer.
  • Correction processing for color display is performed.
  • the electronic device before displaying colors according to the corrected color mapping relationship, displays colors according to the preset color mapping relationship.
  • the electronic device can provide a customized color display scheme for different observers, so that different groups of people can perceive the same color .
  • the correctable display proposed in some embodiments of the present application can not only establish a customized color display scheme for color blindness and color weakness, but also establish a personalized color display scheme for the differences in color perception of normal visual observers of a larger population. Display schemes such that different observers perceive the same color.
  • the present application does not limit the specific group of target observers.
  • the electronic device detects the response data of the target observer to the reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, the preset color mapping relationship is performed based on the response data. Correction processing, obtaining the corrected color mapping relationship; and performing color display according to the corrected color mapping relationship. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer.
  • Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
  • FIG. 16 is a schematic diagram 3 of the implementation flow of the color correction method. As shown in FIG. 16 , after acquiring the detection instruction corresponding to the target observer, the electronic device detects the target observer.
  • the method of response data to the reference picture may include the following steps:
  • Step 301 Display a reference picture in response to the received detection instruction.
  • the electronic device may respond to the detection instruction, enable the detection function, and display the reference picture on the display screen.
  • the reference picture may be a picture preset by the electronic device and used for experimenting and detecting the color response data of the target observer.
  • the electronic device may be a display that has been calibrated according to the reference color response data.
  • the electronic device may call out the background interface in the entire area of the display screen.
  • FIG. 17 is a schematic diagram of a background interface.
  • the background interface called out by the electronic device can be a gray background interface, wherein the color of the background interface can be equal to the color of the Munsell color sheet N5, for example, the background interface
  • the RGB value of the interface is (124, 124, 124).
  • the electronic device may create a reference picture through a program.
  • FIG. 18 is a schematic diagram 1 of a reference picture.
  • the reference picture is like a color palette, which may include a total of one ring and twelve The diameter of each disc is 1.5 degrees of viewing angle, the radius of the ring is 5 degrees of viewing angle, and a cross mark can be set in the middle of the reference picture, which is fixed in the center of the screen to facilitate the observer to watch.
  • the electronic device may use four colors of red (R), green (G), blue (B) and yellow (Y) respectively in the reference picture
  • R red
  • G green
  • B blue
  • Y yellow
  • a solid color is measured in the hue direction, where a solid color means that a color is not mixed with the hue or hue of other colors.
  • the number and size of the disc and the ring and the relative positional relationship between the two can be set arbitrarily, and the specific number and color of the hue used in the reference picture can also be arbitrarily set.
  • the settings are not specifically limited in this application.
  • Step 302 Perform detection processing by referring to the picture to obtain response data corresponding to the target observer.
  • the electronic device after the electronic device starts the detection function in response to the detection instruction, and displays the reference picture on the display screen, the electronic device can perform detection processing through the reference picture, so as to obtain the corresponding data of the target observer. the response data.
  • the electronic device can call out a prompt interface on the display screen at the beginning of each test, wherein the prompt interface can be used to prompt the color to be evaluated.
  • FIG. 19 is a schematic diagram of the prompting interface. As shown in FIG. 19 , before the detection of the target observer is officially started, the prompting interface can be called out. The solid color for this evaluation is red.
  • the electronic device can also prompt the observer to look at the cross mark of the reference picture in the center of the display screen through the prompt interface, and then perform visual adaptation to the eyes in the order of dark adaptation to light adaptation, and then. Then carry out the discrimination and evaluation of pure color.
  • the electronic device when performing detection processing through the reference picture, may fill in the solid colors after changing the hue (Hue) on the twelve discs in the reference picture respectively. Color, the electronic device can obtain the response data corresponding to the target observer after displaying the solid color whose hue has been changed.
  • FIG. 20 is the second schematic diagram of the reference picture.
  • the electronic device can display the color to be evaluated, such as red, on the twelve discs after changing the hue to different degrees, respectively. That is to say, the reference picture displays different degrees of changed colors corresponding to the same solid color.
  • the observer can determine the color to be evaluated prompted by the prompt interface from twelve different colors displayed in the twelve discs in the reference picture according to the color response of the observer.
  • the observer can inform the display screen of the selected color through various methods such as a mouse, a keyboard or a touch screen. For example, the observer slides the reference picture through a sliding operation on the display screen. And select the color that is considered to conform to the pure color, so that the electronic device obtains the corresponding selection result of the observer, wherein the selection result is the RGB value of the color displayed by one of the twelve meta-disks.
  • the electronic device after determining the actual color corresponding to the color to be evaluated selected by the observer after the experiment, that is, after determining the RGB value of the color selected by the observer, the electronic device can continue to collect the maximum red, The transformation matrix formed by the coordinate points of the maximum green, maximum blue and maximum white on the CIE xy chromaticity diagram, combined with the Gamma value of the electronic device, can finally obtain the response data of the observer through the RGB value selected by the observer.
  • the electronic device may use multiple screen brightness levels to perform multiple stages of experimentation and detection.
  • the display screen may be respectively at low brightness (the maximum brightness is lower than 10%).
  • medium brightness the maximum brightness is lower than 40%
  • high brightness the maximum brightness is lower than 80%
  • FIG. 21 is a schematic diagram of the implementation of color correction.
  • the electronic device performs color display according to the pre-stored preset color mapping relationship corresponding to the standard observer
  • the reference picture can be called out on the display screen, and then the response data of the observer A to the reference picture can be measured and collected through the reference picture (step 401);
  • the stored reference color response data corresponding to the standard observer determines the conversion relationship between the response data of the observer A and the reference color response data, wherein the conversion relationship can be represented by a conversion matrix (step 402);
  • the conversion matrix is used to correct the color display.
  • the electronic device converts the preset color mapping relationship into the corrected color mapping relationship according to the conversion matrix, that is, the reference tristimulus value corresponding to the standard observer and the RGB value
  • the corresponding relationship between the two is converted into the corresponding relationship between the tristimulus values corresponding to the observer A and the RGB values (step 403), so that the correction of the color display is completed for the observer A, and then the correction corresponding to the observer A can be performed.
  • color display is performed (step 404).
  • an electronic device detects response data of a target observer to a reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, a preset color mapping relationship is corrected based on the response data processing to obtain a corrected color mapping relationship; and performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer.
  • Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
  • FIG. 22 is a schematic diagram of the composition structure of an electronic device.
  • the electronic device 10 proposed in this embodiment of the present application may include: a detection unit 11 , a generation unit 12, the correction unit 13, the determination unit 14,
  • the detection unit 11 is configured to detect the response data of the target observer to the reference picture
  • the generating unit 12 is configured to generate a color correction instruction based on the response data
  • the correction unit 13 is configured to, in response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and perform a correction process on the image according to the corrected color mapping relationship.
  • Color correction processing providing a color corrected image.
  • the correction unit 13 is further configured to determine a correction matrix according to the response data and the reference color response data; The conversion relationship between the stimulus value and the reference tristimulus value corresponding to the standard observer; the corrected color mapping relationship is determined based on the conversion relationship and the preset color mapping relationship.
  • the response data is spectral response data corresponding to the target observer;
  • the reference color response data is standard spectral response data corresponding to a standard observer;
  • the preset color map The relationship represents the corresponding relationship between the reference tristimulus values and the red, green, and blue RGB values;
  • the corrected color mapping relationship represents the corresponding relationship between the tristimulus values and the RGB values corresponding to the target observer.
  • the detection unit 11 is further configured to display the reference picture in response to the received detection instruction; perform detection processing through the reference picture to obtain the corresponding correspondence of the target observer. of the response data.
  • the correction unit 13 is further configured to, after determining the correction matrix according to the response data and the reference color response data, if the correction matrix satisfies the preset correction condition, then Correction processing is performed on the preset color mapping relationship according to the correction matrix to obtain the corrected color mapping relationship.
  • the correction unit 13 is further configured to, after determining the correction matrix according to the response data and the reference color response data, if the correction matrix does not meet the preset correction condition, Then, the preset color mapping relationship is directly determined as the corrected color mapping relationship.
  • the generating unit 12 is configured to generate a detection result according to the response data and the reference color response data before generating the color correction instruction based on the response data.
  • the determining unit 14 is configured to detect the response data of the target observer to the reference picture, and the response to the color correction instruction, based on the response data to The preset color mapping relationship is corrected, and before the corrected color mapping relationship is obtained, a deviation parameter between the response data and the reference color response data is determined; and if the deviation parameter is greater than a preset deviation threshold, correction is performed deal with.
  • the correction unit 13 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value; adjust the display driving voltage according to the target tristimulus value to obtain the color-corrected image.
  • the correction unit 13 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value; the color-corrected image is obtained according to the target tristimulus value.
  • FIG. 23 is a second schematic diagram of the composition and structure of an electronic device.
  • the electronic device 10 proposed in the embodiment of the present application may further include a processor 15, a memory 16 storing executable instructions of the processor 15, a display 17, and further , the electronic device 10 may also include a communication interface 18 , and a bus 19 for connecting the processor 15 , the memory 16 , the display 17 and the communication interface 18 .
  • the above-mentioned processor 15 may be an application specific integrated circuit (ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD) ), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), controller, microcontroller, microprocessor at least one of.
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • DSPD digital signal processing device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • CPU Central Processing Unit
  • controller microcontroller, microprocessor at least one of.
  • the electronic device 10 may also include a memory 16, which may be coupled to the processor 15, wherein the memory 16 is configured to store executable program code including computer operating instructions.
  • the memory 16 may comprise high-speed RAM memory, or may Also included is non-volatile memory, eg, at least two disk drives.
  • the bus 19 is configured to connect the communication interface 18 , the processor 15 and the memory 16 and the mutual communication between these devices.
  • the memory 16 is configured to store instructions and data.
  • the above-mentioned processor 15 is configured to detect the response data of the target observer to the reference picture, and generate a color correction instruction based on the response data; in response to the color correction instruction, based on the The response data is used to correct the preset color mapping relationship to obtain the corrected color mapping relationship; and the color correction processing is performed on the image according to the corrected color mapping relationship to provide a color-corrected image.
  • the above-mentioned processor 15 is further configured to detect the response data of the target observer to the reference picture, and generate a color correction instruction based on the response data; in response to the color correction instruction, based on the The response data performs correction processing on the preset color mapping relationship to obtain a corrected color mapping relationship; and performs color display according to the corrected color mapping relationship.
  • the above-mentioned processor 15 is further configured to determine a correction matrix according to the response data and the reference color response data; based on the correction matrix, establish the tristimulus corresponding to the target observer The conversion relationship between the value and the reference tristimulus value; based on the conversion relationship and the preset color mapping relationship, the corrected color mapping relationship is determined.
  • the response data is spectral response data corresponding to the target observer;
  • the reference color response data is standard spectral response data corresponding to a standard observer;
  • the preset color map The relationship represents the corresponding relationship between the reference tristimulus values and the red, green, and blue RGB values;
  • the corrected color mapping relationship represents the corresponding relationship between the tristimulus values and the RGB values corresponding to the target observer.
  • the above-mentioned processor 15 is further configured to perform correction processing on the preset color mapping relationship according to the correction matrix if the correction matrix satisfies a preset correction condition, to obtain The corrected color mapping relationship.
  • the processor 15 is further configured to directly determine the preset color mapping relationship as the corrected color mapping relationship if the calibration matrix does not meet the preset calibration condition.
  • the above-mentioned processor 15 is further configured to generate a detection result according to the response data and the reference color response data.
  • the above-mentioned processor 15 is further configured to determine a deviation parameter between the response data and the reference color response data; if the deviation parameter is greater than a preset deviation threshold, then Correction processing is performed.
  • the above-mentioned processor 15 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value ; Adjust the display drive voltage according to the target tristimulus value to obtain the color-corrected image.
  • the above-mentioned processor 15 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value ; Obtain the color-corrected image according to the target tristimulus value.
  • the above-mentioned memory 16 may be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory a memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or a combination of the above types of memory, and Instructions and data are provided to processor 15 .
  • volatile memory such as a random access memory (Random-Access Memory, RAM)
  • non-volatile memory such as a read-only memory a memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or a combination of the above types of memory, and Instructions and data are provided to processor 15 .
  • each functional module in this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software function modules.
  • the integrated unit is implemented in the form of software function modules and is not sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of this embodiment is essentially or correct. Part of the contribution made by the prior art or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal A computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the method in this embodiment.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
  • An electronic device proposed by an embodiment of the present application detects the response data of a target observer to a reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, the preset color mapping relationship is corrected based on the response data processing to obtain a corrected color mapping relationship; and performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer.
  • Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
  • FIG. 24 is a schematic diagram of the composition structure of a chip. As shown in FIG. 24, an embodiment of the present application provides a chip 20, the chip 20 is coupled to the display 17 used for the electronic device 10, and the chip 20 includes: a receiving module 21, Generation module 22, correction module 23, output module 24,
  • the receiving module 21 is configured to obtain the response data of the target observer to the reference picture
  • the generating module 22 is configured to generate a color correction instruction based on the response data
  • the correction module 23 is configured to perform correction processing on the preset color mapping relationship based on the color correction instruction and the response data, and obtain a corrected color mapping relationship;
  • the output module 24 is configured to perform color correction on the image according to the corrected color mapping relationship, and/or configured to provide a driving voltage configured for the display according to the corrected color mapping relationship.
  • the output module 24 is further configured so that the correction module 23 performs correction processing on the preset color mapping relationship based on the color correction instruction and the response data, and obtains the corrected color mapping relationship. After the color mapping relationship, color display is performed according to the corrected color mapping relationship.
  • a chip proposed in an embodiment of the present application which is coupled to a display, can first detect the actual color response of a target observer, obtain corresponding response data, and then use the response data to preset a corresponding standard observer.
  • the color mapping relationship is corrected, so as to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship.
  • the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
  • the embodiments of the present application may be provided as a method, a terminal, or a computer program product. Accordingly, the application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • An apparatus implements the functions specified in a flow or flows of the implementation flow diagram and/or a block or blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the implementing flow diagram and/or the block or blocks of the block diagram.
  • the electronic device may first detect the actual color response of the target observer to obtain corresponding response data, and then use the response data to correct the preset color mapping relationship corresponding to the standard observer, thereby The corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values is obtained, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship.
  • the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.

Abstract

The embodiments of the present application disclose a color correction method, a correctable display method, an electronic device, and a chip. The color correction method comprises: detecting response data of a target observer for a reference picture, and generating a color correction instruction on the basis of the response data; in response to the color correction instruction and on the basis of the response data, performing correction processing on a preset color mapping, and obtaining a corrected color mapping; and performing color correction processing on an image according to the corrected color mapping, and providing a color-corrected image.

Description

颜色校正方法、可校正显示方法、电子装置及芯片Color correction method, correctable display method, electronic device and chip
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202110328416.6、申请日为2021年03月26日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110328416.6 and the filing date of March 26, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请实施例涉及机器视觉技术领域,尤其涉及一种颜色校正方法、可校正显示方法、电子装置及芯片。The embodiments of the present application relate to the technical field of machine vision, and in particular, to a color correction method, a correctable display method, an electronic device, and a chip.
背景技术Background technique
在颜色感知的研究中,CIE 1931 XYZ色彩空间(也叫做CIE 1931色彩空间)是其中一个最先采用数学方式来定义的色彩空间,其中,CIE 1931色彩空间通常会给出颜色的三刺激值,并以X、Y和Z来表示。目前,主要采用CIE 1931 XYZ三刺激值定义人眼对于颜色响应。In the study of color perception, the CIE 1931 XYZ color space (also known as the CIE 1931 color space) is one of the first color spaces to be defined mathematically. The CIE 1931 color space usually gives the tristimulus values of colors, and represented by X, Y and Z. At present, CIE 1931 XYZ tristimulus values are mainly used to define the human eye's response to color.
然而,即使是正常视觉的人群,对颜色的光谱响应也可能存在较大的差异,不同人眼对于颜色的感知差异可以达到色差DE20006以上,即非常大的颜色差异。可见,当电子装置按照标准观察者的颜色感知曲线进行颜色校正时,所显示的颜色仍然会使得不同观察者看到不同的颜色,无法解决不同观察者之间存在颜色感知色差的问题,从而降低了电子装置的显示效果,智能性差。However, even people with normal vision may have large differences in the spectral response to color, and the difference in perception of color by different human eyes can reach more than chromatic aberration DE20006, that is, a very large color difference. It can be seen that when the electronic device performs color correction according to the color perception curve of a standard observer, the displayed colors will still cause different observers to see different colors, which cannot solve the problem of color perception color difference between different observers, thereby reducing the The display effect of the electronic device is poor, and the intelligence is poor.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种颜色校正方法、可校正显示方法、电子装置及芯片。Embodiments of the present application provide a color correction method, a correctable display method, an electronic device, and a chip.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
第一方面,本申请实施例提供了一种颜色校正方法,所述方法包括:In a first aspect, an embodiment of the present application provides a color correction method, the method comprising:
检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;Detecting response data of the target observer to the reference picture, and generating a color correction instruction based on the response data;
响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及In response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and
按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。Perform color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image.
第二方面,本申请实施例提供了一种可校正显示方法,所述方法包括:In a second aspect, an embodiment of the present application provides a calibratable display method, the method comprising:
检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;Detecting response data of the target observer to the reference picture, and generating a color correction instruction based on the response data;
响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及In response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and
按照所述校正后色彩映射关系进行颜色显示。Color display is performed according to the corrected color mapping relationship.
第三方面,本申请实施例提供了一种电子装置,所述电子装置包括:检测单元,生成单元,校正单元,In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes: a detection unit, a generation unit, a correction unit,
所述检测单元,被配置为检测目标观察者对参考画面的响应数据;The detection unit is configured to detect the response data of the target observer to the reference picture;
所述生成单元,被配置为基于所述响应数据生成颜色校正指令;the generating unit configured to generate a color correction instruction based on the response data;
所述校正单元,被配置为响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。The correction unit is configured to, in response to the color correction instruction, perform correction processing on a preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and color the image according to the corrected color mapping relationship. Correction processing, providing a color-corrected image.
第四方面,本申请实施例提供了一种电子装置,所述电子装置包括处理器、存储有所述处理器可执行指令的存储器、显示器,当所述指令被所述处理器执行时,实现如第一方面所述的颜色校正方法或如第二 方面所述的可校正显示方法。In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory storing instructions executable by the processor, and a display, and when the instructions are executed by the processor, the The color correction method according to the first aspect or the correctable display method according to the second aspect.
第五方面,本申请实施例提供了一种芯片,所述芯片耦合至用于显示器,所述芯片包括:接收模块,生成模块,校正模块,输出模块,In a fifth aspect, an embodiment of the present application provides a chip, the chip is coupled to a display, and the chip includes: a receiving module, a generating module, a correcting module, and an outputting module,
所述接收模块,被配置为获取目标观察者对参考画面的响应数据;The receiving module is configured to obtain the response data of the target observer to the reference picture;
所述生成模块,被配置为基于所述响应数据生成颜色校正指令;the generation module configured to generate a color correction instruction based on the response data;
所述校正模块,被配置为基于所述颜色校正指令和所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及the correction module, configured to perform correction processing on a preset color mapping relationship based on the color correction instruction and the response data, and obtain a corrected color mapping relationship; and
所述输出模块,被配置为按照所述校正后色彩映射关系对图像进行颜色校正,和/或,被配置为按照所述校正后色彩映射关系提供用于所述显示器的驱动电压。The output module is configured to perform color correction on the image according to the corrected color mapping relationship, and/or, configured to provide a driving voltage for the display according to the corrected color mapping relationship.
附图说明Description of drawings
图1为CIE 1931三刺激值光谱响应曲线;Figure 1 is the spectral response curve of CIE 1931 tristimulus values;
图2为颜色传感器测量显示器亮度的示意图;2 is a schematic diagram of a color sensor measuring the brightness of a display;
图3为亮度等级示意图;Figure 3 is a schematic diagram of brightness levels;
图4为三刺激值X光谱响应;Figure 4 is the tristimulus value X spectral response;
图5为三刺激值Y光谱响应;Figure 5 is the tristimulus value Y spectral response;
图6为三刺激值Z光谱响应;Fig. 6 is the Z spectral response of tristimulus value;
图7为颜色校正方法的实现流程示意图一;Fig. 7 is the realization flow schematic diagram 1 of the color correction method;
图8为获取检测指令的示意图一;8 is a schematic diagram 1 of acquiring a detection instruction;
图9为获取检测指令的示意图二;9 is a schematic diagram 2 of acquiring a detection instruction;
图10为检测结果的示意图;Fig. 10 is the schematic diagram of detection result;
图11为获取校正指令的示意图一;11 is a schematic diagram 1 of obtaining a correction instruction;
图12为获取校正指令的示意图二;12 is a schematic diagram 2 of obtaining a correction instruction;
图13为颜色显示校正的示意图;13 is a schematic diagram of color display correction;
图14为颜色校正方法的实现流程示意图二;Fig. 14 is the realization flow schematic diagram II of the color correction method;
图15为可校正显示方法的实现流程示意图;FIG. 15 is a schematic flowchart of the implementation of the correctable display method;
图16为颜色校正方法的实现流程示意图三;Fig. 16 is the realization flow schematic diagram three of the color correction method;
图17为背景界面的示意图;17 is a schematic diagram of a background interface;
图18为参考画面的示意图一;18 is a schematic diagram 1 of a reference picture;
图19为提示界面的示意图;19 is a schematic diagram of a prompt interface;
图20为参考画面的示意图二;20 is a schematic diagram 2 of a reference picture;
图21为颜色校正的实现示意图;Fig. 21 is the realization schematic diagram of color correction;
图22为电子设备的组成结构示意图一;FIG. 22 is a schematic diagram of the composition structure of an electronic device;
图23为电子设备的组成结构示意图二;FIG. 23 is a second schematic diagram of the composition structure of an electronic device;
图24为芯片的组成结构示意图。FIG. 24 is a schematic diagram of the composition structure of the chip.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It should be understood that the specific embodiments described herein are only used to explain the related application, but not to limit the application. In addition, it should be noted that, for the convenience of description, only the parts related to the relevant application are shown in the drawings.
电子装置需要进行颜色校正,建立显示通道的数字信号与显示颜色之间的对应关系,其中显示的颜色需要采用人眼感知的颜色进行表示。经过颜色校正的显示器即可以显示准确的颜色。The electronic device needs to perform color correction to establish a corresponding relationship between the digital signal of the display channel and the display color, wherein the displayed color needs to be represented by the color perceived by the human eye. Color-corrected monitors display accurate colors.
需要指出的是,为了定量表征人眼对颜色的感知,国际照明委员会(International Commission on  illumination,CIE)在1931通过测量数千人的数据,推荐了人眼对于颜色的感光光谱曲线,图1为CIE 1931三刺激值光谱响应曲线,如图1所示,该光谱响应曲线针对的是数千观察者对颜色的平均响应。光源或者物体反射的光谱与XYZ三刺激光谱响应曲线对应波长积分即可获得人眼的XYZ三刺激响应。It should be pointed out that in order to quantitatively characterize the human eye's perception of color, the International Commission on Illumination (CIE) in 1931 recommended the human eye's sensitivity spectrum curve for color by measuring the data of thousands of people, as shown in Figure 1. The CIE 1931 tristimulus spectral response curve, shown in Figure 1, is the average response to color for thousands of observers. The XYZ tristimulus response of the human eye can be obtained by integrating the spectrum reflected by the light source or the object and the corresponding wavelength of the XYZ tristimulus spectral response curve.
人类眼睛有对于短(S)、中(M)和长(L)波长光的感受器(叫做视锥细胞),所以原则上只要三个参数便能描述颜色感觉了。在三色加色法模型中,如果某一种颜色和另一种混合了不同份量的三种原色的颜色,均使人类看上去是相同的话,我们把这三种原色的份量称作该颜色的三色刺激值。CIE 1931色彩空间通常会给出颜色的三色刺激值,并以X、Y和Z来表示。The human eye has receptors (called cones) for short (S), medium (M) and long (L) wavelengths of light, so in principle only three parameters can describe color perception. In the three-color additive color model, if a color and another color mixed with different weights of the three primary colors make humans look the same, we call the weights of the three primary colors the color. the tristimulus value. The CIE 1931 color space usually gives the tristimulus values of a color, represented by X, Y, and Z.
色彩空间是指任何一种将每个颜色关联到三个数(或三色刺激值)的方法,CIE 1931色彩空间就是这种色彩空间之一。但是CIE XYZ色彩空间是特殊的,因为它是基于人类颜色视觉的直接测定,并充当很多其他色彩空间的定义基础。A color space refers to any method of relating each color to three numbers (or tristimulus values), and the CIE 1931 color space is one such color space. But the CIE XYZ color space is special because it is based on a direct measurement of human color vision and serves as the basis for the definition of many other color spaces.
在CIE XYZ色彩空间中,三色刺激值并不是指人类眼睛对短、中和长波(S、M和L)的反应,而是一组称为X、Y和Z的值,约略对应于红色、绿色和蓝色(其中,X、Y和Z的值并不是真的看起来是红、绿和蓝色,而是从红色、绿色和蓝色导出来的参数),并使用CIE 1931 XYZ颜色匹配函数来计算。两个由多种不同波长的光混合而成的光源可以表现出同样的颜色,这叫做“同色异谱”(metamerism)。当两个光源对标准观察者(CIE 1931标准色度观察者)有相同的视现颜色的时候,它们即有同样的三色刺激值,而不管生成它们的光的光谱分布如何。In the CIE XYZ color space, tristimulus values do not refer to the human eye's response to short, medium, and long wavelengths (S, M, and L), but rather a set of values called X, Y, and Z, roughly corresponding to red , green and blue (where the X, Y and Z values do not really appear to be red, green and blue, but are parameters derived from red, green and blue), and use the CIE 1931 XYZ colors matching function to calculate. Two light sources made up of a mixture of different wavelengths of light can exhibit the same color, which is called "metamerism". When two light sources have the same apparent color to a standard observer (CIE 1931 standard chromaticity observer), they have the same tristimulus value, regardless of the spectral distribution of the light that generated them.
以传统的红(R)、绿(G)、蓝(B)三个通道的显示器为例,一般的校正流程为:Taking a traditional red (R), green (G), and blue (B) three-channel display as an example, the general calibration process is as follows:
a、将显示器置于全黑环境,避免环境光对校正过程的干扰;a. Put the display in a completely dark environment to avoid the interference of ambient light on the calibration process;
b、布置颜色测量传感器,图2为颜色传感器测量显示器亮度的示意图,如图2所示,可以将颜色测量的传感器贴附于显示器中央表面;b. Arrange the color measurement sensor. Figure 2 is a schematic diagram of the color sensor measuring the brightness of the display. As shown in Figure 2, the color measurement sensor can be attached to the central surface of the display;
c、按照一定的灰度间隔显示R通道,并对每次显示的R通道的颜色进行测量,获取XYZ三刺激值;图3为亮度等级示意图,如图3所示,显示器可以从小到大以一定灰度间隔显示R通道,例如,以0、1、……、255显示R通道;c. Display the R channel according to a certain grayscale interval, and measure the color of the R channel displayed each time to obtain the XYZ tristimulus values; Figure 3 is a schematic diagram of the brightness level, as shown in Figure 3, the display can be from small to large to Display the R channel at a certain grayscale interval, for example, display the R channel with 0, 1, ..., 255;
d、依次对G通道、B通道、R+B通道、R+G通道、B+G通道以及R+G+B通道都执行步骤c的操作;d. Perform the operation of step c on the G channel, the B channel, the R+B channel, the R+G channel, the B+G channel and the R+G+B channel in turn;
e、建立RGB电子信号强度与XYZ三刺激值的对应关系,表1为显示器不同通道的bit数显示的亮度等级与对应的XYZ值,如表1所示,可以采用3D对照表的形式建立RGB电子信号强度与XYZ三刺激值的对应关系;e. Establish the corresponding relationship between RGB electronic signal strength and XYZ tristimulus values. Table 1 shows the brightness levels and corresponding XYZ values displayed by the bit numbers of different channels of the display. As shown in Table 1, RGB can be established in the form of a 3D comparison table. Corresponding relationship between electronic signal strength and XYZ tristimulus value;
表1Table 1
Figure PCTCN2022078370-appb-000001
Figure PCTCN2022078370-appb-000001
Figure PCTCN2022078370-appb-000002
Figure PCTCN2022078370-appb-000002
f、对上述对照表进行校正之后,在进行任何RGB颜色的显示时,可以调用3D对照表进行颜色显示。f. After the above-mentioned comparison table is corrected, when any RGB color is displayed, the 3D comparison table can be called for color display.
目前,现有技术采用CIE 1931XYZ三刺激值定义人眼对于颜色的响应。但是如前所述,该响应是数千名正常观察者对颜色响应的平均值,图4为三刺激值X光谱响应,图5为三刺激值Y光谱响应,图6为三刺激值Z光谱响应,如图4、图5、图6所示,即使是具有正常视觉的人群,每一个人对颜色的光谱响应也可能存在较大差异,例如随着年龄的增长,人眼对于蓝色的光谱响应越来越弱。不同人眼对于颜色的感知差异可以达到6以上,(CIE-DE2000色差公式计算),6表示很大的色差。Currently, the prior art uses CIE 1931XYZ tristimulus values to define the human eye's response to color. But as mentioned earlier, this response is the average of thousands of normal observers' responses to color, Figure 4 is the tristimulus X spectral response, Figure 5 is the tristimulus Y spectral response, and Figure 6 is the tristimulus Z spectrum Response, as shown in Figure 4, Figure 5, and Figure 6, even for people with normal vision, each person's spectral response to color may vary greatly. For example, with age, the human eye responds to blue. The spectral response is getting weaker and weaker. The difference in perception of color by different human eyes can reach more than 6, (calculated by the CIE-DE2000 color difference formula), and 6 represents a large color difference.
当显示器按照标准观察者的颜色感知曲线进行颜色校正时,所显示的颜色会使得不同观察者看到不同的颜色,特别是对于非常饱和的颜色,不同人之间的颜色感知色差会进一步加大。When the monitor performs color correction according to the color perception curve of a standard observer, the displayed colors will make different observers see different colors, especially for very saturated colors, the color perception color difference between different people will further increase .
可见,当电子装置按照标准观察者的颜色感知曲线进行颜色校正时,所显示的颜色仍然会使得不同观察者看到不同的颜色,无法解决不同观察者之间存在颜色感知色差的问题,从而降低了电子装置的显示效果,同时,无法满足颜色显示的个性化需求,使得电子装置的智能性差。It can be seen that when the electronic device performs color correction according to the color perception curve of a standard observer, the displayed colors will still cause different observers to see different colors, which cannot solve the problem of color perception color difference between different observers, thereby reducing the The display effect of the electronic device is improved, and at the same time, the individual requirements for color display cannot be met, resulting in poor intelligence of the electronic device.
为了解决上述问题,本申请提出建立一种个性化的颜色校正方案的方法,使得显示器针对不同的观察者,显示出不同的RGB值,可以结合不同观察者的颜色响应,使得他们可以看到相同的颜色。在本申请的一些实施例中,电子装置可以先对目标观察者的实际颜色响应进行检测,获得对应的响应数据,然后再利用响应数据对标准观察者对应的预设色彩映射关系进行校正处理,从而获得表征目标观察者的三刺激值与RGB值对应关系的校正后色彩映射关系,进而可以通过校正后色彩映射关系实现对目标观察者的个性化颜色显示。可见,本申请提出的颜色校正方案,能够解决不同观察者之间存在颜色感知色差的问题,提升了电子装置的显示效果,满足了颜色显示的个性化需求,大大提高了电子装置的智能性。In order to solve the above problems, the present application proposes a method for establishing a personalized color correction scheme, so that the display can display different RGB values for different observers, and can combine the color responses of different observers, so that they can see the same s color. In some embodiments of the present application, the electronic device may first detect the actual color response of the target observer to obtain corresponding response data, and then use the response data to correct the preset color mapping relationship corresponding to the standard observer, Thereby, the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values is obtained, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
本申请一实施例提供了一种颜色校正方法,图7为颜色校正方法的实现流程示意图一,如图7所示,在本申请的实施例中,电子装置进行颜色校正的方法可以包括以下步骤:An embodiment of the present application provides a color correction method. FIG. 7 is a schematic diagram of the first implementation flow of the color correction method. As shown in FIG. 7 , in the embodiment of the present application, the method for performing color correction by an electronic device may include the following steps :
步骤101、检测目标观察者对参考画面的响应数据,并基于响应数据生成颜色校正指令。Step 101: Detect response data of the target observer to the reference picture, and generate a color correction instruction based on the response data.
在本申请的实施例中,电子装置可以先检测目标观察者对参考画面的响应数据,然后可以基于响应数据生成颜色校正指令。In the embodiment of the present application, the electronic device may first detect the response data of the target observer to the reference picture, and then may generate the color correction instruction based on the response data.
在本申请的一些实施例中,在获取目标观察者对应的检测指令之后,电子装置可以响应该检测指令,按照预设检测策略获取该目标观察者对应的响应数据。In some embodiments of the present application, after acquiring the detection instruction corresponding to the target observer, the electronic device may respond to the detection instruction and acquire response data corresponding to the target observer according to a preset detection strategy.
需要说明的是,在本申请的实施例中,上述电子装置可以为任何配置有显示屏幕的终端设备,例如:平板电脑、手机、电子阅读器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置等。It should be noted that, in the embodiments of the present application, the above-mentioned electronic device may be any terminal device configured with a display screen, such as a tablet computer, a mobile phone, an electronic reader, a personal computer (Personal Computer, PC), a notebook computer, Vehicle-mounted equipment, Internet TV, wearable equipment, Personal Digital Assistant (PDA), Portable Media Player (PMP), navigation device, etc.
在本申请的一些实施例中,检测设备配置有显示屏幕,该显示屏幕可以按照预设色彩映射关系进行颜色的显示。其中,预设色彩映射关系可以表征标准观察者对应的参考三刺激值与RGB之间的对应关系。In some embodiments of the present application, the detection device is configured with a display screen, and the display screen can display colors according to a preset color mapping relationship. The preset color mapping relationship may represent the corresponding relationship between the reference tristimulus values corresponding to the standard observer and RGB.
可以理解的是,在本申请的实施例中,电子装置可以获取目标观察者对应的一个检测指令,该检测指令用于对该目标观察者对应的光谱响应数据进行个性化检测的指示。It can be understood that, in the embodiment of the present application, the electronic device may acquire a detection instruction corresponding to the target observer, where the detection instruction is used to perform personalized detection instructions on the spectral response data corresponding to the target observer.
示例性的,在本申请的实施例中,电子装置可以通过在显示屏幕上检测到的触摸操作来获取目标观察者对应的检测指令。例如,图8为获取检测指令的示意图一,如图8所示,电子装置通过在显示屏幕上检测到的触摸操作,呼出检测功能对应的显示界面,并在该显示界面中获取检测指令。Exemplarily, in the embodiment of the present application, the electronic device may acquire the detection instruction corresponding to the target observer through the touch operation detected on the display screen. For example, FIG. 8 is the first schematic diagram of acquiring the detection instruction. As shown in FIG. 8 , the electronic device calls out the display interface corresponding to the detection function through the touch operation detected on the display screen, and acquires the detection instruction in the display interface.
示例性的,在本申请的实施例中,电子装置也可以通过预先设置的触发机制获取目标观察者对应的检测指令。例如,图9为获取检测指令的示意图二,如图9所示,电子装置在两侧的物理按键上检测到压力大于预设阈值的按压操作时,检测功能被触发,即获取到目标观察者的检测指令。Exemplarily, in the embodiment of the present application, the electronic device may also acquire the detection instruction corresponding to the target observer through a preset trigger mechanism. For example, FIG. 9 is a second schematic diagram of acquiring a detection instruction. As shown in FIG. 9 , when the electronic device detects a pressing operation with a pressure greater than a preset threshold on the physical buttons on both sides, the detection function is triggered, that is, the target observer is acquired detection command.
进一步地,在本申请的实施例中,电子装置在获取到目标观察者对应的检测指令之后,便可以按照预 设检测策略对目标观察者的颜色响应进行检测,从而获得目标观察者对应的响应数据。Further, in the embodiment of the present application, after acquiring the detection instruction corresponding to the target observer, the electronic device can detect the color response of the target observer according to the preset detection strategy, so as to obtain the corresponding response of the target observer. data.
可以理解的是,在本申请的实施例中,电子装置检测目标观察者对参考画面的响应数据可以为目标观察者对应的光谱响应数据。It can be understood that, in the embodiment of the present application, the response data of the target observer detected by the electronic device to the reference picture may be spectral response data corresponding to the target observer.
在本申请的一些实施例中,预设检测策略可以用于结合电子装置中显示屏幕的Gamma值进行目标观察者的实际颜色响应的检测。In some embodiments of the present application, the preset detection strategy may be used to detect the actual color response of the target observer in combination with the Gamma value of the display screen in the electronic device.
其中,三刺激值即为在三色系统中与待测光大道颜色匹配所需要的三种原色刺激的量,可以用XYZ来表示,X为红原色刺激量,Y为绿原色刺激量,Z为蓝原色刺激量。在红绿蓝三原色系统中,红绿蓝的刺激量可以分别以R、G、B表示,由于从实际光谱中选定的红绿蓝三原色不可能调配出存在于自然界的所有色彩,所以,CIE假设了存在于自然界的三种原色,即理论三原色,以XYZ来表示,以期从理论上来调配一起色彩,从而形成了XYZ测色系统。Among them, the tristimulus value is the amount of three primary color stimuli required to match the color of the avenue to be measured in the three-color system, which can be represented by XYZ, X is the red primary color stimulus, Y is the green primary color stimulus, Z For the blue primary color stimulus. In the red, green and blue three primary color system, the stimulus amount of red, green and blue can be represented by R, G, and B respectively. Since the three primary colors of red, green and blue selected from the actual spectrum cannot be mixed with all the colors that exist in nature, CIE It is assumed that there are three primary colors in nature, that is, the theoretical three primary colors, which are represented by XYZ, in order to theoretically mix colors together, thus forming the XYZ color measurement system.
进一步地,在本申请的实施例中,标准观察者对应的参考三刺激值可以表示为XYZ,目标观察者对应的三刺激值可以表示为(XYZ)′。Further, in the embodiment of the present application, the reference tristimulus value corresponding to the standard observer may be expressed as XYZ, and the tristimulus value corresponding to the target observer may be expressed as (XYZ)′.
进一步地,在本申请的实施例中,电子装置在检测目标观察者对参考画面的响应数据之后,可以进一步基于响应数据生成颜色校正指令。Further, in the embodiment of the present application, after detecting the response data of the target observer to the reference picture, the electronic device may further generate a color correction instruction based on the response data.
可以理解的是,在本申请的实施例中,如果目标观察者对应的响应数据与标准观察者对应的参考颜色响应数据不同,那么电子装置可以对预设色彩映射关系进行调整。在本申请的一些实施例中,电子装置可以通过接收目标观察者对应的颜色校正指令来开启颜色显示的校正流程。即颜色校正指令可以用于对目标观察者进行颜色显示的个性化调整处理的指示。It can be understood that, in the embodiment of the present application, if the response data corresponding to the target observer is different from the reference color response data corresponding to the standard observer, the electronic device can adjust the preset color mapping relationship. In some embodiments of the present application, the electronic device may start the correction process of color display by receiving a color correction instruction corresponding to the target observer. That is, the color correction instruction can be used as an instruction to perform personalized adjustment processing of color display for the target observer.
进一步地,在本申请的实施例中,电子装置在基于响应数据生成颜色校正指令之前,电子装置进行颜色显示的方法还可以包括以下步骤:Further, in the embodiment of the present application, before the electronic device generates the color correction instruction based on the response data, the method for performing color display by the electronic device may further include the following steps:
步骤104、根据响应数据和参考颜色响应数据生成检测结果。Step 104: Generate a detection result according to the response data and the reference color response data.
步骤105、显示检测结果。Step 105, displaying the detection result.
在本申请的实施例中,电子装置在完成对目标观察者的颜色响应检测,获得目标观察者对应的响应数据之后,可以根据响应数据和标准观察者对应的参考颜色响应数据色彩检测结果,然后可以对该检测结果进行显示处理。In the embodiment of the present application, after completing the color response detection of the target observer and obtaining the response data corresponding to the target observer, the electronic device can respond to the color detection result according to the response data and the reference color data corresponding to the standard observer, and then The detection result can be displayed.
可以理解的是,在本申请的实施例中,电子装置在完成对目标观察者的颜色响应的检测之后,可以通过响应数据和参考颜色响应数据进行检测结果的生成,即电子装置可以通过检测结果表示响应数据与参考颜色响应数据之间的差异和区别,从而在将检测结果进行显示之后,可以使目标观察者更加直观的了解自身的个性化需求。It can be understood that, in the embodiment of the present application, after the electronic device completes the detection of the color response of the target observer, the detection result can be generated by using the response data and the reference color response data, that is, the electronic device can pass the detection result. Indicates the difference and difference between the response data and the reference color response data, so that after the detection results are displayed, the target observer can more intuitively understand their own personalized needs.
需要说明的是,在本申请的实施例中,电子装置生成的检测结果的形式可以包括图形、表格等多种形式,本申请不进行具体限定。It should be noted that, in the embodiments of the present application, the form of the detection result generated by the electronic device may include various forms such as graphics and tables, which are not specifically limited in the present application.
示例性的,在本申请中,图10为检测结果的示意图,如图10所示,电子装置根据响应数据和参考颜色响应数据生成的检测结果可以为不同色彩的对比图,通过对比图的展示更加直观的体现目标观察者的响应数据与标准观察者的参考颜色响应数据之间的差别。Exemplarily, in the present application, FIG. 10 is a schematic diagram of the detection result. As shown in FIG. 10 , the detection result generated by the electronic device according to the response data and the reference color response data may be a comparison diagram of different colors. It is more intuitive to reflect the difference between the response data of the target observer and the reference color response data of the standard observer.
也就是说,在本申请的实施例中,电子装置在检测目标观察者对参考画面的响应数据之后,可以直接获取到目标观察者对应的校正指令,也可以先基于响应数据和参考颜色响应数据进行检测结果的生成和展示,然后获取目标观察者对应的校正指令。That is to say, in the embodiment of the present application, after detecting the response data of the target observer to the reference picture, the electronic device may directly obtain the correction instruction corresponding to the target observer, or may first respond to the data based on the response data and the reference color. Generate and display the detection results, and then obtain the correction instructions corresponding to the target observer.
示例性的,在本申请的实施例中,电子装置可以通过在显示屏幕上检测到的触摸操作来获取目标观察者对应的校正指令。例如,图11为获取校正指令的示意图一,如图11所示,电子装置通过在显示屏幕上检测到的触摸操作,呼出校正功能对应的显示界面,并在该显示界面中获取校正指令。Exemplarily, in the embodiment of the present application, the electronic device may acquire the correction instruction corresponding to the target observer through a touch operation detected on the display screen. For example, FIG. 11 is a schematic diagram 1 of obtaining a calibration instruction. As shown in FIG. 11 , the electronic device calls out the display interface corresponding to the calibration function through a touch operation detected on the display screen, and obtains the calibration instruction in the display interface.
示例性的,在本申请的实施例中,电子装置也可以通过预先设置的触发机制获取目标观察者对应的校正指令。例如,图12为获取校正指令的示意图二,如图12所示,电子装置在两侧的物理按键上校正到压力大于预设阈值的按压操作时,校正功能被触发,即获取到目标观察者的校正指令。Exemplarily, in the embodiment of the present application, the electronic device may also acquire the correction instruction corresponding to the target observer through a preset trigger mechanism. For example, FIG. 12 is the second schematic diagram of obtaining the correction instruction. As shown in FIG. 12 , when the electronic device corrects the pressing operation with the pressure greater than the preset threshold on the physical buttons on both sides, the correction function is triggered, that is, the target observer is obtained. correction command.
步骤102、响应颜色校正指令,基于响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映 射关系。Step 102: In response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data, and obtain the corrected color mapping relationship.
在本申请的实施例中,电子装置在基于所述响应数据生成颜色校正指令之后,可以响应色彩校正指令,基于响应数据对预设色彩映射关系进行校正处理,从而可以获得校正后的色彩映射关系。In the embodiment of the present application, after generating the color correction instruction based on the response data, the electronic device may respond to the color correction instruction, and perform correction processing on the preset color mapping relationship based on the response data, so as to obtain the corrected color mapping relationship .
可以理解的是,在本申请的实施例中,在进行校正之前,电子装置是按照预设色彩映射关系进行颜色的显示的,其中,预设色彩映射关系可以用于对标准观察者对应的参考三刺激值与RGB值之间的对应关系进行确定,也就是说,参考颜色响应数据为标准观察者对应的标准光谱响应数据;相应地,预设色彩映射关系即为标准观察者对应的参考三刺激值与RGB值之间的对应关系。It can be understood that, in the embodiments of the present application, before the calibration is performed, the electronic device displays colors according to a preset color mapping relationship, wherein the preset color mapping relationship can be used for the reference corresponding to the standard observer. The corresponding relationship between the tristimulus values and the RGB values is determined, that is, the reference color response data is the standard spectral response data corresponding to the standard observer; correspondingly, the preset color mapping relationship is the reference three corresponding to the standard observer. Correspondence between stimulus values and RGB values.
进一步地,在本申请的实施例中,如果目标观察者与标准观察者对颜色的响应有差别,那么电子装置继续按照预设色彩映射关系进行颜色显示时,目标观察者所看到的颜色就会存在误差,因此需要针对目标观察者进行色彩显示的个性化校正。在本申请的一些实施例中,电子装置可以按照目标观察者对应的响应数据对预设色彩映射关系进行校正,即改变参考三刺激值与RGB值之间的对应关系,最终获得校正后的色彩映射关系。Further, in the embodiment of the present application, if the response of the target observer and the standard observer to the color is different, then when the electronic device continues to display the color according to the preset color mapping relationship, the color seen by the target observer will be the same. There will be errors, so personalized correction of the color display for the target observer is required. In some embodiments of the present application, the electronic device can correct the preset color mapping relationship according to the response data corresponding to the target observer, that is, change the corresponding relationship between the reference tristimulus value and the RGB value, and finally obtain the corrected color Mapping relations.
可以理解的是,在本申请中,校正后的色彩映射关系可以用于对目标观察者对应的三刺激值与RGB值之间的对应进行确定。也就是说,响应数据为目标观察者对应的光谱响应数据;相应地,校正后色彩映射关系即为目标观察者对应的三刺激值与RGB值之间的对应关系。It can be understood that, in the present application, the corrected color mapping relationship can be used to determine the correspondence between the tristimulus values corresponding to the target observer and the RGB values. That is to say, the response data is the spectral response data corresponding to the target observer; correspondingly, the corrected color mapping relationship is the corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values.
进一步地,在本申请的实施例中,电子装置基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系的方法可以包括以下步骤:Further, in the embodiment of the present application, the electronic device performs correction processing on the preset color mapping relationship based on the response data, and the method for obtaining the corrected color mapping relationship may include the following steps:
步骤102a、根据响应数据和参考颜色响应数据确定校正矩阵。Step 102a: Determine a correction matrix according to the response data and the reference color response data.
在本申请的实施例中,电子装置可以先根据响应数据和参考颜色响应数据确定出校正矩阵,其中,校正矩阵用于将参考颜色响应数据转换为响应数据,所述响应数据为所述目标观察者对应的光谱响应数据;所述参考颜色响应数据为标准观察者对应的标准光谱响应数据。In the embodiment of the present application, the electronic device may first determine a correction matrix according to the response data and the reference color response data, wherein the correction matrix is used to convert the reference color response data into response data, and the response data is the target observation data The spectral response data corresponding to the observer; the reference color response data is the standard spectral response data corresponding to the standard observer.
示例性的,在本申请中,标准观察者对应的光谱响应数据与目标观察者对应的标准光谱响应数据之间转换可以通过3×3的转换矩阵来实现。在本申请的一些实施例中,标准观察者的标准光谱响应数据可以表示为
Figure PCTCN2022078370-appb-000003
目标观察者对应的光谱响应数据可以表示为
Figure PCTCN2022078370-appb-000004
那么,在使用转换矩阵进行转换时,可以采用以下公式:
Exemplarily, in this application, the conversion between the spectral response data corresponding to the standard observer and the standard spectral response data corresponding to the target observer may be implemented by a 3×3 conversion matrix. In some embodiments of the present application, the standard spectral response data of a standard observer can be expressed as
Figure PCTCN2022078370-appb-000003
The spectral response data corresponding to the target observer can be expressed as
Figure PCTCN2022078370-appb-000004
Then, when using the transformation matrix for transformation, the following formula can be used:
Figure PCTCN2022078370-appb-000005
Figure PCTCN2022078370-appb-000005
其中,转换矩阵可以表示为
Figure PCTCN2022078370-appb-000006
通过上述公式(1)可知,求解转换矩阵中的a ij(i,j=1,2,3)的值,便可以计算获得转换矩阵。
where the transformation matrix can be expressed as
Figure PCTCN2022078370-appb-000006
It can be known from the above formula (1) that the conversion matrix can be obtained by calculating the value of a ij (i, j=1, 2, 3) in the conversion matrix.
步骤102b、基于校正矩阵,建立目标观察者对应的三刺激值与标准观察者对应的参考三刺激值之间的转换关系。Step 102b: Based on the calibration matrix, establish a conversion relationship between the tristimulus values corresponding to the target observer and the reference tristimulus values corresponding to the standard observer.
在本申请的实施例中,电子装置在根据所述响应数据和参考颜色响应数据确定校正矩阵之后,便可以 利用校正矩阵,建立出目标观察者对应的三刺激值与所述标准观察者对应的参考三刺激值之间的转换关系。In the embodiment of the present application, after determining the correction matrix according to the response data and the reference color response data, the electronic device can use the correction matrix to establish the tristimulus value corresponding to the target observer and the standard observer. Refer to the conversion relationship between tristimulus values.
进一步地,在本申请的实施例中,在计算获得转换矩阵之后,便可以基于转换矩阵确定标准观察者对应的参考三刺激值XYZ与目标观察者对应的三刺激值(XYZ)′之间的转换关系,表示为如下公式:Further, in the embodiment of the present application, after the conversion matrix is obtained by calculation, the difference between the reference tristimulus value XYZ corresponding to the standard observer and the tristimulus value (XYZ)' corresponding to the target observer can be determined based on the conversion matrix. The conversion relationship is expressed as the following formula:
Figure PCTCN2022078370-appb-000007
Figure PCTCN2022078370-appb-000007
其中,参考三刺激值XYZ可以表示为
Figure PCTCN2022078370-appb-000008
目标观察者对应的三刺激值(XYZ)′可以表示为
Figure PCTCN2022078370-appb-000009
Among them, the reference tristimulus value XYZ can be expressed as
Figure PCTCN2022078370-appb-000008
The tristimulus values (XYZ)' corresponding to the target observer can be expressed as
Figure PCTCN2022078370-appb-000009
步骤102c、基于转换关系和预设色彩映射关系,确定校正后色彩映射关系。Step 102c: Determine the corrected color mapping relationship based on the conversion relationship and the preset color mapping relationship.
在本申请的实施例中,电子装置在完成目标观察者对应的三刺激值与参考三刺激值之间的转换关系之后,便可以利用该转换关系与预设色彩映射关系,进一步确定出校正后色彩映射关系。In the embodiment of the present application, after completing the conversion relationship between the tristimulus value corresponding to the target observer and the reference tristimulus value, the electronic device can use the conversion relationship and the preset color mapping relationship to further determine the corrected value Color mapping relationship.
可以理解的是,在本申请的实施例中,预设色彩映射关系为电子装置预先储存的、用于对参考三刺激值与RGB值之间的对应关系进行确定的,因此,在建立目标观察者对应的三刺激值与参考三刺激值之间的转换关系的基础上,电子装置可以完成对颜色显示的校正,将预设色彩映射关系转换为校正后色彩映射关系,其中,色彩映射关系用于对目标观察者对应的三刺激值与RGB值之间的对应关系进行确定。It can be understood that, in the embodiment of the present application, the preset color mapping relationship is pre-stored by the electronic device and used to determine the corresponding relationship between the reference tristimulus values and the RGB values. Therefore, when establishing the target observation On the basis of the conversion relationship between the corresponding tristimulus value and the reference tristimulus value, the electronic device can complete the correction of the color display, and convert the preset color mapping relationship into the corrected color mapping relationship, wherein the color mapping relationship uses The corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values is determined.
图13为颜色显示校正的示意图,如图13所示,电子装置的RGB值与标准观察者对应的参考三刺激值之间的对应关系即为预设色彩映射关系,限制装置在完成目标观察者对应的三刺激值与参考三刺激值之间的转换关系的建立之后,可以基于该转换关系进一步获得目标观察者对应的三刺激值与电子装置的RGB值之前的对应关系,即获取校正后色彩映射关系。FIG. 13 is a schematic diagram of color display calibration. As shown in FIG. 13 , the corresponding relationship between the RGB values of the electronic device and the reference tristimulus values corresponding to the standard observer is the preset color mapping relationship. After the conversion relationship between the corresponding tristimulus value and the reference tristimulus value is established, the corresponding relationship between the tristimulus value corresponding to the target observer and the RGB value of the electronic device can be further obtained based on the conversion relationship, that is, the corrected color can be obtained. Mapping relations.
需要说明的是,在本申请的实施例中,参考颜色响应数据、预设色彩映射关系均是电子装置预先存储的。It should be noted that, in the embodiments of the present application, the reference color response data and the preset color mapping relationship are all pre-stored by the electronic device.
进一步地,在本申请的实施例中,在根据所述响应数据和参考颜色响应数据确定校正矩阵之后,即步骤103a之后,电子装置进行颜色显示的方法还可以包括以下步骤:Further, in the embodiment of the present application, after the correction matrix is determined according to the response data and the reference color response data, that is, after step 103a, the method for performing color display by the electronic device may further include the following steps:
步骤102d、若校正矩阵满足预设校正条件,则按照校正矩阵对预设色彩映射关系进行校正处理,获得校正后色彩映射关系。Step 102d: If the correction matrix satisfies the preset correction condition, perform correction processing on the preset color mapping relationship according to the correction matrix, and obtain the corrected color mapping relationship.
步骤102e、若校正矩阵不满足预设校正条件,则直接将预设色彩映射关系确定为校正后色彩映射关系。Step 102e: If the calibration matrix does not meet the preset calibration condition, directly determine the preset color mapping relationship as the corrected color mapping relationship.
在本申请的实施例中,电子装置在计算获得响应数据与参考颜色响应数据之间的转换矩阵之后,可以先对是否需要进行校正处理进行判定,然后再根据判定结果执行下一步处理。In the embodiment of the present application, after calculating the conversion matrix between the response data and the reference color response data, the electronic device may first determine whether correction processing is required, and then perform the next processing according to the determination result.
在本申请的一些实施例中,电子装置可以通过转换矩阵确定响应数据与参考颜色响应数据之间的偏差程度,即目标观察者与标准观察者之间对颜色的响应的差距,如果响应数据与参考颜色响应数据之间的偏差程度较大,那么电子装置可以认为显示效果会降低,因此判定需要进行校正处理;如果响应数据与参考颜色响应数据之间的偏差程度足够小,那么电子装置可以认为不会影响显示效果,因此判定不需要进行校正处理。In some embodiments of the present application, the electronic device can determine the degree of deviation between the response data and the reference color response data through the transformation matrix, that is, the difference in the color response between the target observer and the standard observer. If the deviation between the reference color response data is large, the electronic device may consider that the display effect will be reduced, so it is determined that correction processing is required; if the deviation between the response data and the reference color response data is small enough, the electronic device may consider that It will not affect the display effect, so it is determined that correction processing is not required.
示例性的,在本申请中,电子装置可以预先设置一个校正条件,即预设校正条件,如果校正矩阵满足该预设校正条件,则判定执行校正处理,进而可以按照所述校正矩阵对所述预设色彩映射关系进行校正处理,获得所述校正后色彩映射关系,例如执行上述步骤102b和103c的方法进行校正处理;如果校正矩阵不满足该预设校正条件,则判定不执行校正处理,那么电子装置可以直接将预设色彩映射关系确定为所述校正后色彩映射关系,即继续按照预设色彩映射关系进行颜色显示。Exemplarily, in this application, the electronic device may preset a calibration condition, that is, a preset calibration condition, and if the calibration matrix satisfies the preset calibration condition, it is determined to perform calibration processing, and then the calibration process can be performed according to the calibration matrix. The preset color mapping relationship is corrected, and the corrected color mapping relationship is obtained. For example, the methods of the above steps 102b and 103c are performed to perform the correction; The electronic device may directly determine the preset color mapping relationship as the corrected color mapping relationship, that is, continue to perform color display according to the preset color mapping relationship.
进一步地,在本申请的实施例中,图14为颜色校正方法的实现流程示意图二,如图14所示,检测目标观察者对参考画面的响应数据,并基于响应数据生成颜色校正指令之后,即步骤101之后,且在响应颜色校正指令,基于响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系之前,即步骤102 之前,电子装置进行颜色显示的方法还可以包括以下步骤:Further, in the embodiment of the present application, FIG. 14 is a schematic diagram 2 of the implementation flow of the color correction method. As shown in FIG. 14 , after detecting the response data of the target observer to the reference picture, and generating a color correction instruction based on the response data, That is, after step 101, and in response to the color correction instruction, the preset color mapping relationship is corrected based on the response data, and before the corrected color mapping relationship is obtained, that is, before step 102, the method for performing color display by the electronic device may further include the following steps :
步骤106、确定响应数据和参考颜色响应数据之间的偏差参数。Step 106: Determine a deviation parameter between the response data and the reference color response data.
步骤107、若偏差参数大于预设偏差阈值,则进行校正处理。Step 107: If the deviation parameter is greater than the preset deviation threshold, perform correction processing.
在本申请的实施例中,电子装置在检测目标观察者对参考画面的响应数据之后,可以将响应数据与预先存储的参考颜色响应数据进行比较,计算获得两者之间的偏差参数,然后根据该偏差参数判断是否需要进行颜色显示的校正。In the embodiment of the present application, after detecting the response data of the target observer to the reference picture, the electronic device may compare the response data with the pre-stored reference color response data, calculate and obtain the deviation parameter between the two, and then according to The deviation parameter judges whether correction of color display is required.
进一步地,在本申请的实施例中,偏差参数可以对响应数据与参考颜色响应数据之间的偏离程度进行确定,也就是说,偏差参数可以对目标观察者与标准观察者之间对颜色的响应的差距进行确定。Further, in the embodiment of the present application, the deviation parameter can determine the degree of deviation between the response data and the reference color response data, that is, the deviation parameter can determine the difference between the target observer and the standard observer on the color. Response gaps are determined.
可以理解的是,在本申请的实施例中,电子装置预先设置一个阈值来判定是否需要进行校正处理的判定。在本申请的一些实施例中,电子装置可以将计算获得的响应数据和参考颜色响应数据之间的偏差参数与预设偏差阈值进行比较,如果比较结果为偏差参数大于预设偏差阈值,便可以认为对于目标观察者来说,按照原有的预设色彩映射关系进行颜色显示的显示效果并不理想,因此判定需要进行校正处理;如果比较结果为偏差参数小于或者等于预设偏差阈值,按照原有的预设色彩映射关系进行颜色显示对目标观察者来说并不会降低效果,因此判定不需要进行校正处理It can be understood that, in the embodiment of the present application, the electronic device presets a threshold value to determine whether the correction process needs to be determined. In some embodiments of the present application, the electronic device can compare the deviation parameter between the calculated response data and the reference color response data with a preset deviation threshold, and if the comparison result is that the deviation parameter is greater than the preset deviation threshold, it can It is considered that for the target observer, the display effect of color display according to the original preset color mapping relationship is not ideal, so it is determined that correction processing is required; if the comparison result is that the deviation parameter is less than or equal to the preset deviation threshold, according to the original Some preset color mapping relationships for color display will not reduce the effect for the target observer, so it is determined that correction processing is not required.
也就是说,在本申请中,电子装置在执行对颜色显示的校正流程时,可以是先检测到目标观察者对应的校正指令,然后再响应该校正指令,基于目标观察者对应的响应数据对原有的预设色彩映射关系进行调整,获得校正后色彩映射关系,以完成校正处理。That is to say, in the present application, when the electronic device performs the correction process for color display, it may first detect the correction instruction corresponding to the target observer, and then respond to the correction instruction, based on the response data corresponding to the target observer. The original preset color mapping relationship is adjusted to obtain the corrected color mapping relationship, so as to complete the correction processing.
相应地,在本申请中,电子装置在执行对颜色显示的校正流程时,也可以是直接根据获取到的目标观察者对应的响应数据进行是否执行校正处理的判定,如果确定需要进行颜色显示的校正,则基于目标观察者对应的响应数据对原有的预设色彩映射关系进行调整,获得校正后色彩映射关系,以完成校正处理。Correspondingly, in this application, when the electronic device performs the correction process for color display, it can also directly determine whether to perform the correction process according to the obtained response data corresponding to the target observer. For calibration, the original preset color mapping relationship is adjusted based on the response data corresponding to the target observer, and the corrected color mapping relationship is obtained to complete the calibration process.
步骤103、按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。Step 103: Perform color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image.
在本申请的实施例中,电子装置在响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系之后,便可以按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像,以完成针对目标观察者的个性化色彩显示。In the embodiment of the present application, after the electronic device responds to the color correction instruction, performs correction processing on the preset color mapping relationship based on the response data, and obtains the corrected color mapping relationship, it can adjust the color mapping relationship according to the corrected color mapping relationship. The image is color-corrected to provide a color-corrected image to complete the personalized color display for the target observer.
需要说明的是,在本申请的实施例中,电子装置先按照标准观察者对应的预设色彩映射关系进行颜色的显示处理,在完成对目标观察者的响应数据的获取之后,电子装置可以利用响应数据完成对预设色彩映射关系的转换,获得目标观察者对应的校正后色彩映射关系,然后便可以按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像,从而完成了针对目标观察者的颜色显示的校正处理。It should be noted that, in the embodiment of the present application, the electronic device first performs color display processing according to the preset color mapping relationship corresponding to the standard observer, and after completing the acquisition of the response data for the target observer, the electronic device can use The response data completes the conversion of the preset color mapping relationship, obtains the corrected color mapping relationship corresponding to the target observer, and then performs color correction processing on the image according to the corrected color mapping relationship to provide the color-corrected image, thus completing the Correction processing of color display for target observers.
也就是说,在本申请中,在按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像之前,电子装置是按照所述预设色彩映射关系进行颜色的显示。That is, in the present application, before performing color correction processing on an image according to the corrected color mapping relationship and providing a color corrected image, the electronic device displays colors according to the preset color mapping relationship.
在本申请的一些实施例中,电子装置在按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像时,可以先确定图像对应的初始RGB值;然后再根据校正后色彩映射关系和初始RGB值,确定目标三刺激值;最终便可以按照目标三刺激值调整显示器驱动电压,进而获得颜色校正后的图像。In some embodiments of the present application, when the electronic device performs color correction processing on the image according to the corrected color mapping relationship and provides a color corrected image, it can first determine the initial RGB values corresponding to the image; and then according to the corrected color mapping The relationship and the initial RGB value are used to determine the target tristimulus value; finally, the display driving voltage can be adjusted according to the target tristimulus value, thereby obtaining a color-corrected image.
在本申请的一些实施例中,电子装置在对图像进行显示时,可以先确定出图像本身的RGB值,即初始RGB值,进而可以使用目标观察者对应的校正后色彩映射关系确定出初始RGB值所对应的三刺激值,即目标三刺激值。基于上述表1所表示的RGB电子信号强度与XYZ三刺激值的对应关系,可以进一步确定出目标三刺激值所对应的不同通道的bit数显示的亮度等级,因此电子装置可以基于上述表1,按照目标三刺激值调整显示器驱动电压,进而可以获得并显示颜色校正后的图像,最终完成针对目标观察者的个性化色彩显示。In some embodiments of the present application, when the electronic device displays an image, it may first determine the RGB value of the image itself, that is, the initial RGB value, and then use the corrected color mapping relationship corresponding to the target observer to determine the initial RGB value The tristimulus value corresponding to the value is the target tristimulus value. Based on the correspondence between the RGB electronic signal strength and the XYZ tristimulus values shown in Table 1 above, the brightness level displayed by the number of bits of different channels corresponding to the target tristimulus values can be further determined. Therefore, the electronic device can be based on the above Table 1, The display driving voltage is adjusted according to the target tristimulus value, and then the color-corrected image can be obtained and displayed, and finally the personalized color display for the target observer is completed.
在本申请的一些实施例中,电子装置在按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像时,也可以先确定图像对应的初始RGB值;然后根据校正后色彩映射关系和初始RGB值,确定目标三刺激值;最后按照目标三刺激值获得颜色校正后的图像。In some embodiments of the present application, when the electronic device performs color correction processing on the image according to the corrected color mapping relationship and provides a color corrected image, it may first determine the initial RGB values corresponding to the image; and then according to the corrected color mapping The relationship and the initial RGB value are used to determine the target tristimulus value; finally, the color-corrected image is obtained according to the target tristimulus value.
在本申请的一些实施例中,电子装置在对图像进行显示时,可以先确定出图像本身的RGB值,即初始RGB值,进而可以使用目标观察者对应的校正后色彩映射关系确定出初始RGB值所对应的三刺激值,即 目标三刺激值,接着再按照目标三刺激值对显示的图像数据进行调整和校正,获得并显示颜色校正后的图像,最终完成针对目标观察者的个性化色彩显示。In some embodiments of the present application, when the electronic device displays an image, it may first determine the RGB value of the image itself, that is, the initial RGB value, and then use the corrected color mapping relationship corresponding to the target observer to determine the initial RGB value The corresponding tristimulus value, that is, the target tristimulus value, then adjust and correct the displayed image data according to the target tristimulus value, obtain and display the color-corrected image, and finally complete the personalized color for the target observer. show.
综上所述,在本申请的实施例中,根据步骤101至步骤107提出的颜色校正方法,电子装置可以针对不同观察者提供定制化的颜色显示方案,使得不同人群可以感知到相同的颜色。在本申请的一些实施例中提出的颜色校正方法,既可以针对色盲、色弱建立定制化的颜色显示方案,也可以针对更大人群的正常视觉观察者对于颜色感知的差异,建立个性化的显示方案,使得不同观察者可以感知相同的颜色。To sum up, in the embodiments of the present application, according to the color correction method proposed in steps 101 to 107 , the electronic device can provide customized color display schemes for different observers, so that different groups of people can perceive the same color. The color correction method proposed in some embodiments of the present application can not only establish a customized color display scheme for color blindness and color weakness, but also establish a personalized display for the differences in color perception of normal visual observers of a larger population scheme so that different observers can perceive the same color.
也就是说,本申请不对目标观察者的具体人群进行限制。That is to say, the present application does not limit the specific group of target observers.
本申请实施例提出的一种颜色校正方法,电子装置检测目标观察者对参考画面的响应数据,并基于响应数据生成颜色校正指令;响应颜色校正指令,基于响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。由此可见,本申请提出的颜色校正方法,电子装置可以先对目标观察者的实际颜色响应进行检测,获得对应的响应数据,然后再利用响应数据对标准观察者对应的预设色彩映射关系进行校正处理,从而获得表征目标观察者的三刺激值与RGB值对应关系的校正后色彩映射关系,进而可以通过校正后色彩映射关系实现对目标观察者的个性化颜色显示。可见,本申请提出的颜色校正方案,能够解决不同观察者之间存在颜色感知色差的问题,提升了电子装置的显示效果,满足了颜色显示的个性化需求,大大提高了电子装置的智能性。In a color correction method proposed by an embodiment of the present application, an electronic device detects response data of a target observer to a reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, a preset color mapping relationship is corrected based on the response data processing to obtain a corrected color mapping relationship; and performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer. Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
本申请的再一实施例提供了一种可校正显示方法,图15为可校正显示方法的实现流程示意图,如图15所示,在本申请的实施例中,电子装置可校正显示方法可以包括以下步骤:Yet another embodiment of the present application provides a calibratable display method. FIG. 15 is a schematic diagram of an implementation flow of the calibratable display method. As shown in FIG. 15 , in the embodiment of the present application, the calibratable display method of an electronic device may include: The following steps:
步骤201、检测目标观察者对参考画面的响应数据,并基于响应数据生成颜色校正指令。Step 201: Detect response data of the target observer to the reference picture, and generate a color correction instruction based on the response data.
在本申请的实施例中,电子装置可以先检测目标观察者对参考画面的响应数据,然后可以基于响应数据生成颜色校正指令。In the embodiment of the present application, the electronic device may first detect the response data of the target observer to the reference picture, and then may generate the color correction instruction based on the response data.
可以理解的是,在本申请的实施例中,电子装置检测目标观察者对参考画面的响应数据可以为目标观察者对应的光谱响应数据。It can be understood that, in the embodiment of the present application, the response data of the target observer detected by the electronic device to the reference picture may be spectral response data corresponding to the target observer.
进一步地,在本申请的实施例中,电子装置在检测目标观察者对参考画面的响应数据之后,可以进一步基于响应数据生成颜色校正指令。Further, in the embodiment of the present application, after detecting the response data of the target observer to the reference picture, the electronic device may further generate a color correction instruction based on the response data.
可以理解的是,在本申请的实施例中,如果目标观察者对应的响应数据与标准观察者对应的参考颜色响应数据不同,那么电子装置可以对预设色彩映射关系进行调整。在本申请的一些实施例中,电子装置可以通过接收目标观察者对应的颜色校正指令来开启颜色显示的校正流程。即颜色校正指令可以用于对目标观察者进行颜色显示的个性化调整处理的指示。It can be understood that, in the embodiment of the present application, if the response data corresponding to the target observer is different from the reference color response data corresponding to the standard observer, the electronic device can adjust the preset color mapping relationship. In some embodiments of the present application, the electronic device may start the correction process of color display by receiving a color correction instruction corresponding to the target observer. That is, the color correction instruction can be used as an instruction to perform personalized adjustment processing of color display for the target observer.
步骤202、响应颜色校正指令,基于响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系。 Step 202 , in response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data, and obtain the corrected color mapping relationship.
在本申请的实施例中,电子装置在基于所述响应数据生成颜色校正指令之后,可以响应色彩校正指令,基于响应数据对预设色彩映射关系进行校正处理,从而可以获得校正后的色彩映射关系。In the embodiment of the present application, after generating the color correction instruction based on the response data, the electronic device may respond to the color correction instruction, and perform correction processing on the preset color mapping relationship based on the response data, so as to obtain the corrected color mapping relationship .
可以理解的是,在本申请的实施例中,在进行校正之前,电子装置是按照预设色彩映射关系进行颜色的显示的,其中,预设色彩映射关系可以用于对标准观察者对应的参考三刺激值与RGB值之间的对应关系进行确定,也就是说,参考颜色响应数据为标准观察者对应的标准光谱响应数据;相应地,预设色彩映射关系即为标准观察者对应的参考三刺激值与RGB值之间的对应关系。It can be understood that, in the embodiments of the present application, before the calibration is performed, the electronic device displays colors according to a preset color mapping relationship, wherein the preset color mapping relationship can be used for the reference corresponding to the standard observer. The corresponding relationship between the tristimulus values and the RGB values is determined, that is, the reference color response data is the standard spectral response data corresponding to the standard observer; correspondingly, the preset color mapping relationship is the reference three corresponding to the standard observer. Correspondence between stimulus values and RGB values.
进一步地,在本申请的实施例中,如果目标观察者与标准观察者对颜色的响应有差别,那么电子装置继续按照预设色彩映射关系进行颜色显示时,目标观察者所看到的颜色就会存在误差,因此需要针对目标观察者进行色彩显示的个性化校正。在本申请的一些实施例中,电子装置可以按照目标观察者对应的响应数据对预设色彩映射关系进行校正,即改变参考三刺激值与RGB值之间的对应关系,最终获得校正后的色彩映射关系。Further, in the embodiment of the present application, if the response of the target observer and the standard observer to the color is different, then when the electronic device continues to display the color according to the preset color mapping relationship, the color seen by the target observer will be the same. There will be errors, so personalized correction of the color display for the target observer is required. In some embodiments of the present application, the electronic device can correct the preset color mapping relationship according to the response data corresponding to the target observer, that is, change the corresponding relationship between the reference tristimulus value and the RGB value, and finally obtain the corrected color Mapping relations.
可以理解的是,在本申请中,校正后的色彩映射关系可以用于对目标观察者对应的三刺激值与RGB值之间的对应进行确定。也就是说,响应数据为目标观察者对应的光谱响应数据;相应地,校正后色彩映射 关系即为目标观察者对应的三刺激值与RGB值之间的对应关系。It can be understood that, in the present application, the corrected color mapping relationship can be used to determine the correspondence between the tristimulus values corresponding to the target observer and the RGB values. That is to say, the response data is the spectral response data corresponding to the target observer; correspondingly, the corrected color mapping relationship is the corresponding relationship between the tristimulus values and the RGB values corresponding to the target observer.
进一步地,在本申请的实施例中,电子装置基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系的方法可以包括以下步骤:根据响应数据和参考颜色响应数据确定校正矩阵;基于校正矩阵,建立目标观察者对应的三刺激值与标准观察者对应的参考三刺激值之间的转换关系;基于转换关系和预设色彩映射关系,确定校正后色彩映射关系。Further, in the embodiment of the present application, the electronic device performs correction processing on the preset color mapping relationship based on the response data, and the method for obtaining the corrected color mapping relationship may include the following steps: determining according to the response data and the reference color response data Correction matrix; based on the correction matrix, the conversion relationship between the tristimulus values corresponding to the target observer and the reference tristimulus values corresponding to the standard observer is established; based on the conversion relationship and the preset color mapping relationship, the corrected color mapping relationship is determined.
可以理解的是,在本申请的实施例中,预设色彩映射关系为电子装置预先储存的、用于对参考三刺激值与RGB值之间的对应关系进行确定的,因此,在建立目标观察者对应的三刺激值与参考三刺激值之间的转换关系的基础上,电子装置可以完成对颜色显示的校正,将预设色彩映射关系转换为校正后色彩映射关系,其中,色彩映射关系用于对目标观察者对应的三刺激值与RGB值之间的对应关系进行确定。It can be understood that, in the embodiment of the present application, the preset color mapping relationship is pre-stored by the electronic device and used to determine the corresponding relationship between the reference tristimulus values and the RGB values. Therefore, when establishing the target observation On the basis of the conversion relationship between the corresponding tristimulus value and the reference tristimulus value, the electronic device can complete the correction of the color display, and convert the preset color mapping relationship into the corrected color mapping relationship, wherein the color mapping relationship uses The corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values is determined.
需要说明的是,在本申请的实施例中,参考颜色响应数据、预设色彩映射关系均是电子装置预先存储的。It should be noted that, in the embodiments of the present application, the reference color response data and the preset color mapping relationship are all pre-stored by the electronic device.
进一步地,在本申请的实施例中,在根据所述响应数据和参考颜色响应数据确定校正矩阵之后,电子装置进行颜色显示的方法还可以包括以下步骤:若校正矩阵满足预设校正条件,则按照校正矩阵对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;若校正矩阵不满足预设校正条件,则直接将预设色彩映射关系确定为校正后色彩映射关系。Further, in the embodiment of the present application, after the correction matrix is determined according to the response data and the reference color response data, the method for performing color display by the electronic device may further include the following steps: if the correction matrix satisfies the preset correction condition, then The preset color mapping relationship is corrected according to the correction matrix to obtain the corrected color mapping relationship; if the correction matrix does not meet the preset correction conditions, the preset color mapping relationship is directly determined as the corrected color mapping relationship.
在本申请的实施例中,电子装置在计算获得响应数据与参考颜色响应数据之间的转换矩阵之后,可以先对是否需要进行校正处理进行判定,然后再根据判定结果执行下一步处理。In the embodiment of the present application, after calculating the conversion matrix between the response data and the reference color response data, the electronic device may first determine whether correction processing is required, and then perform the next processing according to the determination result.
在本申请的一些实施例中,电子装置可以通过转换矩阵确定响应数据与参考颜色响应数据之间的偏差程度,即目标观察者与标准观察者之间对颜色的响应的差距,如果响应数据与参考颜色响应数据之间的偏差程度较大,那么电子装置可以认为显示效果会降低,因此判定需要进行校正处理;如果响应数据与参考颜色响应数据之间的偏差程度足够小,那么电子装置可以认为不会影响显示效果,因此判定不需要进行校正处理。In some embodiments of the present application, the electronic device can determine the degree of deviation between the response data and the reference color response data through the transformation matrix, that is, the difference in the response to color between the target observer and the standard observer. If the deviation between the reference color response data is large, the electronic device may consider that the display effect will be reduced, so it is determined that correction processing is required; if the deviation between the response data and the reference color response data is small enough, the electronic device may consider that It will not affect the display effect, so it is determined that correction processing is not required.
进一步地,在本申请的实施例中,在检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令之后,且在响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系之前,电子装置进行颜色显示的方法还可以包括以下步骤:确定响应数据和参考颜色响应数据之间的偏差参数;若偏差参数大于预设偏差阈值,则进行校正处理。Further, in the embodiments of the present application, after detecting the response data of the target observer to the reference picture, and generating a color correction instruction based on the response data, and in response to the color correction instruction, based on the response data The preset color mapping relationship is corrected, and before the corrected color mapping relationship is obtained, the method for performing color display by the electronic device may further include the following steps: determining a deviation parameter between the response data and the reference color response data; if the deviation parameter is greater than the preset value If the deviation threshold is exceeded, correction processing is performed.
在本申请的实施例中,电子装置在检测目标观察者对参考画面的响应数据之后,可以将响应数据与预先存储的参考颜色响应数据进行比较,计算获得两者之间的偏差参数,然后根据该偏差参数判断是否需要进行颜色显示的校正。In the embodiment of the present application, after detecting the response data of the target observer to the reference picture, the electronic device can compare the response data with the pre-stored reference color response data, calculate and obtain the deviation parameter between the two, and then according to The deviation parameter judges whether correction of color display is required.
进一步地,在本申请的实施例中,偏差参数可以对响应数据与参考颜色响应数据之间的偏离程度进行确定,也就是说,偏差参数可以对目标观察者与标准观察者之间对颜色的响应的差距进行确定。Further, in the embodiment of the present application, the deviation parameter can determine the degree of deviation between the response data and the reference color response data, that is, the deviation parameter can determine the difference between the target observer and the standard observer on the color. Response gaps are determined.
步骤203、按照校正后色彩映射关系进行颜色显示。 Step 203 , performing color display according to the corrected color mapping relationship.
在本申请的实施例中,电子装置在响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系之后,便可以按照校正后色彩映射关系进行颜色显示,以完成针对目标观察者的个性化色彩显示。In the embodiment of the present application, after the electronic device responds to the color correction instruction, performs correction processing on the preset color mapping relationship based on the response data, and obtains the corrected color mapping relationship, it can perform the correction processing according to the corrected color mapping relationship. Color display to complete the personalized color display for the target observer.
需要说明的是,在本申请的实施例中,电子装置先按照标准观察者对应的预设色彩映射关系进行颜色的显示处理,在完成对目标观察者的基础颜色响应数据的获取之后,电子装置可以利用基础颜色响应数据完成对预设色彩映射关系的转换,获得目标观察者对应的校正后色彩映射关系,然后便可以按照校正后色彩映射关系进行颜色的显示,从而完成了针对目标观察者的颜色显示的校正处理。It should be noted that, in the embodiments of the present application, the electronic device first performs color display processing according to the preset color mapping relationship corresponding to the standard observer, and after completing the acquisition of the basic color response data of the target observer, the electronic device The basic color response data can be used to complete the conversion of the preset color mapping relationship, and the corrected color mapping relationship corresponding to the target observer can be obtained, and then the color can be displayed according to the corrected color mapping relationship, thus completing the target observer. Correction processing for color display.
也就是说,在本申请中,在按照所述校正后色彩映射关系进行颜色的显示之前,电子装置是按照所述预设色彩映射关系进行颜色的显示。That is, in the present application, before displaying colors according to the corrected color mapping relationship, the electronic device displays colors according to the preset color mapping relationship.
综上所述,在本申请的实施例中,根据步骤201至步骤203提出的可校正的显示,电子装置可以针对不同观察者提供定制化的颜色显示方案,使得不同人群可以感知到相同的颜色。在本申请的一些实施例中提出的可校正的显示,既可以针对色盲、色弱建立定制化的颜色显示方案,也可以针对更大人群的正常视 觉观察者对于颜色感知的差异,建立个性化的显示方案,使得不同观察者可以感知相同的颜色。To sum up, in the embodiments of the present application, according to the correctable display proposed in steps 201 to 203, the electronic device can provide a customized color display scheme for different observers, so that different groups of people can perceive the same color . The correctable display proposed in some embodiments of the present application can not only establish a customized color display scheme for color blindness and color weakness, but also establish a personalized color display scheme for the differences in color perception of normal visual observers of a larger population. Display schemes such that different observers perceive the same color.
也就是说,本申请不对目标观察者的具体人群进行限制。That is to say, the present application does not limit the specific group of target observers.
本申请实施例提出的一种可校正显示方法,电子装置检测目标观察者对参考画面的响应数据,并基于响应数据生成颜色校正指令;响应颜色校正指令,基于响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照校正后色彩映射关系进行颜色显示。由此可见,本申请提出的颜色校正方法,电子装置可以先对目标观察者的实际颜色响应进行检测,获得对应的响应数据,然后再利用响应数据对标准观察者对应的预设色彩映射关系进行校正处理,从而获得表征目标观察者的三刺激值与RGB值对应关系的校正后色彩映射关系,进而可以通过校正后色彩映射关系实现对目标观察者的个性化颜色显示。可见,本申请提出的颜色校正方案,能够解决不同观察者之间存在颜色感知色差的问题,提升了电子装置的显示效果,满足了颜色显示的个性化需求,大大提高了电子装置的智能性。In a correctable display method proposed by an embodiment of the present application, the electronic device detects the response data of the target observer to the reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, the preset color mapping relationship is performed based on the response data. Correction processing, obtaining the corrected color mapping relationship; and performing color display according to the corrected color mapping relationship. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer. Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
基于上述实施例,在本申请的再一实施例中,图16为颜色校正方法的实现流程示意图三,如图16所示,在获取目标观察者对应的检测指令之后,电子装置检测目标观察者对参考画面的响应数据的方法可以包括以下步骤:Based on the above embodiment, in yet another embodiment of the present application, FIG. 16 is a schematic diagram 3 of the implementation flow of the color correction method. As shown in FIG. 16 , after acquiring the detection instruction corresponding to the target observer, the electronic device detects the target observer. The method of response data to the reference picture may include the following steps:
步骤301、响应接收到的检测指令,显示参考画面。Step 301: Display a reference picture in response to the received detection instruction.
在本申请的实施例中,电子装置在获取检测指令之后,可以响应该检测指令,开启检测功能,在显示屏幕中显示参考画面。In the embodiment of the present application, after acquiring the detection instruction, the electronic device may respond to the detection instruction, enable the detection function, and display the reference picture on the display screen.
可以理解的是,在本申请中,参考画面可以为电子装置预先设置的、用于对目标观察者的颜色响应数据进行实验和检测的画面。It can be understood that, in this application, the reference picture may be a picture preset by the electronic device and used for experimenting and detecting the color response data of the target observer.
需要说明的是,在本申请的实施例中,电子装置可以为已经根据参考颜色响应数据完成校正的显示器。It should be noted that, in the embodiments of the present application, the electronic device may be a display that has been calibrated according to the reference color response data.
在本申请的一些实施例中,在呼出参考画面之前,电子装置可以在显示屏幕的全部区域中呼出背景界面。图17为背景界面的示意图,如图17所示,电子装置呼出的背景界面可以为一个灰色背景界面,其中,该背景界面的颜色可以等同为孟塞尔色票N5的颜色,例如,该背景界面的RGB值为(124,124,124)。In some embodiments of the present application, before calling out the reference picture, the electronic device may call out the background interface in the entire area of the display screen. FIG. 17 is a schematic diagram of a background interface. As shown in FIG. 17 , the background interface called out by the electronic device can be a gray background interface, wherein the color of the background interface can be equal to the color of the Munsell color sheet N5, for example, the background interface The RGB value of the interface is (124, 124, 124).
进一步地,在本申请的实施例中,电子装置可以通过程序建立参考画面。Further, in the embodiments of the present application, the electronic device may create a reference picture through a program.
示例性的,在本申请中,图18为参考画面的示意图一,如图18所示,参考画面如同一个色彩调色盘,其中可以包括共一个圆环和十二个圆盘所组成,每个圆盘的直径均为1.5度视角,环的半径为5度视角,参考画面的中间可以设置有十字标,定在屏幕的中心,方便观察者进行注视。Exemplarily, in this application, FIG. 18 is a schematic diagram 1 of a reference picture. As shown in FIG. 18 , the reference picture is like a color palette, which may include a total of one ring and twelve The diameter of each disc is 1.5 degrees of viewing angle, the radius of the ring is 5 degrees of viewing angle, and a cross mark can be set in the middle of the reference picture, which is fixed in the center of the screen to facilitate the observer to watch.
需要说明的是,在本申请的实施例中,基于不同的实验数据,电子装置可以在参考画面中分别使用红色(R),绿色(G),蓝色(B)以及黄色(Y)四个色相方向的纯色来评量,这里的纯色意味着一种颜色不混有其他的颜色的色调或色相。It should be noted that, in the embodiments of the present application, based on different experimental data, the electronic device may use four colors of red (R), green (G), blue (B) and yellow (Y) respectively in the reference picture A solid color is measured in the hue direction, where a solid color means that a color is not mixed with the hue or hue of other colors.
可以理解的是,在本申请的实施例中,圆盘的和圆环的数量、大小以及两者之间的相对位置关系可以任意设置,参考画面中使用的色相的具体数量和颜色也可以任意设置,本申请均不作具体限定。It can be understood that, in the embodiments of the present application, the number and size of the disc and the ring and the relative positional relationship between the two can be set arbitrarily, and the specific number and color of the hue used in the reference picture can also be arbitrarily set. The settings are not specifically limited in this application.
步骤302、通过参考画面进行检测处理,获得目标观察者对应的响应数据。Step 302: Perform detection processing by referring to the picture to obtain response data corresponding to the target observer.
在本申请的实施例中,电子装置在响应该检测指令,开启检测功能,在显示屏幕中显示参考画面之后,便可以通过所述参考画面进行检测处理,从而可以获得所述目标观察者对应的所述响应数据。In the embodiment of the present application, after the electronic device starts the detection function in response to the detection instruction, and displays the reference picture on the display screen, the electronic device can perform detection processing through the reference picture, so as to obtain the corresponding data of the target observer. the response data.
需要说明的是,在本申请的实施例中,电子装置在每次试验开始时,都可以先在显示屏幕呼出一个提示界面,其中,提示界面可以用于对待评价的颜色进行提示。It should be noted that, in the embodiment of the present application, the electronic device can call out a prompt interface on the display screen at the beginning of each test, wherein the prompt interface can be used to prompt the color to be evaluated.
示例性的,图19为提示界面的示意图,如图19所示,在正式开始对目标观察者的检测之前,可以先呼出提示界面,例如,呼出的提示界面显示“红色”,即提醒观察者此次评价的纯色颜色为红色。Exemplarily, FIG. 19 is a schematic diagram of the prompting interface. As shown in FIG. 19 , before the detection of the target observer is officially started, the prompting interface can be called out. The solid color for this evaluation is red.
进一步地,在本申请的实施例中,电子装置还可以通过提示界面提示观察者注视在显示屏幕中心的、参考画面的十字标,然后依照暗适应至明适应的顺序对眼睛进行视觉适应,然后再进行纯色的判别和评价。Further, in the embodiment of the present application, the electronic device can also prompt the observer to look at the cross mark of the reference picture in the center of the display screen through the prompt interface, and then perform visual adaptation to the eyes in the order of dark adaptation to light adaptation, and then. Then carry out the discrimination and evaluation of pure color.
需要说明的是,在本申请的实施例中,在通过所述参考画面进行检测处理时,电子装置可以在参考画面中的十二个圆盘上分别填入经过改变色相(Hue)后的纯色颜色,电子装置在将经过改变色相后的纯色颜色进行显示之后,便可以获得所述目标观察者对应的所述响应数据。It should be noted that, in the embodiment of the present application, when performing detection processing through the reference picture, the electronic device may fill in the solid colors after changing the hue (Hue) on the twelve discs in the reference picture respectively. Color, the electronic device can obtain the response data corresponding to the target observer after displaying the solid color whose hue has been changed.
示例性的,图20为参考画面的示意图二,如图20所示,电子装置可以将待评价颜色,如红色,进行 不同程度的色相的改变后,再分别显示在十二个圆盘上,也就是说,参考画面中显示有同一个纯色颜色对应的不同程度的改变后的颜色。Exemplarily, FIG. 20 is the second schematic diagram of the reference picture. As shown in FIG. 20 , the electronic device can display the color to be evaluated, such as red, on the twelve discs after changing the hue to different degrees, respectively. That is to say, the reference picture displays different degrees of changed colors corresponding to the same solid color.
进一步地,在本申请的实施例中,观察者根据自身的颜色响应,可以在参考画面中的十二个圆盘中显示的不同的十二种颜色中确定出提示界面提示的待评价颜色。在本申请的一些实施例中,观察者可以通过鼠标、键盘或是触屏的等多种方式,将选中的颜色告知显示屏幕,例如,观察者通过在显示屏幕上的滑动操作来滑动参考画面并选择认为符合纯色的颜色,从而使电子装置获取观察者对应的选择结果,其中,该选择结果为十二个元盘中的其中一个圆盘所显示的颜色的RGB值。Further, in the embodiment of the present application, the observer can determine the color to be evaluated prompted by the prompt interface from twelve different colors displayed in the twelve discs in the reference picture according to the color response of the observer. In some embodiments of the present application, the observer can inform the display screen of the selected color through various methods such as a mouse, a keyboard or a touch screen. For example, the observer slides the reference picture through a sliding operation on the display screen. And select the color that is considered to conform to the pure color, so that the electronic device obtains the corresponding selection result of the observer, wherein the selection result is the RGB value of the color displayed by one of the twelve meta-disks.
相应地,在本申请中,电子装置在确定观察者进行实验之后所选择的待评价颜色对应的实际颜色之后,即确定观察者选择的颜色的RGB值之后,可以继续通过参考画面采集最大红色、最大绿色、最大蓝色以及最大白色在CIE xy色度图上的坐标点所形成的转换矩阵,结合电子装置的Gamma值,最终便可以通过观察者选择的RGB值求得观察者的响应数据。Correspondingly, in this application, after determining the actual color corresponding to the color to be evaluated selected by the observer after the experiment, that is, after determining the RGB value of the color selected by the observer, the electronic device can continue to collect the maximum red, The transformation matrix formed by the coordinate points of the maximum green, maximum blue and maximum white on the CIE xy chromaticity diagram, combined with the Gamma value of the electronic device, can finally obtain the response data of the observer through the RGB value selected by the observer.
需要说明的是,在本申请的实施例中,电子装置可以使用多个的屏幕亮度界级别进行多个阶段的实验和检测,例如,显示屏幕可以分别在低亮度(最大亮度低于10%)、中亮度(最大亮度低于40%)以及高亮度(最大亮度低于80%)这三种不同亮度下,进行三种屏幕亮度对应的三个阶段的评估。It should be noted that, in the embodiments of the present application, the electronic device may use multiple screen brightness levels to perform multiple stages of experimentation and detection. For example, the display screen may be respectively at low brightness (the maximum brightness is lower than 10%). , medium brightness (the maximum brightness is lower than 40%) and high brightness (the maximum brightness is lower than 80%), three stages of evaluation corresponding to the three screen brightnesses are carried out.
进一步地,在本申请的实施例中,图21为颜色校正的实现示意图,如图21所示,电子装置在按照预先存储的、标准观察者对应的预设色彩映射关系进行颜色显示时,如果接收到观察者A的检测指令,便可以在显示屏幕中呼出参考画面,然后通过参考画面,对观察者A针对参考画面的响应数据进行测量和采集(步骤401);接着,电子装置可以通过预先存储的标准观察者对应的参考颜色响应数据,确定观察者A的响应数据和参考颜色响应数据之间的转换关系,其中,转换关系可以通过转换矩阵来表示(步骤402);然后,电子装置根据转换矩阵进行色彩显示的校正,在本申请的一些实施例中,电子装置根据转换矩阵将预设色彩映射关系转换为校正后色彩映射关系,即将标准观察者对应的参考三刺激值与RGB值之间的对应关系,转换为观察者A对应的三刺激值与RGB值之间的对应关系(步骤403),从而针对观察者A完成了对颜色显示的校正,进而可以按照观察者A对应的校正后色彩映射关系进行颜色的显示(步骤404)。Further, in the embodiment of the present application, FIG. 21 is a schematic diagram of the implementation of color correction. As shown in FIG. 21 , when the electronic device performs color display according to the pre-stored preset color mapping relationship corresponding to the standard observer, if After receiving the detection instruction of the observer A, the reference picture can be called out on the display screen, and then the response data of the observer A to the reference picture can be measured and collected through the reference picture (step 401); The stored reference color response data corresponding to the standard observer determines the conversion relationship between the response data of the observer A and the reference color response data, wherein the conversion relationship can be represented by a conversion matrix (step 402); The conversion matrix is used to correct the color display. In some embodiments of the present application, the electronic device converts the preset color mapping relationship into the corrected color mapping relationship according to the conversion matrix, that is, the reference tristimulus value corresponding to the standard observer and the RGB value The corresponding relationship between the two is converted into the corresponding relationship between the tristimulus values corresponding to the observer A and the RGB values (step 403), so that the correction of the color display is completed for the observer A, and then the correction corresponding to the observer A can be performed. After the color mapping relationship, color display is performed (step 404).
本申请实施例提出的一种颜色校正方法,电子装置检测目标观察者对参考画面的响应数据,并基于响应数据生成颜色校正指令;响应颜色校正指令,基于响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。由此可见,本申请提出的颜色校正方法,电子装置可以先对目标观察者的实际颜色响应进行检测,获得对应的响应数据,然后再利用响应数据对标准观察者对应的预设色彩映射关系进行校正处理,从而获得表征目标观察者的三刺激值与RGB值对应关系的校正后色彩映射关系,进而可以通过校正后色彩映射关系实现对目标观察者的个性化颜色显示。可见,本申请提出的颜色校正方案,能够解决不同观察者之间存在颜色感知色差的问题,提升了电子装置的显示效果,满足了颜色显示的个性化需求,大大提高了电子装置的智能性。In a color correction method proposed by an embodiment of the present application, an electronic device detects response data of a target observer to a reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, a preset color mapping relationship is corrected based on the response data processing to obtain a corrected color mapping relationship; and performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer. Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
基于上述实施例,在本申请的另一实施例中,图22为电子设备的组成结构示意图一,如图22所示,本申请实施例提出的电子装置10可以包括:检测单元11,生成单元12,校正单元13,确定单元14,Based on the above embodiment, in another embodiment of the present application, FIG. 22 is a schematic diagram of the composition structure of an electronic device. As shown in FIG. 22 , the electronic device 10 proposed in this embodiment of the present application may include: a detection unit 11 , a generation unit 12, the correction unit 13, the determination unit 14,
所述检测单元11,被配置为检测目标观察者对参考画面的响应数据;The detection unit 11 is configured to detect the response data of the target observer to the reference picture;
所述生成单元12,被配置为基于所述响应数据生成颜色校正指令;The generating unit 12 is configured to generate a color correction instruction based on the response data;
所述校正单元13,被配置为响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。The correction unit 13 is configured to, in response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and perform a correction process on the image according to the corrected color mapping relationship. Color correction processing, providing a color corrected image.
进一步地,在本申请的实施例中,所述校正单元13,还被配置为根据所述响应数据和参考颜色响应数据确定校正矩阵;基于所述校正矩阵,建立所述目标观察者对应的三刺激值与所述标准观察者对应的参考三刺激值之间的转换关系;基于所述转换关系和所述预设色彩映射关系,确定所述校正后色彩映射关系。Further, in the embodiment of the present application, the correction unit 13 is further configured to determine a correction matrix according to the response data and the reference color response data; The conversion relationship between the stimulus value and the reference tristimulus value corresponding to the standard observer; the corrected color mapping relationship is determined based on the conversion relationship and the preset color mapping relationship.
进一步地,在本申请的实施例中,所述响应数据为所述目标观察者对应的光谱响应数据;所述参考颜色响应数据为标准观察者对应的标准光谱响应数据;所述预设色彩映射关系表征所述参考三刺激值与红绿 蓝RGB值之间的对应关系;所述校正后色彩映射关系表征所述目标观察者对应的三刺激值与RGB值之间的对应关系。Further, in the embodiment of the present application, the response data is spectral response data corresponding to the target observer; the reference color response data is standard spectral response data corresponding to a standard observer; the preset color map The relationship represents the corresponding relationship between the reference tristimulus values and the red, green, and blue RGB values; the corrected color mapping relationship represents the corresponding relationship between the tristimulus values and the RGB values corresponding to the target observer.
进一步地,在本申请的实施例中,所述检测单元11,还被配置为响应接收到的检测指令,显示所述参考画面;通过所述参考画面进行检测处理,获得所述目标观察者对应的所述响应数据。Further, in the embodiment of the present application, the detection unit 11 is further configured to display the reference picture in response to the received detection instruction; perform detection processing through the reference picture to obtain the corresponding correspondence of the target observer. of the response data.
进一步地,在本申请的实施例中,所述校正单元13,还被配置为所述根据所述响应数据和参考颜色响应数据确定校正矩阵之后,若所述校正矩阵满足预设校正条件,则按照所述校正矩阵对所述预设色彩映射关系进行校正处理,获得所述校正后色彩映射关系。Further, in the embodiment of the present application, the correction unit 13 is further configured to, after determining the correction matrix according to the response data and the reference color response data, if the correction matrix satisfies the preset correction condition, then Correction processing is performed on the preset color mapping relationship according to the correction matrix to obtain the corrected color mapping relationship.
进一步地,在本申请的实施例中,所述校正单元13,还被配置为所述根据所述响应数据和参考颜色响应数据确定校正矩阵之后,若所述校正矩阵不满足预设校正条件,则直接将预设色彩映射关系确定为所述校正后色彩映射关系。Further, in the embodiment of the present application, the correction unit 13 is further configured to, after determining the correction matrix according to the response data and the reference color response data, if the correction matrix does not meet the preset correction condition, Then, the preset color mapping relationship is directly determined as the corrected color mapping relationship.
进一步地,在本申请的实施例中,所述生成单元12,被配置为所述基于所述响应数据生成颜色校正指令之前,根据所述响应数据和所述参考颜色响应数据生成检测结果。Further, in the embodiment of the present application, the generating unit 12 is configured to generate a detection result according to the response data and the reference color response data before generating the color correction instruction based on the response data.
进一步地,在本申请的实施例中,所述确定单元14,被配置为所述检测目标观察者对参考画面的响应数据之后,且所述响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系之前,确定所述响应数据和所述参考颜色响应数据之间的偏差参数;以及若所述偏差参数大于预设偏差阈值,则进行校正处理。Further, in the embodiment of the present application, the determining unit 14 is configured to detect the response data of the target observer to the reference picture, and the response to the color correction instruction, based on the response data to The preset color mapping relationship is corrected, and before the corrected color mapping relationship is obtained, a deviation parameter between the response data and the reference color response data is determined; and if the deviation parameter is greater than a preset deviation threshold, correction is performed deal with.
进一步地,在本申请的实施例中,所述校正单元13,还被配置为确定所述图像对应的初始RGB值;根据所述校正后色彩映射关系和所述初始RGB值,确定目标三刺激值;按照所述目标三刺激值调整显示器驱动电压,获得所述颜色校正后的图像。Further, in the embodiment of the present application, the correction unit 13 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value; adjust the display driving voltage according to the target tristimulus value to obtain the color-corrected image.
进一步地,在本申请的实施例中,所述校正单元13,还被配置为确定所述图像对应的初始RGB值;根据所述校正后色彩映射关系和所述初始RGB值,确定目标三刺激值;按照所述目标三刺激值获得所述颜色校正后的图像。Further, in the embodiment of the present application, the correction unit 13 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value; the color-corrected image is obtained according to the target tristimulus value.
图23为电子设备的组成结构示意图二,如图23所示,本申请实施例提出的电子装置10还可以包括处理器15、存储有处理器15可执行指令的存储器16,显示器17,进一步地,电子装置10还可以包括通信接口18,和用于连接处理器15、存储器16、显示器17以及通信接口18的总线19。FIG. 23 is a second schematic diagram of the composition and structure of an electronic device. As shown in FIG. 23 , the electronic device 10 proposed in the embodiment of the present application may further include a processor 15, a memory 16 storing executable instructions of the processor 15, a display 17, and further , the electronic device 10 may also include a communication interface 18 , and a bus 19 for connecting the processor 15 , the memory 16 , the display 17 and the communication interface 18 .
在本申请的实施例中,上述处理器15可以为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理装置(Digital Signal Processing Device,DSPD)、可编程逻辑装置(Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本申请实施例不作具体限定。电子装置10还可以包括存储器16,该存储器16可以与处理器15连接,其中,存储器16被配置为存储可执行程序代码,该程序代码包括计算机操作指令,存储器16可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少两个磁盘存储器。In the embodiment of the present application, the above-mentioned processor 15 may be an application specific integrated circuit (ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD) ), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), controller, microcontroller, microprocessor at least one of. It can be understood that, for different devices, the electronic device used to implement the above processor function may also be other, which is not specifically limited in the embodiment of the present application. The electronic device 10 may also include a memory 16, which may be coupled to the processor 15, wherein the memory 16 is configured to store executable program code including computer operating instructions. The memory 16 may comprise high-speed RAM memory, or may Also included is non-volatile memory, eg, at least two disk drives.
在本申请的实施例中,总线19被配置为连接通信接口18、处理器15以及存储器16以及这些器件之间的相互通信。In the embodiment of the present application, the bus 19 is configured to connect the communication interface 18 , the processor 15 and the memory 16 and the mutual communication between these devices.
在本申请的实施例中,存储器16,被配置为存储指令和数据。In the embodiment of the present application, the memory 16 is configured to store instructions and data.
进一步地,在本申请的实施例中,上述处理器15,被配置为检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。Further, in the embodiment of the present application, the above-mentioned processor 15 is configured to detect the response data of the target observer to the reference picture, and generate a color correction instruction based on the response data; in response to the color correction instruction, based on the The response data is used to correct the preset color mapping relationship to obtain the corrected color mapping relationship; and the color correction processing is performed on the image according to the corrected color mapping relationship to provide a color-corrected image.
进一步地,在本申请的实施例中,上述处理器15,还被配置为检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照所述校正后色彩映射关系进行颜色显示。Further, in the embodiment of the present application, the above-mentioned processor 15 is further configured to detect the response data of the target observer to the reference picture, and generate a color correction instruction based on the response data; in response to the color correction instruction, based on the The response data performs correction processing on the preset color mapping relationship to obtain a corrected color mapping relationship; and performs color display according to the corrected color mapping relationship.
进一步地,在本申请的实施例中,上述处理器15,还被配置为根据所述响应数据和参考颜色响应数据 确定校正矩阵;基于所述校正矩阵,建立所述目标观察者对应的三刺激值与参考三刺激值之间的转换关系;基于所述转换关系和所述预设色彩映射关系,确定所述校正后色彩映射关系。Further, in the embodiment of the present application, the above-mentioned processor 15 is further configured to determine a correction matrix according to the response data and the reference color response data; based on the correction matrix, establish the tristimulus corresponding to the target observer The conversion relationship between the value and the reference tristimulus value; based on the conversion relationship and the preset color mapping relationship, the corrected color mapping relationship is determined.
进一步地,在本申请的实施例中,所述响应数据为所述目标观察者对应的光谱响应数据;所述参考颜色响应数据为标准观察者对应的标准光谱响应数据;所述预设色彩映射关系表征所述参考三刺激值与红绿蓝RGB值之间的对应关系;所述校正后色彩映射关系表征所述目标观察者对应的三刺激值与RGB值之间的对应关系。Further, in the embodiment of the present application, the response data is spectral response data corresponding to the target observer; the reference color response data is standard spectral response data corresponding to a standard observer; the preset color map The relationship represents the corresponding relationship between the reference tristimulus values and the red, green, and blue RGB values; the corrected color mapping relationship represents the corresponding relationship between the tristimulus values and the RGB values corresponding to the target observer.
进一步地,在本申请的实施例中,上述处理器15,还被配置为若所述校正矩阵满足预设校正条件,则按照所述校正矩阵对所述预设色彩映射关系进行校正处理,获得所述校正后色彩映射关系。Further, in the embodiment of the present application, the above-mentioned processor 15 is further configured to perform correction processing on the preset color mapping relationship according to the correction matrix if the correction matrix satisfies a preset correction condition, to obtain The corrected color mapping relationship.
进一步地,在本申请的实施例中,上述处理器15,还被配置为若所述校正矩阵不满足预设校正条件,则直接将预设色彩映射关系确定为所述校正后色彩映射关系。Further, in the embodiment of the present application, the processor 15 is further configured to directly determine the preset color mapping relationship as the corrected color mapping relationship if the calibration matrix does not meet the preset calibration condition.
进一步地,在本申请的实施例中,上述处理器15,还被配置为根据所述响应数据和所述参考颜色响应数据生成检测结果。Further, in the embodiment of the present application, the above-mentioned processor 15 is further configured to generate a detection result according to the response data and the reference color response data.
进一步地,在本申请的实施例中,上述处理器15,还被配置为确定所述响应数据和所述参考颜色响应数据之间的偏差参数;若所述偏差参数大于预设偏差阈值,则进行校正处理。Further, in the embodiment of the present application, the above-mentioned processor 15 is further configured to determine a deviation parameter between the response data and the reference color response data; if the deviation parameter is greater than a preset deviation threshold, then Correction processing is performed.
进一步地,在本申请的实施例中,上述处理器15,还被配置为确定所述图像对应的初始RGB值;根据所述校正后色彩映射关系和所述初始RGB值,确定目标三刺激值;按照所述目标三刺激值调整显示器驱动电压,获得所述颜色校正后的图像。Further, in the embodiment of the present application, the above-mentioned processor 15 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value ; Adjust the display drive voltage according to the target tristimulus value to obtain the color-corrected image.
进一步地,在本申请的实施例中,上述处理器15,还被配置为确定所述图像对应的初始RGB值;根据所述校正后色彩映射关系和所述初始RGB值,确定目标三刺激值;按照所述目标三刺激值获得所述颜色校正后的图像。Further, in the embodiment of the present application, the above-mentioned processor 15 is further configured to determine the initial RGB value corresponding to the image; according to the corrected color mapping relationship and the initial RGB value, determine the target tristimulus value ; Obtain the color-corrected image according to the target tristimulus value.
在实际应用中,上述存储器16可以是易失性存储器(volatile memor),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读第一存储y器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器15提供指令和数据。In practical applications, the above-mentioned memory 16 may be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory a memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or a combination of the above types of memory, and Instructions and data are provided to processor 15 .
另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software function modules.
集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of software function modules and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or correct. Part of the contribution made by the prior art or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal A computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the method in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
本申请实施例提出的一种电子装置,该电子装置检测目标观察者对参考画面的响应数据,并基于响应数据生成颜色校正指令;响应颜色校正指令,基于响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。由此可见,本申请提出的颜色校正方法,电子装置可以先对目标观察者的实际颜色响应进行检测,获得对应的响应数据,然后再利用响应数据对标准观察者对应的预设色彩映射关系进行校正处理,从而获得表征目标观察者的三刺激值与RGB值对应关系的校正后色彩映射关系,进而可以通过校正后色彩映射关系实现对目标观察者的个性化颜色显示。可见,本申请提出的颜色校正方案,能够解决不同观察者之间存在颜色感知色差的问题,提升了电子装置的显示效果,满足了颜色显示的个性化需求,大大提高了电子装置的智能性。An electronic device proposed by an embodiment of the present application detects the response data of a target observer to a reference picture, and generates a color correction instruction based on the response data; in response to the color correction instruction, the preset color mapping relationship is corrected based on the response data processing to obtain a corrected color mapping relationship; and performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image. It can be seen that, in the color correction method proposed in this application, the electronic device can first detect the actual color response of the target observer, obtain the corresponding response data, and then use the response data to perform the preset color mapping relationship corresponding to the standard observer. Correction processing is performed to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
图24为芯片的组成结构示意图,如图24所示,本申请实施例提供一种芯片20,所述芯片20耦合至用于电子装置10的显示器17,所述芯片20包括:接收模块21,生成模块22,校正模块23,输出模块24,FIG. 24 is a schematic diagram of the composition structure of a chip. As shown in FIG. 24, an embodiment of the present application provides a chip 20, the chip 20 is coupled to the display 17 used for the electronic device 10, and the chip 20 includes: a receiving module 21, Generation module 22, correction module 23, output module 24,
所述接收模块21,被配置为获取目标观察者对参考画面的响应数据;The receiving module 21 is configured to obtain the response data of the target observer to the reference picture;
所述生成模块22,被配置为基于所述响应数据生成颜色校正指令;The generating module 22 is configured to generate a color correction instruction based on the response data;
所述校正模块23,被配置为基于所述颜色校正指令和所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;The correction module 23 is configured to perform correction processing on the preset color mapping relationship based on the color correction instruction and the response data, and obtain a corrected color mapping relationship;
所述输出模块24,被配置为按照所述校正后色彩映射关系对图像进行颜色校正,和/或,被配置为按照所述校正后色彩映射关系提供被配置为所述显示器的驱动电压。The output module 24 is configured to perform color correction on the image according to the corrected color mapping relationship, and/or configured to provide a driving voltage configured for the display according to the corrected color mapping relationship.
进一步地,在本申请的实施例中,所述输出模块24,还被配置为所述校正模块23基于所述颜色校正指令和所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系之后,按照所述校正后色彩映射关系进行颜色显示。Further, in the embodiment of the present application, the output module 24 is further configured so that the correction module 23 performs correction processing on the preset color mapping relationship based on the color correction instruction and the response data, and obtains the corrected color mapping relationship. After the color mapping relationship, color display is performed according to the corrected color mapping relationship.
本申请实施例提出的一种芯片,该芯片耦合至用于显示器,可以先对目标观察者的实际颜色响应进行检测,获得对应的响应数据,然后再利用响应数据对标准观察者对应的预设色彩映射关系进行校正处理,从而获得表征目标观察者的三刺激值与RGB值对应关系的校正后色彩映射关系,进而可以通过校正后色彩映射关系实现对目标观察者的个性化颜色显示。可见,本申请提出的颜色校正方案,能够解决不同观察者之间存在颜色感知色差的问题,提升了电子装置的显示效果,满足了颜色显示的个性化需求,大大提高了电子装置的智能性。A chip proposed in an embodiment of the present application, which is coupled to a display, can first detect the actual color response of a target observer, obtain corresponding response data, and then use the response data to preset a corresponding standard observer. The color mapping relationship is corrected, so as to obtain the corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.
本领域内的技术人员应明白,本申请的实施例可提供为方法、终端、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。It should be understood by those skilled in the art that the embodiments of the present application may be provided as a method, a terminal, or a computer program product. Accordingly, the application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to schematic flowcharts and/or block diagrams of implementations of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the schematic flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the schematic flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a process or processes and/or a block or blocks in the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions specified in a flow or flows of the implementation flow diagram and/or a block or blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the implementing flow diagram and/or the block or blocks of the block diagram.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.
工业实用性Industrial Applicability
在本申请的实施例中,电子装置可以先对目标观察者的实际颜色响应进行检测,获得对应的响应数据,然后再利用响应数据对标准观察者对应的预设色彩映射关系进行校正处理,从而获得表征目标观察者的三刺激值与RGB值对应关系的校正后色彩映射关系,进而可以通过校正后色彩映射关系实现对目标观察者的个性化颜色显示。可见,本申请提出的颜色校正方案,能够解决不同观察者之间存在颜色感知色差的问题,提升了电子装置的显示效果,满足了颜色显示的个性化需求,大大提高了电子装置的智能性。In the embodiment of the present application, the electronic device may first detect the actual color response of the target observer to obtain corresponding response data, and then use the response data to correct the preset color mapping relationship corresponding to the standard observer, thereby The corrected color mapping relationship representing the corresponding relationship between the tristimulus values of the target observer and the RGB values is obtained, and then the personalized color display for the target observer can be realized through the corrected color mapping relationship. It can be seen that the color correction scheme proposed in the present application can solve the problem of color perception color difference between different observers, improve the display effect of the electronic device, meet the individual requirements of color display, and greatly improve the intelligence of the electronic device.

Claims (20)

  1. 一种颜色校正方法,所述方法包括:A color correction method, the method comprising:
    检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;Detecting response data of the target observer to the reference picture, and generating a color correction instruction based on the response data;
    响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及In response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and
    按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。Perform color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image.
  2. 根据权利要求1所述的方法,其中,所述基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系,包括:The method according to claim 1, wherein the performing correction processing on the preset color mapping relationship based on the response data to obtain the corrected color mapping relationship, comprising:
    根据所述响应数据和参考颜色响应数据确定校正矩阵;determining a correction matrix according to the response data and the reference color response data;
    基于所述校正矩阵,建立所述目标观察者对应的三刺激值与参考三刺激值之间的转换关系;Based on the correction matrix, establishing a conversion relationship between the tristimulus values corresponding to the target observer and the reference tristimulus values;
    基于所述转换关系和所述预设色彩映射关系,确定所述校正后色彩映射关系。The corrected color mapping relationship is determined based on the conversion relationship and the preset color mapping relationship.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein,
    所述响应数据为所述目标观察者对应的光谱响应数据;所述参考颜色响应数据为标准观察者对应的标准光谱响应数据;所述预设色彩映射关系表征所述参考三刺激值与红绿蓝RGB值之间的对应关系;所述校正后色彩映射关系表征所述目标观察者对应的三刺激值与RGB值之间的对应关系。The response data is the spectral response data corresponding to the target observer; the reference color response data is the standard spectral response data corresponding to a standard observer; the preset color mapping relationship represents the reference tristimulus value and red and green The corresponding relationship between the blue RGB values; the corrected color mapping relationship represents the corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values.
  4. 根据权利要求1所述的方法,其中,所述检测目标观察者对参考画面的响应数据,包括:The method according to claim 1, wherein the detecting the response data of the target observer to the reference picture comprises:
    响应接收到的检测指令,显示所述参考画面;Displaying the reference picture in response to the received detection instruction;
    通过所述参考画面进行检测处理,获得所述目标观察者对应的所述响应数据。The detection process is performed on the reference picture to obtain the response data corresponding to the target observer.
  5. 根据权利要求2所述的方法,其中,所述根据所述响应数据和参考颜色响应数据确定校正矩阵之后,所述方法还包括:The method according to claim 2, wherein after the correction matrix is determined according to the response data and the reference color response data, the method further comprises:
    若所述校正矩阵满足预设校正条件,则按照所述校正矩阵对所述预设色彩映射关系进行校正处理,获得所述校正后色彩映射关系。If the correction matrix satisfies the preset correction condition, the preset color mapping relationship is corrected according to the correction matrix, and the corrected color mapping relationship is obtained.
  6. 根据权利要求2所述的方法,其中,所述根据所述响应数据和参考颜色响应数据确定校正矩阵之后,所述方法还包括:The method according to claim 2, wherein after the correction matrix is determined according to the response data and the reference color response data, the method further comprises:
    若所述校正矩阵不满足预设校正条件,则直接将预设色彩映射关系确定为所述校正后色彩映射关系。If the correction matrix does not satisfy the preset correction condition, the preset color mapping relationship is directly determined as the corrected color mapping relationship.
  7. 根据权利要求2所述的方法,其中,所述基于所述响应数据生成颜色校正指令之前,所述方法还包括:The method of claim 2, wherein before the generating a color correction instruction based on the response data, the method further comprises:
    根据所述响应数据和所述参考颜色响应数据生成检测结果。A detection result is generated based on the response data and the reference color response data.
  8. 根据权利要求2所述的方法,其中,所述检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令之后,且所述响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系之前,所述方法还包括:2. The method according to claim 2, wherein after the detection of response data of the target observer to the reference picture and the generation of a color correction instruction based on the response data, and the response to the color correction instruction, based on the response The data performs correction processing on the preset color mapping relationship, and before obtaining the corrected color mapping relationship, the method further includes:
    确定所述响应数据和所述参考颜色响应数据之间的偏差参数;determining a deviation parameter between the response data and the reference color response data;
    若所述偏差参数大于预设偏差阈值,则进行校正处理。If the deviation parameter is greater than the preset deviation threshold, a correction process is performed.
  9. 根据权利要求1至8任一项所述的方法,其中,所述按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像,包括:The method according to any one of claims 1 to 8, wherein the performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image, comprising:
    确定所述图像对应的初始RGB值;determining the initial RGB value corresponding to the image;
    根据所述校正后色彩映射关系和所述初始RGB值,确定目标三刺激值;Determine the target tristimulus value according to the corrected color mapping relationship and the initial RGB value;
    按照所述目标三刺激值调整显示器驱动电压,获得所述颜色校正后的图像。The display driving voltage is adjusted according to the target tristimulus value to obtain the color-corrected image.
  10. 根据权利要求1至8任一项所述的方法,其中,所述按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像,包括:The method according to any one of claims 1 to 8, wherein the performing color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image, comprising:
    确定所述图像对应的初始RGB值;determining the initial RGB value corresponding to the image;
    根据所述校正后色彩映射关系和所述初始RGB值,确定目标三刺激值;Determine the target tristimulus value according to the corrected color mapping relationship and the initial RGB value;
    按照所述目标三刺激值获得所述颜色校正后的图像。The color-corrected image is obtained according to the target tristimulus values.
  11. 一种可校正显示方法,所述方法包括:A correctable display method, the method comprising:
    检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;Detecting response data of the target observer to the reference picture, and generating a color correction instruction based on the response data;
    响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及In response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and
    按照所述校正后色彩映射关系进行颜色显示。Color display is performed according to the corrected color mapping relationship.
  12. 一种电子装置,所述电子装置包括:检测单元,生成单元,校正单元,An electronic device comprising: a detection unit, a generation unit, a correction unit,
    所述检测单元,被配置为检测目标观察者对参考画面的响应数据;The detection unit is configured to detect the response data of the target observer to the reference picture;
    所述生成单元,被配置为基于所述响应数据生成颜色校正指令;the generating unit configured to generate a color correction instruction based on the response data;
    所述校正单元,被配置为响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像。The correction unit is configured to, in response to the color correction instruction, perform correction processing on a preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and color the image according to the corrected color mapping relationship. Correction processing, providing a color-corrected image.
  13. 一种电子装置,所述电子装置包括处理器、存储有所述处理器可执行指令的存储器、显示器,当所述可执行指令被所述处理器执行时,所述处理器被配置为检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照所述校正后色彩映射关系对图像进行颜色校正处理,提供颜色校正后的图像;或,被配置为检测目标观察者对参考画面的响应数据,并基于所述响应数据生成颜色校正指令;响应所述颜色校正指令,基于所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;以及按照所述校正后色彩映射关系进行颜色显示。An electronic device comprising a processor, a memory storing executable instructions of the processor, a display, the processor being configured to detect a target when the executable instructions are executed by the processor response data of the observer to the reference picture, and generate a color correction instruction based on the response data; in response to the color correction instruction, perform correction processing on the preset color mapping relationship based on the response data, and obtain a corrected color mapping relationship; and Perform color correction processing on the image according to the corrected color mapping relationship to provide a color corrected image; or, be configured to detect the response data of the target observer to the reference picture, and generate a color correction instruction based on the response data; response The color correction instruction performs correction processing on a preset color mapping relationship based on the response data to obtain a corrected color mapping relationship; and performs color display according to the corrected color mapping relationship.
  14. 根据权利要求13所述的电子装置,其中,所述处理器,还被配置为根据所述响应数据和参考颜色响应数据确定校正矩阵;基于所述校正矩阵,建立所述目标观察者对应的三刺激值与参考三刺激值之间的转换关系;基于所述转换关系和所述预设色彩映射关系,确定所述校正后色彩映射关系。The electronic device according to claim 13, wherein the processor is further configured to determine a correction matrix according to the response data and the reference color response data; The conversion relationship between the stimulus value and the reference tristimulus value; the corrected color mapping relationship is determined based on the conversion relationship and the preset color mapping relationship.
  15. 根据权利要求14所述的电子装置,其中,所述响应数据为所述目标观察者对应的光谱响应数据;所述参考颜色响应数据为标准观察者对应的标准光谱响应数据;所述预设色彩映射关系表征所述参考三刺激值与红绿蓝RGB值之间的对应关系;所述校正后色彩映射关系表征所述目标观察者对应的三刺激值与RGB值之间的对应关系。The electronic device according to claim 14, wherein the response data is spectral response data corresponding to the target observer; the reference color response data is standard spectral response data corresponding to a standard observer; the preset color The mapping relationship represents the corresponding relationship between the reference tristimulus values and the red, green and blue RGB values; the corrected color mapping relationship represents the corresponding relationship between the tristimulus values corresponding to the target observer and the RGB values.
  16. 根据权利要求13所述的电子装置,其中,所述处理器,还被配置为响应接收到的检测指令,显示所述参考画面;通过所述参考画面进行检测处理,获得所述目标观察者对应的所述响应数据。The electronic device according to claim 13, wherein the processor is further configured to display the reference picture in response to the received detection instruction; perform detection processing through the reference picture to obtain the corresponding correspondence of the target observer of the response data.
  17. 根据权利要求14所述的电子装置,其中,所述处理器,还被配置为若所述校正矩阵满足预设校正条件,则按照所述校正矩阵对所述预设色彩映射关系进行校正处理,获得所述校正后色彩映射关系。The electronic device according to claim 14, wherein the processor is further configured to perform correction processing on the preset color mapping relationship according to the correction matrix if the correction matrix satisfies a preset correction condition, The corrected color mapping relationship is obtained.
  18. 根据权利要求14所述的电子装置,其中,所述处理器,还被配置为若所述校正矩阵不满足预设校正条件,则直接将预设色彩映射关系确定为所述校正后色彩映射关系。The electronic device according to claim 14, wherein the processor is further configured to directly determine a preset color mapping relationship as the corrected color mapping relationship if the calibration matrix does not satisfy a preset calibration condition .
  19. 根据权利要求14所述的电子装置,其中,所述处理器,还被配置为根据所述响应数据和所述参考颜色响应数据生成检测结果。The electronic device of claim 14, wherein the processor is further configured to generate a detection result according to the response data and the reference color response data.
  20. 一种芯片,所述芯片耦合至用于显示器,所述芯片包括:接收模块,生成模块,校正模块,输出模块,A chip, the chip is coupled to a display, the chip comprises: a receiving module, a generating module, a correcting module, an outputting module,
    所述接收模块,被配置为获取目标观察者对参考画面的响应数据;The receiving module is configured to obtain the response data of the target observer to the reference picture;
    所述生成模块,被配置为基于所述响应数据生成颜色校正指令;the generation module configured to generate a color correction instruction based on the response data;
    所述校正模块,被配置为基于所述颜色校正指令和所述响应数据对预设色彩映射关系进行校正处理,获得校正后色彩映射关系;The correction module is configured to perform correction processing on a preset color mapping relationship based on the color correction instruction and the response data, and obtain a corrected color mapping relationship;
    所述输出模块,被配置为按照所述校正后色彩映射关系对图像进行颜色校正,和/或,被配置为按照所述校正后色彩映射关系提供用于所述显示器的驱动电压。The output module is configured to perform color correction on the image according to the corrected color mapping relationship, and/or, configured to provide a driving voltage for the display according to the corrected color mapping relationship.
PCT/CN2022/078370 2021-03-26 2022-02-28 Color correction method, correctable display method, electronic device, and chip WO2022199332A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110328416.6 2021-03-26
CN202110328416.6A CN115131221A (en) 2021-03-26 2021-03-26 Color correction method, correctable display method, electronic device and chip

Publications (1)

Publication Number Publication Date
WO2022199332A1 true WO2022199332A1 (en) 2022-09-29

Family

ID=83373740

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078370 WO2022199332A1 (en) 2021-03-26 2022-02-28 Color correction method, correctable display method, electronic device, and chip

Country Status (2)

Country Link
CN (1) CN115131221A (en)
WO (1) WO2022199332A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217409A (en) * 2014-09-30 2014-12-17 南京汇川工业视觉技术开发有限公司 Image color correction method based on simulated annealing optimization algorithm
CN107197225A (en) * 2017-06-13 2017-09-22 浙江大学 Color digital camera white balance correcting based on chromatic adaptation model
US20180315166A1 (en) * 2017-04-28 2018-11-01 Qualcomm Incorporated Depth assisted auto white balance
CN110033510A (en) * 2019-03-25 2019-07-19 阿里巴巴集团控股有限公司 Color mapping relationship is established for correcting the method and device of rendering color of image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217409A (en) * 2014-09-30 2014-12-17 南京汇川工业视觉技术开发有限公司 Image color correction method based on simulated annealing optimization algorithm
US20180315166A1 (en) * 2017-04-28 2018-11-01 Qualcomm Incorporated Depth assisted auto white balance
CN107197225A (en) * 2017-06-13 2017-09-22 浙江大学 Color digital camera white balance correcting based on chromatic adaptation model
CN110033510A (en) * 2019-03-25 2019-07-19 阿里巴巴集团控股有限公司 Color mapping relationship is established for correcting the method and device of rendering color of image

Also Published As

Publication number Publication date
CN115131221A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN110197642B (en) Method for acquiring tricolor brightness correction relationship, correction method and correction device of display
JP6592312B2 (en) Display device, display control device, and display method
US9984658B2 (en) Displays with improved color accessibility
KR101428366B1 (en) Method and apparatus for adaptive display calibration
US10366673B2 (en) Display device and image processing method thereof
US7705857B2 (en) Method and apparatus for characterizing and correcting for hue shifts in saturated colors
CN103366711B (en) The method of the precision of four look white balance adjustment is improved with three primary colors luminance parameter
JP2014174361A (en) Image display device, and method of controlling the same
US20100201667A1 (en) Method and system for display characterization and content calibration
CN110537362B (en) Color processing program, color processing method, color sensation inspection system, output system, color sensation correction image processing system, and color sensation simulation image processing system
JP2015173891A (en) Measuring apparatus, image display apparatus, and control method therefor
JP2010256899A (en) Calibration system and method for calibrating display
WO2022199332A1 (en) Color correction method, correctable display method, electronic device, and chip
CN110896466B (en) White balance adjustment method and system of display device
JP7119322B2 (en) Display device discrimination system, display device discrimination method and program
KR101768071B1 (en) Method and apparatus for correcting color blindness
US20210266504A1 (en) Color stain analyzing method and electronic device using the method
JP5058532B2 (en) Image display system and image display method
CN115065814A (en) Screen color accuracy detection method and device
TWI361010B (en) Color correction method and color correcting integ
WO2024000465A1 (en) Method and apparatus for generating color mapping table, method and apparatus for correcting color mapping table, and medium and device
Zaman et al. Calibration of head mounted displays for vision research with virtual reality
JP2014120796A (en) Image display device
TWI717005B (en) Display system and method for measuring color characteristic
JP6926487B2 (en) Display device discrimination system and display device discrimination method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22773994

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22773994

Country of ref document: EP

Kind code of ref document: A1