Color rendering control method and color rendering control system

By introducing indigo primary color, a four-primary-color space of red, blue, indigo, and yellow is constructed, which solves the problem of wasted green area in the RGB three-primary-color space and achieves a more uniform color rendering effect and resource saving.

CN120998129BActive Publication Date: 2026-02-24SHENZHEN INTELLIROCKS TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511522874.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-23
Publication Date
2026-02-24
Estimated Expiration
2045-10-23

AI Technical Summary

Technical Problem

The existing RGB three-primary-color space has a large green area, which makes it difficult for the human eye to recognize, resulting in a waste of data bandwidth and processing resources.

Method used

A new color space is adopted, including four primary colors: red, blue, indigo, and yellow. By acquiring color data and converting it to generate driving data, the color rendering module is driven to work, reducing the green area, increasing the blue area, and improving the richness of color rendering.

Benefits of technology

The color rendering range is more uniform, reducing resource waste and improving color richness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120998129B_ABST
    Figure CN120998129B_ABST
Patent Text Reader

Abstract

The application discloses a color rendering control method and a color rendering control system. The color rendering control method comprises the following steps: acquiring first color data; determining second color data according to the first color data; wherein the second color data belongs to a target color space, the target color space comprises four color primaries, and the four color primaries comprise red, blue, indigo and yellow; generating driving data according to the second color data; and driving a color rendering module to work based on the driving data, and rendering color by using color data corresponding to the target color space. Since the indigo primary color is added, in a color gamut diagram corresponding to the target color space, a green region is reduced, more blue regions are increased, and red, yellow, green and blue regions are more uniformly distributed, so that color rendering richness can be significantly improved, and resource waste can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of color development technology, and more specifically, to a color development control method and a color development control system. Background Technology

[0002] The current color rendering technology field widely adopts the RGB three-primary-color color space. In the color gamut diagram corresponding to the RGB three-primary-color color space, the green area is relatively large.

[0003] However, the human eye has a weak ability to perceive green bands, and large green areas cannot be recognized by the human eye, which leads to a waste of data bandwidth and processing resources. Summary of the Invention

[0004] In view of the above problems, the present invention proposes a color development control method and a color development control system.

[0005] In a first aspect, embodiments of this application provide a color rendering control method, the method comprising: acquiring first color data; determining second color data based on the first color data; wherein the second color data belongs to a target color space, the target color space includes four primary colors, the four primary colors being red, blue, indigo and yellow; generating driving data based on the second color data; and driving a color rendering module to operate based on the driving data.

[0006] Secondly, embodiments of this application also provide a color rendering control method, the method comprising: acquiring third color data; wherein the third color data belongs to a target color space, the target color space includes four primary colors, the four primary colors being red, blue, indigo, and yellow; converting the third color data into fourth color data; wherein the fourth color data belongs to a preset color space; the preset color space is different from the target color space; generating driving data based on the fourth color data; and driving the color rendering module to operate based on the driving data.

[0007] Thirdly, embodiments of this application also provide a color rendering control system, including: a control module and a color rendering module; the control module is used to acquire first color data; determine second color data based on the first color data; wherein the second color data belongs to a target color space, the target color space includes four primary colors, the four primary colors include red primary color, blue primary color, indigo primary color and yellow primary color; generate driving data based on the second color data; the color rendering module is used to operate according to the driving data; wherein the color rendering module includes a red color rendering unit, a blue color rendering unit, an indigo color rendering unit and a yellow color rendering unit.

[0008] The technical solution provided by this invention includes a color rendering control method comprising: acquiring first color data; determining second color data based on the first color data; wherein the second color data belongs to a target color space, the target color space includes four primary colors, namely red, blue, indigo, and yellow; generating driving data based on the second color data; and driving the color rendering module to operate based on the driving data, using the color data corresponding to the target color space for color rendering. Due to the addition of indigo, the color gamut map corresponding to the target color space, compared to the color space based on the RGB three primary colors, reduces the green area and increases more bluish areas, resulting in a more uniform distribution of red, yellow, green, and blue areas, which can significantly improve color richness and reduce resource waste. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments and drawings obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this invention.

[0010] Figure 1 A schematic flowchart of a color development control method provided in an embodiment of this application is shown.

[0011] Figure 2 The color gamut of the target color space provided in the embodiments of this application is shown in the CIE chromaticity coordinate system.

[0012] Figure 3 This illustration shows a color graphic of a three-dimensional space with x, y, and Nm provided in an embodiment of this application.

[0013] Figure 4 This illustration shows a color graphic of a two-dimensional space with x, y, and Nm provided in an embodiment of this application.

[0014] Figure 5 This illustration shows a grayscale image of a three-dimensional space with x, y, and Nm provided in an embodiment of this application.

[0015] Figure 6 This illustration shows a line-color graphic in a three-dimensional space with x, y, and Nm provided in an embodiment of this application.

[0016] Figure 7 A flowchart illustrating another color development control method provided in an embodiment of this application is shown.

[0017] Figure 8 A schematic diagram of the structure of a color rendering control system according to an embodiment of this application is shown. Detailed Implementation

[0018] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0019] The current color rendering technology field widely adopts color spaces based on the RGB three primary colors, such as Adobe RGB and Apple RGB. Color spaces based on the RGB three primary colors correspond to a larger green area.

[0020] However, according to the McAdam ellipse theory in color science, the human eye has a limited ability to distinguish subtle differences in the green band. This means that the wide color gamut and rich color levels offered by the color space in the green region are beyond the range of human perception and cannot be recognized by the human eye, thus leading to a waste of data bandwidth and processing resources.

[0021] To address the aforementioned issues, the inventors have proposed a color rendering control method and a color rendering control system as provided in this application. The color rendering control method includes: acquiring first color data; determining second color data based on the first color data; wherein the second color data belongs to a target color space, which includes four primary colors: red, blue, indigo, and yellow; generating driving data based on the second color data; and driving the color rendering module to operate based on the driving data, using the color data corresponding to the target color space for color rendering. Due to the addition of indigo, the color gamut corresponding to the target color space, compared to a color space based on RGB primary colors, reduces the green area and increases the blue area, resulting in a more uniform distribution of red, yellow, green, and blue areas. This significantly improves color richness and reduces resource waste.

[0022] Please see Figure 1 , Figure 1 The following is a schematic flowchart of a color development control method provided in an embodiment of this application, as shown in the figure. Figure 1 As shown, the color development control method provided in this application embodiment includes steps S110 to S140.

[0023] Step S110: Obtain the first color data.

[0024] Step S120: Determine the second color data based on the first color data; wherein the second color data belongs to the target color space, the target color space includes four primary colors, namely red, blue, indigo and yellow.

[0025] In related technologies, a color space based on the RGB three primary colors is usually used. The corresponding green area in the RGB three primary color color space is relatively large, and the green area is difficult for the human eye to perceive, resulting in a waste of data bandwidth and processing resources.

[0026] Therefore, the inventors of this application creatively propose a new color space, namely a four-dimensional target color space constructed using red, blue, indigo, and yellow as the four primary colors.

[0027] Please see Figure 2 , Figure 2 This example illustrates the color gamut of the target color space in the CIE chromaticity coordinate system. In the CIE chromaticity coordinate system, yellow is located at point P1, red at point P2, blue at point P3, and indigo at point P4. The quadrilateral region enclosed by P1, P2, P3, and P4 in the CIE chromaticity coordinate system represents the color gamut of the target color space. P1P2, P2P3, P3P4, and P1P4 are the four gamut boundary lines of the target color space in the CIE chromaticity coordinate system. Figure 2 As can be seen, the target color space includes more blue-toned areas in its color gamut, and the distribution of red, yellow, green, and blue regions is more even, which can significantly improve color richness and reduce resource waste.

[0028] The color space corresponding to the first color data can be the target color space, XYZ color space, RGB color space, etc., and it can be compatible with color data from various color spaces for color display control.

[0029] In some implementations, if the first color data belongs to the target color space, then the first color data is used as the second color data. That is, color rendering control can be performed directly based on color data belonging to the target color space.

[0030] In other implementations, if the first color data does not belong to the target color space, the first color data is converted to a second color data that belongs to the target color space.

[0031] Optionally, if the first color data belongs to the XYZ color space, then step S210 may include the following steps.

[0032] (1) If the first color data belongs to the XYZ color space, the target conversion coefficient group is determined according to the positive conversion relationship between the first color data and the preset coefficients; wherein, the target conversion coefficient group includes four conversion coefficients.

[0033] (2) Determine the second color data based on the target conversion coefficient group and the target color conversion relationship.

[0034] In the embodiments of this application, the XYZ color space is the color space established by the International Commission on Illumination (CIE) in 1931 based on numerous human visual experiments. Each color in the XYZ color space can be represented by tristimulus values ​​(X, Y, Z); Y represents luminance, X represents hue, and Z represents chromaticity.

[0035] In this embodiment of the application, each color in the target color space can be represented by (R 255 B 255 C 255 Y 255 R is used to represent this. 255 (Values ​​are integers ranging from 0 to 255) represent the red component, B 255 (Values ​​range from 0 to 255) represent the blue component, C 255 (Values ​​are integers ranging from 0 to 255) represent the indigo component, Y 255 (Values ​​are integers ranging from 0 to 255) represent the yellow component.

[0036] In the embodiments of this application, the calculation formula corresponding to the target color conversion relationship may include the following formula.

[0037] (Formula 1)

[0038] The second color data is (R) 255 B 255 C 255 Y 255 ), R 255 Indicates the red component; B 255 Indicates the blue component; C 255 Indicates the indigo component; Y 255 Represents the yellow component; where R 255 B 255 C 255 Y 255 The value of is an integer ranging from 0 to 255. The target conversion coefficient group is (η1, η2, η3, η4), where η1, η2, η3, and η4 represent the four conversion coefficients in the target conversion coefficient group. The value of ηi (i=1, 2, 3, 4) is in the range of 0≤ηi≤1. g represents the gamma value corresponding to the target color space in the gamma correction transformation.

[0039] There may be multiple color mixing methods when converting the first color data corresponding to the XYZ space into the second color data of the target color space. The target conversion coefficient set represents the weight coefficients corresponding to the color mixing methods that meet the requirements. The target conversion coefficient set corresponding to the first color data can be determined by a preset positive conversion relationship of coefficients, which will be described in detail in the following embodiments.

[0040] Optionally, if the first color data does not belong to the target color space and the XYZ color space, the first color data can be converted into color data in the XYZ color space first, and then converted into second color data in the target color space using the method described in the above embodiment.

[0041] Step S130: Generate driving data based on the second color data.

[0042] Step S140: Drive the color display module to work based on the driving data.

[0043] The color rendering module includes a red color rendering unit, a blue color rendering unit, an indigo color rendering unit, and a yellow color rendering unit; the center wavelength range of the light emitted by the red color rendering unit is 600nm~645nm; the center wavelength range of the light emitted by the blue color rendering unit is 450nm~485nm; the center wavelength range of the light emitted by the indigo color rendering unit is 490nm~505nm; and the center wavelength range of the light emitted by the yellow color rendering unit is 555nm~575nm.

[0044] In some implementations, the color display module may be implemented using LED units, laser units, or quantum dot units, etc., and this application does not limit this.

[0045] The following will provide a detailed explanation using specific examples.

[0046] In some implementations, if the first color data belongs to the XYZ color space, the target conversion coefficient group is determined based on the first color data and the preset positive conversion relationship, including the following steps.

[0047] (1) Determine the four coordinate coefficients based on the first color data and the preset coordinate transformation relationship.

[0048] In some implementations, the step of determining four coordinate coefficients based on the first color data and a preset coordinate transformation relationship may include the following steps.

[0049] a. Normalize the first color data to obtain the first chromaticity coordinate value and the second chromaticity coordinate value;

[0050] b. Obtain four plane coefficient groups; where each plane coefficient includes a first plane sub-coefficient, a second plane sub-coefficient, and a third plane sub-coefficient;

[0051] c. Determine the coordinate coefficients based on each plane coefficient group, the first chromaticity coordinate value, and the second chromaticity coordinate value; wherein, the calculation formula for the coordinate coefficients is:

[0052] (Formula 2)

[0053] Where Ni represents the coordinate coefficient; αi represents the first plane sub-coefficient; βi represents the second plane sub-coefficient; γi represents the third plane sub-coefficient; x represents the first chromaticity coordinate value; and y represents the second chromaticity coordinate value.

[0054] (2) Determine the four-dimensional color coordinates based on each coordinate coefficient and the first color data respectively.

[0055] (3) Determine the initial conversion coefficient set based on each four-dimensional color coordinate and the inverse matrix of the first target color conversion matrix.

[0056] (4) Determine the target conversion coefficient group from all initial conversion coefficient groups, wherein all conversion coefficients in the target conversion coefficient group are greater than or equal to zero.

[0057] In the embodiments of this application, it is necessary to determine the first target color transformation matrix between the weighting coefficients for mixing the four primary colors in the RBCY color space and the three-dimensional chromaticity coordinates in the CIE chromaticity coordinate system.

[0058] You can pre-select the three-dimensional chromaticity coordinates of the four primary colors corresponding to the target color space, namely red, blue, indigo and yellow, in the CIE chromaticity coordinate system. The sum of the three-dimensional chromaticity coordinates of each color is 1. For example, the three-dimensional chromaticity coordinates include the first chromaticity coordinate, the second chromaticity coordinate and the third chromaticity coordinate, then the sum of the first chromaticity coordinate and the second chromaticity coordinate and the third chromaticity coordinate is 1.

[0059] In some embodiments, the chromaticity coordinates of the four primary colors selected include: the three-dimensional chromaticity coordinates of red R=(0.6900, 0.3050, 0.0050); the three-dimensional chromaticity coordinates of blue B=(0.1400, 0.0700, 0.7900); the three-dimensional chromaticity coordinates of indigo C=(0.0250, 0.5000, 0.4750); and the three-dimensional chromaticity coordinates of yellow Y=(0.4000, 0.5800, 0.0200).

[0060] It should be noted that colors with different center wavelengths correspond to different three-dimensional chromaticity coordinates (i.e., for the same color, different center wavelengths can correspond to different three-dimensional chromaticity coordinates). That is, the three-dimensional chromaticity coordinates of the four primary colors provided in the embodiments of this application are only one implementation method. In other embodiments, other methods can be selected within the center wavelength range of the four primary colors for implementation. This application does not impose any restrictions on this.

[0061] In addition, a white point needs to be selected for white balance. Commonly used standard white points include D65, D55, and D50. In this embodiment, the D65 white point is selected, and the corresponding three-dimensional color coordinates are (0.9504, 1.0000, 1.0889). Other white points can also be selected for white balance in other embodiments, and this application does not limit this.

[0062] In some implementations, due to the use of four-way mixing, the D65 white point can be configured into a fourth-order matrix for ease of calculation. That is, the four-dimensional color coordinates of the D65 white point are:

[0063] (Formula 3)

[0064] In the embodiments of this application, the proportions of the four primary colors in the target color space are determined by determining the color coordinates of the mixed magenta (R:B=1:1). Optionally, the color coordinates of the mixed magenta M (Magenta) are: M=(0.3600, 0.1640, 0.4760). Using the expression for the white point D65 (i.e., Formula 2) and the color coordinates of the mixed magenta M, the white balance coefficient can be uniquely determined: the white balance coefficient k corresponding to red. R =0.6933, the white balance coefficient k corresponding to blue. B =1.0399, the white balance coefficient k corresponding to indigo. C =0.5226 and the white balance coefficient k corresponding to yellow. Y =0.7835.

[0065] Therefore, we can obtain the first target color transformation matrix M. RBCY1 for:

[0066]

[0067] Therefore, the inverse matrix of the first target color transformation matrix can be obtained as follows:

[0068]

[0069] Among them, M RBCY1 The first three items in the first column are the three-dimensional chromaticity coordinates of red and the corresponding white balance coefficient k. R Multiplying them together, we get M RBCY1 The first three items in the second column are the three-dimensional chromaticity coordinates of blue and the corresponding white balance coefficient k. B Multiply to get; M RBCY1 The first three items in the third column are the three-dimensional chromaticity coordinates of indigo and the corresponding white balance coefficient k of indigo. C Multiply to get; M RBCY1 The first three items in the fourth column are the three-dimensional chromaticity coordinates of yellow and the corresponding white balance coefficient k. Y Multiply to get; MRBCY1 The values ​​in the fourth row are all 1, to ensure that the 4×4 matrix has an inverse matrix.

[0070] The expression for the four-dimensional color coordinates at this point is:

[0071] (Formula 4)

[0072] Right now:

[0073] (Formula 5)

[0074] Wherein, the three-dimensional chromaticity coordinates of the first color data in the XYZ color space are (X, Y, Z); η1, η2, η3, and η4 represent four transformation coefficients in the target transformation coefficient group, where the value range of ηi (i=1, 2, 3, 4) is: 0≤ηi≤1; N represents the coordinate coefficient.

[0075] When ηi=1, the chromaticity coordinate expression of D65 can be obtained, that is:

[0076]

[0077] Under the color gamut framework provided in the embodiments of this application, as can be seen from Formula 3, each set of conversion coefficients can determine a unique chromaticity coordinate, but the coordinate coefficient N and the three-dimensional chromaticity coordinates (X, Y, Z) are not in a one-to-one correspondence.

[0078] In other words, a given three-dimensional color coordinate (X, Y, Z) may correspond to multiple coordinate coefficients N. This means that a given three-dimensional color coordinate (X, Y, Z) can correspond to multiple sets of transformation coefficients, that is, the same color may have multiple color mixing methods.

[0079] Further reference Figure 2 , Figure 2 The quadrilateral color gamut in the diagram is P1P2P3P4. The closer to the edges (edges P1P2, P2P3, P3P4, and P4P1), the fewer the values ​​of the coordinate coefficient N corresponding to the chromaticity coordinates. When the chromaticity coordinates are taken on all four sides of quadrilateral P1P2P3P4, there will only be one coordinate coefficient N value. The coordinate coefficient N value corresponding to a single chromaticity coordinate changes continuously, that is, within a certain range: N... max ≤N≤N min .

[0080] For ease of explanation, we can define a central N value, denoted by Nm. Preferably, when performing color selection, the four conversion coefficients corresponding to Nm can be selected as the target conversion coefficient group.

[0081] Furthermore, the 3D color coordinates [X, Y, Z] will be used. TAfter normalization, we obtain [x, y]. T Where the first chromaticity coordinate value is x = X / (X+Y+Z), and the second chromaticity coordinate value is y = Y / (X+Y+Z). Taking the center Nm as the third coordinate, this forms a normalized chromaticity coordinate N-value 3D space [x, y, Nm]. T .

[0082] When the selected color coordinates are outside the RBCY quadrilateral, the transformation coefficient ηi (i=1, 2, 3, 4) will have a negative value. The coordinate coefficient N that produces a negative transformation coefficient is discarded. When there is no value for N, the 3D space [x, y, Nm] is represented. T The Nm point in the equation is assigned a value of 0, resulting in... Figure 3 , Figure 3 This application illustrates a color graphic in a three-dimensional space of x, y, Nm provided in an embodiment of the present application.

[0083] Figure 4 This illustration shows a color graphic of a two-dimensional space with x, y, and Nm provided in an embodiment of this application. (By...) Figure 4 It can be seen that the boundary of the figure is... Figure 2 Quadrilaterals P1P2P3P4 are the same. Figure 5 This illustration shows a grayscale image in a three-dimensional space with x, y, and Nm, provided in an embodiment of this application. (By...) Figure 5 It can be seen that the surface is composed of four triangular planes. Figure 6 This illustration shows a line-color graphic in three-dimensional space (x, y, Nm) provided in an embodiment of this application. (By...) Figure 6 It can be seen that the four triangular planes form a saddle-shaped curved surface.

[0084] Furthermore, by using the three-dimensional color coordinates of the five points—red (R), blue (B), indigo (C), yellow (Y), and white (W)—the equations of the four triangular planes can be calculated.

[0085] The four-dimensional color coordinates of red (R), blue (B), indigo (C), and yellow (Y) are as follows:

[0086]

[0087] The four-dimensional color coordinates of the white W point are explained in Formula 2.

[0088] After normalizing the sum of the color coordinates, the normalized color coordinates N values ​​of the five points (red R, blue B, indigo C, yellow Y, and white W) in 3D space are:

[0089] (Formula 6)

[0090] Therefore, we can obtain the following plane equations: RBW: α1x + β1x + γ1N = 1; BCW: α2x + β2x + γ2N = 1; CYW: α3x + β3x + γ3N = 1; and YRW: α4x + β4x + γ4N = 1. Wherein, (α... i ,β i γ i ) represents the plane coefficient set, α i Denotes the first planar sub-coefficient; β i Indicates the second plane sub-coefficient; γ i This represents the coefficients of the third plane sub-plane.

[0091] Using the plane equations described above, we can calculate the coordinate coefficient N values ​​of other color coordinate points, i.e., Formula 3 above.

[0092] Substituting the coordinates of points r, b, c, y, and w from Formula 5 into the above plane equation yields the expression for the corresponding plane coefficient set.

[0093] (Formula 7)

[0094] In the embodiments of this application, the first color data (X, Y, Z) is first normalized to obtain the first chromaticity coordinate value x and the second chromaticity coordinate value y, where x = X / (X+Y+Z); y = Y / (X+Y+Z).

[0095] Then, substituting the x and y values ​​into formulas 2 and 7, we can obtain four sets of coordinate coefficients N. i value.

[0096] Then, the four-dimensional color coordinates are determined based on each coordinate coefficient and the first color data, namely: [X, Y, Z, N]. i ] T .

[0097] Furthermore, the initial conversion coefficient set is determined by substituting each four-dimensional color coordinate and the inverse matrix of the first target color conversion matrix. That is, by substituting each four-dimensional color coordinate into Formula 5, four sets of initial conversion coefficient sets can be obtained.

[0098] Furthermore, remove all initial conversion coefficient groups containing conversion coefficients less than 0, and select one of the remaining initial conversion coefficient groups as the target conversion coefficient group.

[0099] In some cases, negative conversion factors are obtained due to numerical errors. To reduce the deviation caused by data errors, the error can be ignored when the absolute value is less than 0.0010.

[0100] For example, if the value of the conversion factor is negative, but the absolute value of its difference from 0 is less than 0.0010, then the value of the conversion factor can be considered equal to 0, which is also a non-negative value. Similarly, if the absolute value of its difference from 1 is less than 0.0010, then the value can be considered equal to 1.

[0101] The target color space provided in this application embodiment uses four primary colors for color mixing, allowing for multiple mixing methods for the same color's 3D coordinates. Therefore, the 4-primary-color mixing system is more stable. The conversion coefficient ηi varies within a certain range, resulting in minimal change to the corresponding 3D color coordinates.

[0102] Furthermore, the conversion coefficients are subjected to gamma correction transformation and compared with the four-channel values ​​of the target color space (Ri). 255 B 255 C 255 Y 255 By associating them, we can obtain:

[0103] (Formula 8)

[0104] Formula 1 above can be obtained from Formula 8.

[0105] In some implementations, the gamma correction transformation can be implemented using a nonlinear gamma2.2 transformation, or other methods may be used, and this application does not limit this.

[0106] The gamma value g in Formula 8 will vary depending on the implementation method (such as the choice of gamma correction transformation method).

[0107] In some implementations, g takes the value 2.199218175.

[0108] In some implementations, several standard color conversions are provided as follows:

[0109] RBCY[255, 0, 0, 0] is red. The corresponding tristimulus values ​​are XYZ(0.4784, 0.2114, 0.0035).

[0110] RBCY[0, 255, 0, 0] is blue. The corresponding tristimulus values ​​are XYZ(0.1456, 0.0728, 0.8215).

[0111] RBCY[0, 255, 0, 0] represents indigo, a standard indigo with a greenish tint. The corresponding tristimulus values ​​are XYZ(0.0131, 0.2613, 0.2482).

[0112] RBCY[0, 0, 0, 255] is a bluish-yellow color, which is a standard yellow with a greenish tint. The corresponding tristimulus values ​​are XYZ(0.3134, 0.4545, 0.0157).

[0113] RBCY[0, 0, 255, 255] represents green. This color is a green created by mixing indigo and yellow. It is also the greenest color that the target color space can display. The corresponding tristimulus values ​​are XYZ(0.3265, 0.7158, 0.2639).

[0114] RBCY[255, 255, 0, 0] is magenta. This color is a mixture of red and blue. The corresponding tristimulus values ​​are XYZ(0.6239, 0.2842, 0.8250).

[0115] RBCY[255, 0, 0, 255] represents orange, a color created by mixing red and yellow. The corresponding tristimulus values ​​are XYZ(0.7918, 0.6659, 0.0191).

[0116] RBCY[0, 255, 255, 0] is sky blue. This color is a mixture of blue and indigo. The corresponding tristimulus values ​​are XYZ(0.1587, 0.3341, 1.0698).

[0117] It should be noted that by selecting specific primary color coordinate points and transformation coefficients, the four planar equations in Formula 2 can be transformed into one planar equation. However, in this case, the first target color transformation matrix M... RBCY1 This will result in a singular matrix, which cannot be inverted. Therefore, when choosing parameters, try to avoid selecting white points located at the intersections of the quadrilaterals.

[0118] This application also provides another method for determining conversion coefficients. In some implementations, if the first color data belongs to the XYZ color space, the target conversion coefficient group is determined according to the first color data and the preset positive conversion relationship, including the following steps.

[0119] (1) If the first color data belongs to the XYZ color space, then obtain four basic color conversion matrices; where each basic color conversion matrix corresponds to a basic color space; the basic color conversion matrix is ​​used to convert the color data of the XYZ color space into the color data of the corresponding basic color space.

[0120] In order to obtain the four basic color conversion matrices, in some embodiments, the color control method provided in this application further includes: obtaining a second target color conversion matrix; and determining the four basic color conversion matrices based on the second target color conversion matrix.

[0121] (2) Each basic color space includes three primary colors; the three primary colors include three of the primary colors of red, blue, indigo and yellow; different basic color transformation matrices correspond to different basic color spaces;

[0122] (3) Determine the target conversion coefficient group based on the first color data and all basic color conversion matrices.

[0123] Specifically, the step of determining the target conversion coefficient set based on the first color data and all basic color conversion matrices may include the following steps.

[0124] a. Determine an initial conversion coefficient group based on the first color data and the inverse matrix of each basic color conversion matrix; each initial conversion coefficient group includes four conversion coefficients; and in each conversion coefficient group, there is at least one conversion coefficient with a value of zero;

[0125] b. Determine the target conversion coefficient group from all initial conversion coefficient groups; wherein, the values ​​of all conversion coefficients in the target conversion coefficient group are greater than or equal to zero.

[0126] In the embodiments of this application, it is necessary to determine a second target color transformation matrix between the weighting coefficients for mixing the four primary colors in the RBCY color space and the three-dimensional chromaticity coordinates in the CIE chromaticity coordinate system.

[0127] In some embodiments, the chromaticity coordinates of the four primary colors selected include: the three-dimensional chromaticity coordinates of red R=(0.6900, 0.3050, 0.0050); the three-dimensional chromaticity coordinates of blue B=(0.1400, 0.0700, 0.7900); the three-dimensional chromaticity coordinates of indigo C=(0.0250, 0.5000, 0.4750); and the three-dimensional chromaticity coordinates of yellow Y=(0.4000, 0.5800, 0.0200).

[0128] It is understandable that the chromaticity coordinates of the four primary colors can also be chosen in other ways, and this application does not impose any restrictions on this.

[0129] In the embodiments of this application, the D65 white point is selected for white balance, and the three-dimensional color coordinates corresponding to the D65 white point are (0.9504, 1.0000, 1.0889).

[0130] In the embodiments of this application, the proportions of the four primary colors in the target color space are determined by determining the color coordinates of the mixed magenta (R:B=1:1). Optionally, the color coordinates of the mixed magenta M (Magenta) are: M=(0.3600, 0.1640, 0.4760). Using the expression for the white point D65 (i.e., Formula 2) and the color coordinates of the mixed magenta M, the white balance coefficient can be uniquely determined: the white balance coefficient k corresponding to red.R =0.6933, the white balance coefficient k corresponding to blue. B =1.0399, the white balance coefficient k corresponding to indigo. C =0.5226 and the white balance coefficient k corresponding to yellow. Y =0.7835.

[0131] Therefore, we can obtain the second target color transformation matrix M. RBCY2 for:

[0132]

[0133] Among them, M RBCY2 The first column is the three-dimensional chromaticity coordinates of red and the corresponding white balance coefficient k. R Multiplying them together, we get M RBCY2 The second column shows the three-dimensional chromaticity coordinates of blue and the corresponding white balance coefficient k. B Multiply to get; M RBCY2 The third column shows the three-dimensional chromaticity coordinates of indigo and its corresponding white balance coefficient k. C Multiply to get; M RBCY2 The fourth column is the three-dimensional chromaticity coordinates of yellow and the corresponding white balance coefficient k. Y The product is obtained by multiplying.

[0134] The three-dimensional color coordinate expression at this time is:

[0135] (Formula 9)

[0136] Within this color gamut framework, each set of conversion coefficients ηi can determine a unique three-dimensional chromaticity coordinate (X, Y, Z).

[0137] However, a given set of three-dimensional chromaticity coordinates (X, Y, Z) can correspond to multiple sets of transformation coefficients ηi.

[0138] Unlike the implementation described above, the second target color conversion matrix MRBCY2 is a 3×4 matrix, which cannot be represented by [X, Y, Z] using methods such as inverse matrices. T Solve for [η1, η2, η3, η4] T Proportion value.

[0139] Therefore, this application provides another method using [X, Y, Z] T Find a specific set of transformation coefficients [η1, η2, η3, η4]. T .

[0140] In this embodiment of the application, for each target color [X, Y, Z] TIt uses only 3 of the 4 primary colors for color mixing.

[0141] Therefore, for each target color, four sets of color mixing results (four sets of initial conversion coefficients) can be calculated. Finally, the results with negative weight components are filtered out (i.e., the initial conversion coefficients with negative values ​​are removed), and one set is selected from the remaining initial conversion coefficients as the target conversion coefficient set.

[0142] In some implementations, in the second target color conversion matrix M RBCY2 Based on this, we can obtain four sets of basic color transformation matrices and their corresponding inverse matrices.

[0143] Understandably, other methods can also be used to obtain the four basic color transformation matrices, such as using primary color coordinates and selecting white points for white balance.

[0144]

[0145] Assume the chromaticity coordinates of a target color are [X, Y, Z]. T Then, the conversion coefficient sets [η1, η2, η3, η4] corresponding to the four sets of 3-primary-color schemes can be calculated. T ,Right now:

[0146]

[0147] Obtain the initial conversion coefficient set η RBC η RCY η RBY η BCY In each initial set of transformation coefficients, at least one transformation coefficient has a value of zero. For example, in the set of transformation coefficients η... RBC The value of η4 is zero.

[0148] The obtained initial conversion coefficient set η RBC η RCY η RBY η BCY The initial conversion coefficient group with negative weight components is removed, and one of the remaining conversion coefficient groups is selected as the target conversion coefficient group.

[0149] Furthermore, the conversion coefficients are subjected to gamma correction transformation and compared with the four-channel values ​​of the target color space (Ri). 255 B 255 C 255 Y 255 By associating these formulas, we can obtain Formula 8 above, which can be further explained in detail in the above embodiments.

[0150] Please see Figure 7 , Figure 7A flowchart illustrating another color development control method provided in an embodiment of this application is shown, as follows: Figure 7 As shown, the color development control method provided in this application embodiment includes steps S210 to S240.

[0151] Step S210: Obtain the third color data; wherein, the third color data belongs to the target color space, the target color space includes four primary colors, namely red, blue, indigo and yellow.

[0152] Step S220: Convert the third color data into fourth color data; wherein the fourth color data belongs to a preset color space; the preset color space is different from the target color space.

[0153] Step S230: Generate driving data based on the fourth color data.

[0154] Step S240: Drive the color display module to work based on the driving data.

[0155] As can be seen from the above embodiments, this application provides a new color space, namely a target color space. The target color space includes four primary colors: red, blue, indigo, and yellow. Using a target color space for color rendering can improve color richness. However, in related technologies, there are not many color rendering control systems that use a target color space for color control. To ensure compatibility with color rendering control systems that use other preset color spaces, this application provides a method for converting third color data belonging to the target color space into fourth color data belonging to other preset color spaces, thereby making the target color space more widely applicable.

[0156] In some implementations, the preset color space can be XYZ color space, RGB color space, etc.

[0157] If the preset color space does not belong to the XYZ color space, the third color data is first converted to intermediate color data belonging to the XYZ color space, and then the intermediate color data is converted to the preset color space.

[0158] In some implementations, if the preset color space belongs to the XYZ color space, the step of determining the fourth color data based on the third color data includes the following steps.

[0159] (1) Determine the target conversion coefficient group by using the preset coefficient inverse conversion relationship to determine the third color data.

[0160] (2) Obtain the four-dimensional color coordinates based on the target transformation coefficient set and the first target transformation matrix.

[0161] (3) Determine the fourth color data based on the four-dimensional color coordinates.

[0162] The preset coefficient inverse transformation relationship can be calculated using Formula 8 in the above embodiments. Further, the four-dimensional color coordinates are obtained by multiplying the target transformation coefficient set and the first target transformation matrix, as described in Formula 4.

[0163] The above steps can be used to obtain four-dimensional color coordinates. The first three terms in the four-dimensional color coordinates are the coordinates of the fourth color data.

[0164] In other embodiments, the fourth color data can also be obtained through another implementation method. If the preset color space belongs to the XYZ color space, the step of determining the fourth color data based on the third color data includes the following steps.

[0165] (1) Determine the target conversion coefficient group by using the preset coefficient inverse conversion relationship to determine the third color data.

[0166] (2) Obtain the fourth color data based on the target transformation coefficient group and the second target transformation matrix.

[0167] The preset coefficient inverse transformation relationship can be calculated using Formula 8 in the above embodiment. Further, the three-dimensional color coordinates of the fourth color data are obtained by multiplying the target transformation coefficient group and the second target transformation matrix, as described in Formula 9.

[0168] Please see Figure 8 , Figure 8 An embodiment of the present application illustrates a color rendering control system 300, which includes a control module 310 and a color rendering module 320.

[0169] The color rendering control system 300 can be applied to the lighting field or the color rendering field. By using the target color space provided in the embodiments of this application for color rendering, the richness of color rendering can be significantly improved and resource waste can be reduced.

[0170] The control module 310 is used to acquire first color data; determine second color data based on the first color data; wherein the second color data belongs to a target color space, the target color space includes four primary colors, namely red, blue, indigo and yellow; and generate driving data based on the second color data.

[0171] The color display module 320 is used to operate based on the driving data.

[0172] The color rendering module 320 includes a red color rendering unit 321, a blue color rendering unit 322, an indigo color rendering unit 323, and a yellow color rendering unit 324.

[0173] In some embodiments, the center wavelength range of the light emitted by the red color rendering unit 321 is 600nm to 645nm.

[0174] In some embodiments, the center wavelength range of the light emitted by the blue color rendering unit 322 is 450nm to 485nm.

[0175] In some embodiments, the center wavelength range of the light emitted by the indigo color rendering unit 323 is 490nm to 505nm.

[0176] In some embodiments, the center wavelength range of the light emitted by the yellow color rendering unit 324 is 555nm to 575nm.

[0177] In summary, the color rendering control method and control system provided in this application include: acquiring first color data; determining second color data based on the first color data; wherein the second color data belongs to a target color space, the target color space includes four primary colors, namely red, blue, indigo, and yellow; generating driving data based on the second color data; driving the color rendering module to work based on the driving data, and using the color data corresponding to the target color space for color rendering. Due to the addition of the indigo primary color, the green area in the color gamut map corresponding to the target color space is reduced, and more bluish areas are added. The distribution of red, yellow, green, and blue areas is more uniform, which can significantly improve the color richness and reduce resource waste.

[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A color development control method, characterized in that, The method includes: Get the first color data; The second color data is determined based on the first color data; wherein the second color data belongs to the target color space, the target color space includes four primary colors, namely red, blue, indigo and yellow; wherein, compared with the color space based on the RGB three primary colors, the target color space has fewer green areas and more blue areas in the color gamut diagram; Generate driving data based on the second color data; The color display module operates based on the driving data. The step of determining the second color data based on the first color data includes: If the first color data belongs to the XYZ color space, then a target conversion coefficient group is determined based on the first color data and the preset positive conversion coefficient relationship; wherein, the target conversion coefficient group includes four conversion coefficients; The second color data is determined based on the target conversion coefficient set and the target color conversion relationship.

2. The color development control method according to claim 1, characterized in that, If the first color data belongs to the XYZ color space, then the target conversion coefficient group is determined based on the first color data and the preset positive conversion coefficient relationship, including: Four coordinate coefficients are determined based on the first color data and the preset coordinate transformation relationship; The four-dimensional color coordinates are determined based on each coordinate coefficient and the first color data; The initial conversion coefficient set is determined based on each of the four-dimensional color coordinates and the inverse matrix of the first target color conversion matrix; A target conversion coefficient set is determined from all initial conversion coefficient sets, wherein all conversion coefficients in the target conversion coefficient set have values ​​greater than or equal to zero.

3. The color development control method according to claim 2, characterized in that, The step of determining four coordinate coefficients based on the first color data and a preset coordinate transformation relationship includes: The first color data is normalized to obtain the first chromaticity coordinate value and the second chromaticity coordinate value; Obtain four plane coefficient groups; each plane coefficient group includes a first plane sub-coefficient, a second plane sub-coefficient, and a third plane sub-coefficient. Coordinate coefficients are determined based on each plane coefficient group, the first chromaticity coordinate value, and the second chromaticity coordinate value; wherein, the formula for calculating the coordinate coefficients is: ; Where, N i Represents coordinate coefficients; α i γ represents the first plane sub-coefficient, βi represents the second plane sub-coefficient; i y represents the third plane sub-coefficient; x represents the first chromaticity coordinate value; y represents the second chromaticity coordinate value.

4. The color development control method according to claim 1, characterized in that, If the first color data belongs to the XYZ color space, then the target conversion coefficient group is determined based on the first color data and the preset positive conversion coefficient relationship, including: If the first color data belongs to the XYZ color space, then four basic color transformation matrices are obtained; where each basic color transformation matrix corresponds to a basic color space. Each basic color space includes three primary colors; these three primary colors include three of the following: red, blue, indigo, and yellow; different basic color transformation matrices correspond to different basic color spaces; The target conversion coefficient set is determined based on the first color data and all basic color conversion matrices.

5. The color development control method according to claim 4, characterized in that, The step of determining the target conversion coefficient group based on the first color data and all basic color conversion matrices includes: An initial conversion coefficient set is determined based on the first color data and the inverse matrix of each basic color conversion matrix; each initial conversion coefficient set includes four conversion coefficients; and in each initial conversion coefficient set, there is at least one conversion coefficient with a value of zero; Determine a target conversion coefficient set from all initial conversion coefficient sets; wherein all conversion coefficients in the target conversion coefficient set have values ​​greater than or equal to zero.

6. The color development control method according to claim 4, characterized in that, The color development control method further includes: Obtain the color conversion matrix of the second target; Four basic color transformation matrices are determined based on the second target color transformation matrix.

7. The color development control method according to claim 1, characterized in that, The second color data includes: red component, blue component, indigo component, and yellow component; The calculation formula corresponding to the target color conversion relationship is: Among them, R 255 Indicates the red component; B 255 Indicates the blue component; C 255 Indicates the indigo component; Y 255 η1, η2, η3, and η4 represent the four conversion coefficients in the target conversion coefficient group, where ηi (i=1, 2, 3, 4) has a value range of 0≤ηi≤1; g represents the gamma value corresponding to the target color space in the gamma correction transformation.

8. The color development control method according to claim 1, characterized in that, The step of determining the second color data based on the first color data further includes: If the first color data belongs to the target color space, then the first color data is used as the second color data.

9. The color development control method according to claim 1 or 8, characterized in that, The step of determining the second color data based on the first color data further includes: If the first color data does not belong to the target color space and does not belong to the XYZ color space, then the first color data is converted into color data belonging to the XYZ color space, and then the converted color data belonging to the XYZ color space is converted into the second color data of the target color space.

10. A color development control method, characterized in that, The method includes: Obtain third color data; wherein, the third color data belongs to the target color space, the target color space includes four primary colors, namely red, blue, indigo and yellow; wherein, compared with the color space based on RGB three primary colors, the color gamut of the target color space has less green area and more blue area; The third color data is converted into a fourth color data; wherein the fourth color data belongs to a preset color space; the preset color space is different from the target color space; Drive data is generated based on the fourth color data; The color display module operates based on the driving data. The step of converting the third color data into fourth color data includes: if the preset color space belongs to the XYZ color space, then determining the target conversion coefficient group by using the preset coefficient inverse conversion relationship; obtaining four-dimensional color coordinates based on the target conversion coefficient group and the first target conversion matrix; and determining the fourth color data based on the four-dimensional color coordinates. Alternatively, the conversion of the third color data to the fourth color data includes: if the preset color space belongs to the XYZ color space, then determining the target conversion coefficient group by using the preset coefficient inverse conversion relationship of the third color data; and obtaining the fourth color data according to the target conversion coefficient group and the second target conversion matrix.

11. The color development control method according to claim 10, characterized in that, The step of determining the fourth color data based on the third color data also includes: If the preset color space does not belong to the XYZ color space, the third color data is first converted into intermediate color data belonging to the XYZ color space, and then the intermediate color data is converted into fourth color data belonging to the preset color space.

12. A color rendering control system, characterized in that, include: Control module and color display module; The control module is used to acquire first color data; determine second color data based on the first color data; wherein the second color data belongs to a target color space, the target color space includes four primary colors, namely red, blue, indigo, and yellow; generate driving data based on the second color data; wherein, compared to a color space based on RGB three primary colors, the target color space has fewer green areas and more blue areas in its color gamut diagram; the step of determining the second color data based on the first color data includes: if the first color data belongs to an XYZ color space, then determining a target conversion coefficient group based on the first color data and a preset positive conversion coefficient relationship; wherein the target conversion coefficient group includes four conversion coefficients; and determining the second color data based on the target conversion coefficient group and a target color conversion relationship. The color display module is used to operate based on the driving data; The color development module includes a red color development unit, a blue color development unit, an indigo color development unit, and a yellow color development unit.

13. The color rendering control system according to claim 12, characterized in that, The center wavelength range of the light emitted by the red color rendering unit is 600nm~645nm; the center wavelength range of the light emitted by the blue color rendering unit is 450nm~485nm; the center wavelength range of the light emitted by the indigo color rendering unit is 490nm~505nm; and the center wavelength range of the light emitted by the yellow color rendering unit is 555nm~575nm.

Citation Information

Patent Citations

  • Screen color temperature adjusting method and device, electronic equipment and readable storage medium

    CN117636821A

  • Method of correcting preferred color and display device using the same

    US20110007088A1