CN113129815B - Color gamut coefficient processing method and device, LED display screen and computer equipment - Google Patents
Color gamut coefficient processing method and device, LED display screen and computer equipment Download PDFInfo
- Publication number
- CN113129815B CN113129815B CN202110444536.2A CN202110444536A CN113129815B CN 113129815 B CN113129815 B CN 113129815B CN 202110444536 A CN202110444536 A CN 202110444536A CN 113129815 B CN113129815 B CN 113129815B
- Authority
- CN
- China
- Prior art keywords
- color
- color gamut
- display screen
- brightness
- primary
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control 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/30—Control 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/32—Control 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]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The invention discloses a color gamut coefficient processing method and device, an LED display screen and computer equipment. Wherein, the method comprises the following steps: acquiring color coordinates and brightness of RGB (red, green and blue) three primary colors of an initial color gamut of a display screen in a correction state, color coordinates of RGB three primary colors of a target color gamut of the display screen in the correction state, color coordinates of RGB three primary colors of the display screen in a non-correction state, initial color gamut coefficients of the display screen and brightness of a primary color and a secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state; and determining the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in a correction state according to the first relation and the second relation between the three primary colors and the corresponding composite color in the Yxy color space and the parameters, and further determining the target color gamut coefficient of the display screen according to the initial color gamut coefficient.
Description
Technical Field
The invention relates to the field of display, in particular to a color gamut coefficient processing method and device, an LED display screen and computer equipment.
Background
The CIE XYZ system is a color system adopted by the International Commission on illumination (CIE for short). In this system, imaginary three primary colors X, Y and Z are used, which do not correspond to visible colors. The X, Y and Z primaries have the following properties: (1) all the X, Y and Z values are positive, and a negative primary color is not needed when the spectrum colors are matched; (2) the response of the human eye to luminance is represented by Y values. The three hypothetical primary colors X, Y, Z are named standard chromaticity observer spectral tristimulus values, which can be calculated additively for a plurality of light sources. The tristimulus values X, Y and Z of CIE XYZ are useful for defining colors, but have the disadvantage of being relatively complex to use and not intuitive. To overcome this drawback, CIE has adopted a new system space, CIE Yxy's color space.
Sometimes, color temperature is used to describe light sources of different colors. Under illumination with different color temperatures, the same white object shows different colors. Therefore, the concept of "white balance" is introduced, i.e. the white color appears consistent under different lighting conditions. In order to make white objects look uniform in color under different lighting conditions, white balance adjustment may be performed. However, in the related art, after the white balance adjustment is performed, there are also different color gamut requirements, and therefore, how to obtain the color gamut coefficients corresponding to different color gamuts has not been proposed an effective solution to the above-mentioned problems.
Disclosure of Invention
The embodiment of the invention provides a color gamut coefficient processing method and device, an LED display screen and computer equipment, and aims to at least solve the technical problems of low efficiency and low accuracy in the related art of adjusting a white balance color gamut according to human experience.
According to an aspect of the embodiments of the present invention, there is provided a color gamut coefficient processing method, including: acquiring color coordinates and brightness of RGB (red, green and blue) three primary colors of an initial color gamut of a display screen in a correction state, color coordinates of RGB three primary colors of a target color gamut of the display screen in the correction state and color coordinates of RGB three primary colors of the display screen in a non-correction state; determining white balance color coordinates and brightness according to a first relation between the color coordinates and brightness of three primary colors in a Yxy color space and the color coordinates of corresponding composite colors, a second relation between the brightness of the three primary colors in the Yxy color space and the brightness of the corresponding composite colors, and the color coordinates and brightness of the RGB three primary colors of the initial color gamut of the display screen in a correction state; determining the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the target color gamut of the display screen in the correction state, the color coordinates and the brightness of the white balance, the first relation and the second relation; determining the brightness of a primary color and the brightness of an auxiliary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the display screen in the non-correction state, the color coordinates and the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state, the first relation and the second relation; acquiring an initial color gamut coefficient corresponding to an initial color gamut of the display screen in a correction state, and the brightness of a primary color and the brightness of a secondary color respectively included by RGB three primary colors of the initial color gamut of the display screen in the correction state; and determining the target color gamut coefficient of the display screen according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state, the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state, and the initial color gamut coefficient.
Optionally, determining the target color gamut coefficient of the display screen according to the luminance of the primary color and the luminance of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the corrected state, the luminance of the primary color and the luminance of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the corrected state, and the initial color gamut coefficient includes: determining a color gamut coefficient adjusting proportion according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state and the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state; and adjusting the initial color gamut coefficient according to the color gamut coefficient adjusting proportion to obtain a target color gamut coefficient of the display screen.
Optionally, the color gamut coefficient adjusting ratio includes: a first adjustment proportion determined according to the brightness of the R primary color of each of the initial color gamut and the target color gamut, a second adjustment proportion determined according to the brightness of the G secondary color of the R primary color of each of the initial color gamut and the target color gamut, a third adjustment proportion determined according to the brightness of the B secondary color of the R primary color of each of the initial color gamut and the target color gamut, a fourth adjustment proportion determined according to the brightness of the R secondary color of the G primary color of each of the initial color gamut and the target color gamut, a fifth adjustment proportion determined according to the brightness of the G primary color of each of the initial color gamut and the target color gamut, a sixth adjustment proportion determined according to the brightness of the B secondary color of the G primary color of each of the initial color gamut and the target color gamut, and a seventh adjustment proportion determined according to the brightness of the R secondary color of the B primary color of each of the initial color gamut and the target color gamut, and the adjustment proportion is determined according to the brightness of the G auxiliary color of the B primary color of the initial color gamut and the brightness of the B main color of the B primary color of the target color gamut and the initial color gamut.
Optionally, after determining the target color gamut coefficient of the display screen, the method further includes: inputting the target color gamut coefficient into the display screen; and replacing the initial color gamut coefficient with the target color gamut coefficient in the display screen, and adjusting the color gamut of the display screen to the target color gamut.
According to another aspect of the embodiments of the present invention, there is also provided a color gamut coefficient processing apparatus including: the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the color coordinates and the brightness of RGB (red, green and blue) three primary colors of an initial color gamut of a display screen in a correction state, the color coordinates of RGB three primary colors of a target color gamut of the display screen in the correction state and the color coordinates of RGB three primary colors of the display screen in a non-correction state; the first determining module is used for determining the color coordinate and the brightness of white balance according to a first relation between the color coordinate and the brightness of the three primary colors in a Yxy color space and the color coordinate of the corresponding composite color, a second relation between the brightness of the three primary colors in the Yxy color space and the brightness of the corresponding composite color, and the color coordinate and the brightness of the RGB three primary colors of the initial color gamut of the display screen in a correction state; the second determining module is used for determining the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates, the color coordinates and the brightness of the white balance, the first relation and the second relation of the RGB three primary colors of the target color gamut of the display screen in the correction state; the third determining module is configured to determine, according to the color coordinates of the RGB three primary colors of the display screen in the non-corrected state, the color coordinates and the luminance of the RGB three primary colors of the target color gamut of the display screen in the corrected state, the first relationship, and the second relationship, the luminance of the primary color and the luminance of the secondary color respectively included in the RGB three primary colors of the target color gamut of the display screen in the corrected state; the second obtaining module is used for obtaining an initial color gamut coefficient corresponding to the initial color gamut of the display screen in the correction state and the brightness of a primary color and the brightness of a secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state; and the fourth determining module is used for determining the target color gamut coefficient of the display screen according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state, the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state, and the initial color gamut coefficient.
Optionally, the fourth determining module includes: the device comprises a determining unit and an adjusting unit, wherein the determining unit is used for determining a color gamut coefficient adjusting proportion according to the brightness of a primary color and a secondary color respectively included by RGB three primary colors of an initial color gamut of the display screen in a correction state and the brightness of the primary color and the secondary color respectively included by RGB three primary colors of a target color gamut of the display screen in the correction state; and the adjusting unit is used for adjusting the initial color gamut coefficient according to the color gamut coefficient adjusting proportion to obtain a target color gamut coefficient of the display screen.
Optionally, the color gamut coefficient adjusting ratio includes: a first adjustment proportion determined according to the brightness of the R primary color of each of the initial color gamut and the target color gamut, a second adjustment proportion determined according to the brightness of the G secondary color of the R primary color of each of the initial color gamut and the target color gamut, a third adjustment proportion determined according to the brightness of the B secondary color of the R primary color of each of the initial color gamut and the target color gamut, a fourth adjustment proportion determined according to the brightness of the R secondary color of the G primary color of each of the initial color gamut and the target color gamut, a fifth adjustment proportion determined according to the brightness of the G primary color of each of the initial color gamut and the target color gamut, a sixth adjustment proportion determined according to the brightness of the B secondary color of the G primary color of each of the initial color gamut and the target color gamut, and a seventh adjustment proportion determined according to the brightness of the R secondary color of the B primary color of each of the initial color gamut and the target color gamut, and the adjustment proportion is determined according to the brightness of the G auxiliary color of the B primary color of the initial color gamut and the brightness of the B main color of the B primary color of the target color gamut and the initial color gamut.
Optionally, the apparatus further comprises: the input module is used for inputting the target color gamut coefficients into the display screen; and the adjusting module is used for replacing the initial color gamut coefficient with the target color gamut coefficient in the display screen and adjusting the color gamut of the display screen to the target color gamut.
According to another aspect of the embodiment of the invention, an LED display screen is further provided, which includes any one of the color gamut coefficient processing devices described above.
According to still another aspect of the embodiments of the present invention, there is also provided a computer apparatus including: a memory and a processor, the memory storing a computer program; the processor is configured to execute the computer program stored in the memory, and when the computer program runs, the processor is enabled to execute any one of the color gamut coefficient processing methods described above.
In the embodiment of the invention, a color coordinate and brightness of RGB three primary colors of an initial color gamut of a display screen in a correction state are obtained by adopting a mode of processing the color gamut of the display screen in the correction state according to a first relation between the color coordinate and brightness of the three primary colors and the color coordinate of a corresponding composite color in a Yxy color space and a second relation between the brightness of the three primary colors and the brightness of the corresponding composite color, the color coordinate of the RGB three primary colors of a target color gamut of the display screen in the correction state and the color coordinate of the RGB three primary colors of the display screen in a non-correction state, and the color coordinate and brightness of white balance are determined according to the first relation, the second relation and the color coordinate and brightness of the RGB three primary colors of the initial color gamut of the display screen in the correction state; determining the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the target color gamut of the display screen in the correction state, the color coordinates and the brightness of white balance, a first relation and a second relation; determining the brightness of a primary color and a secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the display screen in the non-correction state, the color coordinates and the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state, a first relation and a second relation; acquiring an initial color gamut coefficient corresponding to an initial color gamut of a display screen in a correction state, and the brightness of a primary color and the brightness of a secondary color respectively included by RGB three primary colors of the initial color gamut of the display screen in the correction state; the method comprises the steps of determining a target color gamut coefficient of a display screen according to the brightness of a primary color and the brightness of an auxiliary color which are respectively included by RGB (red, green and blue) three primary colors of the target color gamut of the display screen in a correction state, the brightness of the primary color and the brightness of the auxiliary color which are respectively included by RGB three primary colors of an initial color gamut of the display screen in the correction state, and the initial color gamut coefficient, so that the purpose of adjusting the color gamut under the condition of not changing the color temperature and the brightness of white balance of the display screen is achieved, the technical effect of automatically, efficiently and accurately adjusting the color gamut under the condition of not changing the color temperature and the brightness of the white balance is achieved, and the technical problem that the color gamut is difficult to efficiently adjust under the condition of not changing the color temperature and the brightness of the white balance in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a gamut coefficient processing method according to an embodiment of the present invention;
fig. 2 is a block diagram of a gamut coefficient processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present invention, there is provided a method embodiment of a gamut coefficient processing method, it should be noted that the steps illustrated in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that here.
The brightness and the wavelength of the LED chip have discreteness, and even if the LED chips manufactured by the same wafer have different brightness and wavelength, therefore, when the LED is used as a pixel to manufacture an LED display screen, the LED display screen needs to be screened, mixed in bins and corrected to ensure the consistency of color and brightness. In the correction, a small amount of auxiliary color is often added to the main color, for example, when the color is fully red in the correction state, the real blue or green is slightly bright, and at this time, the red is the main color, and the green and blue are auxiliary colors. Therefore, in the corrected state of the display screen, each primary color of RGB is a composite color of the primary color and the other two auxiliary colors, and 3 primary colors have 3 primary colors and 6 auxiliary colors; the brightness of the main color and the brightness of the auxiliary color are expressed by the color gamut coefficients, the color gamut coefficients are determined after the screen is corrected according to certain requirements, the color gamut coefficients can be read by debugging software, and at the moment, the color temperature of the screen is also determined. The color gamut coefficients represent the brightness information of the primary color or the secondary color corresponding to the primary color light, and each color gamut coefficient is in a linear relationship with the corresponding brightness. The determined 9 color gamut coefficients can determine the color coordinates and the brightness values of the corrected RGB three primary colors, thereby determining the color temperature and the brightness value of white balance, and the color gamut coefficients can be modified to change different color gamuts without changing the color temperature and the brightness of the white balance.
Fig. 1 is a flowchart of a gamut coefficient processing method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S101, acquiring color coordinates and brightness of RGB three primary colors of the initial color gamut of the display screen in the corrected state, color coordinates of RGB three primary colors of the target color gamut of the display screen in the corrected state, and color coordinates of RGB three primary colors of the display screen in the uncorrected state.
The display screen comprises a plurality of pixel points, and when the display screen is in a non-correction state, light emitted by each pixel point is synthesized light of RGB tricolor light emitted by the pixel point in the non-correction state. The RGB three primary colors of the display screen in the non-correction state are R primary color light, G primary color light and B primary color light emitted by the display screen in the non-correction state. Since the color development of the display screen in different areas is not uniform in the non-corrected state, the pixel points in different areas need to be corrected. After correction, a display screen with the initial color gamut is obtained, and the color gamut of the display screen at the moment is determined by the initial color gamut coefficient.
Alternatively, the color coordinates and brightness of the RGB three primary colors of the display screen may be obtained by directly measuring the display screen with a spectrocolorimeter. During measurement, the display screen can be made to display the R primary color, then the light emitted by the display screen at the moment is measured by the spectrocolorimeter, the color coordinate and the brightness of the R primary color of the display screen are obtained, and the like, so that the color coordinate and the brightness of the G primary color and the B primary color are obtained. The color coordinates and brightness of RGB three primary colors of the initial color gamut of the display screen in a correction state can be directly obtained by measurement of a spectrocolorimeter; in the embodiment, the color gamut of the display screen in the correction state is required to be adjusted from the initial color gamut to the target color gamut, and the color gamut is determined by the color coordinates of the three RGB primaries of the display screen, so the color coordinates of the three RGB primaries of the target color gamut of the display screen in the correction state can be directly predetermined by a worker; the color coordinates of the RGB primaries of the display screen in the uncorrected state can also be measured by a spectrophotometer in the case that the display screen displays R primary light, G primary light and B primary light respectively in the uncorrected state.
And step S102, determining the color coordinate and the brightness of white balance according to the first relation between the color coordinate and the brightness of the three primary colors in the Yxy color space and the color coordinate of the corresponding composite color, the second relation between the brightness of the three primary colors in the Yxy color space and the brightness of the corresponding composite color, and the color coordinate and the brightness of the RGB three primary colors of the initial color gamut of the display screen in a correction state.
It should be noted that the Yxy color space may be the CIE Yxy color space, and any point in the space represents a color. Any point in the color space may be represented by a set of color coordinates and luminance, and specifically, the point may be represented by (x, Y), where x and Y are the color coordinates represented by the point, and Y is the luminance value represented by the point. Due to the nature of the colors themselves, any three colors can be combined into a composite color. In the Yxy color space, three colors of a synthesized composite color may be referred to as RGB three primary colors corresponding to the synthesized color.
In the Yxy color space, the color coordinates and luminances of any three primary colors are known, and the color coordinates and luminances of the secondary colors can be determined, and the specific derivation process is described in detail in the following specific embodiment. The white balance is a special composite color, and the color coordinates and brightness of the composite color can also be derived from the color coordinates and brightness of the three RGB primary colors of the display screen.
Step S103, determining the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the target color gamut of the display screen in the correction state, the color coordinates and the brightness of the white balance, the first relation and the second relation. Since the target color gamut is a designated color gamut, the color coordinates of the RGB three primary colors thereof are known, and at this time, the RGB three primary colors of the target color gamut can be completely determined by determining the brightness of the RGB three primary colors of the target color gamut. Specifically, a plurality of sets of equations about the color coordinates and luminance of the RGB three primary colors and the color coordinates and luminance of the white balance may be listed according to the first relationship and the second relationship, and the luminance of the RGB three primary colors of the target color gamut may be determined by solving the equations.
Step S104, determining the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the display screen in the non-correction state, the color coordinates and the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state, the first relation and the second relation.
In the display screen in the corrected state, each of the three RGB primary colors is composed of a primary color and two secondary colors, for example, the R primary color of the display screen in the corrected state is composed of an R primary color, a G secondary color, and a B secondary color, the G primary color is composed of an R secondary color, a G primary color, and a B secondary color, and the B primary color is composed of an R secondary color, a G secondary color, and a B primary color. The color coordinates of each primary or secondary color are the same as the color coordinates of the corresponding RGB primaries of the display screen in the uncorrected state.
In addition, taking the R primary color as an example, the R primary color of the display screen in the corrected state is synthesized by the R primary color, the G secondary color, and the B secondary color, respectively, and the process of synthesizing the R primary color by the R primary color, the G secondary color, and the B secondary color satisfies the relationship between the synthesized color and the RGB three primary colors synthesizing the synthesized color in the Yxy color space, so the color coordinate and the luminance of the R primary color of the initial color gamut of the display screen in the corrected state can be determined according to the color coordinate and the luminance of the R primary color, the G secondary color, and the B secondary color. The relationship between the primary colors of G and B and the corresponding primary colors and the auxiliary colors of the display screen in the correction state is the same as that of the primary color of R.
Step S105, obtaining an initial color gamut coefficient corresponding to the initial color gamut of the display screen in the corrected state, and the brightness of the primary color and the brightness of the secondary color respectively included in the RGB three primary colors of the initial color gamut of the display screen in the corrected state. The luminance of the primary color and the luminance of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the corrected state can be calculated according to the color coordinates and luminance of the RGB three primary colors of the display screen in the uncorrected state and the correction coefficient of the display screen. The correction coefficient is usually a parameter of the display screen, which is taken by the factory, and can be directly obtained by reading the parameter of the display screen.
Step S106, determining a target color gamut coefficient of the display screen according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state, the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state, and the initial color gamut coefficient.
Because the color gamut coefficient and the brightness of the primary color and the secondary color respectively included by the RGB three primary colors of the display screen are approximately in a linear relationship, the numerical relationship between the initial color gamut coefficient and the target color gamut coefficient can be determined through the different brightness values of the primary color and the secondary color in the initial color gamut and the target color gamut of the display screen, and then the target color gamut coefficient is obtained through the initial color gamut coefficient and the proportional relationship.
Through the steps, the color coordinates and the brightness of the RGB three primary colors of the initial color gamut of the display screen in the correction state are obtained by adopting a mode of processing the color gamut of the display screen in the correction state according to the first relation between the color coordinates and the brightness of the three primary colors and the color coordinates of the corresponding synthesized colors in the Yxy color space and the second relation between the brightness of the three primary colors and the brightness of the corresponding synthesized colors, the color coordinates of the RGB three primary colors of the target color gamut of the display screen in the correction state and the color coordinates of the RGB three primary colors of the display screen in the non-correction state, and the color coordinates and the brightness of white balance are determined according to the first relation, the second relation and the color coordinates and the brightness of the RGB three primary colors of the initial color gamut of the display screen in the correction state; determining the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the target color gamut of the display screen in the correction state, the color coordinates and the brightness of white balance, a first relation and a second relation; determining the brightness of a primary color and a secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the display screen in the non-correction state, the color coordinates and the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state, a first relation and a second relation; acquiring an initial color gamut coefficient corresponding to an initial color gamut of a display screen in a correction state, and the brightness of a primary color and the brightness of a secondary color respectively included by RGB three primary colors of the initial color gamut of the display screen in the correction state; the method comprises the steps of determining a target color gamut coefficient of a display screen according to the brightness of a primary color and the brightness of an auxiliary color which are respectively included by RGB (red, green and blue) three primary colors of the target color gamut of the display screen in a correction state, the brightness of the primary color and the brightness of the auxiliary color which are respectively included by RGB three primary colors of an initial color gamut of the display screen in the correction state, and the initial color gamut coefficient, so that the purpose of adjusting the color gamut under the condition of not changing the color temperature and the brightness of white balance of the display screen is achieved, the technical effect of automatically, efficiently and accurately adjusting the color gamut under the condition of not changing the color temperature and the brightness of the white balance is achieved, and the technical problem that the color gamut is difficult to efficiently adjust under the condition of not changing the color temperature and the brightness of the white balance in the related technology is solved.
In the CIE Yxy color space (i.e. the Yxy color space referred to above), for a given color, the luminous flux of each primary color is scaled up if its lightness is increased, so that the color can be matched. Thus, the ratio of X: Y: Z remains constant when the color is off the origin (X-0, Y-0, Z-0). When calculating the chromaticity of the color, X, Y and Z values are normalized with respect to the total radiant energy (X + Y + Z) and only their relative proportions need to be considered, so X, Y, Z are called three primary relative coefficients, and the color matching equation can be normalized to X + Y + Z as 1. Since the sum of the three relative coefficients X, Y, Z is constant at 1, this is equivalent to projecting the XYZ color cone onto a plane where X + Y + Z is 1:
x+y+z=1
the derivation can be made according to the above equation:
therefore, it is necessary to determine the relationship between the color coordinates and the luminance of the three primary colors and the color coordinates and the luminance of the secondary colors. The composite color is synthesized from three primary colors, and can be considered as that two primary colors are synthesized with one color and then synthesized with the last primary color, so that stepwise derivation can be performed.
First, let A, B be two primary colors with color coordinates and brightness values of (x)1,y1,Y1)、(x2,y2,Y2) The composite color of the two primary colors is D, and the color coordinate and the brightness value are (x)4,y4,Y4)。
Y4=Y1+Y2
Mixing X4、Y4、Z4The relationship between the color coordinates and the brightness values of the two primary colors and the composite color D can be obtained by substituting A, B:
let C be the third primary color, whose color coordinates and luminance values are (x)3,y3,Y3) The final composite color of the three primary colors is E, which has color coordinates and luminance values of (x)5,y5,Y5)。
∴Y5=Y1+Y2+Y3
X is to be4,y4Substituting the formula and simplifying to obtain:
the above results are the color coordinates and luminance relationships of the three primary colors ABC and the secondary color E. In order to solve the problem of white balance, R, G, B and W are respectively substituted into symbols 1, 2, 3 and 5 to obtain the correlation between the final color gamut three-vertex RGB and the white balance W color coordinate and brightness:
YW=YR+YG+YB
from the relationship between the color coordinates and luminance of the three primary colors and the color coordinates and luminance of the composite color in the above-determined Yxy color space, the color coordinates and luminance values of white balance can be calculated from the color coordinates and luminance values of the three primary colors of RGB. In addition, it can be concluded that: if the color coordinates of 3 primary colors and the synthesized light are known, only the brightness of any one of 4 points needs to be known, and 3-element 1-order equations can be listed to solve a unique solution; if the color coordinates of 3 primary colors and the synthesized light spots are known and the brightness is unknown, one brightness can be assumed, after the brightness of the rest 3 points is calculated, 4 brightness values are increased or decreased in an equal proportion, and the color coordinates of 4 points are kept unchanged.
The color gamut is adjusted under the condition of not changing the color temperature and the brightness of white balance, the adjustment process is relatively complex, the adjustment is carried out through artificial continuous attempts, a good final adjustment result cannot be obtained, and meanwhile, the labor is consumed, and the efficiency is low. Therefore, the color gamut is adjusted without changing the color temperature and luminance of the white balance, i.e., the color coordinates and luminance of the three primary colors corresponding to the white balance are adjusted without changing the color coordinates and luminance of the white balance. For a given target color gamut, i.e. the color coordinates of the three primary colors of a given target color gamut, the problem of adjusting the color gamut can be translated into the problem of adjusting the color coordinates and the luminance of the three primary colors.
At present, the RGB three primary colors of a display screen in a correction state mainly include: each primary color comprises 1 primary color and 2 secondary colors, and the total number of the primary colors is 9 color gamut coefficients, and table 1 is a color gamut coefficient table of the display screen in the corrected state in the embodiment of the invention.
Red light | Green lamp | Blue light | |
R | Coefficient of 1 | Coefficient 4 | Coefficient of 7 |
G | Coefficient 2 | Factor 5 | Coefficient of 8 |
B | Coefficient 3 | Coefficient of 6 | Coefficient 9 |
TABLE 1
As shown in table 1, the first column represents R primary, G secondary, and B secondary of the R primary, the second column represents R secondary, G primary, and B secondary of the G primary, and the third column represents R secondary, G secondary, and B primary of the B primary, respectively, the maximum value of the gamut coefficient setting is 65535, i.e., 16 bits, and the minimum value is 0, and the gamut coefficient is approximately linear to the luminance.
As an alternative embodiment, determining the target gamut coefficients according to the luminances of the primary color and the secondary color respectively included in the RGB three primary colors of the target gamut, the luminances of the primary color and the secondary color respectively included in the RGB three primary colors of the initial gamut, and the initial gamut coefficients includes: determining a color gamut coefficient adjusting proportion according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut and the brightness of the primary color and the secondary color respectively included by the RGB three primary colors of the target color gamut; and adjusting the initial color gamut coefficient according to the color gamut coefficient adjusting proportion to obtain a target color gamut coefficient.
As an alternative embodiment, the gamut coefficient adjustment ratio may be determined using a plurality of specific adjustment ratios as follows: a first adjustment ratio determined according to the luminance of the R primary color of each of the initial color gamut and the target color gamut, a second adjustment ratio determined according to the luminance of the G secondary color of the R primary color of each of the initial color gamut and the target color gamut, a third adjustment ratio determined according to the luminance of the B secondary color of the R primary color of each of the initial color gamut and the target color gamut, a fourth adjustment ratio determined according to the luminance of the R secondary color of the G primary color of each of the initial color gamut and the target color gamut, a fifth adjustment ratio determined according to the luminance of the G primary color of each of the initial color gamut and the target color gamut, a sixth adjustment ratio determined according to the luminance of the B secondary color of the G primary color of each of the initial color gamut and the target color gamut, a seventh adjustment ratio determined according to the luminance of the R secondary color of the B primary color of each of the initial color gamut and the target color gamut, an eighth adjustment ratio determined according to the luminance of the G secondary color of the B primary color of each of the initial color gamut and the target color gamut, and a ninth adjustment proportion determined according to the brightness of the B primary color of each of the initial color gamut and the target color gamut.
Alternatively, since the gamut coefficient is approximately linear to the luminance, the first adjustment ratio may be a ratio of the luminance of the R dominant color of the R primary of the initial gamut to the R dominant color of the R primary of the target gamut. The second to ninth adjustment ratios may be determined by analogy.
As an alternative embodiment, the color coordinates and brightness of the RGB three primary colors of the display screen in the non-corrected state can be obtained as follows: the color coordinates and brightness of RGB tricolor under the non-correction state are obtained by measuring RGB tricolor light displayed by the display screen under the non-correction state, wherein the non-correction state is the state before the display screen is corrected by adopting a correction coefficient.
As an alternative embodiment, the color coordinates and brightness of the RGB three primary colors of the initial color gamut may also be determined by: the color coordinates and the brightness of the RGB three primary colors of the initial color gamut are obtained by measuring the initial state of the display screen, wherein the initial state is the state of the display screen after being corrected by adopting a correction coefficient.
As an alternative embodiment, the color coordinates and brightness of the RGB three primary colors of the display screen may be measured as follows: and sequentially controlling the display screen to display the RGB three colors, and respectively measuring the color coordinate and the brightness of each color to obtain the measured values of the color coordinate and the brightness of the RGB three primary colors. Alternatively, the color coordinates and brightness of the RGB three primary colors of the display screen may be measured using a spectrocolorimeter. During measurement, the display screen can display the red primary color, then the light emitted by the display screen at the moment is measured by the spectrocolorimeter to obtain the color coordinate and the brightness of the red primary color of the display screen, and the like, so that the color coordinate and the brightness of the green primary color and the blue primary color are obtained.
As an alternative embodiment, the method for adjusting the white balance color gamut may be a method for adjusting a color gamut in a Light Emitting Diode (LED) display screen. The following describes a process of adjusting the color gamut of the display screen without changing the color temperature and brightness of the white balance of the display screen, by taking an example of the LED display screen.
Because the LED display screens display images in a correction state, and the light emission of each pixel point in the correction state can be regarded as the light emission composite light of three LED chips (R, G, B three light emitting chips) in a non-correction state, the color coordinates and the brightness values of R, G, B three primary colors in an initial color gamut can be calculated through correction coefficients. From the above, the problem of adjusting the color gamut of the display screen can be dealt with by the color coordinates and the luminance values of the R, G, B three primary colors in the uncorrected state of the display screen.
For the convenience of formula description, the parameters used in the process of adjusting the color gamut of the display screen are listed below.
xr1 yr1Representing the color coordinates of the R primary color, Yr, when the display screen is in the uncorrected state10A luminance value representing the R primary at that time; yr (Y)11Representing the luminance value of the R primary color, where xr is the luminance value of the display screen in the correction state1 yr1 Yr10Is obtained by measurement;
xg1 yg1representing the color coordinates of the primary colors G, Yg, when the display screen is in the uncorrected state10Representing the luminance value of the G primary at that time; yg11Representing the luminance value of the R primary, where xg, when the display screen is in the correction state1 yg1 Yg10Is obtained by measurement;
xb1 yb1representing the color coordinates of the primary color B, Yb, when the display screen is in the uncorrected state10Representing the luminance value of the B primary color at this time; yb of11Representing the luminance value of the B primary, where xb is1 yb1 Yb10As measured.
The initial color gamut of the display screen can be obtained after the display screen starts the correction mode. The color coordinates and luminance values of the RGB three primaries in the initial color gamut and the color coordinates and luminance values corresponding to the white balance are respectively as follows:
xr0 yr0color coordinates, Yr, of the R primary representing the original color gamut0Representing its brightness.
xg0 yg0Color coordinates, Yg, of the G primary representing the original color gamut0Representing its brightness.
xb0 yb0Color coordinates of the B primary, Yb, representing the original color gamut0Representing its brightness.
xw Yw represents the color coordinates of the white balance corresponding to the initial color gamut, and Yw represents the luminance thereof.
Obtaining a target color gamut after changing the color gamut of the display screen, wherein the color coordinates and the brightness of the RGB three primary colors under the target color gamut are respectively as follows:
xr2 yr2color coordinates, Yr, of the R primary representing the target color gamut2Representing its brightness.
xg2 yg2Color coordinates, Yg, of the G primary representing the target color gamut2Representing its brightness.
xb2 yb2Color coordinates of the B primary, Yb, representing the target color gamut2Representing its brightness.
The correction coefficient parameters of the LED display screen are shown in table 2:
TABLE 2
Red light | Green lamp | Blue light | |
R | k1 | k4 | k7 |
G | k2 | k5 | k8 |
B | k3 | k6 | k9 |
The initial color gamut coefficients of the LED display screen are shown in table 3:
TABLE 3
Red light | Green lamp | Blue light | |
R | n1 | n4 | n7 |
G | n2 | n5 | n8 |
B | n3 | n6 | n9 |
The target color gamut coefficients for the LED display are shown in table 4:
TABLE 4
Red light | Green lamp | Blue light | |
R | m1 | m4 | m7 |
G | m2 | m5 | m8 |
B | m3 | m6 | m9 |
After the above parameters are labeled, the flow of the steps for adjusting the color gamut without changing the color temperature and brightness of the white balance is described in detail below as an alternative embodiment.
Step S1, reading the correction coefficient of the LED display screen and the initial color gamut coefficient of the LED display screen in the corrected state by using software, and then measuring a predetermined area of the LED display screen by using a colorimeter to obtain the color coordinates and the brightness of the RGB three primary colors of the predetermined area in the non-corrected state.
It should be noted that, the following method can be adopted to measure the color coordinates and brightness of RGB three primary colors in the non-corrected state in the predetermined area of the LED display screen by using a colorimeter: the LED display screen is in a state to be corrected, a preset area of the LED display screen is instructed to emit red light, at the moment, a colorimeter is used for detecting the preset area to obtain the color coordinate and the brightness value of the red light, namely the color coordinate and the brightness of the R primary color of the preset area in a non-correction state; then, in the same manner, the color coordinates and the luminance of the G primary color and the B primary color of the predetermined region in the non-corrected state are measured.
Step S2, calculating the color coordinates and luminance of the R, G, B three primary colors of the initial color gamut of the LED display screen in the corrected state according to the coordinates, luminance, and correction coefficients of the RGB three primary colors in the uncorrected state, and the relationship between the color coordinates and luminance of the synthesized color in the Yxy color space and the color coordinates and luminance of the corresponding RGB three primary colors.
The calculation process is as follows:
let Yrr be the luminance of the R primary color of the initial color gamut of the display screen in the corrected state, Yrg be the luminance of the g secondary color of the display screen in the corrected state, Yrb be the luminance of the b secondary color of the display screen in the corrected state, and so on, and set up the parameters of the luminance of the primary and secondary colors of the display screen in the corrected state, RGB primaries of the initial color gamut.
Yrr=Yr10*k1 Ygr=Yr10*k4 Ybr=Yr10*k7
Yrg=Yg10*k2 Ygg=Yg10*k5 Ybg=Yg10*k8
Yrb=Yb10*k3 Ygb=Yb10*k6 Ybb=Yb10*k9
As can be seen from the sum of the luminance values of the primary and secondary colors in the initial color gamut,
Yr0=Yrr+Yrg+Yrb Yg0=Ygr+Ygg+Ygb Yb0=Ybr+Ybg+Ybb
through the above calculation, the luminances of the primary and secondary colors included in the RGB three primaries of the initial color gamut of the display screen in the corrected state, and the luminances of the RGB three primaries in the initial color gamut are obtained. And substituting the calculated parameters into a relational formula of the color coordinates and brightness of the RGB three primary colors and the color coordinates and brightness of white balance, and solving the color coordinates of the RGB three primary colors under the initial color gamut, wherein the calculation process is as follows:
xr0=(xr1*yg1*yb1*Yrr+xg1*yr1*yb1*Yrg+xb1*yr1*yg1*Yrb)/(yr1*yg1*Yrb+yb1*yg1*Yrr+yb1*yr1*Yrg)
yr0=(Yr0*yb1*yr1*yg1)/(yr1*yg1*Yrb+yb1*yg1*Yrr+yb1*yr1*Yrg)
xg0=(xr1*yg1*yb1*Ygr+xg1*yr1*yb1*Ygg+xb1*yr1*yg1*Ygb)/(yr1*yg1*Ygb+
yb1*yg1*Ygr+yb1*yr1*Ygg)
yg0=(Yg0*yb1*yr1*yg1)/(yr1*yg1*Ygb+yb1*yg1*Ygr+yb1*yr1*Ygg)
xb0=(xr1*yg1*yb1*Ybr+xg1*yr1*yb1*Ybg+xb1*yr1*yg1*Ybb)/(yr1*yg1*Ybb+
yb1*yg1*Ybr+yb1*yr1*Ybg)
yb0=(Yb0*yb1*yr1*yg1)/(yr1*yg1*Ybb+yb1*yg1*Ybr+yb1*yr1*Ybg)
the color coordinates (xr) of R, G, B three primary colors under the initial color gamut of the display screen in the correction state are calculated0,yr0)、(xg0,yg0)、(xb0,yb0)。
In step S3, the color coordinates and luminance of the white balance are calculated. Since the color coordinates and luminance of the RGB three primary colors of the initial color gamut of the display screen in the corrected state are obtained through the calculation in step S2, the color coordinates and luminance of the white balance can be obtained conveniently by using the relational formula.
Yw=Yr0+Yg0+Yb0
xw=(xr0*yg0*yb0*Yr0+xg0*yr0*yb0*Yg0+xb0*yr0*yg0*Yb0)/
(yr0*yg0*Yb0+yb0*yg0*Yr0+yb0*yr0*Yg0)
yw=(Yw*yb0*yr0*yg0)/(yr0*yg0*Yb0+yb0*yg0*Yr0+yb0*yr0*Yg0)
The color coordinates and luminance of the white balance are (xw, Yw) by calculation.
Step S4, calculating the luminances of the three primary colors of R, G, B in the target color gamut according to the white balance color coordinates and luminances and the color coordinates of the three primary colors of R, G, B in the target color gamut of the display screen in the corrected state. It should be noted that the color coordinates of the RGB three primary colors of the target color gamut are predetermined values and can be directly specified by the color gamut adjuster, for example, as known parameters input into the color gamut adjusting software.
The calculation process is as follows:
Yr2*yb2*yg2*(xw-xr2)+Yg2*yr2*yb2*(xw-xg2)+Yb2*yr2*yg2*(xw-xb2)=0
Yr2*yb2*yg2*(yw-yr2)+Yg2*yr2*yb2*(yw-yg2)+Yb2*yr2*yg2*(yw-yb2)=0
Yw=Yr2+Yg2+Yb2
the brightness value Yr of the three primary colors of the target color gamut R, G, B is obtained through calculation2、Yg2、Yb2。
In step S5, the luminances of the primary color and the secondary color included in each of the R, G, B three primary colors in the target color gamut are calculated.
Under the target color gamut, the R primary color, the G secondary color, and the B secondary color of the R primary color are still emitted by the three light-emitting LED chips, so the color coordinates of the primary color and the secondary color of the R primary color are the same as the coordinates of the R primary color, the G primary color, and the B primary color of the screen measured in an uncorrected state. The process of calculating the luminances of the primary and secondary colors of the R primary color is as follows:
Yrr11*yb1*yg1*(xr2-xr1)+Yrg11*yr1*yb1*(xr2-xg1)+Yrb11*yr1*yg1*(xr2-xb1)=0
Yrr11*yb1*yg1*(yr2-yr1)+Yrg11*yr1*yb1*(yg2-yg1)+Yrb11*yr1*yg1*(yr2-yb1)=0
Yr2=Yrr11+Yrg11+Yrb11
solved to form YRr11、Yrg11、Yrb11。
The process of calculating the brightness of the primary and secondary colors of the G primary color is as follows:
Ygr11*yb1*yg1*(xg2-xr1)+Ygg11*yr1*yb1*(xg2-xg1)+Ygb11*yr1*yg1*(xg2-xb1)=0
Ygr11*yb1*yg1*(yg2-yr1)+Ygg11*yr1*yb1*(yg2-yg1)+Ygb11*yr1*yg1*(yg2-yb1)=0
Yg2=Ygr11+Ygg11+Ygb11
solved to Ygr11、Ygg11、Ygb11。
The process of calculating the brightness of the primary and secondary colors of the B primary color is as follows:
Ybr11*yb1*yg1*(xb2-xr1)+Ybg11*yr1*yb1*(xb2-xg1)+Ybb11*yr1*yg1*(xb2-xb1)=0
Ybr11*yb1*yg1*(yb2-yr1)+Ybg11*yr1*yb1*(yb2-yg1)+Ybb11*yr1*yg1*(yb2-yb1)=0
Yb2=Ybr11+Ybg11+Ybb11
solved to Ybr11、Ybg11、Ybb11。
Since the color gamut coefficient has a linear relationship with the luminance, after determining the luminances of the primary and secondary colors included in the RGB three primary colors of the target color gamut, the luminances of the primary and secondary colors included in the RGB three primary colors of the initial color gamut, and the initial color gamut coefficient, the target color gamut coefficient may be determined according to a proportional relationship between the luminances.
For example, in the case of the initial color gamut coefficients of the LED display screen as in table 3 and the target color gamut coefficients as in table 4, 9 color gamut coefficients of the final target color gamut can be obtained by calculation:
m1=n1*Yrr11/(k1*Yr10)m4=n4*Ygr11/(k4*Yr10)m7=n7*Ybr11/(k7*Yr10)
m2=n2*Yrg11/(k2*Yg10)m5=n5*Ygg11/(k5*Yg10)m8=n8*Ybg11/(k8*Yg10)
m3=n3*Yrb11/(k3*Yb10)m6=n6*Ygb11/(k6*Yb10)m9=n9*Ybb11/(k9*Yb10)
step S6, under the condition that the color temperature and the brightness of the white balance are not changed, the present embodiment can directly output the 9 color gamut coefficients, i.e., the target color gamut coefficients, corresponding to the target color gamut to be obtained, and adjust the LED display screen according to the target color gamut coefficients, so as to obtain the color gamut expected by us.
With the above-described alternative embodiment, in the problem of changing the color gamut, the color coordinates of R, G, B three points in the non-corrected state and the main and auxiliary luminance values and white balance color coordinates of R, G, B of the initial color gamut in the corrected state are first determined. And (3) drawing up the adjusted color gamut, calculating a main and auxiliary brightness value of R, G, B after adjustment according to the color gamut, comparing the main and auxiliary brightness value with the initial main and auxiliary brightness value to obtain a proportional relation of a color gamut coefficient, and adjusting the color gamut coefficient according to the proportional relation to obtain a new drawn up color gamut.
In an embodiment of the present invention, there is further provided a gamut coefficient processing apparatus, and fig. 2 is a block diagram of a structure of the gamut coefficient processing apparatus provided according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes: a first obtaining module 21, a first determining module 22, a second determining module 23, a third determining module 24, a second obtaining module 25 and a fourth determining module 26, which are explained below.
The first obtaining module 21 is configured to obtain color coordinates and luminance of the RGB three primary colors of the initial color gamut of the display screen in the corrected state, color coordinates of the RGB three primary colors of the target color gamut of the display screen in the corrected state, and color coordinates of the RGB three primary colors of the display screen in the non-corrected state.
The first determining module 22 is configured to determine color coordinates and luminance of white balance according to a first relationship between color coordinates and luminance of three primary colors in the Yxy color space and color coordinates of a corresponding composite color, a second relationship between luminance of three primary colors in the Yxy color space and luminance of a corresponding composite color, and color coordinates and luminance of RGB three primary colors of the initial color gamut of the display screen in a corrected state.
The second determining module 23 is configured to determine the luminance of the RGB three primary colors of the target color gamut of the display screen in the corrected state according to the color coordinates, the color coordinates and luminance of the white balance, the first relationship, and the second relationship of the RGB three primary colors of the target color gamut of the display screen in the corrected state.
The third determining module 24 is configured to determine, according to the color coordinates of the RGB three primary colors of the display screen in the non-corrected state, the color coordinates and the luminance of the RGB three primary colors of the target color gamut of the display screen in the corrected state, the first relationship, and the second relationship, the luminance of the primary color and the luminance of the secondary color respectively included in the RGB three primary colors of the target color gamut of the display screen in the corrected state.
The second obtaining module 25 is configured to obtain an initial color gamut coefficient corresponding to the initial color gamut of the display screen in the corrected state, and the luminances of the primary color and the secondary color respectively included in the RGB three primary colors of the initial color gamut of the display screen in the corrected state.
The fourth determining module 26 is configured to determine the target color gamut coefficient of the display screen according to the luminance of the primary color and the luminance of the secondary color respectively included in the RGB three primary colors of the target color gamut of the display screen in the corrected state, the luminance of the primary color and the luminance of the secondary color respectively included in the RGB three primary colors of the initial color gamut of the display screen in the corrected state, and the initial color gamut coefficient.
As an alternative embodiment, the fourth determination module 26 includes: the device comprises a determining unit and an adjusting unit, wherein the determining unit is used for determining a color gamut coefficient adjusting proportion according to the brightness of a primary color and a secondary color respectively included by RGB three primary colors of an initial color gamut of a display screen in a correction state and the brightness of the primary color and the secondary color respectively included by RGB three primary colors of a target color gamut of the display screen in the correction state; and the adjusting unit is used for adjusting the initial color gamut coefficient according to the color gamut coefficient adjusting proportion to obtain a target color gamut coefficient of the display screen.
As an alternative embodiment, the gamut coefficient adjusting ratio includes: a first adjustment ratio determined according to the luminance of the R primary color of each of the initial color gamut and the target color gamut, a second adjustment ratio determined according to the luminance of the G secondary color of the R primary color of each of the initial color gamut and the target color gamut, a third adjustment ratio determined according to the luminance of the B secondary color of the R primary color of each of the initial color gamut and the target color gamut, a fourth adjustment ratio determined according to the luminance of the R secondary color of the G primary color of each of the initial color gamut and the target color gamut, a fifth adjustment ratio determined according to the luminance of the G primary color of each of the initial color gamut and the target color gamut, a sixth adjustment ratio determined according to the luminance of the B secondary color of the G primary color of each of the initial color gamut and the target color gamut, a seventh adjustment ratio determined according to the luminance of the R secondary color of the B primary color of each of the initial color gamut and the target color gamut, an eighth adjustment ratio determined according to the luminance of the G secondary color of the B primary color of each of the initial color gamut and the target color gamut, and a ninth adjustment proportion determined according to the brightness of the B primary color of each of the initial color gamut and the target color gamut.
As an alternative embodiment, the gamut coefficient processing apparatus further includes: the system comprises an input module and an adjusting module, wherein the input module is used for inputting a target color gamut coefficient into a display screen; and the adjusting module is used for replacing the initial color gamut coefficient with the target color gamut coefficient in the display screen and adjusting the color gamut of the display screen to the target color gamut.
In the embodiment of the present invention, a non-volatile storage medium is further provided, where the non-volatile storage medium includes a stored program, and when the program runs, a device in which the non-volatile storage medium is located is controlled to execute any one of the above color gamut coefficient processing methods.
In an embodiment of the present invention, there is also provided a computer device, including: a memory and a processor, the memory storing a computer program; a processor for executing a computer program stored in the memory, the computer program when executed causing the processor to perform any of the above described gamut coefficient processing methods.
In an embodiment of the present invention, a Light Emitting Diode (LED) display screen is further provided, where the LED display screen includes the color gamut coefficient processing apparatus.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A method of processing color gamut coefficients, comprising:
acquiring color coordinates and brightness of RGB (red, green and blue) three primary colors of an initial color gamut of a display screen in a correction state, color coordinates of RGB three primary colors of a target color gamut of the display screen in the correction state and color coordinates of RGB three primary colors of the display screen in a non-correction state;
determining white balance color coordinates and brightness according to a first relation between the color coordinates and brightness of three primary colors in a Yxy color space and the color coordinates of corresponding composite colors, a second relation between the brightness of the three primary colors in the Yxy color space and the brightness of the corresponding composite colors, and the color coordinates and brightness of the RGB three primary colors of the initial color gamut of the display screen in a correction state;
determining the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the target color gamut of the display screen in the correction state, the color coordinates and the brightness of the white balance, the first relation and the second relation;
determining the brightness of a primary color and the brightness of an auxiliary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates of the RGB three primary colors of the display screen in the non-correction state, the color coordinates and the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state, the first relation and the second relation;
acquiring an initial color gamut coefficient corresponding to an initial color gamut of the display screen in a correction state, and the brightness of a primary color and the brightness of a secondary color respectively included by RGB three primary colors of the initial color gamut of the display screen in the correction state;
and determining the target color gamut coefficient of the display screen according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state, the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state, and the initial color gamut coefficient.
2. The method according to claim 1, wherein determining the target color gamut coefficient of the display screen according to the luminance of the primary color and the luminance of the secondary color respectively included in the RGB three primary colors of the target color gamut of the display screen in the corrected state, the luminance of the primary color and the luminance of the secondary color respectively included in the RGB three primary colors of the initial color gamut of the display screen in the corrected state, and the initial color gamut coefficient comprises:
determining a color gamut coefficient adjusting proportion according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state and the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state;
and adjusting the initial color gamut coefficient according to the color gamut coefficient adjusting proportion to obtain a target color gamut coefficient of the display screen.
3. The method of claim 2, wherein the gamut coefficient adjusting ratio comprises:
a first adjustment ratio determined according to the luminances of the R dominant colors of the R primaries of the initial color gamut and the target color gamut,
a second adjustment ratio determined according to the brightness of the G auxiliary color of the R primary color of each of the initial color gamut and the target color gamut,
a third adjustment ratio determined according to the luminance of the B auxiliary color of the R primary color of each of the initial color gamut and the target color gamut,
a fourth adjustment ratio determined according to the luminances of the R auxiliary colors of the G primaries of the initial color gamut and the target color gamut,
a fifth adjustment ratio determined according to the luminance of the G primary of each of the initial color gamut and the target color gamut,
a sixth adjustment ratio determined according to the luminances of the B auxiliary colors of the G primaries of the initial color gamut and the target color gamut,
a seventh adjustment ratio determined according to the luminances of the R auxiliary colors of the B primary colors of the initial color gamut and the target color gamut respectively,
an eighth adjustment ratio determined according to the luminances of the G auxiliary colors of the B primary colors of the initial color gamut and the target color gamut,
and the ninth adjusting proportion is determined according to the brightness of the B primary color of the initial color gamut and the target color gamut.
4. The method of any of claims 1 to 3, wherein after determining the target color gamut coefficients for the display screen, further comprising:
inputting the target color gamut coefficient into the display screen;
and replacing the initial color gamut coefficient with the target color gamut coefficient in the display screen, and adjusting the color gamut of the display screen to the target color gamut.
5. A color gamut coefficient processing apparatus characterized by comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the color coordinates and the brightness of RGB (red, green and blue) three primary colors of an initial color gamut of a display screen in a correction state, the color coordinates of RGB three primary colors of a target color gamut of the display screen in the correction state and the color coordinates of RGB three primary colors of the display screen in a non-correction state;
the first determining module is used for determining the color coordinate and the brightness of white balance according to a first relation between the color coordinate and the brightness of the three primary colors in a Yxy color space and the color coordinate of the corresponding composite color, a second relation between the brightness of the three primary colors in the Yxy color space and the brightness of the corresponding composite color, and the color coordinate and the brightness of the RGB three primary colors of the initial color gamut of the display screen in a correction state;
the second determining module is used for determining the brightness of the RGB three primary colors of the target color gamut of the display screen in the correction state according to the color coordinates, the color coordinates and the brightness of the white balance, the first relation and the second relation of the RGB three primary colors of the target color gamut of the display screen in the correction state;
the third determining module is configured to determine, according to the color coordinates of the RGB three primary colors of the display screen in the non-corrected state, the color coordinates and the luminance of the RGB three primary colors of the target color gamut of the display screen in the corrected state, the first relationship, and the second relationship, the luminance of the primary color and the luminance of the secondary color respectively included in the RGB three primary colors of the target color gamut of the display screen in the corrected state;
the second obtaining module is used for obtaining an initial color gamut coefficient corresponding to the initial color gamut of the display screen in the correction state and the brightness of a primary color and the brightness of a secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state;
and the fourth determining module is used for determining the target color gamut coefficient of the display screen according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state, the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state, and the initial color gamut coefficient.
6. The apparatus of claim 5, wherein the fourth determining module comprises: a determination unit and an adjustment unit, wherein,
the determining unit is used for determining the color gamut coefficient adjusting proportion according to the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the initial color gamut of the display screen in the correction state and the brightness of the primary color and the brightness of the secondary color respectively included by the RGB three primary colors of the target color gamut of the display screen in the correction state;
and the adjusting unit is used for adjusting the initial color gamut coefficient according to the color gamut coefficient adjusting proportion to obtain a target color gamut coefficient of the display screen.
7. The apparatus of claim 6, wherein the gamut coefficient adjusting ratio comprises:
a first adjustment ratio determined according to the luminances of the R dominant colors of the R primaries of the initial color gamut and the target color gamut,
a second adjustment ratio determined according to the brightness of the G auxiliary color of the R primary color of each of the initial color gamut and the target color gamut,
a third adjustment ratio determined according to the luminance of the B auxiliary color of the R primary color of each of the initial color gamut and the target color gamut,
a fourth adjustment ratio determined according to the luminances of the R auxiliary colors of the G primaries of the initial color gamut and the target color gamut,
a fifth adjustment ratio determined according to the luminance of the G primary of each of the initial color gamut and the target color gamut,
a sixth adjustment ratio determined according to the luminances of the B auxiliary colors of the G primaries of the initial color gamut and the target color gamut,
a seventh adjustment ratio determined according to the luminances of the R auxiliary colors of the B primary colors of the initial color gamut and the target color gamut respectively,
an eighth adjustment ratio determined according to the luminances of the G auxiliary colors of the B primary colors of the initial color gamut and the target color gamut,
and the ninth adjusting proportion is determined according to the brightness of the B primary color of the initial color gamut and the target color gamut.
8. The apparatus of any one of claims 5 to 7, further comprising: an input module and an adjustment module, wherein,
the input module is used for inputting the target color gamut coefficient into the display screen;
and the adjusting module is used for replacing the initial color gamut coefficient with the target color gamut coefficient in the display screen and adjusting the color gamut of the display screen to the target color gamut.
9. An LED display screen, characterized by comprising the color gamut coefficient processing apparatus according to any one of claims 5 to 8.
10. A computer device, comprising: a memory and a processor, wherein the processor is capable of,
the memory stores a computer program;
the processor configured to execute a computer program stored in the memory, the computer program when executed causing the processor to perform the gamut coefficient processing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110444536.2A CN113129815B (en) | 2021-04-23 | 2021-04-23 | Color gamut coefficient processing method and device, LED display screen and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110444536.2A CN113129815B (en) | 2021-04-23 | 2021-04-23 | Color gamut coefficient processing method and device, LED display screen and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113129815A CN113129815A (en) | 2021-07-16 |
CN113129815B true CN113129815B (en) | 2022-03-01 |
Family
ID=76780343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110444536.2A Active CN113129815B (en) | 2021-04-23 | 2021-04-23 | Color gamut coefficient processing method and device, LED display screen and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113129815B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080025A (en) * | 2007-06-18 | 2007-11-28 | 东莞黄江达裕科技电子厂 | A white balance adjustment method and system |
CN101339736A (en) * | 2008-08-13 | 2009-01-07 | 大连达明科技有限公司 | On-line brightness correcting and color gamut optimizing method for full-color LED display screen |
CN101860765A (en) * | 2009-04-13 | 2010-10-13 | 鸿富锦精密工业(深圳)有限公司 | White balance adjustment method |
CN103761948A (en) * | 2013-12-30 | 2014-04-30 | Tcl显示科技(惠州)有限公司 | White balance debugging method and device and display method and device of displayer |
CN109147712A (en) * | 2018-10-08 | 2019-01-04 | 惠州市华星光电技术有限公司 | A kind of method and system for the visual angle colour cast improving display panel |
CN110197642A (en) * | 2019-05-30 | 2019-09-03 | 京东方科技集团股份有限公司 | The bearing calibration of the acquisition methods, display of three primary colours gamma correction relationship and means for correcting |
CN112309312A (en) * | 2019-07-26 | 2021-02-02 | 西安诺瓦星云科技股份有限公司 | Image display method and device, receiving card, sending card and LED display system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004200902A (en) * | 2002-12-17 | 2004-07-15 | Nikon Corp | Image processor, electronic camera, and image processing program |
-
2021
- 2021-04-23 CN CN202110444536.2A patent/CN113129815B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080025A (en) * | 2007-06-18 | 2007-11-28 | 东莞黄江达裕科技电子厂 | A white balance adjustment method and system |
CN101339736A (en) * | 2008-08-13 | 2009-01-07 | 大连达明科技有限公司 | On-line brightness correcting and color gamut optimizing method for full-color LED display screen |
CN101860765A (en) * | 2009-04-13 | 2010-10-13 | 鸿富锦精密工业(深圳)有限公司 | White balance adjustment method |
CN103761948A (en) * | 2013-12-30 | 2014-04-30 | Tcl显示科技(惠州)有限公司 | White balance debugging method and device and display method and device of displayer |
CN109147712A (en) * | 2018-10-08 | 2019-01-04 | 惠州市华星光电技术有限公司 | A kind of method and system for the visual angle colour cast improving display panel |
CN110197642A (en) * | 2019-05-30 | 2019-09-03 | 京东方科技集团股份有限公司 | The bearing calibration of the acquisition methods, display of three primary colours gamma correction relationship and means for correcting |
CN112309312A (en) * | 2019-07-26 | 2021-02-02 | 西安诺瓦星云科技股份有限公司 | Image display method and device, receiving card, sending card and LED display system |
Also Published As
Publication number | Publication date |
---|---|
CN113129815A (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Davis et al. | Toward an improved color rendering metric | |
US20190172415A1 (en) | Remote Color Matching Process and System | |
Smet et al. | Colour appearance rating of familiar real objects | |
CN103080999B (en) | For having the self-adaptation color correction of the indicating meter of backlight modulation | |
CN102611897B (en) | Method and system for carrying out vision perception high-fidelity transformation on color digital image | |
US20110187290A1 (en) | Color Control of Dynamic Lighting | |
US8760462B2 (en) | Color management method for color representation with self-luminous color primaries | |
CN104599636A (en) | Brightness and chrominance correction coefficient generation device and brightness and chrominance correction method for LED (light emitting diode) display screen | |
JP2000293129A (en) | Display characteristic recognizing device, display characteristic recognizing program recording medium, display characteristic adjusting device and display characteristic adjusting program recording medium | |
CN110337158B (en) | Light emitting control method and device of light emitting diode | |
CN109192132B (en) | Brightness and chrominance compensation method for white field displayed by LED display screen | |
US7705857B2 (en) | Method and apparatus for characterizing and correcting for hue shifts in saturated colors | |
WO2001013355A2 (en) | Method for measuring a lighting condition and an apparatus thereof | |
CN113129813B (en) | White balance adjusting method and device and computer equipment | |
JP2010217645A (en) | Method, device and program of making correction value of image display device | |
TWI602419B (en) | Adjusting method and display apparatus using same | |
CN114340080A (en) | Light mixing method, system and device of RGB-LED light source | |
CN113129815B (en) | Color gamut coefficient processing method and device, LED display screen and computer equipment | |
CN111458967B (en) | Color and color temperature calibration method, calibration device and projection display equipment | |
JP2010217644A (en) | Method, device and program of making correction value of image display device | |
US8189122B2 (en) | Method and system for automatic color wheel calibration in a projector | |
CN115633425A (en) | Method and device for regulating and controlling mixed light source, lighting equipment and storage medium | |
CN113947539A (en) | Image correction method, device and storage medium | |
CN116434694A (en) | Display screen correction method and device in color gamut adjustment and nonvolatile storage medium | |
JPH09178561A (en) | Simulation system for coloration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |