WO2023000631A1 - Method and apparatus for determining correction coefficient of display screen light point, and computer device - Google Patents

Method and apparatus for determining correction coefficient of display screen light point, and computer device Download PDF

Info

Publication number
WO2023000631A1
WO2023000631A1 PCT/CN2022/072083 CN2022072083W WO2023000631A1 WO 2023000631 A1 WO2023000631 A1 WO 2023000631A1 CN 2022072083 W CN2022072083 W CN 2022072083W WO 2023000631 A1 WO2023000631 A1 WO 2023000631A1
Authority
WO
WIPO (PCT)
Prior art keywords
gray scale
light point
correction coefficient
value
primary color
Prior art date
Application number
PCT/CN2022/072083
Other languages
French (fr)
Chinese (zh)
Inventor
何志民
王利文
Original Assignee
卡莱特云科技股份有限公司
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 卡莱特云科技股份有限公司 filed Critical 卡莱特云科技股份有限公司
Publication of WO2023000631A1 publication Critical patent/WO2023000631A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature

Definitions

  • the present application relates to the technical field of LED display calibration, in particular to a method, device, computer equipment and storage medium for determining a correction coefficient of a display screen light point.
  • the brightness or stimulus value of the light point is collected in a single gray scale, so it is determined that the brightness or stimulus value of the light point has a completely linear relationship with the correction coefficient, and then the light point is determined. Correction factor for brightness or stimulus values.
  • the inventor realizes that actually due to the differences in the screen hardware itself and the differences in acquisition equipment and acquisition methods, the change of the light point stimulation value or brightness with the correction coefficient will not be completely linear (for example, when the correction coefficient is 1, the light The actual brightness of the dot is 100. If the brightness of the dot is adjusted from 100 to 80, the correction factor used is 0.8. In fact, the brightness of the dot will not become the expected brightness of 80). Therefore, the correction effect of correcting the LED display screen by using the correction coefficient determined by the existing method is often worse than the ideal correction effect.
  • a method for determining a correction coefficient of a display screen light point comprising:
  • the target color parameter value of the light point is acquired, and the correction coefficient of the light point in the display screen to be corrected is acquired according to the target color parameter value and the color parameter values in each gray scale.
  • a device for determining a correction coefficient of a display lamp point comprising:
  • An image acquisition module configured to acquire the original image of the display screen to be corrected
  • a data acquisition module configured to collect color parameter values of each light point in preset multiple gray scales for any light point in the original image
  • a coefficient determination module configured to obtain the target color parameter value of the light point, and obtain the light point value of the light point in the display screen to be corrected according to the target color parameter value and the color parameter values under each gray scale. Correction coefficient.
  • a computer device comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • the target color parameter value of the light point is acquired, and the correction coefficient of the light point in the display screen to be corrected is acquired according to the target color parameter value and the color parameter values in each gray scale.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the target color parameter value of the light point is acquired, and the correction coefficient of the light point in the display screen to be corrected is acquired according to the target color parameter value and the color parameter values in each gray scale.
  • the method, device, computer equipment, and storage medium for determining the correction coefficient of the light point of the display screen can form a more accurate linear correspondence between the correction coefficient of the light point and the color parameter value of the light point, thereby improving the accuracy of the display by using the correction coefficient.
  • the correction effect of the correction on the screen can form a more accurate linear correspondence between the correction coefficient of the light point and the color parameter value of the light point, thereby improving the accuracy of the display by using the correction coefficient.
  • Fig. 1 is a schematic flowchart of a method for determining a correction coefficient of a display screen light spot in an embodiment
  • Fig. 2 is a schematic flow chart of the steps of determining the brightness correction coefficient of the lamp point in an embodiment
  • Fig. 3 is a schematic diagram of the relationship between chromaticity and gray scale numbers in an embodiment
  • Fig. 4 is a schematic flowchart of a method for determining a correction coefficient of a display screen light point in another embodiment
  • Fig. 5 is a structural block diagram of a device for determining a correction coefficient of a display lamp point in an embodiment
  • Figure 6 is an internal block diagram of a computer device in one embodiment.
  • first ⁇ second involved in the embodiment of this application is only to distinguish similar objects, and does not represent a specific ordering of objects. It is understandable that “first ⁇ second” is allowed The specific order or sequence may be interchanged under certain circumstances. It should be understood that the terms “first ⁇ second” are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein.
  • a method for determining a correction coefficient of a display screen light point uses the method applied to a terminal for illustration. It can be understood that this method can also be applied to The server may also be applied to a system including a terminal and a server, and may be implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
  • Step S102 acquiring the original image of the display screen to be corrected.
  • the display screen to be corrected may be an LED display screen
  • the original image of the display screen to be corrected may be obtained by image acquisition of the display screen to be corrected by an image acquisition device.
  • the collected original image can be transmitted to the terminal, the terminal calculates the correction coefficient based on the original image, and sends the correction coefficient to the receiving card, so that the display screen to be corrected can be corrected by the receiving card, and the receiving The card is set in the display to be calibrated.
  • Step S104 for any light point in the original image, collect the color parameter values of the light point in a plurality of preset gray scales.
  • the gray scale represents the level of different brightness levels between the brightest and the darkest.
  • the maximum level of the gray scale can be determined by the number of color bits.
  • the color parameter value includes a brightness value and a tristimulus value, wherein the tristimulus value represents the amount of stimulation of the three primary colors that cause the human retina to perceive a certain color, that is, the three primary colors of red, green, and blue.
  • the preset plurality of gray scales includes at least three gray scales, such as the first gray scale, the second gray scale, and the third gray scale, wherein the third gray scale can be the gray scale of each level corresponding to the current color bit number The highest grayscale in . It can be understood that the greater the number of preset gray levels, the higher the accuracy of the determined correction coefficient.
  • the multiple gray scales used for determining the brightness correction coefficients and the multiple gray scales used for determining the chromaticity correction coefficients corresponding to the tristimulus values may be different.
  • the preset plurality of gray scales may include at least three gray scales, and each gray scale is different from each other.
  • the three gray scales are respectively the first gray scale, the second gray scale and the third gray scale.
  • the solution of this embodiment will be described. Specifically, for any light point in the original image, the color parameter values of the light point in the preset multiple gray scales are collected, that is, the color parameter values of the light point in the preset first gray scale and the second gray scale are respectively collected. and brightness values under the third gray scale, and collect the tristimulus values of the light point under the preset first gray scale, second gray scale and third gray scale respectively.
  • the brightness correction coefficient of the lamp point can be calculated according to the brightness values of the lamp point under the preset first gray scale, second gray scale and third gray scale.
  • the chromaticity correction coefficients corresponding to the tristimulus values of the light point are calculated according to the tristimulus values of the light point at the preset first gray scale, second gray scale and third gray scale.
  • Step S106 obtaining the target color parameter value of the light point, and obtaining the correction coefficient of the light point in the display screen to be corrected according to the target color parameter value and the color parameter values in each gray scale.
  • the target color parameter value may represent the color parameter value to which the light point needs to be adjusted, and the target color parameter value includes a target brightness value and a target tristimulus value.
  • the correction coefficients of the light points include brightness correction coefficients and chromaticity correction coefficients corresponding to the tristimulus values respectively.
  • RGB corresponds to one brightness correction coefficient
  • RGB corresponds to three chroma correction coefficients respectively.
  • the variation curves of the tristimulus value or brightness with the correction coefficient may be different between different light points, and the three stimuli The degree of non-linearity between the values may also be different. Therefore, when obtaining the correction coefficients of the light points in the present application, the correction coefficients of each light point are obtained separately. For each light point, the idea of obtaining brightness correction coefficients and chromaticity correction coefficients corresponding to the three stimulus values respectively, so as to improve the correction effect on the display screen.
  • the gamma values of each gray scale are obtained respectively, and the first correction coefficient and the second correction coefficient are obtained according to the gamma values of each gray scale coefficient.
  • the correction coefficient of the light point is obtained.
  • the first brightness correction coefficient and the second brightness correction coefficient are obtained according to the gamma value of each gray scale.
  • the brightness correction coefficient of the light point is obtained according to the target brightness value of the light point, the first brightness correction coefficient, the second brightness correction coefficient and the brightness values of the light point in each gray scale.
  • the color parameter value is a tristimulus value
  • the first chromaticity correction coefficient and the second chromaticity correction coefficient are obtained according to the gamma value of each gray scale.
  • the light point’s tristimulus value is obtained. Chromaticity correction coefficients for each of the tristimulus values.
  • the color parameters of the light point in the preset multiple gray scales are collected value, so that after obtaining the target color parameter value of the light point, the correction coefficient of the light point in the display screen to be corrected can be obtained according to the target color parameter value and the color parameter value under each gray scale.
  • This method determines the correction coefficient of the light point through the color parameter values of the light point in multiple gray scales.
  • Two corrections are involved, namely brightness correction and chromaticity correction, so that the correction coefficient of the light point is the same as that of the light point
  • the color parameter values can form a more accurate linear correspondence, thereby improving the correction effect of using the correction coefficient to calibrate the display screen.
  • step S106 when the color parameter value is a brightness value, the above step S106 includes:
  • Step S202 acquiring gamma values of multiple gray scales;
  • the multiple gray scales may include a first gray scale, a second gray scale, and a third gray scale;
  • Step S204 according to the gamma value of each gray scale, obtain the first brightness correction coefficient and the second brightness correction coefficient;
  • Step S206 according to the target luminance value, the first luminance correction coefficient, the second luminance correction coefficient, and the luminance values in each gray scale, obtain the luminance correction coefficient of the lamp point.
  • the gamma value can represent the relationship between the input value and the output brightness of the display in image processing.
  • the third gray scale may be the highest gray scale among gray scales of all levels corresponding to the current color bit number. For example, when the color bit is 8bit, there are 256 gray levels (0 ⁇ 255) in total, and the highest gray level is 255; when the color bit is 10bit, there are 1024 gray levels (0 ⁇ 1023), then The highest gray scale is 1023.
  • the first brightness correction coefficient may represent a correction coefficient corresponding to the brightness of the lamp point under the first gray scale.
  • the second brightness correction coefficient may represent a correction coefficient corresponding to the brightness of the lamp point under the second gray scale.
  • the target brightness value can be understood as the brightness value to which the light point needs to be adjusted.
  • the first brightness correction coefficient can be obtained by calculating the ratio of the gamma value of the first gray scale to the highest gray scale
  • the second brightness correction coefficient can be obtained by calculating the ratio of the gamma value of the second gray scale to the highest gray scale It can be obtained that when there are more than three gray levels, the nth brightness correction coefficient can be obtained by calculating the ratio of the nth gray level to the gamma value of the highest gray level.
  • the change of the brightness correction coefficient is relatively small, it can be approximately considered that the change of the brightness of the lamp point with the brightness correction coefficient is linear. Therefore, if the brightness value corresponding to the first brightness correction coefficient is the first brightness value, the second brightness The luminance value corresponding to the correction coefficient is the second luminance value, then the following relationship is established:
  • the brightness of the lamp point can be obtained Correction coefficient.
  • the above step S204 specifically includes: obtaining the ratio of the gamma value of the first gray scale to the gamma value of the third gray scale as the first brightness correction coefficient; obtaining the gamma value of the second gray scale and The ratio of the gamma value of the third gray scale is used as the second brightness correction coefficient.
  • the first gray scale the second gray scale and the highest gray scale
  • the second brightness correction coefficient denoted as d 2 / ⁇ .
  • the relational expression of the luminance correction coefficient P luminance of the lamp point can be expressed as:
  • the color parameter value is the brightness value and the brightness correction coefficient changes little, it is considered that the brightness changes linearly with the correction coefficient, thus, after obtaining the target brightness value, the first brightness correction coefficient, and the second brightness correction coefficient
  • the brightness correction coefficient of the lamp point is determined based on the linear relationship between the brightness value and the brightness correction coefficient.
  • the above step S106 further includes: obtaining the first chromaticity correction coefficient and the second chromaticity correction coefficient according to the preset gamma values of multiple gray scales;
  • the multiple gray scales include the first gray scale, the second gray scale and the third gray scale; according to the target tristimulus value, the first chromaticity correction coefficient, the second chromaticity correction coefficient, and the tristimulus value under each gray scale, The chromaticity correction coefficients corresponding to the tristimulus values of the light points are obtained.
  • the first chromaticity correction coefficient may represent the correction coefficient corresponding to the tristimulus value of the light point under the first gray scale.
  • the second chromaticity correction coefficient may represent the correction coefficient corresponding to the tristimulus value of the light point under the second gray scale.
  • the target tristimulus value can be understood as the tristimulus value to which the light point needs to be adjusted.
  • the first chromaticity correction coefficient can be obtained by calculating the ratio of the gamma value of the first gray scale to the highest gray scale
  • the second chromaticity correction coefficient can be obtained by calculating the gamma value of the second gray scale to the highest gray scale
  • the nth chromaticity correction coefficient can be obtained by calculating the ratio of the nth gray level to the gamma value of the highest gray level.
  • the relationship between the brightness of the lamp point and the brightness correction coefficient is not completely linear, and the relationship between the three stimulus values and the correction coefficient is not completely linear, and the three stimulus values are nonlinear
  • the degree will also be different. If the tristimulus value of a single light point is regarded as a three-dimensional vector, the direction and magnitude of the three-dimensional vector will change with the correction coefficient. When the correction coefficient changes very little, it can be approximated that the tristimulus values each change linearly with the correction coefficient. Therefore, the calculation of the correction coefficients for the multi-gray scale chromaticity correction can be performed according to the relationship between the chromaticity correction coefficients corresponding to the three stimulus values and the three stimuli values respectively.
  • the low grayscale chromaticity correction coefficient may represent the correction coefficient corresponding to the tristimulus value of the light point at the low grayscale.
  • the acquisition process of the chromaticity correction coefficients corresponding to the three stimulus values of the light point is as follows: Let the four gray scales be the low gray scale, the first gray scale, the second gray scale and the highest gray scale, among which, the first gray scale
  • the first gray scale can be gray scale 225
  • the second gray scale can be gray scale 246, and the tristimulus values of the light points in each gray scale can be expressed as:
  • the tristimulus values of the light point at low grayscale that is, the stimuli values of the three primary colors of red, green and blue are:
  • the tristimulus values of the light point under the first gray scale are:
  • the tristimulus values of the light point under the second gray scale are:
  • the target tristimulus values of the lamp points are:
  • X R0 represents the red primary color stimulation amount of the red light point under the low gray scale
  • Y R0 represents the green primary color stimulation amount of the red light point under the low gray scale
  • Z R0 represents the blue primary color of the red light point under the low gray scale Stimulus amount
  • X G0 represents the red primary color stimulation amount of the green light point under the low gray scale
  • Y G0 represents the green primary color stimulation amount of the green light point under the low gray scale
  • Z G0 represents the blue color of the green light point under the low gray scale
  • X B0 represents the red primary color stimulation amount of the blue light point under the low gray scale
  • Y B0 represents the green primary color stimulation amount of the blue light point under the low gray scale
  • Z B0 represents the blue light point under the low gray scale
  • X R1 represents the red primary color stimulation amount of the red light point under the first gray scale
  • Y R1 represents the green primary color stimulation amount of the red light point under the
  • R 1 +(R 2 -R 1 ) ⁇ a 1 is the principal component of the tristimulus value of the target color gamut
  • G 0 b 1 and B 0 c 1 are the subcomponents of the tristimulus value of the target color gamut
  • R 1 , R 2 and R d are the tristimulus values in the first gray scale, the tristimulus values in the second gray scale, and the target The value of the red component in the tristimulus value, wherein the value of the second gray scale may be greater than the value of the first gray scale, the value of the target gray scale may be within the range between the first gray scale and the second gray scale, and the first gray scale
  • the values of the second gray scale and the second gray scale can be changed, as long as it meets the requirement that the tristimulus value changes linearly with the correction coefficient when the correction coefficient changes little.
  • G 1 +(G 2 -G 1 ) ⁇ b 2 is the main component
  • R 0 a 2 and B 0 c 2 are the secondary components
  • B 1 +(B 2 -B 1 ) ⁇ c 3 is the main component
  • R 0 a 3 and G 0 b 3 are the secondary components.
  • each stimulus value in the target three-stimulus value is obtained, and the red stimulus value and the green stimulus value of each gray scale are respectively compared with each other.
  • the relationship between the three stimulus values and the blue stimulus value that is, three relationship expressions that can reach the target tri-stimulus value, and then based on these three relationship expressions, the chromaticity correction coefficients corresponding to the three stimulus values are converted.
  • the process of obtaining the brightness correction coefficients of the light points in the display screen to be corrected and the chromaticity correction coefficients corresponding to the tristimulus values are obtained based on the bright conditions, that is, the obtained light points.
  • the tristimulus value changes linearly with the respective correction coefficients, thus, after obtaining the target tristimulus value, the first chromaticity After the correction coefficient, the second chromaticity correction coefficient, and the tristimulus values under each gray scale, based on the linear relationship between the tristimulus values and the respective correction coefficients, determine the respective chromaticity correction coefficients corresponding to the tristimulus values of the light point , this method of determining the chromaticity correction coefficients corresponding to the tristimulus values of the lamp points respectively through the tristimulus values of the lamp points at multiple gray scales, so that the corresponding chromaticity correction coefficients of the obtained tristimulus values of the lamp points are respectively
  • the coefficients and the tristimulus values of the light points can form a more accurate linear correspondence, thereby improving the correction effect of using the chromaticity correction coefficients
  • step S106 further includes: acquiring the original color parameter value of the light point; correcting the original color parameter value based on the correction coefficient to obtain the corrected color parameter value of the light point.
  • the original color parameter values include original brightness values and original tristimulus values.
  • the correction coefficients include brightness correction coefficients and chromaticity correction coefficients respectively corresponding to the tristimulus values.
  • the brightness correction coefficient can be used to correct the brightness of the lamp point, and the corrected brightness value of the lamp point can be obtained, and the respective corresponding three-stimulus values can be used to correct the brightness of the lamp point.
  • the chromaticity correction coefficients correct the tristimulus values of the lamp points respectively to obtain the corrected tristimulus values. More specifically, when correcting the tristimulus values of the light point, the correction coefficient of the red component can be used to correct the red stimulus value among the tristimulus values, and the green component can be used to correct the green stimulus value among the tristimulus values. Correction, using the correction coefficient of the blue component to correct the blue stimulus value in the tristimulus value.
  • the blue primary color stimulus amount of the lamp point) then the tristimulus value of the two mixed colors is the sum of the tristimulus values of each component color.
  • the brightness is generally only determined by the [Y] primary color of the three primary colors, that is, the [Y] primary color of the three primary colors represents both chromaticity and brightness, while [X] and [Z] primary colors only represent color. taste.
  • the brightness value of the lamp point is used to correct the brightness of the lamp point
  • the chromaticity correction coefficients corresponding to the three stimulus values of the lamp point are respectively used to correct the tristimulus value of the lamp point respectively.
  • a method for determining a correction coefficient of a display lamp point includes the following steps:
  • Step S402 acquiring the original image of the display screen to be corrected
  • Step S404 for any light point in the original image, collect the color parameter values of the light point at multiple preset gray scales; the color parameter values include brightness value and tristimulus value;
  • Step S406 acquiring the preset gamma values of multiple gray scales; the multiple gray scales include the first gray scale, the second gray scale and the highest gray scale;
  • Step S408 obtaining the ratio of the gamma value of the first gray scale to the gamma value of the highest gray scale as a first correction coefficient;
  • the first correction coefficient is a first brightness correction coefficient or a first chroma correction coefficient;
  • Step S410 obtaining the ratio of the gamma value of the second gray scale to the gamma value of the highest gray scale as a second correction coefficient;
  • the second correction coefficient is a second brightness correction coefficient or a second chroma correction coefficient;
  • Step S412 obtaining the target color parameter value of the light point, and obtaining the correction coefficient of the light point according to the target parameter value, the first correction coefficient, the second correction coefficient and the color parameter values at each gray scale;
  • Step S412a when the color parameter value is a brightness value, obtain the brightness correction coefficient of the light point according to the target brightness value, the first brightness correction coefficient, the second brightness correction coefficient, and the brightness values at each gray scale;
  • Step S412b when the color parameter value is a tristimulus value, according to the target tristimulus value, the first chromaticity correction coefficient, the second chromaticity correction coefficient, and the tristimulus values under multiple gray scales, obtain the tristimulus value of the light point Values correspond to the chromaticity correction coefficients.
  • the method for determining the correction coefficient of the display lamp point can make the brightness of the light point and the tristimulus value respectively form a more accurate linear correspondence with the correction coefficient in the process of highlight multi-grayscale brightness correction and chromaticity correction , so that the brightness and chromaticity will be more uniform when the luminance correction coefficient and the chromaticity correction coefficient corresponding to the tristimulus value are respectively used to perform the luminance correction and chromaticity correction, thereby ensuring a good correction effect.
  • FIG. 1 , FIG. 2 and FIG. 4 are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIG. 1, FIG. 2 and FIG. 4 may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but may be performed at different times. These steps Or the execution sequence of the stages is not necessarily performed sequentially, but may be executed in turn or alternately with other steps or at least a part of steps or stages in other steps.
  • a device for determining a correction coefficient of a display lamp point including: an image acquisition module 502, a data acquisition module 504, and a coefficient determination module 506, wherein:
  • the image acquisition module 502 is used to acquire the original image of the display screen to be corrected
  • the data acquisition module 504 is used for collecting the color parameter values of each light point in preset multiple gray scales for any light point in the original image
  • the coefficient determination module 506 is used to obtain the target color parameter value of the light point, and obtain the correction coefficient of the light point in the display screen to be corrected according to the target color parameter value and the color parameter value in each gray scale.
  • the coefficient determination module 506 is specifically configured to acquire the gamma values of multiple gray scales; the multiple gray scales include the first gray scale, the second gray scale and the third gray scale According to the gamma value of each gray scale, the first brightness correction coefficient and the second brightness correction coefficient are obtained; according to the target brightness value, the first brightness correction coefficient, the second brightness correction coefficient, and the brightness value under each gray scale, Get the brightness correction coefficient of the light point.
  • the coefficient determination module 506 is further configured to obtain the ratio of the gamma value of the first gray scale to the gamma value of the third gray scale as the first brightness correction coefficient; obtain the gamma of the second gray scale The ratio of the value to the gamma value of the third gray scale is used as the second brightness correction coefficient.
  • the brightness correction coefficient of the lamp point is obtained by the following relational formula:
  • P luminance represents the brightness correction coefficient of the lamp point
  • d 1 represents the first brightness correction coefficient
  • d 2 represents the second brightness correction coefficient
  • L represents the target brightness value
  • L 1 represents the first brightness value of the lamp point under the first gray scale
  • L 2 represents the second brightness value of the lamp point under the second gray scale; wherein, 0 ⁇ d 1 ⁇ 1, 0 ⁇ d 2 ⁇ 1.
  • the tri-stimulus value at low gray scale is:
  • the tristimulus values under the first gray scale are:
  • the tristimulus values under the second gray scale are:
  • the target tristimulus values are:
  • X R0 represents the red primary color stimulation amount of red light points under low gray scale
  • Y R0 represents the green primary color stimulation amount of red light points under low gray scale
  • Z R0 represents the blue primary color stimulation amount of red light points under low gray scale
  • X G0 represents the red primary color stimulation amount of the green light point under the low gray scale
  • Y G0 represents the green primary color stimulation amount of the green light point under the low gray scale
  • Z G0 represents the blue primary color stimulation of the green light point under the low gray scale Amount
  • X B0 represents the red primary color stimulation amount of the blue light point under the low gray scale
  • Y B0 represents the green primary color stimulation amount of the blue light point under the low gray scale
  • Z B0 represents the blue light point under the low gray scale
  • X R1 represents the red primary color stimulation amount of the red light point under the first gray scale
  • Y R1 represents the green primary color stimulation amount of the red light point under the first gray scale
  • Z R1 represents the green primary color stimulation amount of the red light point under
  • the blue primary color stimulation amount of the green light point under the first gray scale X B1 represents the red primary color stimulation amount of the blue light point under the first gray scale, and Y B1 represents the green primary color stimulation amount of the blue light point under the first gray scale Amount and Z B1 represent the blue primary color stimulation amount of the blue light point under the first gray scale; X R2 represent the red primary color stimulation amount of the red light point under the second gray scale; Y R2 represent the red light point under the second gray scale The green primary color stimulation amount of the point and Z R2 represent the blue primary color stimulation amount of the red light point under the second gray scale; X G2 represents the red primary color stimulation amount of the green light point under the second gray scale, and Y G2 represents the second gray scale The green primary color stimulation amount of the green light point below and Z G2 represents the blue primary color stimulation amount of the green light point under the second gray scale; X B2 represents the red primary color stimulation amount of the blue light point under the second gray scale, Y B2 Represents the green primary color stimulus amount of the
  • the above-mentioned coefficient determination module 506 is also used to obtain the relational expression for reaching the target color gamut: and According to the three relational expressions to achieve the target color gamut, the coefficients are obtained and The relational expressions are: and Replace the tristimulus values R 0 , G 0 , and B 0 of the low gray level with the tristimulus values R 1 , G 1 , and B 1 of the first gray level to obtain the substituted coefficients and The relational expressions are: According to the coefficient after substitution and According to the relational expression, the chromaticity correction coefficients corresponding to the tristimulus values of the lamp points are respectively:
  • the above-mentioned device further includes a correction module for acquiring the original color parameter value of the light spot; correcting the original color parameter value based on the correction coefficient to obtain the corrected color parameter value of the light spot.
  • the device for determining the correction coefficient of the display screen light point of the present application corresponds to the method for determining the correction coefficient of the display screen light point of the present application.
  • the technical features and beneficial effects are all applicable to the embodiment of the device for determining the correction coefficient of the light point of the display screen.
  • each module in the device for determining the correction coefficient of the light point of the display screen can be fully or partially realized by software, hardware or a combination thereof.
  • the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a terminal, and its internal structure may be as shown in FIG. 6 .
  • the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies.
  • WIFI Wireless Fidelity
  • NFC Near Field Communication
  • the computer program is executed by the processor, a method for determining the correction coefficient of the light point of the display screen is realized.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
  • FIG. 6 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer equipment to which the solution of this application is applied.
  • the specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
  • a computer device including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
  • the target color parameter value of the light point is obtained, and the correction coefficient of the light point in the display screen to be corrected is obtained according to the target color parameter value and the color parameter value under each gray scale.
  • a computer device including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the target color parameter value of the light point is obtained, and the correction coefficient of the light point in the display screen to be corrected is obtained according to the target color parameter value and the color parameter value under each gray scale.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
  • Volatile memory can include Random Access Memory (RAM) or external cache memory.
  • RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Abstract

The present application relates to a method and apparatus for determining a correction coefficient of a display screen light point, and a computer device. The method comprises: obtaining an original image of a display screen to be corrected; for any light point in the original image, collecting color parameter values of the light point under a plurality of preset gray scales respectively; and obtaining a target color parameter value of the light point, and obtaining a correction coefficient of the light point in said display screen according to the target color parameter value and the color parameter value under each gray scale. According to the method, a more accurate linear corresponding relationship can be formed between the correction coefficient of the light point and the color parameter value of the light point, such that the correction effect of correcting the display screen by using the correction coefficient can be improved.

Description

显示屏灯点的校正系数确定方法、装置和计算机设备Method, device and computer equipment for determining correction coefficient of display lamp point
本申请要求于2021年7月21日提交中国专利局,申请号为2021108271016,申请名称为“显示屏灯点的校正系数确定方法、装置和计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on July 21, 2021, with the application number 2021108271016, and the application name is "Method, device and computer equipment for determining the correction coefficient of the display lamp point", the entire content of which Incorporated in this application by reference.
技术领域technical field
本申请涉及LED显示屏校正的技术领域,特别是涉及一种显示屏灯点的校正系数确定方法、装置、计算机设备和存储介质。The present application relates to the technical field of LED display calibration, in particular to a method, device, computer equipment and storage medium for determining a correction coefficient of a display screen light point.
背景技术Background technique
现有使用工业相机对LED显示屏进行校正时,都是在单一灰阶采集灯点亮度或刺激值,由此认定灯点亮度或刺激值与校正系数是完全线性的关系,进而来确定灯点亮度或者刺激值的校正系数。At present, when using industrial cameras to calibrate LED display screens, the brightness or stimulus value of the light point is collected in a single gray scale, so it is determined that the brightness or stimulus value of the light point has a completely linear relationship with the correction coefficient, and then the light point is determined. Correction factor for brightness or stimulus values.
但发明人意识到实际上由于屏幕硬件本身的差异性以及采集设备、采集方法的差异性,灯点刺激值或亮度随校正系数的变化不会是完全线性的(例如,校正系数为1时灯点的实际亮度为100,若把灯点亮度由100调整为80时,使用的校正系数为0.8,实际上灯点亮度并不会成为预期的亮度80)。因此,采用现有方法确定的校正系数对LED显示屏进行校正的校正效果往往会比理想的校正效果差。But the inventor realizes that actually due to the differences in the screen hardware itself and the differences in acquisition equipment and acquisition methods, the change of the light point stimulation value or brightness with the correction coefficient will not be completely linear (for example, when the correction coefficient is 1, the light The actual brightness of the dot is 100. If the brightness of the dot is adjusted from 100 to 80, the correction factor used is 0.8. In fact, the brightness of the dot will not become the expected brightness of 80). Therefore, the correction effect of correcting the LED display screen by using the correction coefficient determined by the existing method is often worse than the ideal correction effect.
发明内容Contents of the invention
一种显示屏灯点的校正系数确定方法,包括:A method for determining a correction coefficient of a display screen light point, comprising:
获取待校正显示屏的原始图像;Obtain the original image of the display screen to be corrected;
针对所述原始图像中的任一个灯点,采集所述灯点分别在预设的多个灰阶下的颜色参数值;For any light point in the original image, collect the color parameter values of the light point in a plurality of preset gray scales;
获取所述灯点的目标颜色参数值,根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数。The target color parameter value of the light point is acquired, and the correction coefficient of the light point in the display screen to be corrected is acquired according to the target color parameter value and the color parameter values in each gray scale.
一种显示屏灯点的校正系数确定装置,包括:A device for determining a correction coefficient of a display lamp point, comprising:
图像获取模块,用于获取所述待校正显示屏的原始图像;An image acquisition module, configured to acquire the original image of the display screen to be corrected;
数据采集模块,用于针对所述原始图像中的任一个灯点,采集所述灯点分别在预设的多个灰阶下的颜色参数值;A data acquisition module, configured to collect color parameter values of each light point in preset multiple gray scales for any light point in the original image;
系数确定模块,用于获取所述灯点的目标颜色参数值,根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数。A coefficient determination module, configured to obtain the target color parameter value of the light point, and obtain the light point value of the light point in the display screen to be corrected according to the target color parameter value and the color parameter values under each gray scale. Correction coefficient.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
获取待校正显示屏的原始图像;Obtain the original image of the display screen to be corrected;
针对所述原始图像中的任一个灯点,采集所述灯点分别在预设的多个灰阶下的颜色参数值;For any light point in the original image, collect the color parameter values of the light point in a plurality of preset gray scales;
获取所述灯点的目标颜色参数值,根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数。The target color parameter value of the light point is acquired, and the correction coefficient of the light point in the display screen to be corrected is acquired according to the target color parameter value and the color parameter values in each gray scale.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取待校正显示屏的原始图像;Obtain the original image of the display screen to be corrected;
针对所述原始图像中的任一个灯点,采集所述灯点分别在预设的多个灰阶下的颜色参数值;For any light point in the original image, collect the color parameter values of the light point in a plurality of preset gray scales;
获取所述灯点的目标颜色参数值,根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数。The target color parameter value of the light point is acquired, and the correction coefficient of the light point in the display screen to be corrected is acquired according to the target color parameter value and the color parameter values in each gray scale.
上述显示屏灯点的校正系数确定方法、装置、计算机设备和存储介质,使灯点的校正系数与灯点的颜色参数值可形成更准确的线性对应关系,从而可提高采用该校正系数对显示屏进行校正的校正效果。The method, device, computer equipment, and storage medium for determining the correction coefficient of the light point of the display screen can form a more accurate linear correspondence between the correction coefficient of the light point and the color parameter value of the light point, thereby improving the accuracy of the display by using the correction coefficient. The correction effect of the correction on the screen.
附图说明Description of drawings
图1为一个实施例中显示屏灯点的校正系数确定方法的流程示意图;Fig. 1 is a schematic flowchart of a method for determining a correction coefficient of a display screen light spot in an embodiment;
图2为一个实施例中灯点的亮度校正系数确定步骤的流程示意图;Fig. 2 is a schematic flow chart of the steps of determining the brightness correction coefficient of the lamp point in an embodiment;
图3为一个实施例中色度和灰阶数之间的关系示意图;Fig. 3 is a schematic diagram of the relationship between chromaticity and gray scale numbers in an embodiment;
图4为另一个实施例中显示屏灯点的校正系数确定方法的流程示意图;Fig. 4 is a schematic flowchart of a method for determining a correction coefficient of a display screen light point in another embodiment;
图5为一个实施例中显示屏灯点的校正系数确定装置的结构框图;Fig. 5 is a structural block diagram of a device for determining a correction coefficient of a display lamp point in an embodiment;
图6为一个实施例中计算机设备的内部结构图。Figure 6 is an internal block diagram of a computer device in one embodiment.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
需要说明的是,本申请实施例所涉及的术语“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。It should be noted that the term "first\second" involved in the embodiment of this application is only to distinguish similar objects, and does not represent a specific ordering of objects. It is understandable that "first\second" is allowed The specific order or sequence may be interchanged under certain circumstances. It should be understood that the terms "first\second" are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein.
在一个实施例中,如图1所示,提供了一种显示屏灯点的校正系数确定方法,本实施例以该方法应用于终端进行举例说明,可以理解的是,该方法也可以应用于服务器,还可以应用于包括终端和服务器的系统,并通过终端和服务器的交互实现。本实施例中,该方法包括以下步骤:In one embodiment, as shown in FIG. 1 , a method for determining a correction coefficient of a display screen light point is provided. This embodiment uses the method applied to a terminal for illustration. It can be understood that this method can also be applied to The server may also be applied to a system including a terminal and a server, and may be implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
步骤S102,获取待校正显示屏的原始图像。Step S102, acquiring the original image of the display screen to be corrected.
具体实现中,待校正显示屏可以为LED显示屏,待校正显示屏的原始图像可以通过图像采集设备对待校正显示屏进行图像采集得到。在得到原始图像后,可将采集的原始图像传输给终端,终端基于该原始图像计算校正系数,并将校正系数下发至接收卡中,以通过接收卡对待校正显示屏进行校正,所述接收卡设置于待校正显示屏中。In a specific implementation, the display screen to be corrected may be an LED display screen, and the original image of the display screen to be corrected may be obtained by image acquisition of the display screen to be corrected by an image acquisition device. After obtaining the original image, the collected original image can be transmitted to the terminal, the terminal calculates the correction coefficient based on the original image, and sends the correction coefficient to the receiving card, so that the display screen to be corrected can be corrected by the receiving card, and the receiving The card is set in the display to be calibrated.
步骤S104,针对原始图像中的任一个灯点,采集该灯点分别在预设的多个灰阶下的颜色参数值。Step S104, for any light point in the original image, collect the color parameter values of the light point in a plurality of preset gray scales.
其中,灰阶表示最亮与最暗之间不同亮度的层次级别,灰阶的最大级别可由色彩位数决定,例如,色彩位数为8bit时,相当于2 8=256级灰阶,最大灰阶为255;色彩位数为10bit时,相当于2 10=1024级灰阶,最大灰阶为1023。 Among them, the gray scale represents the level of different brightness levels between the brightest and the darkest. The maximum level of the gray scale can be determined by the number of color bits. The scale is 255; when the number of color bits is 10 bits, it is equivalent to 2 10 =1024 gray scales, and the maximum gray scale is 1023.
其中,颜色参数值包括亮度值和三刺激值,其中,三刺激值为引起人体视网膜对某种颜色感觉的三种原色,即红、绿、蓝三种原色的刺激程度的量的表示。Wherein, the color parameter value includes a brightness value and a tristimulus value, wherein the tristimulus value represents the amount of stimulation of the three primary colors that cause the human retina to perceive a certain color, that is, the three primary colors of red, green, and blue.
其中,预设的多个灰阶包括至少三个灰阶,如第一灰阶、第二灰阶和第三灰阶,其中,第三灰阶可以为当前色彩位数对应的各级灰阶中的最高灰阶。可以理解的是,预设的灰阶数目越多,所确定的校正系数的精确度越高。Wherein, the preset plurality of gray scales includes at least three gray scales, such as the first gray scale, the second gray scale, and the third gray scale, wherein the third gray scale can be the gray scale of each level corresponding to the current color bit number The highest grayscale in . It can be understood that the greater the number of preset gray levels, the higher the accuracy of the determined correction coefficient.
其中,用于确定亮度校正系数的多个灰阶和用于确定三刺激值各自对应的色度校正系数的多个灰阶可以不相同。Wherein, the multiple gray scales used for determining the brightness correction coefficients and the multiple gray scales used for determining the chromaticity correction coefficients corresponding to the tristimulus values may be different.
具体实现中,预设的多个灰阶可包括至少三个灰阶,各个灰阶互不相同,本实施例以三个灰阶分别为第一灰阶、第二灰阶和第三灰阶为例,对本实施例的方案进行说明。具体地,针对原始图像中的任一个灯点,采集该灯点在预设的多个灰阶下的颜色参数值,即采集该灯点分别在预设的第一灰阶、第二灰阶和第三灰阶下的亮度值,以及采集该灯点分别在预设的第一灰阶、第二灰阶和第三灰阶下的三刺激值。然后,可根据该灯点在预设的 第一灰阶、第二灰阶和第三灰阶下的亮度值计算该灯点的亮度校正系数。根据该灯点在预设的第一灰阶、第二灰阶和第三灰阶下的三刺激值计算该灯点的三刺激值各自对应的色度校正系数。In specific implementation, the preset plurality of gray scales may include at least three gray scales, and each gray scale is different from each other. In this embodiment, the three gray scales are respectively the first gray scale, the second gray scale and the third gray scale. As an example, the solution of this embodiment will be described. Specifically, for any light point in the original image, the color parameter values of the light point in the preset multiple gray scales are collected, that is, the color parameter values of the light point in the preset first gray scale and the second gray scale are respectively collected. and brightness values under the third gray scale, and collect the tristimulus values of the light point under the preset first gray scale, second gray scale and third gray scale respectively. Then, the brightness correction coefficient of the lamp point can be calculated according to the brightness values of the lamp point under the preset first gray scale, second gray scale and third gray scale. The chromaticity correction coefficients corresponding to the tristimulus values of the light point are calculated according to the tristimulus values of the light point at the preset first gray scale, second gray scale and third gray scale.
步骤S106,获取该灯点的目标颜色参数值,根据目标颜色参数值和各个灰阶下的颜色参数值,获取待校正显示屏中的灯点的校正系数。Step S106, obtaining the target color parameter value of the light point, and obtaining the correction coefficient of the light point in the display screen to be corrected according to the target color parameter value and the color parameter values in each gray scale.
其中,目标颜色参数值可表示该灯点需要调整到的颜色参数值,目标颜色参数值包括目标亮度值和目标三刺激值。Wherein, the target color parameter value may represent the color parameter value to which the light point needs to be adjusted, and the target color parameter value includes a target brightness value and a target tristimulus value.
其中,灯点的校正系数包括亮度校正系数和三刺激值各自对应的色度校正系数。RGB对应一个亮度校正系数,以及RGB分别对应三个色度校正系数。Wherein, the correction coefficients of the light points include brightness correction coefficients and chromaticity correction coefficients corresponding to the tristimulus values respectively. RGB corresponds to one brightness correction coefficient, and RGB corresponds to three chroma correction coefficients respectively.
可以理解的是,由于屏幕硬件本身的差异性以及采集设备、采集方法的差异性,可能导致不同灯点之间三刺激值或亮度随校正系数进行变化的变化曲线各不相同,并且三个刺激值之间的非线性程度也可能不一样,因此,本申请在获取灯点的校正系数时,采用了分别获取各个灯点的校正系数。针对各个灯点,分别获取亮度校正系数和三个刺激值各自对应的色度校正系数的构思,以提升对显示屏的校正效果。It is understandable that due to the differences in the screen hardware itself, as well as the differences in acquisition equipment and acquisition methods, the variation curves of the tristimulus value or brightness with the correction coefficient may be different between different light points, and the three stimuli The degree of non-linearity between the values may also be different. Therefore, when obtaining the correction coefficients of the light points in the present application, the correction coefficients of each light point are obtained separately. For each light point, the idea of obtaining brightness correction coefficients and chromaticity correction coefficients corresponding to the three stimulus values respectively, so as to improve the correction effect on the display screen.
具体实现中,在确定第一灰阶、第二灰阶和第三灰阶后,分别获取各个灰阶的伽玛值,根据各个灰阶的伽玛值,得到第一校正系数和第二校正系数。根据目标参数值、第一校正系数、第二校正系数和各个灰阶下的颜色参数值,获取灯点的校正系数。In the specific implementation, after determining the first gray scale, the second gray scale and the third gray scale, the gamma values of each gray scale are obtained respectively, and the first correction coefficient and the second correction coefficient are obtained according to the gamma values of each gray scale coefficient. According to the target parameter value, the first correction coefficient, the second correction coefficient and the color parameter values in each gray scale, the correction coefficient of the light point is obtained.
更具体地,当颜色参数值为亮度值时,根据各个灰阶的伽玛值,得到第一亮度校正系数和第二亮度校正系数。在获取灯点的目标亮度值后,根据灯点的目标亮度值、第一亮度校正系数、第二亮度校正系数和灯点在各个灰阶下的亮度值,获取该灯点的亮度校正系数。当颜色参数值为三刺激值时,根据各个灰阶的伽玛值,得到第一色度校正系数和第二色度校正系数。在获取灯点的目标三刺激值后,根据灯点的目标三刺激值、第一色度校正系数、第二色度校正系数和灯点在各个灰阶下的三刺激值,获取灯点的三刺激值各自对应的色度校正系数。More specifically, when the color parameter value is a brightness value, the first brightness correction coefficient and the second brightness correction coefficient are obtained according to the gamma value of each gray scale. After obtaining the target brightness value of the light point, the brightness correction coefficient of the light point is obtained according to the target brightness value of the light point, the first brightness correction coefficient, the second brightness correction coefficient and the brightness values of the light point in each gray scale. When the color parameter value is a tristimulus value, the first chromaticity correction coefficient and the second chromaticity correction coefficient are obtained according to the gamma value of each gray scale. After obtaining the target tristimulus value of the light point, according to the target tristimulus value of the light point, the first chromaticity correction coefficient, the second chromaticity correction coefficient and the tristimulus value of the light point at each gray scale, the light point’s tristimulus value is obtained. Chromaticity correction coefficients for each of the tristimulus values.
上述显示屏灯点的校正系数确定方法中,在获取待校正显示屏的原始图像后,针对原始图像中的任一个灯点,采集该灯点分别在预设的多个灰阶下的颜色参数值,以便于在获取灯点的目标颜色参数值后,可根据目标颜色参数值和各个灰阶下的颜色参数值,获取待校正显示屏中的灯点的校正系数。该方法通过灯点在多个灰阶下的颜色参数值来确定灯点的校正系数,其中,涉及到两次校正,分别为亮度校正和色度校正,使灯点的校正系数与灯点的颜色参数值可形成更准确的线性对应关系,从而可提高采用该校正系数对显示屏进 行校正的校正效果。In the method for determining the correction coefficient of the light point of the display screen described above, after obtaining the original image of the display screen to be corrected, for any light point in the original image, the color parameters of the light point in the preset multiple gray scales are collected value, so that after obtaining the target color parameter value of the light point, the correction coefficient of the light point in the display screen to be corrected can be obtained according to the target color parameter value and the color parameter value under each gray scale. This method determines the correction coefficient of the light point through the color parameter values of the light point in multiple gray scales. Two corrections are involved, namely brightness correction and chromaticity correction, so that the correction coefficient of the light point is the same as that of the light point The color parameter values can form a more accurate linear correspondence, thereby improving the correction effect of using the correction coefficient to calibrate the display screen.
在一个实施例中,如图2所示,当颜色参数值为亮度值时,上述步骤S106包括:In one embodiment, as shown in FIG. 2, when the color parameter value is a brightness value, the above step S106 includes:
步骤S202,获取多个灰阶的伽玛值;多个灰阶可包括第一灰阶、第二灰阶和第三灰阶;Step S202, acquiring gamma values of multiple gray scales; the multiple gray scales may include a first gray scale, a second gray scale, and a third gray scale;
步骤S204,根据各个灰阶的伽玛值,得到第一亮度校正系数和第二亮度校正系数;Step S204, according to the gamma value of each gray scale, obtain the first brightness correction coefficient and the second brightness correction coefficient;
步骤S206,根据目标亮度值、第一亮度校正系数、第二亮度校正系数,以及各个灰阶下的亮度值,得到灯点的亮度校正系数。Step S206, according to the target luminance value, the first luminance correction coefficient, the second luminance correction coefficient, and the luminance values in each gray scale, obtain the luminance correction coefficient of the lamp point.
其中,伽玛值可表示图象处理上,输入值和显示器输出时的亮度之间的关系。Among them, the gamma value can represent the relationship between the input value and the output brightness of the display in image processing.
其中,第三灰阶可以为当前色彩位数对应的各级灰阶中的最高灰阶。例如,当色彩位数为8bit时,一共有256级灰阶(0~255),则最高灰阶为255;当色彩位数为10bit时,一共有1024级灰阶(0~1023),则最高灰阶为1023。Wherein, the third gray scale may be the highest gray scale among gray scales of all levels corresponding to the current color bit number. For example, when the color bit is 8bit, there are 256 gray levels (0~255) in total, and the highest gray level is 255; when the color bit is 10bit, there are 1024 gray levels (0~1023), then The highest gray scale is 1023.
其中,第一亮度校正系数可表示灯点在第一灰阶下的亮度对应的校正系数。Wherein, the first brightness correction coefficient may represent a correction coefficient corresponding to the brightness of the lamp point under the first gray scale.
其中,第二亮度校正系数可表示灯点在第二灰阶下的亮度对应的校正系数。Wherein, the second brightness correction coefficient may represent a correction coefficient corresponding to the brightness of the lamp point under the second gray scale.
其中,目标亮度值可以理解为灯点需要调整到的亮度值。Wherein, the target brightness value can be understood as the brightness value to which the light point needs to be adjusted.
具体实现中,第一亮度校正系数可以通过计算第一灰阶与最高灰阶的伽玛值的比值得到,第二亮度校正系数可以通过计算第二灰阶与最高灰阶的伽玛值的比值得到,当具有三个以上的灰阶时,则第n个亮度校正系数可以通过计算第n个灰阶与最高灰阶的伽玛值的比值得到。In a specific implementation, the first brightness correction coefficient can be obtained by calculating the ratio of the gamma value of the first gray scale to the highest gray scale, and the second brightness correction coefficient can be obtained by calculating the ratio of the gamma value of the second gray scale to the highest gray scale It can be obtained that when there are more than three gray levels, the nth brightness correction coefficient can be obtained by calculating the ratio of the nth gray level to the gamma value of the highest gray level.
可以理解的是,当亮度校正系数变化比较小时,可近似认为灯点亮度随亮度校正系数的变化是线性的,因此,若第一亮度校正系数对应的亮度值为第一亮度值,第二亮度校正系数对应的亮度值为第二亮度值,则有下述关系式成立:It can be understood that when the change of the brightness correction coefficient is relatively small, it can be approximately considered that the change of the brightness of the lamp point with the brightness correction coefficient is linear. Therefore, if the brightness value corresponding to the first brightness correction coefficient is the first brightness value, the second brightness The luminance value corresponding to the correction coefficient is the second luminance value, then the following relationship is established:
Figure PCTCN2022072083-appb-000001
Figure PCTCN2022072083-appb-000001
基于该关系式,在得到目标亮度值、第一亮度校正系数、第二亮度校正系数、第一亮度值和第二亮度值后,将各个数值代入上述关系式,则可求得灯点的亮度校正系数。Based on this relational expression, after obtaining the target luminance value, the first luminance correction coefficient, the second luminance correction coefficient, the first luminance value and the second luminance value, and substituting each value into the above relational expression, the brightness of the lamp point can be obtained Correction coefficient.
在一个实施例中,上述步骤S204具体包括:获取第一灰阶的伽玛值和第三灰阶的伽玛值的比值,作为第一亮度校正系数;获取第二灰阶的伽玛值和第三灰阶的伽玛值的比值,作为第二亮度校正系数。In one embodiment, the above step S204 specifically includes: obtaining the ratio of the gamma value of the first gray scale to the gamma value of the third gray scale as the first brightness correction coefficient; obtaining the gamma value of the second gray scale and The ratio of the gamma value of the third gray scale is used as the second brightness correction coefficient.
具体实现中,以预设的多个灰阶为第一灰阶、第二灰阶和最高灰阶为例,若各个灰阶的伽玛值分别为γ 1、γ 2、γ,则第一亮度校正系数(记为d 1)可表示为:d 1=γ 1/γ,第二亮度 校正系数(记为d 2)可表示为:d 2=γ 2/γ。 In the specific implementation, taking the preset multiple gray scales as the first gray scale, the second gray scale and the highest gray scale as an example, if the gamma values of each gray scale are γ 1 , γ 2 , and γ respectively, then the first gray scale The brightness correction coefficient (denoted as d 1 ) can be expressed as: d 11 /γ, and the second brightness correction coefficient (denoted as d 2 ) can be expressed as: d 22 /γ.
例如,最高灰阶为255时对应的伽玛值γ=2915,第一灰阶为225和第二灰阶246时对应的伽玛值分别为γ 1=2060和γ 2=2648,则第一亮度校正系数d 1=γ 1/γ=2060/2915=0.707,第二亮度校正系数d 2=γ 2/γ=2648/2915=0.905。 For example, when the highest gray level is 255, the corresponding gamma value γ=2915, when the first gray level is 225 and the second gray level is 246, the corresponding gamma values are γ 1 =2060 and γ 2 =2648 respectively, then the first The brightness correction coefficient d 11 /γ=2060/2915=0.707, and the second brightness correction coefficient d 22 /γ=2648/2915=0.905.
进一步地,若第一灰阶下的第一亮度值为L 1,第二灰阶下的第二亮度值L 2、目标亮度值为L,则基于上述亮度值与校正系数之间的关系式,可得到灯点的亮度校正系数P luminance的关系式可表示为: Further, if the first brightness value under the first gray scale is L 1 , the second brightness value L 2 under the second gray scale, and the target brightness value is L, then based on the relationship between the above brightness value and the correction coefficient , the relational expression of the luminance correction coefficient P luminance of the lamp point can be expressed as:
Figure PCTCN2022072083-appb-000002
Figure PCTCN2022072083-appb-000002
上述实施例中,在颜色参数值为亮度值,且亮度校正系数变化较小时,认为亮度随校正系数是线性变化的,由此,在得到目标亮度值、第一亮度校正系数、第二亮度校正系数,以及各个灰阶下的亮度值后,基于亮度值与亮度校正系数之间的线性关系,确定灯点的亮度校正系数。这种通过灯点在多个灰阶下的亮度值来确定灯点的亮度校正系数的方法,使得到的灯点的亮度校正系数与灯点的亮度可形成更准确的线性对应关系,从而可提高采用该亮度校正系数对显示屏的亮度进行校正的校正效果。In the above embodiment, when the color parameter value is the brightness value and the brightness correction coefficient changes little, it is considered that the brightness changes linearly with the correction coefficient, thus, after obtaining the target brightness value, the first brightness correction coefficient, and the second brightness correction coefficient The brightness correction coefficient of the lamp point is determined based on the linear relationship between the brightness value and the brightness correction coefficient. This method of determining the brightness correction coefficient of the lamp point through the brightness values of the lamp point under multiple gray scales can form a more accurate linear correspondence between the brightness correction coefficient of the lamp point and the brightness of the lamp point, so that Improve the correction effect of using the brightness correction coefficient to correct the brightness of the display screen.
在一个实施例中,当颜色参数值为三刺激值时,上述步骤S106还包括:根据预设的多个灰阶的伽玛值,得到第一色度校正系数和第二色度校正系数;多个灰阶包括第一灰阶、第二灰阶和第三灰阶;根据目标三刺激值、第一色度校正系数、第二色度校正系数,以及各个灰阶下的三刺激值,得到灯点的三刺激值各自对应的色度校正系数。In one embodiment, when the color parameter value is a tristimulus value, the above step S106 further includes: obtaining the first chromaticity correction coefficient and the second chromaticity correction coefficient according to the preset gamma values of multiple gray scales; The multiple gray scales include the first gray scale, the second gray scale and the third gray scale; according to the target tristimulus value, the first chromaticity correction coefficient, the second chromaticity correction coefficient, and the tristimulus value under each gray scale, The chromaticity correction coefficients corresponding to the tristimulus values of the light points are obtained.
其中,第一色度校正系数可表示灯点在第一灰阶下的三刺激值对应的校正系数。Wherein, the first chromaticity correction coefficient may represent the correction coefficient corresponding to the tristimulus value of the light point under the first gray scale.
其中,第二色度校正系数可表示灯点在第二灰阶下的三刺激值对应的校正系数。Wherein, the second chromaticity correction coefficient may represent the correction coefficient corresponding to the tristimulus value of the light point under the second gray scale.
其中,目标三刺激值可以理解为灯点需要调整到的三刺激值。Wherein, the target tristimulus value can be understood as the tristimulus value to which the light point needs to be adjusted.
具体实现中,第一色度校正系数可以通过计算第一灰阶与最高灰阶的伽玛值的比值得到,第二色度校正系数可以通过计算第二灰阶与最高灰阶的伽玛值的比值得到,当具有三个以上的灰阶时,则第n个色度校正系数可以通过计算第n个灰阶与最高灰阶的伽玛值的比值得到。In a specific implementation, the first chromaticity correction coefficient can be obtained by calculating the ratio of the gamma value of the first gray scale to the highest gray scale, and the second chromaticity correction coefficient can be obtained by calculating the gamma value of the second gray scale to the highest gray scale When there are more than three gray levels, the nth chromaticity correction coefficient can be obtained by calculating the ratio of the nth gray level to the gamma value of the highest gray level.
可以理解的是,与灯点的亮度校正类似,灯点亮度与亮度校正系数的关系不是完全线性的,三个刺激值与校正系数的关系也是不完全线性的,而且三个刺激值非线性的程度也会不一样。若将单个灯点的三刺激值视为一个三维向量,则该三维向量的方向和大小都会随校正系数变化。当校正系数变化很小时,可近似认为三刺激值各自随校正系数线性变化。 因此,可以按照三刺激值各自对应的色度校正系数与三刺激值分别成线性变化的关系进行多灰阶色度校正的校正系数的计算。It can be understood that, similar to the brightness correction of the lamp point, the relationship between the brightness of the lamp point and the brightness correction coefficient is not completely linear, and the relationship between the three stimulus values and the correction coefficient is not completely linear, and the three stimulus values are nonlinear The degree will also be different. If the tristimulus value of a single light point is regarded as a three-dimensional vector, the direction and magnitude of the three-dimensional vector will change with the correction coefficient. When the correction coefficient changes very little, it can be approximated that the tristimulus values each change linearly with the correction coefficient. Therefore, the calculation of the correction coefficients for the multi-gray scale chromaticity correction can be performed according to the relationship between the chromaticity correction coefficients corresponding to the three stimulus values and the three stimuli values respectively.
在一个实施例中,当颜色参数值为三刺激值时,上述步骤S106还包括:获取多个灰阶的伽玛值;多个灰阶包括低灰阶、第一灰阶、第二灰阶和第三灰阶;根据低灰阶的伽玛值γ 0、第一灰阶的伽玛值γ 1、第二灰阶的伽玛值γ 2、第三灰阶的伽玛值γ,得到低灰阶色度校正系数p 0=γ 0/γ、第一色度校正系数p 1=γ 1/γ,和第二色度校正系数p 2=γ 2/γ;根据目标三刺激值:Rd、Gd、Bd;低灰阶色度校正系数p 0;第一色度校正系数p 1;第二色度校正系数p 2;低灰阶下的三刺激值:R 0、G 0、B 0;第一灰阶下的三刺激值:R 1、G 1、B 1;以及第二灰阶下的三刺激值:R 2、G 2、B 2,得到灯点的三刺激值各自对应的色度校正系数;其中,0<p 0<1,0<p 1<1,0<p 2<1。 In one embodiment, when the color parameter value is a tristimulus value, the above step S106 further includes: acquiring the gamma values of multiple gray scales; the multiple gray scales include low gray scale, first gray scale, and second gray scale and the third gray scale; according to the gamma value γ 0 of the low gray scale, the gamma value γ 1 of the first gray scale, the gamma value γ 2 of the second gray scale, and the gamma value γ of the third gray scale, we get Low grayscale chromaticity correction coefficient p 00 /γ, first chromaticity correction coefficient p 11 /γ, and second chromaticity correction coefficient p 22 /γ; according to the target tristimulus value: Rd, Gd, Bd; low grayscale chromaticity correction coefficient p 0 ; first chromaticity correction coefficient p 1 ; second chromaticity correction coefficient p 2 ; tristimulus values at low grayscale: R 0 , G 0 , B 0 ; tri-stimulus values under the first gray scale: R 1 , G 1 , B 1 ; and tri-stimulus values under the second gray scale: R 2 , G 2 , B 2 Chromaticity correction coefficient; where, 0<p 0 <1, 0<p 1 <1, 0<p 2 <1.
其中,低灰阶色度校正系数可表示灯点在低灰阶下的三刺激值对应的校正系数。Wherein, the low grayscale chromaticity correction coefficient may represent the correction coefficient corresponding to the tristimulus value of the light point at the low grayscale.
具体实现中,灯点的三刺激值各自对应的色度校正系数的获取过程如下:设四个灰阶分别为低灰阶、第一灰阶、第二灰阶和最高灰阶,其中,第一灰阶可以为灰阶225,第二灰阶可以为灰阶246,灯点在各个灰阶下的三刺激值可分别表示为:In the specific implementation, the acquisition process of the chromaticity correction coefficients corresponding to the three stimulus values of the light point is as follows: Let the four gray scales be the low gray scale, the first gray scale, the second gray scale and the highest gray scale, among which, the first gray scale The first gray scale can be gray scale 225, the second gray scale can be gray scale 246, and the tristimulus values of the light points in each gray scale can be expressed as:
灯点在低灰阶下的三刺激值,即红绿蓝三原色的刺激值分别为:The tristimulus values of the light point at low grayscale, that is, the stimuli values of the three primary colors of red, green and blue are:
Figure PCTCN2022072083-appb-000003
Figure PCTCN2022072083-appb-000003
灯点在第一灰阶下的三刺激值分别为:The tristimulus values of the light point under the first gray scale are:
Figure PCTCN2022072083-appb-000004
Figure PCTCN2022072083-appb-000004
灯点在第二灰阶下的三刺激值分别为:The tristimulus values of the light point under the second gray scale are:
Figure PCTCN2022072083-appb-000005
Figure PCTCN2022072083-appb-000005
灯点的目标三刺激值分别为:The target tristimulus values of the lamp points are:
Figure PCTCN2022072083-appb-000006
Figure PCTCN2022072083-appb-000006
其中,X R0表示低灰阶下的红色灯点的红原色刺激量、Y R0表示低灰阶下的红色灯点的 绿原色刺激量和Z R0表示低灰阶下的红色灯点的蓝原色刺激量;X G0表示低灰阶下的绿色灯点的红原色刺激量、Y G0表示低灰阶下的绿色灯点的绿原色刺激量和Z G0表示低灰阶下的绿色灯点的蓝原色刺激量;X B0表示低灰阶下的蓝色灯点的红原色刺激量、Y B0表示低灰阶下的蓝色灯点的绿原色刺激量和Z B0表示低灰阶下的蓝色灯点的蓝原色刺激量;X R1表示第一灰阶下的红色灯点的红原色刺激量、Y R1表示第一灰阶下的红色灯点的绿原色刺激量和Z R1表示第一灰阶下的红色灯点的蓝原色刺激量;X G1表示第一灰阶下的绿色灯点的红原色刺激量、Y G1表示第一灰阶下的绿色灯点的绿原色刺激量和Z G1表示第一灰阶下的绿色灯点的蓝原色刺激量;X B1表示第一灰阶下的蓝色灯点的红原色刺激量、Y B1表示第一灰阶下的蓝色灯点的绿原色刺激量和Z B1表示第一灰阶下的蓝色灯点的蓝原色刺激量;X R2表示第二灰阶下的红色灯点的红原色刺激量、Y R2表示第二灰阶下的红色灯点的绿原色刺激量和Z R2表示第二灰阶下的红色灯点的蓝原色刺激量;X G2表示第二灰阶下的绿色灯点的红原色刺激量、Y G2表示第二灰阶下的绿色灯点的绿原色刺激量和Z G2表示第二灰阶下的绿色灯点的蓝原色刺激量;X B2表示第二灰阶下的蓝色灯点的红原色刺激量、Y B2表示第二灰阶下的蓝色灯点的绿原色刺激量和Z B2表示第二灰阶下的蓝色灯点的蓝原色刺激量;X Rd表示目标红色灯点的红原色刺激量、Y Rd表示目标红色灯点的绿原色刺激量和Z Rd表示目标红色灯点的蓝原色刺激量;X Gd表示目标绿色灯点的红原色刺激量、Y Gd表示目标绿色灯点的绿原色刺激量和Z Gd表示目标绿色灯点的蓝原色刺激量;X Bd表示目标蓝色灯点的红原色刺激量、Y Bd表示目标蓝色灯点的绿原色刺激量和Z Bd表示目标蓝色灯点的蓝原色刺激量。 Among them, X R0 represents the red primary color stimulation amount of the red light point under the low gray scale, Y R0 represents the green primary color stimulation amount of the red light point under the low gray scale, and Z R0 represents the blue primary color of the red light point under the low gray scale Stimulus amount; X G0 represents the red primary color stimulation amount of the green light point under the low gray scale, Y G0 represents the green primary color stimulation amount of the green light point under the low gray scale, and Z G0 represents the blue color of the green light point under the low gray scale Primary color stimulation amount; X B0 represents the red primary color stimulation amount of the blue light point under the low gray scale, Y B0 represents the green primary color stimulation amount of the blue light point under the low gray scale and Z B0 represents the blue light point under the low gray scale The blue primary color stimulation amount of the light point; X R1 represents the red primary color stimulation amount of the red light point under the first gray scale, Y R1 represents the green primary color stimulation amount of the red light point under the first gray scale and Z R1 represents the first gray level X G1 represents the red primary color stimulation amount of the green light point under the first gray scale, Y G1 represents the green primary color stimulation amount of the green light point under the first gray scale and Z G1 Indicates the blue primary color stimulation amount of the green light point under the first gray scale; X B1 represents the red primary color stimulation amount of the blue light point under the first gray scale, Y B1 represents the green color of the blue light point under the first gray scale The primary color stimulus and Z B1 represent the blue primary color stimulus of the blue light point under the first gray scale; X R2 represents the red primary color stimulus of the red light point under the second gray scale, and Y R2 represents the The green primary color stimulation amount of the red light point and Z R2 represent the blue primary color stimulation amount of the red light point under the second gray scale; X G2 represents the red primary color stimulation amount of the green light point under the second gray scale, Y G2 represents the second gray level The green primary color stimulation amount of the green light point under the gray scale and Z G2 represent the blue primary color stimulation amount of the green light point under the second gray scale; X B2 represents the red primary color stimulation amount of the blue light point under the second gray scale, Y B2 represents the green primary color stimulation amount of the blue light point under the second gray scale and Z B2 represents the blue primary color stimulation amount of the blue light point under the second gray scale; X Rd represents the red primary color stimulation amount of the target red light point , Y Rd represents the green primary color stimulus of the target red light point and Z Rd represents the blue primary color stimulus of the target red light point; X Gd represents the red primary color stimulus of the target green light point, Y Gd represents the green primary color of the target green light point Stimulus amount and Z Gd represents the blue primary color stimulus amount of the target green light point; X Bd represents the red primary color stimulus amount of the target blue light point, Y Bd represents the green primary color stimulus amount of the target blue light point, and Z Bd represents the target blue color The blue primary stimulus amount of the light spot.
为了达到目标色域,则需要以下公式成立:In order to achieve the target color gamut, the following formula needs to be established:
Figure PCTCN2022072083-appb-000007
Figure PCTCN2022072083-appb-000007
其中,R 1+(R 2-R 1)×a 1为目标色域三刺激值的主分量,G 0b 1和B 0c 1为目标色域三刺激值的次分量,上述公式成立的原因为低灰阶转换到目标灰阶时,低灰阶与目标灰阶的转换并不为一直线性的关系,因此目标灰阶的目标色域的表达关系是由多个灰阶所在的线性关系所对应的表达式组合而成,具体如附图3所示,图中R 1、R 2和R d分别为第一灰阶下的三刺激值、第二灰阶下的三刺激值和目标三刺激值中的红色分量值,其中,第二灰阶的数值可大于第一灰阶的数值,目标灰阶的数值可位于第一灰阶和第二灰阶范围内,且第一灰阶和第二灰阶的数值可以变换,只要符合在校正系数变化较小时,可近似认为三刺激值随校正系数是线性变化的便可。 Among them, R 1 +(R 2 -R 1 )×a 1 is the principal component of the tristimulus value of the target color gamut, G 0 b 1 and B 0 c 1 are the subcomponents of the tristimulus value of the target color gamut, the above formula is established The reason is that when the low grayscale is converted to the target grayscale, the conversion between the low grayscale and the target grayscale is not a linear relationship, so the expression relationship of the target color gamut of the target grayscale is a linear relationship between multiple grayscales The corresponding expressions are combined, as shown in Figure 3. In the figure, R 1 , R 2 and R d are the tristimulus values in the first gray scale, the tristimulus values in the second gray scale, and the target The value of the red component in the tristimulus value, wherein the value of the second gray scale may be greater than the value of the first gray scale, the value of the target gray scale may be within the range between the first gray scale and the second gray scale, and the first gray scale The values of the second gray scale and the second gray scale can be changed, as long as it meets the requirement that the tristimulus value changes linearly with the correction coefficient when the correction coefficient changes little.
对上式进行转换,可得
Figure PCTCN2022072083-appb-000008
Transform the above formula to get
Figure PCTCN2022072083-appb-000008
进一步地,将上式两端同乘以[R 2-R 1 G 0 B 0] -1,可得: Further, multiply both sides of the above formula by [R 2 -R 1 G 0 B 0 ] -1 to get:
Figure PCTCN2022072083-appb-000009
Figure PCTCN2022072083-appb-000009
由于[R 2-R 1 G 0 B 0] -1[R 2-R 1 G 0 B 0]的乘积为单位向量,因此,可得: Since the product of [R 2 -R 1 G 0 B 0 ] -1 [R 2 -R 1 G 0 B 0 ] is a unit vector, we can get:
Figure PCTCN2022072083-appb-000010
Figure PCTCN2022072083-appb-000010
则有系数
Figure PCTCN2022072083-appb-000011
then there is a coefficient
Figure PCTCN2022072083-appb-000011
同样的,为了达到目标色域,还需要有以下两个关系式成立:Similarly, in order to achieve the target color gamut, the following two relations need to be established:
Figure PCTCN2022072083-appb-000012
Figure PCTCN2022072083-appb-000012
其中,等式
Figure PCTCN2022072083-appb-000013
中,G 1+(G 2-G 1)×b 2为主分量,R 0a 2和B 0c 2为次分量;等式
Figure PCTCN2022072083-appb-000014
中,B 1+(B 2-B 1)×c 3为主分量,R 0a 3和G 0b 3为次分量。
where the equation
Figure PCTCN2022072083-appb-000013
Among them, G 1 +(G 2 -G 1 )×b 2 is the main component, R 0 a 2 and B 0 c 2 are the secondary components; the equation
Figure PCTCN2022072083-appb-000014
Among them, B 1 +(B 2 -B 1 )×c 3 is the main component, and R 0 a 3 and G 0 b 3 are the secondary components.
与上述
Figure PCTCN2022072083-appb-000015
的关系式的求取方式相同,基于公式
Figure PCTCN2022072083-appb-000016
Figure PCTCN2022072083-appb-000017
可得
Figure PCTCN2022072083-appb-000018
Figure PCTCN2022072083-appb-000019
的关系式分别为:
with the above
Figure PCTCN2022072083-appb-000015
The relational expression of is obtained in the same way, based on the formula
Figure PCTCN2022072083-appb-000016
and
Figure PCTCN2022072083-appb-000017
Available
Figure PCTCN2022072083-appb-000018
and
Figure PCTCN2022072083-appb-000019
The relational expressions are:
Figure PCTCN2022072083-appb-000020
Figure PCTCN2022072083-appb-000020
Figure PCTCN2022072083-appb-000021
Figure PCTCN2022072083-appb-000021
实际应用中,为了节省采集图像的时间,可以不采集低灰阶的三刺激值R 0、G 0、B 0,而是用第一灰阶的三刺激值R 1、G 1、B 1代替,低灰阶色度校正系数p 0也由第一色度校正系数p 1代替,实际校正效果没有显著差别,因此,可得: In practical applications, in order to save the time of image acquisition, it is possible not to collect low-gray-scale tristimulus values R 0 , G 0 , and B 0 , but to use the first gray-scale tri-stimulus values R 1 , G 1 , and B 1 instead , the low grayscale chromaticity correction coefficient p 0 is also replaced by the first chromaticity correction coefficient p 1 , the actual correction effect is not significantly different, therefore, it can be obtained:
Figure PCTCN2022072083-appb-000022
Figure PCTCN2022072083-appb-000022
Figure PCTCN2022072083-appb-000023
Figure PCTCN2022072083-appb-000023
Figure PCTCN2022072083-appb-000024
Figure PCTCN2022072083-appb-000024
进一步地,可得灯点的三刺激值各自对应的色度校正系数的关系式分别为:Further, the relational expressions of the chromaticity correction coefficients corresponding to the tristimulus values of the lamp points are respectively:
Figure PCTCN2022072083-appb-000025
Figure PCTCN2022072083-appb-000025
Figure PCTCN2022072083-appb-000026
Figure PCTCN2022072083-appb-000026
Figure PCTCN2022072083-appb-000027
Figure PCTCN2022072083-appb-000027
其中,
Figure PCTCN2022072083-appb-000028
Figure PCTCN2022072083-appb-000029
分别表示灯点的三刺激值中红色、绿色和蓝色三原色各自的校正系数。
in,
Figure PCTCN2022072083-appb-000028
and
Figure PCTCN2022072083-appb-000029
Respectively represent the correction coefficients of the three primary colors of red, green and blue in the tristimulus value of the lamp point.
上述灯点的三刺激值各自对应的色度校正系数的获取过程中,基于满足目标色域的条件,得到目标三刺激值中各个刺激值,分别与各个灰阶的红色刺激值、绿色刺激值和蓝色刺激值之间的关系式,即得到可达到目标三刺激值的三个关系式,进而基于这三个关系式,转换得到三个刺激值各自对应的色度校正系数。In the process of obtaining the chromaticity correction coefficients corresponding to the three-stimulus values of the above-mentioned light points, based on the condition of satisfying the target color gamut, each stimulus value in the target three-stimulus value is obtained, and the red stimulus value and the green stimulus value of each gray scale are respectively compared with each other. The relationship between the three stimulus values and the blue stimulus value, that is, three relationship expressions that can reach the target tri-stimulus value, and then based on these three relationship expressions, the chromaticity correction coefficients corresponding to the three stimulus values are converted.
需要说明的是,本申请中获取待校正显示屏中的灯点的亮度校正系数和三刺激值各自对应的色度校正系数的过程,是基于高亮的条件获取的,即是获取的灯点在高亮多灰阶下的三刺激值各自对应的色度校正系数和亮度校正系数。It should be noted that in this application, the process of obtaining the brightness correction coefficients of the light points in the display screen to be corrected and the chromaticity correction coefficients corresponding to the tristimulus values are obtained based on the bright conditions, that is, the obtained light points The respective chromaticity correction coefficients and brightness correction coefficients corresponding to the tristimulus values under the high-brightness multi-grayscale.
本实施例中,在颜色参数值为三刺激值,且亮度校正系数变化较小时,认为三刺激值随各自的校正系数是线性变化的,由此,在得到目标三刺激值、第一色度校正系数、第二色度校正系数,以及各个灰阶下的三刺激值后,基于三刺激值与各自的校正系数之间的线性关系,确定灯点的三刺激值各自对应的色度校正系数,这种通过灯点在多个灰阶下的三刺激值,分别确定灯点的三刺激值各自对应的色度校正系数的方法,使得到的灯点的三刺激值各自对应的色度校正系数与灯点的三刺激值可形成更准确的线性对应关系,从而可提高采用三刺激值各自对应的色度校正系数对显示屏进行校正的校正效果。In this embodiment, when the color parameter value is a tristimulus value and the brightness correction coefficient changes little, it is considered that the tristimulus value changes linearly with the respective correction coefficients, thus, after obtaining the target tristimulus value, the first chromaticity After the correction coefficient, the second chromaticity correction coefficient, and the tristimulus values under each gray scale, based on the linear relationship between the tristimulus values and the respective correction coefficients, determine the respective chromaticity correction coefficients corresponding to the tristimulus values of the light point , this method of determining the chromaticity correction coefficients corresponding to the tristimulus values of the lamp points respectively through the tristimulus values of the lamp points at multiple gray scales, so that the corresponding chromaticity correction coefficients of the obtained tristimulus values of the lamp points are respectively The coefficients and the tristimulus values of the light points can form a more accurate linear correspondence, thereby improving the correction effect of using the chromaticity correction coefficients corresponding to the tristimulus values to correct the display screen.
在一个实施例中,在上述步骤S106之后,还包括:获取灯点的原始颜色参数值;基于校正系数对原始颜色参数值进行校正,得到灯点的校正后的颜色参数值。In one embodiment, after the above step S106, further includes: acquiring the original color parameter value of the light point; correcting the original color parameter value based on the correction coefficient to obtain the corrected color parameter value of the light point.
其中,原始颜色参数值包括原始亮度值和原始三刺激值。Wherein, the original color parameter values include original brightness values and original tristimulus values.
其中,校正系数包括亮度校正系数和三刺激值各自对应的色度校正系数。Wherein, the correction coefficients include brightness correction coefficients and chromaticity correction coefficients respectively corresponding to the tristimulus values.
具体实现中,在得到灯点的原始亮度值和原始三刺激值后,可采用亮度校正系数对灯点的亮度进行校正,得到灯点的校正后的亮度值,以及采用三刺激值各自对应的色度校正系数分别对灯点的三刺激值进行校正,得到校正后的三刺激值。更具体地,对灯点的三刺激值进行校正时,可采用红色分量的校正系数对三刺激值中的红色刺激值进行校正,采用绿色分量的校正系数对三刺激值中的绿色刺激值进行校正,采用蓝色分量的校正系数对三刺激值中的蓝色刺激值进行校正。In the specific implementation, after obtaining the original brightness value and the original tri-stimulus value of the lamp point, the brightness correction coefficient can be used to correct the brightness of the lamp point, and the corrected brightness value of the lamp point can be obtained, and the respective corresponding three-stimulus values can be used to correct the brightness of the lamp point. The chromaticity correction coefficients correct the tristimulus values of the lamp points respectively to obtain the corrected tristimulus values. More specifically, when correcting the tristimulus values of the light point, the correction coefficient of the red component can be used to correct the red stimulus value among the tristimulus values, and the green component can be used to correct the green stimulus value among the tristimulus values. Correction, using the correction coefficient of the blue component to correct the blue stimulus value in the tristimulus value.
实际应用中,还可基于色度学方程C=X[X]+Y[Y]+Z[Z],对LED显示屏中灯点的亮度和色度进行校正,其中,X、Y、Z为灯点的三刺激值(即,X表示RGB灯点其中一个颜色灯点的红原色刺激量、Y表示RGB灯点其中一个颜色灯点的绿原色刺激量和Z表示RGB灯点其中一个颜色灯点的蓝原色刺激量),则二混合色的三刺激值为各组成色的三刺激值之和。另外,为了方便计算,一般仅由三原色中的[Y]原色确定亮度,即三原色中的[Y]原色既代表色品,又可代表亮度,而[X]和[Z]原色则只代表色品。In practical applications, the brightness and chromaticity of the light points in the LED display can also be corrected based on the chromaticity equation C=X[X]+Y[Y]+Z[Z], where X, Y, Z is the tristimulus value of the light point (that is, X represents the red primary color stimulus amount of one of the RGB light points, Y represents the green primary color stimulus value of one of the RGB light points, and Z represents one of the RGB light points. The blue primary color stimulus amount of the lamp point), then the tristimulus value of the two mixed colors is the sum of the tristimulus values of each component color. In addition, for the convenience of calculation, the brightness is generally only determined by the [Y] primary color of the three primary colors, that is, the [Y] primary color of the three primary colors represents both chromaticity and brightness, while [X] and [Z] primary colors only represent color. Taste.
本实施例中,采用灯点的亮度值对灯点的亮度进行校正,采用灯点的三刺激值各自对应的色度校正系数对灯点的三刺激值分别进行校正,通过使灯点亮度和三刺激值与校正系数分别形成更正确的线性对应关系,实现通过各自的校正系数进行亮度校正和色度校正时,提高显示屏亮度和色度的均匀性,从而保证良好的校正效果。In this embodiment, the brightness value of the lamp point is used to correct the brightness of the lamp point, and the chromaticity correction coefficients corresponding to the three stimulus values of the lamp point are respectively used to correct the tristimulus value of the lamp point respectively. By making the brightness of the lamp point and The tristimulus value and the correction coefficient respectively form a more correct linear correspondence relationship, which can improve the uniformity of the brightness and chromaticity of the display screen when performing brightness correction and chromaticity correction through the respective correction coefficients, thereby ensuring a good correction effect.
在另一个实施例中,如图4所示,提供了一种显示屏灯点的校正系数确定方法,本实施例中,该方法包括以下步骤:In another embodiment, as shown in FIG. 4, a method for determining a correction coefficient of a display lamp point is provided. In this embodiment, the method includes the following steps:
步骤S402,获取待校正显示屏的原始图像;Step S402, acquiring the original image of the display screen to be corrected;
步骤S404,针对原始图像中的任一个灯点,采集该灯点分别在预设的多个灰阶下的颜色参数值;颜色参数值包括亮度值和三刺激值;Step S404, for any light point in the original image, collect the color parameter values of the light point at multiple preset gray scales; the color parameter values include brightness value and tristimulus value;
步骤S406,获取预设的多个灰阶的伽玛值;多个灰阶包括第一灰阶、第二灰阶和最高灰阶;Step S406, acquiring the preset gamma values of multiple gray scales; the multiple gray scales include the first gray scale, the second gray scale and the highest gray scale;
步骤S408,获取第一灰阶的伽玛值和最高灰阶的伽玛值的比值,作为第一校正系数;第一校正系数为第一亮度校正系数或第一色度校正系数;Step S408, obtaining the ratio of the gamma value of the first gray scale to the gamma value of the highest gray scale as a first correction coefficient; the first correction coefficient is a first brightness correction coefficient or a first chroma correction coefficient;
步骤S410,获取第二灰阶的伽玛值和最高灰阶的伽玛值的比值,作为第二校正系数;第二校正系数为第二亮度校正系数或第二色度校正系数;Step S410, obtaining the ratio of the gamma value of the second gray scale to the gamma value of the highest gray scale as a second correction coefficient; the second correction coefficient is a second brightness correction coefficient or a second chroma correction coefficient;
步骤S412,获取灯点的目标颜色参数值,根据目标参数值、第一校正系数、第二校正系数和各个灰阶下的颜色参数值,得到灯点的校正系数;Step S412, obtaining the target color parameter value of the light point, and obtaining the correction coefficient of the light point according to the target parameter value, the first correction coefficient, the second correction coefficient and the color parameter values at each gray scale;
步骤S412a,当颜色参数值为亮度值时,根据目标亮度值、第一亮度校正系数、第二亮度校正系数,以及各个灰阶下的亮度值,得到灯点的亮度校正系数;Step S412a, when the color parameter value is a brightness value, obtain the brightness correction coefficient of the light point according to the target brightness value, the first brightness correction coefficient, the second brightness correction coefficient, and the brightness values at each gray scale;
步骤S412b,当颜色参数值为三刺激值时,根据目标三刺激值、第一色度校正系数、第二色度校正系数,以及多个灰阶下的三刺激值,得到灯点的三刺激值各自对应的色度校正系数。Step S412b, when the color parameter value is a tristimulus value, according to the target tristimulus value, the first chromaticity correction coefficient, the second chromaticity correction coefficient, and the tristimulus values under multiple gray scales, obtain the tristimulus value of the light point Values correspond to the chromaticity correction coefficients.
本实施例提供的显示屏灯点的校正系数确定方法,能够在高亮多灰阶亮度校正和色度校正过程中,使灯点亮度和三刺激值分别与校正系数形成更准确的线性对应关系,从而在通过亮度校正系数和三刺激值各自对应的色度校正系数分别进行亮度校正和色度校正时,亮度和色度将会更加均匀,从而保证良好的校正效果。The method for determining the correction coefficient of the display lamp point provided in this embodiment can make the brightness of the light point and the tristimulus value respectively form a more accurate linear correspondence with the correction coefficient in the process of highlight multi-grayscale brightness correction and chromaticity correction , so that the brightness and chromaticity will be more uniform when the luminance correction coefficient and the chromaticity correction coefficient corresponding to the tristimulus value are respectively used to perform the luminance correction and chromaticity correction, thereby ensuring a good correction effect.
应该理解的是,虽然图1、图2和图4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1、图2和图4中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIG. 1 , FIG. 2 and FIG. 4 are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIG. 1, FIG. 2 and FIG. 4 may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but may be performed at different times. These steps Or the execution sequence of the stages is not necessarily performed sequentially, but may be executed in turn or alternately with other steps or at least a part of steps or stages in other steps.
在一个实施例中,如图5所示,提供了一种显示屏灯点的校正系数确定装置,包括: 图像获取模块502、数据采集模块504和系数确定模块506,其中:In one embodiment, as shown in FIG. 5 , a device for determining a correction coefficient of a display lamp point is provided, including: an image acquisition module 502, a data acquisition module 504, and a coefficient determination module 506, wherein:
图像获取模块502用于获取待校正显示屏的原始图像;The image acquisition module 502 is used to acquire the original image of the display screen to be corrected;
数据采集模块504用于针对原始图像中的任一个灯点,采集灯点分别在预设的多个灰阶下的颜色参数值;The data acquisition module 504 is used for collecting the color parameter values of each light point in preset multiple gray scales for any light point in the original image;
系数确定模块506用于获取灯点的目标颜色参数值,根据目标颜色参数值和各个灰阶下的颜色参数值,获取待校正显示屏中的灯点的校正系数。The coefficient determination module 506 is used to obtain the target color parameter value of the light point, and obtain the correction coefficient of the light point in the display screen to be corrected according to the target color parameter value and the color parameter value in each gray scale.
在一个实施例中,若颜色参数值为亮度值,上述系数确定模块506具体用于获取多个灰阶的伽玛值;多个灰阶包括第一灰阶、第二灰阶和第三灰阶;根据各个灰阶的伽玛值,得到第一亮度校正系数和第二亮度校正系数;根据目标亮度值、第一亮度校正系数、第二亮度校正系数,以及各个灰阶下的亮度值,得到灯点的亮度校正系数。In one embodiment, if the value of the color parameter is a brightness value, the coefficient determination module 506 is specifically configured to acquire the gamma values of multiple gray scales; the multiple gray scales include the first gray scale, the second gray scale and the third gray scale According to the gamma value of each gray scale, the first brightness correction coefficient and the second brightness correction coefficient are obtained; according to the target brightness value, the first brightness correction coefficient, the second brightness correction coefficient, and the brightness value under each gray scale, Get the brightness correction coefficient of the light point.
在一个实施例中,上述系数确定模块506还用于获取第一灰阶的伽玛值和第三灰阶的伽玛值的比值,作为第一亮度校正系数;获取第二灰阶的伽玛值和第三灰阶的伽玛值的比值,作为第二亮度校正系数。In one embodiment, the coefficient determination module 506 is further configured to obtain the ratio of the gamma value of the first gray scale to the gamma value of the third gray scale as the first brightness correction coefficient; obtain the gamma of the second gray scale The ratio of the value to the gamma value of the third gray scale is used as the second brightness correction coefficient.
在一个实施例中,灯点的亮度校正系数通过下述关系式得到:In one embodiment, the brightness correction coefficient of the lamp point is obtained by the following relational formula:
Figure PCTCN2022072083-appb-000030
Figure PCTCN2022072083-appb-000030
其中,P luminance表示灯点的亮度校正系数,d 1表示第一亮度校正系数,d 2表示第二亮度校正系数,L表示目标亮度值,L 1表示灯点在第一灰阶下的第一亮度值,L 2表示灯点在第二灰阶下的第二亮度值;其中,0<d 1<1,0<d 2<1。 Among them, P luminance represents the brightness correction coefficient of the lamp point, d 1 represents the first brightness correction coefficient, d 2 represents the second brightness correction coefficient, L represents the target brightness value, L 1 represents the first brightness value of the lamp point under the first gray scale The brightness value, L 2 represents the second brightness value of the lamp point under the second gray scale; wherein, 0<d 1 <1, 0<d 2 <1.
在一个实施例中,若颜色参数值为三刺激值,则上述系数确定模块506还用于获取多个灰阶的伽玛值;多个灰阶包括低灰阶、第一灰阶、第二灰阶和第三灰阶;根据低灰阶的伽玛值γ 0、第一灰阶的伽玛值γ 1、第二灰阶的伽玛值γ 2、第三灰阶的伽玛值γ,得到低灰阶色度校正系数p 0=γ 0/γ、第一色度校正系数p 1=γ 1/γ,和第二色度校正系数p 2=γ 2/γ;根据目标三刺激值:Rd、Gd、Bd;低灰阶色度校正系数p 0;第一色度校正系数p 1;第二色度校正系数p 2;低灰阶下的三刺激值:R 0、G 0、B 0;第一灰阶下的三刺激值:R 1、G 1、B 1;以及第二灰阶下的三刺激值:R 2、G 2、B 2,得到灯点的三刺激值各自对应的色度校正系数; In one embodiment, if the color parameter value is a tristimulus value, the coefficient determination module 506 is also used to acquire the gamma values of multiple gray scales; multiple gray scales include low gray scale, first gray scale, second gray scale Grayscale and third grayscale; according to the gamma value of the low grayscale γ 0 , the gamma value of the first grayscale γ 1 , the gamma value of the second grayscale γ 2 , the gamma value of the third grayscale γ , to obtain the low grayscale chromaticity correction coefficient p 00 /γ, the first chromaticity correction coefficient p 11 /γ, and the second chromaticity correction coefficient p 22 /γ; according to the target tristimulus Values: Rd, Gd, Bd; low grayscale chromaticity correction coefficient p 0 ; first chromaticity correction coefficient p 1 ; second chromaticity correction coefficient p 2 ; tristimulus values at low grayscale: R 0 , G 0 , B 0 ; the tristimulus values under the first gray scale: R 1 , G 1 , B 1 ; and the tristimulus values under the second gray scale: R 2 , G 2 , B 2 , to get the tristimulus values of the light point The respective chroma correction coefficients;
其中,低灰阶下的三刺激值为:
Figure PCTCN2022072083-appb-000031
Among them, the tri-stimulus value at low gray scale is:
Figure PCTCN2022072083-appb-000031
第一灰阶下的三刺激值为:
Figure PCTCN2022072083-appb-000032
The tristimulus values under the first gray scale are:
Figure PCTCN2022072083-appb-000032
第二灰阶下的三刺激值为:
Figure PCTCN2022072083-appb-000033
The tristimulus values under the second gray scale are:
Figure PCTCN2022072083-appb-000033
目标三刺激值为:
Figure PCTCN2022072083-appb-000034
The target tristimulus values are:
Figure PCTCN2022072083-appb-000034
其中,0<p 0<1,0<p 1<1,0<p 2<1; Among them, 0<p 0 <1, 0<p 1 <1, 0<p 2 <1;
X R0表示低灰阶下的红色灯点的红原色刺激量、Y R0表示低灰阶下的红色灯点的绿原色刺激量和Z R0表示低灰阶下的红色灯点的蓝原色刺激量;X G0表示低灰阶下的绿色灯点的红原色刺激量、Y G0表示低灰阶下的绿色灯点的绿原色刺激量和Z G0表示低灰阶下的绿色灯点的蓝原色刺激量;X B0表示低灰阶下的蓝色灯点的红原色刺激量、Y B0表示低灰阶下的蓝色灯点的绿原色刺激量和Z B0表示低灰阶下的蓝色灯点的蓝原色刺激量;X R1表示第一灰阶下的红色灯点的红原色刺激量、Y R1表示第一灰阶下的红色灯点的绿原色刺激量和Z R1表示第一灰阶下的红色灯点的蓝原色刺激量;X G1表示第一灰阶下的绿色灯点的红原色刺激量、Y G1表示第一灰阶下的绿色灯点的绿原色刺激量和Z G1表示第一灰阶下的绿色灯点的蓝原色刺激量;X B1表示第一灰阶下的蓝色灯点的红原色刺激量、Y B1表示第一灰阶下的蓝色灯点的绿原色刺激量和Z B1表示第一灰阶下的蓝色灯点的蓝原色刺激量;X R2表示第二灰阶下的红色灯点的红原色刺激量、Y R2表示第二灰阶下的红色灯点的绿原色刺激量和Z R2表示第二灰阶下的红色灯点的蓝原色刺激量;X G2表示第二灰阶下的绿色灯点的红原色刺激量、Y G2表示第二灰阶下的绿色灯点的绿原色刺激量和Z G2表示第二灰阶下的绿色灯点的蓝原色刺激量;X B2表示第二灰阶下的蓝色灯点的红原色刺激量、Y B2表示第二灰阶下的蓝色灯点的绿原色刺激量和Z B2表示第二灰阶下的蓝色灯点的蓝原色刺激量;X Rd表示目标红色灯点的红原色刺激量、Y Rd表示目标红色灯点的绿原色刺激量和Z Rd表示目标红色灯点的蓝原色刺激量;X Gd表示目标绿色灯点的红原色刺激量、Y Gd表示目标绿色灯点的绿原色刺激量和Z Gd表示目标绿色灯点的蓝原色刺激量;X Bd表示目标蓝色灯点的红原色刺激量、Y Bd表示目标蓝色灯点的绿原色刺激量和Z Bd表示目标蓝色灯点的蓝原色刺激量。 X R0 represents the red primary color stimulation amount of red light points under low gray scale, Y R0 represents the green primary color stimulation amount of red light points under low gray scale, and Z R0 represents the blue primary color stimulation amount of red light points under low gray scale ; X G0 represents the red primary color stimulation amount of the green light point under the low gray scale, Y G0 represents the green primary color stimulation amount of the green light point under the low gray scale and Z G0 represents the blue primary color stimulation of the green light point under the low gray scale Amount; X B0 represents the red primary color stimulation amount of the blue light point under the low gray scale, Y B0 represents the green primary color stimulation amount of the blue light point under the low gray scale and Z B0 represents the blue light point under the low gray scale X R1 represents the red primary color stimulation amount of the red light point under the first gray scale, Y R1 represents the green primary color stimulation amount of the red light point under the first gray scale and Z R1 represents the green primary color stimulation amount of the red light point under the first gray scale X G1 represents the red primary color stimulation amount of the green light point under the first gray scale, Y G1 represents the green primary color stimulation amount of the green light point under the first gray scale, and Z G1 represents the green primary color stimulation amount of the green light point under the first gray scale. The blue primary color stimulation amount of the green light point under the first gray scale; X B1 represents the red primary color stimulation amount of the blue light point under the first gray scale, and Y B1 represents the green primary color stimulation amount of the blue light point under the first gray scale Amount and Z B1 represent the blue primary color stimulation amount of the blue light point under the first gray scale; X R2 represent the red primary color stimulation amount of the red light point under the second gray scale; Y R2 represent the red light point under the second gray scale The green primary color stimulation amount of the point and Z R2 represent the blue primary color stimulation amount of the red light point under the second gray scale; X G2 represents the red primary color stimulation amount of the green light point under the second gray scale, and Y G2 represents the second gray scale The green primary color stimulation amount of the green light point below and Z G2 represents the blue primary color stimulation amount of the green light point under the second gray scale; X B2 represents the red primary color stimulation amount of the blue light point under the second gray scale, Y B2 Represents the green primary color stimulus amount of the blue light point under the second gray scale and Z B2 represents the blue primary color stimulus amount of the blue light point under the second gray scale; X Rd represents the red primary color stimulus amount of the target red light point, Y Rd represents the green primary color stimulation amount of the target red light point and Z Rd represents the blue primary color stimulation amount of the target red light point; X Gd represents the red primary color stimulation amount of the target green light point, Y Gd represents the green primary color stimulation amount of the target green light point and Z Gd represent the blue primary color stimulus amount of the target green light point; X Bd represent the red primary color stimulus amount of the target blue light point, Y Bd represent the green primary color stimulus amount of the target blue light point and Z Bd represent the target blue light point The amount of the blue primary color stimulus.
在一个实施例中,上述系数确定模块506还用于获取达到目标色域的关系式:
Figure PCTCN2022072083-appb-000035
Figure PCTCN2022072083-appb-000036
根据达到目标色域的三个关系式,得到系数
Figure PCTCN2022072083-appb-000037
Figure PCTCN2022072083-appb-000038
的关系式分别为:
Figure PCTCN2022072083-appb-000039
Figure PCTCN2022072083-appb-000040
Figure PCTCN2022072083-appb-000041
用第一灰阶的三刺激值R 1、G 1、B 1代替低灰阶的三刺激值R 0、G 0、B 0,得到替代后的系数
Figure PCTCN2022072083-appb-000042
Figure PCTCN2022072083-appb-000043
的关系式分别为:
Figure PCTCN2022072083-appb-000044
根据替代后的系数
Figure PCTCN2022072083-appb-000045
Figure PCTCN2022072083-appb-000046
的关系式,得到灯点的三刺激值各自对应的色度校正系数分别为:
In one embodiment, the above-mentioned coefficient determination module 506 is also used to obtain the relational expression for reaching the target color gamut:
Figure PCTCN2022072083-appb-000035
and
Figure PCTCN2022072083-appb-000036
According to the three relational expressions to achieve the target color gamut, the coefficients are obtained
Figure PCTCN2022072083-appb-000037
and
Figure PCTCN2022072083-appb-000038
The relational expressions are:
Figure PCTCN2022072083-appb-000039
Figure PCTCN2022072083-appb-000040
and
Figure PCTCN2022072083-appb-000041
Replace the tristimulus values R 0 , G 0 , and B 0 of the low gray level with the tristimulus values R 1 , G 1 , and B 1 of the first gray level to obtain the substituted coefficients
Figure PCTCN2022072083-appb-000042
and
Figure PCTCN2022072083-appb-000043
The relational expressions are:
Figure PCTCN2022072083-appb-000044
According to the coefficient after substitution
Figure PCTCN2022072083-appb-000045
and
Figure PCTCN2022072083-appb-000046
According to the relational expression, the chromaticity correction coefficients corresponding to the tristimulus values of the lamp points are respectively:
Figure PCTCN2022072083-appb-000047
Figure PCTCN2022072083-appb-000047
在一个实施例中,上述装置还包括校正模块用于获取灯点的原始颜色参数值;基于校正系数对原始颜色参数值进行校正,得到灯点的校正后的颜色参数值。In one embodiment, the above-mentioned device further includes a correction module for acquiring the original color parameter value of the light spot; correcting the original color parameter value based on the correction coefficient to obtain the corrected color parameter value of the light spot.
需要说明的是,本申请的显示屏灯点的校正系数确定装置与本申请的显示屏灯点的校正系数确定方法一一对应,在上述显示屏灯点的校正系数确定方法的实施例阐述的技术特征及其有益效果均适用于显示屏灯点的校正系数确定装置的实施例中,具体内容可参见本申请方法实施例中的叙述,此处不再赘述,特此声明。此外,上述显示屏灯点的校正系数确定装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。It should be noted that the device for determining the correction coefficient of the display screen light point of the present application corresponds to the method for determining the correction coefficient of the display screen light point of the present application. The technical features and beneficial effects are all applicable to the embodiment of the device for determining the correction coefficient of the light point of the display screen. For specific content, please refer to the description in the method embodiment of the present application, which will not be repeated here, and is hereby declared. In addition, each module in the device for determining the correction coefficient of the light point of the display screen can be fully or partially realized by software, hardware or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种显示屏灯点的校正系数确定方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure may be as shown in FIG. 6 . The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, a method for determining the correction coefficient of the light point of the display screen is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer equipment to which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
获取待校正显示屏的原始图像;Obtain the original image of the display screen to be corrected;
针对原始图像中的任一个灯点,采集灯点分别在预设的多个灰阶下的颜色参数值;For any light point in the original image, collect the color parameter values of the light point in preset multiple gray scales;
获取灯点的目标颜色参数值,根据目标颜色参数值和各个灰阶下的颜色参数值,获取待校正显示屏中的灯点的校正系数。The target color parameter value of the light point is obtained, and the correction coefficient of the light point in the display screen to be corrected is obtained according to the target color parameter value and the color parameter value under each gray scale.
在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, there is also provided a computer device, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取待校正显示屏的原始图像;Obtain the original image of the display screen to be corrected;
针对原始图像中的任一个灯点,采集灯点分别在预设的多个灰阶下的颜色参数值;For any light point in the original image, collect the color parameter values of the light point in preset multiple gray scales;
获取灯点的目标颜色参数值,根据目标颜色参数值和各个灰阶下的颜色参数值,获取待校正显示屏中的灯点的校正系数。The target color parameter value of the light point is obtained, and the correction coefficient of the light point in the display screen to be corrected is obtained according to the target color parameter value and the color parameter value under each gray scale.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质或易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory medium or a volatile computer-readable storage medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile memory and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (12)

  1. 一种显示屏灯点的校正系数确定方法,包括:A method for determining a correction coefficient of a display screen light point, comprising:
    获取待校正显示屏的原始图像;Obtain the original image of the display screen to be corrected;
    针对所述原始图像中的任一个灯点,采集所述灯点分别在预设的多个灰阶下的颜色参数值;For any light point in the original image, collect the color parameter values of the light point in a plurality of preset gray scales;
    获取所述灯点的目标颜色参数值,根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数。The target color parameter value of the light point is acquired, and the correction coefficient of the light point in the display screen to be corrected is acquired according to the target color parameter value and the color parameter values in each gray scale.
  2. 根据权利要求1所述的方法,其中,所述根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数,包括:当所述颜色参数值为亮度值时,The method according to claim 1, wherein said obtaining the correction coefficient of the light point in the display screen to be corrected according to the target color parameter value and the color parameter value under each of the gray scales includes: : When the value of the color parameter is the brightness value,
    获取所述多个灰阶的伽玛值;所述多个灰阶包括第一灰阶、第二灰阶和第三灰阶;Acquiring gamma values of the multiple gray scales; the multiple gray scales include a first gray scale, a second gray scale, and a third gray scale;
    根据各个所述灰阶的伽玛值,得到第一亮度校正系数和第二亮度校正系数;Obtaining a first brightness correction coefficient and a second brightness correction coefficient according to the gamma value of each gray scale;
    根据目标亮度值、所述第一亮度校正系数、所述第二亮度校正系数,以及各个所述灰阶下的亮度值,得到所述灯点的亮度校正系数。The brightness correction coefficient of the light point is obtained according to the target brightness value, the first brightness correction coefficient, the second brightness correction coefficient, and the brightness values at each of the gray scales.
  3. 根据权利要求2所述的方法,其中,所述根据各个所述灰阶的伽玛值,得到第一亮度校正系数和第二亮度校正系数,包括:The method according to claim 2, wherein said obtaining the first brightness correction coefficient and the second brightness correction coefficient according to the gamma value of each said gray scale comprises:
    获取所述第一灰阶的伽玛值和所述第三灰阶的伽玛值的比值,作为第一亮度校正系数;Obtaining the ratio of the gamma value of the first gray scale to the gamma value of the third gray scale as a first brightness correction coefficient;
    获取所述第二灰阶的伽玛值和所述第三灰阶的伽玛值的比值,作为第二亮度校正系数。Acquiring a ratio of the gamma value of the second gray scale to the gamma value of the third gray scale as a second brightness correction coefficient.
  4. 根据权利要求2-3任一项所述的方法,其中,所述灯点的亮度校正系数通过下述关系式得到:The method according to any one of claims 2-3, wherein the brightness correction coefficient of the lamp point is obtained by the following relational formula:
    Figure PCTCN2022072083-appb-100001
    Figure PCTCN2022072083-appb-100001
    其中,P luminance表示所述灯点的亮度校正系数,d 1表示第一亮度校正系数,d 2表示第二亮度校正系数,L表示目标亮度值,L 1表示灯点在第一灰阶下的第一亮度值,L 2表示灯点在第二灰阶下的第二亮度值;其中,0<d 1<1,0<d 2<1。 Wherein, P luminance represents the luminance correction coefficient of the lamp point, d 1 represents the first luminance correction coefficient, d 2 represents the second luminance correction coefficient, L represents the target luminance value, and L 1 represents the value of the light point under the first gray scale The first brightness value, L 2 represents the second brightness value of the light point under the second gray scale; wherein, 0<d 1 <1, 0<d 2 <1.
  5. 根据权利要求1所述的方法,其中,所述根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数,包括:当所述颜色参数值为三刺激值时,The method according to claim 1, wherein said obtaining the correction coefficient of the light point in the display screen to be corrected according to the target color parameter value and the color parameter value under each of the gray scales includes: : When the color parameter value is a tristimulus value,
    获取所述多个灰阶的伽玛值;所述多个灰阶包括低灰阶、第一灰阶、第二灰阶和第三灰阶;Acquiring gamma values of the multiple gray scales; the multiple gray scales include a low gray scale, a first gray scale, a second gray scale, and a third gray scale;
    根据所述低灰阶的伽玛值γ 0、所述第一灰阶的伽玛值γ 1、所述第二灰阶的伽玛值γ 2、所述第三灰阶的伽玛值γ,得到低灰阶色度校正系数p 0=γ 0/γ、第一色度校正系数p 1=γ 1/γ,和第二色度校正系数p 2=γ 2/γ; According to the gamma value γ 0 of the low gray scale, the gamma value γ 1 of the first gray scale, the gamma value γ 2 of the second gray scale, and the gamma value γ of the third gray scale , to obtain the low grayscale chromaticity correction coefficient p 00 /γ, the first chromaticity correction coefficient p 11 /γ, and the second chromaticity correction coefficient p 22 /γ;
    根据目标三刺激值:Rd、Gd、Bd;所述低灰阶色度校正系数p 0;所述第一色度校正系数p 1;所述第二色度校正系数p 2;所述低灰阶下的三刺激值:R 0、G 0、B 0;所述第一灰阶下的三刺激值:R 1、G 1、B 1;以及所述第二灰阶下的三刺激值:R 2、G 2、B 2,得到所述灯点的三刺激值各自对应的色度校正系数; According to the target tristimulus value: Rd, Gd, Bd; the low grayscale chromaticity correction coefficient p 0 ; the first chromaticity correction coefficient p 1 ; the second chromaticity correction coefficient p 2 ; The tristimulus values in the first gray scale: R 0 , G 0 , B 0 ; the tristimulus values in the first gray scale: R 1 , G 1 , B 1 ; and the tristimulus values in the second gray scale: R 2 , G 2 , B 2 , to obtain the chromaticity correction coefficients corresponding to the tristimulus values of the light points;
    其中,低灰阶下的三刺激值为:
    Figure PCTCN2022072083-appb-100002
    Among them, the tri-stimulus value at low gray scale is:
    Figure PCTCN2022072083-appb-100002
    第一灰阶下的三刺激值为:
    Figure PCTCN2022072083-appb-100003
    The tristimulus values under the first gray scale are:
    Figure PCTCN2022072083-appb-100003
    第二灰阶下的三刺激值为:
    Figure PCTCN2022072083-appb-100004
    The tristimulus values under the second gray scale are:
    Figure PCTCN2022072083-appb-100004
    目标三刺激值为:
    Figure PCTCN2022072083-appb-100005
    The target tristimulus values are:
    Figure PCTCN2022072083-appb-100005
    其中,0<p 0<1,0<p 1<1,0<p 2<1; Among them, 0<p 0 <1, 0<p 1 <1, 0<p 2 <1;
    X R0表示低灰阶下的红色灯点的红原色刺激量、Y R0表示低灰阶下的红色灯点的绿原色刺激量和Z R0表示低灰阶下的红色灯点的蓝原色刺激量; X R0 represents the red primary color stimulation amount of red light points under low gray scale, Y R0 represents the green primary color stimulation amount of red light points under low gray scale, and Z R0 represents the blue primary color stimulation amount of red light points under low gray scale ;
    X G0表示低灰阶下的绿色灯点的红原色刺激量、Y G0表示低灰阶下的绿色灯点的绿原色刺激量和Z G0表示低灰阶下的绿色灯点的蓝原色刺激量; X G0 represents the red primary color stimulation amount of the green light point under the low gray scale, Y G0 represents the green primary color stimulation amount of the green light point under the low gray scale, and Z G0 represents the blue primary color stimulation amount of the green light point under the low gray scale ;
    X B0表示低灰阶下的蓝色灯点的红原色刺激量、Y B0表示低灰阶下的蓝色灯点的绿原色刺激量和Z B0表示低灰阶下的蓝色灯点的蓝原色刺激量; X B0 represents the red primary color stimulation amount of the blue light point under the low gray scale, Y B0 represents the green primary color stimulation amount of the blue light point under the low gray scale, and Z B0 represents the blue color of the blue light point under the low gray scale. primary color stimulus;
    X R1表示第一灰阶下的红色灯点的红原色刺激量、Y R1表示第一灰阶下的红色灯点的绿原色刺激量和Z R1表示第一灰阶下的红色灯点的蓝原色刺激量; X R1 represents the red primary color stimulation amount of the red light point under the first gray scale, Y R1 represents the green primary color stimulation amount of the red light point under the first gray scale, and Z R1 represents the blue color of the red light point under the first gray scale primary color stimulus;
    X G1表示第一灰阶下的绿色灯点的红原色刺激量、Y G1表示第一灰阶下的绿色灯点的绿 原色刺激量和Z G1表示第一灰阶下的绿色灯点的蓝原色刺激量; X G1 represents the red primary color stimulation amount of the green light point under the first gray scale, Y G1 represents the green primary color stimulation amount of the green light point under the first gray scale, and Z G1 represents the blue color of the green light point under the first gray scale primary color stimulus;
    X B1表示第一灰阶下的蓝色灯点的红原色刺激量、Y B1表示第一灰阶下的蓝色灯点的绿原色刺激量和Z B1表示第一灰阶下的蓝色灯点的蓝原色刺激量; X B1 represents the red primary color stimulation amount of the blue light point under the first gray scale, Y B1 represents the green primary color stimulation amount of the blue light point under the first gray scale and Z B1 represents the blue light point under the first gray scale The blue primary color stimulus amount of the dot;
    X R2表示第二灰阶下的红色灯点的红原色刺激量、Y R2表示第二灰阶下的红色灯点的绿原色刺激量和Z R2表示第二灰阶下的红色灯点的蓝原色刺激量; X R2 represents the red primary color stimulation amount of the red light point under the second gray scale, Y R2 represents the green primary color stimulation amount of the red light point under the second gray scale, and Z R2 represents the blue color of the red light point under the second gray scale primary color stimulus;
    X G2表示第二灰阶下的绿色灯点的红原色刺激量、Y G2表示第二灰阶下的绿色灯点的绿原色刺激量和Z G2表示第二灰阶下的绿色灯点的蓝原色刺激量; X G2 represents the red primary color stimulation amount of the green light point under the second gray scale, Y G2 represents the green primary color stimulation amount of the green light point under the second gray scale, and Z G2 represents the blue color of the green light point under the second gray scale primary color stimulus;
    X B2表示第二灰阶下的蓝色灯点的红原色刺激量、Y B2表示第二灰阶下的蓝色灯点的绿原色刺激量和Z B2表示第二灰阶下的蓝色灯点的蓝原色刺激量; X B2 represents the red primary color stimulation amount of the blue light point under the second gray scale, Y B2 represents the green primary color stimulation amount of the blue light point under the second gray scale and Z B2 represents the blue light point under the second gray scale The blue primary color stimulus amount of the dot;
    X Rd表示目标红色灯点的红原色刺激量、Y Rd表示目标红色灯点的绿原色刺激量和Z Rd表示目标红色灯点的蓝原色刺激量; X Rd represents the red primary color stimulation amount of the target red light point, Y Rd represents the green primary color stimulation amount of the target red light point, and Z Rd represents the blue primary color stimulation amount of the target red light point;
    X Gd表示目标绿色灯点的红原色刺激量、Y Gd表示目标绿色灯点的绿原色刺激量和Z Gd表示目标绿色灯点的蓝原色刺激量; X Gd represents the red primary color stimulation amount of the target green light point, Y Gd represents the green primary color stimulation amount of the target green light point and Z Gd represents the blue primary color stimulation amount of the target green light point;
    X Bd表示目标蓝色灯点的红原色刺激量、Y Bd表示目标蓝色灯点的绿原色刺激量和Z Bd表示目标蓝色灯点的蓝原色刺激量。 X Bd represents the red primary color stimulation amount of the target blue light point, Y Bd represents the green primary color stimulation amount of the target blue light point, and Z Bd represents the blue primary color stimulation amount of the target blue light point.
  6. 根据权利要求5所述的方法,其中,所述根据目标三刺激值:Rd、Gd、Bd;所述低灰阶色度校正系数p 0;所述第一色度校正系数p 1;所述第二色度校正系数p 2;所述低灰阶下的三刺激值:R 0、G 0、B 0;所述第一灰阶下的三刺激值:R 1、G 1、B 1;以及所述第二灰阶下的三刺激值:R 2、G 2、B 2,得到所述灯点的三刺激值各自对应的色度校正系数,包括: The method according to claim 5, wherein, according to the target tri-stimulus values: Rd, Gd, Bd; the low grayscale chromaticity correction coefficient p 0 ; the first chromaticity correction coefficient p 1 ; the The second chroma correction coefficient p 2 ; the tristimulus values at the low gray scale: R 0 , G 0 , B 0 ; the tristimulus values at the first gray scale: R 1 , G 1 , B 1 ; And the tri-stimulus values under the second gray scale: R 2 , G 2 , B 2 , to obtain the chromaticity correction coefficients corresponding to the tri-stimulus values of the light points, including:
    获取达到目标色域的关系式:
    Figure PCTCN2022072083-appb-100006
    Figure PCTCN2022072083-appb-100007
    Figure PCTCN2022072083-appb-100008
    Obtain the relational expression to achieve the target color gamut:
    Figure PCTCN2022072083-appb-100006
    Figure PCTCN2022072083-appb-100007
    and
    Figure PCTCN2022072083-appb-100008
    根据所述达到目标色域的三个关系式,得到系数
    Figure PCTCN2022072083-appb-100009
    Figure PCTCN2022072083-appb-100010
    的关系式分别为:
    Figure PCTCN2022072083-appb-100011
    According to the three relational expressions for reaching the target color gamut, the coefficients are obtained
    Figure PCTCN2022072083-appb-100009
    and
    Figure PCTCN2022072083-appb-100010
    The relational expressions are:
    Figure PCTCN2022072083-appb-100011
    Figure PCTCN2022072083-appb-100012
    Figure PCTCN2022072083-appb-100012
    and
    Figure PCTCN2022072083-appb-100013
    Figure PCTCN2022072083-appb-100013
    用第一灰阶的三刺激值R 1、G 1、B 1代替低灰阶的三刺激值R 0、G 0、B 0,得到替代后的系数
    Figure PCTCN2022072083-appb-100014
    Figure PCTCN2022072083-appb-100015
    的关系式分别为:
    Replace the tristimulus values R 0 , G 0 , and B 0 of the low gray level with the tristimulus values R 1 , G 1 , and B 1 of the first gray level to obtain the substituted coefficients
    Figure PCTCN2022072083-appb-100014
    and
    Figure PCTCN2022072083-appb-100015
    The relational expressions are:
    Figure PCTCN2022072083-appb-100016
    Figure PCTCN2022072083-appb-100016
    Figure PCTCN2022072083-appb-100017
    Figure PCTCN2022072083-appb-100017
    Figure PCTCN2022072083-appb-100018
    Figure PCTCN2022072083-appb-100018
    根据替代后的系数
    Figure PCTCN2022072083-appb-100019
    Figure PCTCN2022072083-appb-100020
    的关系式,得到灯点的三刺激值各自对应的色度校正系数分别为:
    Figure PCTCN2022072083-appb-100021
    According to the coefficient after substitution
    Figure PCTCN2022072083-appb-100019
    and
    Figure PCTCN2022072083-appb-100020
    According to the relational expression, the chromaticity correction coefficients corresponding to the tristimulus values of the lamp points are respectively:
    Figure PCTCN2022072083-appb-100021
  7. 根据权利要求1所述的方法,还包括:在根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数之后,The method according to claim 1, further comprising: after acquiring the correction coefficients of the light points in the display screen to be corrected according to the target color parameter value and the color parameter values at each gray scale,
    获取所述灯点的原始颜色参数值;Obtain the original color parameter value of the light point;
    基于所述校正系数对所述原始颜色参数值进行校正,得到所述灯点的校正后的颜色参数值。The original color parameter value is corrected based on the correction coefficient to obtain the corrected color parameter value of the light point.
  8. 根据权利要求1所述的方法,其中,当所述多个灰阶包括多于三个灰阶时,获取第n灰阶的伽玛值和最高灰阶的伽玛值的比值,作为第n亮度校正系数,其中n为正整数。The method according to claim 1, wherein when the plurality of grayscales includes more than three grayscales, the ratio of the gamma value of the nth grayscale to the gamma value of the highest grayscale is obtained as the nth grayscale Brightness correction coefficient, where n is a positive integer.
  9. 根据权利要求1所述的方法,其中,所述根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数,包括:当所述颜色参数值为三刺激值时,The method according to claim 1, wherein said obtaining the correction coefficient of the light point in the display screen to be corrected according to the target color parameter value and the color parameter value under each of the gray scales includes: : When the color parameter value is a tristimulus value,
    根据所述预设的多个灰阶的伽玛值,得到第一色度校正系数和第二色度校正系数,其中所述多个灰阶包括第一灰阶、第二灰阶和第三灰阶;According to the preset gamma values of multiple gray scales, a first chromaticity correction coefficient and a second chromaticity correction coefficient are obtained, wherein the multiple gray scales include the first gray scale, the second gray scale and the third gray scale grayscale;
    根据目标三刺激值、所述第一色度校正系数、所述第二色度校正系数,以及各个灰阶下的三刺激值,得到灯点的三刺激值各自对应的色度校正系数。According to the target tristimulus value, the first chromaticity correction coefficient, the second chromaticity correction coefficient, and the tristimulus values at each gray scale, the chromaticity correction coefficients corresponding to the tristimulus values of the light points are obtained.
  10. 一种显示屏灯点的校正系数确定装置,包括:A device for determining a correction coefficient of a display lamp point, comprising:
    图像获取模块,用于获取待校正显示屏的原始图像;An image acquisition module, configured to acquire the original image of the display screen to be corrected;
    数据采集模块,用于针对所述原始图像中的任一个灯点,采集所述灯点分别在预设的多个灰阶下的颜色参数值;A data acquisition module, configured to collect color parameter values of each light point in preset multiple gray scales for any light point in the original image;
    系数确定模块,用于获取所述灯点的目标颜色参数值,根据所述目标颜色参数值和各个所述灰阶下的颜色参数值,获取所述待校正显示屏中的所述灯点的校正系数。A coefficient determination module, configured to obtain the target color parameter value of the light point, and obtain the light point value of the light point in the display screen to be corrected according to the target color parameter value and the color parameter values under each gray scale. Correction coefficient.
  11. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至9中任一项所述方法的步骤。A computer device, comprising a memory and a processor, the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 9 when executing the computer program.
  12. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至9中任一项所述的方法的步骤。A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
PCT/CN2022/072083 2021-07-21 2022-01-14 Method and apparatus for determining correction coefficient of display screen light point, and computer device WO2023000631A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110827101.6 2021-07-21
CN202110827101.6A CN113284456B (en) 2021-07-21 2021-07-21 Method and device for determining correction coefficient of display screen lamp point and computer equipment

Publications (1)

Publication Number Publication Date
WO2023000631A1 true WO2023000631A1 (en) 2023-01-26

Family

ID=77286897

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/072083 WO2023000631A1 (en) 2021-07-21 2022-01-14 Method and apparatus for determining correction coefficient of display screen light point, and computer device

Country Status (2)

Country Link
CN (1) CN113284456B (en)
WO (1) WO2023000631A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862880B (en) * 2019-04-15 2021-11-16 西安诺瓦星云科技股份有限公司 Method for acquiring multi-color gamma correction table and display control method, device and system
CN113284456B (en) * 2021-07-21 2021-12-10 卡莱特云科技股份有限公司 Method and device for determining correction coefficient of display screen lamp point and computer equipment
CN113903285A (en) * 2021-09-09 2022-01-07 西安诺瓦星云科技股份有限公司 Display unit correction method, device and computer readable storage medium
CN113763873A (en) * 2021-09-13 2021-12-07 北京集创北方科技股份有限公司 Correction method, system and device of LED display screen, electronic equipment and storage medium
CN113936589B (en) * 2021-10-26 2022-09-30 卡莱特云科技股份有限公司 Virtual pixel brightness and chrominance correction method and device
CN113936590B (en) * 2021-10-26 2022-09-16 卡莱特云科技股份有限公司 Brightness correction method and device based on virtual pixel LED display screen and display system
CN114067731B (en) * 2021-11-27 2022-09-16 卡莱特云科技股份有限公司 Low gray scale correction method and device for LED display screen and brightness correction system
CN114327339B (en) * 2021-12-29 2024-04-12 卡莱特云科技股份有限公司 LED display screen simulation correction display method and device and electronic equipment
CN114299857B (en) * 2021-12-30 2023-05-30 卡莱特云科技股份有限公司 LED display screen multilayer correction method and device and computer equipment
CN114582278B (en) * 2022-05-05 2022-07-15 卡莱特云科技股份有限公司 Method, device and system for adjusting brightness correction coefficient of LED display screen
CN114927091B (en) * 2022-05-30 2023-11-28 卡莱特云科技股份有限公司 Thermal screen effect processing method, device and system for LED display screen

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020075277A1 (en) * 2000-01-26 2002-06-20 Seiko Epson Corporation Non-uniformity correction for displayed images
CN1945421A (en) * 2005-10-07 2007-04-11 精工爱普生株式会社 Image display system, image display device, image adjustment processing program
CN101377918A (en) * 2008-09-19 2009-03-04 北京巨数数字技术开发有限公司 Electronic display screen system, method and system for correcting electronic display screen brightness
CN101436394A (en) * 2008-12-22 2009-05-20 北京巨数数字技术开发有限公司 Liquid crystal display adjustment device, liquid crystal display device and image signal processing method
CN101650908A (en) * 2009-07-20 2010-02-17 北京巨数数字技术开发有限公司 Benchmark brightness obtaining method, point-to-point correction system and correction method
CN113284456A (en) * 2021-07-21 2021-08-20 卡莱特云科技股份有限公司 Method and device for determining correction coefficient of display screen lamp point and computer equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447173B (en) * 2008-12-22 2013-11-06 范红霞 System for adjusting point-to-point brightness in a plant and method
CN101916539B (en) * 2010-08-20 2012-10-03 西安诺瓦电子科技有限公司 System and method for correcting brightness and chromaticity of LED display screen point by point
CN102402944B (en) * 2011-12-20 2014-11-12 深圳市奥拓电子股份有限公司 Point-by-point correcting system and point-by-point correcting method for LED display screen
KR102037716B1 (en) * 2012-11-23 2019-10-30 삼성디스플레이 주식회사 Method of storing gamma data in a display device, display device and method of operating a display device
CN104299565B (en) * 2014-10-13 2017-06-06 西安诺瓦电子科技有限公司 The low gray scale correction method and system of LED display
CN104464623B (en) * 2014-12-05 2017-06-20 西安诺瓦电子科技有限公司 A kind of method and device for adjusting the low GTG of light emitting diode
CN109036333B (en) * 2018-09-17 2020-06-02 广州视源电子科技股份有限公司 Display parameter correction method and device of display, terminal equipment and storage medium
CN112201203B (en) * 2020-12-07 2021-02-19 卡莱特(深圳)云科技有限公司 Method and device for determining brightness gradient error of LED display screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020075277A1 (en) * 2000-01-26 2002-06-20 Seiko Epson Corporation Non-uniformity correction for displayed images
CN1945421A (en) * 2005-10-07 2007-04-11 精工爱普生株式会社 Image display system, image display device, image adjustment processing program
CN101377918A (en) * 2008-09-19 2009-03-04 北京巨数数字技术开发有限公司 Electronic display screen system, method and system for correcting electronic display screen brightness
CN101436394A (en) * 2008-12-22 2009-05-20 北京巨数数字技术开发有限公司 Liquid crystal display adjustment device, liquid crystal display device and image signal processing method
CN101650908A (en) * 2009-07-20 2010-02-17 北京巨数数字技术开发有限公司 Benchmark brightness obtaining method, point-to-point correction system and correction method
CN113284456A (en) * 2021-07-21 2021-08-20 卡莱特云科技股份有限公司 Method and device for determining correction coefficient of display screen lamp point and computer equipment

Also Published As

Publication number Publication date
CN113284456B (en) 2021-12-10
CN113284456A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
WO2023000631A1 (en) Method and apparatus for determining correction coefficient of display screen light point, and computer device
JP5401728B2 (en) How to create a look-up table for display color calibration
US10679544B2 (en) Digital image processing chain and processing blocks and a display including the same
CN111243550B (en) Adjusting device, adjusting method and medium for gamma voltage and white balance of display screen
CN110197642B (en) Method for acquiring tricolor brightness correction relationship, correction method and correction device of display
CN107369408B (en) Toning method, toning device, display driver and display system
US9934595B2 (en) White point calibration and gamut mapping for a display
CN102237025B (en) Lookup table generation method used in display color correction
CN109166555B (en) Gamma curve correction method and device
US6690383B1 (en) Color calibration of displays
US9055283B2 (en) Methods for display uniform gray tracking and gamma calibration
CN110189720B (en) White balance parameter generation method for four-color pixel and display device
JP2013536956A (en) Adaptive color correction for displays with backlight modulation
CN112292851B (en) Color gamut correction method and device
CN110223650B (en) White balance parameter generation method for four-color pixel and display device
JP6238757B2 (en) White balance adjustment method, white balance adjustment device and display device
JP2011034044A (en) Method for calibration of improving luminance uniformity in display device, and related device
CN112992059B (en) Method and related device for adjusting Gamma of OLED display screen
CN110738957A (en) Display system and color characteristic measuring method
CN109410889B (en) White balance adjusting method and device and electronic equipment
TW201337903A (en) Method of introducing white brightness parameter of display panel into white optical feature based on display panel for calculating gray-level white balance gain value to increase its gray-level white balance adjustment precision
JP2005196156A (en) Color image display apparatus, color converter, color-simulating apparatus, and methods for them
JP6525511B2 (en) Image processing apparatus and control method thereof
KR100565266B1 (en) A method of gamma correction colour temperature for liquid crystal display
TWI438765B (en) A system and a method for introducing the three primary color luminance parameters of the display panel into gray scale white balance gain values ​​calculated based on the white optical characteristics of the display panel to improve the accuracy of its gray scale white balance

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: 22844805

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE