Multi-primary additive color mixing method and apparatus, system, and computer device
By dividing the four-color mixing gamut into four determination regions, determining the area where the target colored light falls, and calculating the mixing ratio, the problem of infinitely many solutions in four-color mixing is solved, achieving accurate output of the target colored light and continuity of color display.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- SUZHOU OPPLE LIGHTING
- Filing Date
- 2025-12-25
- Publication Date
- 2026-07-02
AI Technical Summary
Under four-color mixing conditions, traditional techniques have an infinite number of solutions, making it impossible to accurately control the output of the target colored light.
By cross-dividing the color gamut range composed of four colors, four judgment areas are defined. Each area is defined by any three colors, determining the area where the target colored light falls, and calculating the mixing ratio of the corresponding colors, so as to accurately control the output of the target colored light in the mixing process.
It solves the problem of infinitely many solutions in four-color mixing, realizes the accurate output of target colored light, and ensures the continuity and accuracy of color display.
Smart Images

Figure CN2025145552_02072026_PF_FP_ABST
Abstract
Description
Multicolor mixing methods, apparatus, systems and computer equipment
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202411934584X, filed on December 25, 2024, entitled "Multicolor Mixing Method, Apparatus, System and Computer Equipment", which is incorporated herein by reference in its entirety. Technical Field
[0003] This application relates to the field of color light mixing technology, and in particular to a method, apparatus, system and computer equipment for multicolor light mixing. Background Technology
[0004] Currently, algorithms for RGB three-color mixing are very mature. Due to the uniqueness of the solution, the desired light mixing can be obtained using the parameters of the three colors. However, when calculating the desired light mixing conditions using four colors, the addition of an extra color leads to an infinite number of solutions. Therefore, a four-color mixing algorithm is urgently needed to solve the above problems. Summary of the Invention
[0005] This application proposes a multicolor mixing method, apparatus, system, and computer device. It can determine the target colored light's falling area by cross-dividing the color gamut range composed of four colors to obtain four determination regions based on three of them, thereby calculating the mixing ratio of the four colors. Based on the above mixing ratio, the output of the target colored light is controlled, solving the problem of infinitely many solutions in the traditional four-color mixing method.
[0006] On one hand, embodiments of this application provide a multicolor mixing method, including:
[0007] Obtain the color coordinates and brightness of the four mixed colors;
[0008] The four determination regions are determined based on the color coordinates of any three of the four mixing colors.
[0009] Obtain the target color coordinates and target brightness of the target colored light;
[0010] The target color coordinates of the target colored light are determined to fall into a target determination region, which is one of four determination regions.
[0011] The mixing ratios of various colors required to form the target colored light are determined based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light.
[0012] In one possible implementation, determining the four corresponding determination regions based on the color coordinates of any three of the four mixing colors includes:
[0013] In the mixed light color gamut formed by four color coordinates, one vertex is selected and defined as point A, and the other three vertices are marked as points B, C and D respectively in counterclockwise or clockwise directions.
[0014] Based on the diagonal of the quadrilateral and The region is divided into four decision regions: the first decision region ΔABD, the second decision region ΔABC, the third decision region ΔBCD, and the fourth decision region ΔACD.
[0015] In one possible implementation, determining the target color coordinates of the target colored light falling into the target determination region includes:
[0016] The diagonal and The intersection point is taken as the center point O of the four-color mixing gamut, and its color coordinates (x, y) are obtained. O ,y O );
[0017] Within the mixed color gamut, rays are drawn out in any direction from the center point O as the vertex, serving as reference lines;
[0018] Determine the target angle θ between the line connecting the center point O and the target colored light and the baseline. CTarget The target color coordinates of the target colored light are determined to fall into the target determination area.
[0019] In one possible implementation, determining the angle between the line connecting the center point O and the target colored light and the baseline to determine the target color coordinates of the target colored light falling into the target determination region includes:
[0020] The angles between the lines connecting the center point O and the four vertices A, B, C, and D and the baseline are respectively θ. A θ B θ C and θ D ;
[0021] When the target angle θ CTarget Satisfying θ CTarget ≥θ D or θ CTarget <θ A When the conditions are met, it is determined that the target colored light falls within the first determination area ΔABD;
[0022] When the target angle θ CTarget Satisfying θ A ≤θ CTarget <θ B If the condition is met, then it is determined that the target colored light falls within the second determination area ΔABC;
[0023] When the target angle θ CTarget Satisfying θ B ≤θ CTarget <θ C Under certain conditions, the target colored light is determined to fall within the third determination region ΔBCD;
[0024] When the target angle θ CTarget Satisfying θ C ≤θ CTarget <θ D If the conditions are met, the target colored light is determined to fall within the first determination area ΔACD.
[0025] In one possible implementation, determining the mixing ratios of various colors required to form the target colored light based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light includes:
[0026] Based on the color coordinates (x1, y1), (x2, y2), (x3, y3) of the three vertices of the target determination region and the target color coordinates (x1, y1), (x2, y2), (x3, y3) of the target colored light... Ctarget ,y Ctarget ), to obtain x inter and y inter :
[0027] Based on the color coordinates (x1, y1), (x2, y2), (x3, y3) of the three vertices of the target determination region, and the x... inter and y inter , to obtain L 1a L 2a and L 3a ;
[0028] According to the L 1a L 2a and L 3a The brightness L1, L2, and L3 of the three vertices of the target determination region determine the color power ratios P1, P2, and P3 of the three mixed colors under the preset output ratio conditions.
[0029] In one possible implementation, the x inter and y inter The corresponding calculation formulas are: y inter =m12 *(x inter -x1)+y1,
[0030] in,
[0031] In one possible implementation, the L 1a L 2a and L 3a The corresponding calculation formulas are: L 1a =L inter -L 2a L 3a =L Ctarget -L inter ,
[0032] in, L Ctarget The target brightness of the target colored light.
[0033] In one possible implementation, the calculation formulas for the color power proportions P1, P2, and P3 are as follows:
[0034] One possible implementation also includes:
[0035] Determine whether any of the three mixed-color power percentages P1, P2, and P3 are negative;
[0036] If not, the color power percentage of each mixed color is output normally; if so, the coordinates of the target colored light are corrected.
[0037] In one possible implementation, correcting the coordinates of the target colored light includes:
[0038] Calculate the projection position of the target colored light on the adjacent color gamut boundary of its corresponding target determination region;
[0039] Replace the target color coordinates (x, y) of the target colored light with the coordinates of the projection position. Ctarget ,y Ctarget ), thus obtaining the corrected target color coordinates (x pjt ,y pjt );
[0040] The corrected four-way color mixing color power ratios P1, P2, and P3 were determined.
[0041] On one hand, embodiments of this application provide a multicolor mixing device, including:
[0042] Color gamut parameter acquisition unit: configured to acquire the color coordinates and brightness of the four mixed colors;
[0043] Landing point area determination unit: configured to determine four corresponding determination areas based on the color coordinates of any three of the four mixing colors;
[0044] Obtain the target color coordinates and target brightness of the target colored light;
[0045] The target color coordinates of the target colored light are determined to fall into a target determination region, which is one of four determination regions.
[0046] The light mixing ratio determination unit is configured to determine the light mixing ratio of various colors required to form the target colored light based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light.
[0047] On one hand, this application provides a light source system including four light-emitting units and the above-mentioned multicolor mixing device. The multicolor mixing device is configured to output a control signal corresponding to the mixing ratio to drive the corresponding light-emitting units to emit light, so as to mix the target colored light.
[0048] On one hand, embodiments of this application provide a computer device, including: a storage device and a processor;
[0049] A memory, wherein one or more computer programs are stored;
[0050] The processor is configured to load one or more computer programs to implement the above-described multicolor mixing method.
[0051] In this embodiment, firstly, the chromatic coordinates and brightness of four mixed colors are obtained; then, four corresponding determination regions are determined based on the chromatic coordinates of any three of the four mixed colors; next, the target chromatic coordinates and target brightness of the target colored light are obtained; and the target determination region into which the target chromatic coordinates of the target colored light fall is determined, wherein the target determination region is one of the four determination regions; finally, the mixing ratios of various colors required to form the target colored light are determined based on the chromatic coordinates and brightness of the three vertices of the target determination region and the target chromatic coordinates and target brightness of the target colored light. Therefore, on the one hand, this application proposes a novel light mixing algorithm. By cross-dividing the color gamut range composed of four colors, four judgment regions are obtained based on any three of the four mixing colors. The mixing ratio of the corresponding color is calculated by determining the judgment region into which the target colored light falls. Thus, the target colored light is output based on accurate control of the mixing ratio, solving the problem of infinitely many solutions for the target colored light in four-color light mixing. On the other hand, when the color coordinates of the target colored light are outside the color gamut defined by the four colors, the color coordinate correction method of this application can find the nearest color coordinates and output similar colors, ensuring the continuity of color display. Attached Figure Description
[0052] To more clearly illustrate the technical solutions and advantages in the embodiments or conventional technologies of this specification, the accompanying drawings used in the description of the embodiments or conventional technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 is a schematic flowchart of a multicolor mixing method provided in an embodiment of this specification;
[0054] Figure 2 is a schematic diagram of the target colored light within the color gamut composed of four colors in the traditional technology.
[0055] Figure 3 is a schematic diagram showing the relative positional relationship between the target colored light and the color gamut range composed of four colors provided in the embodiments of this specification.
[0056] Figure 4 is a schematic diagram illustrating the principle of a multicolor mixing method provided in the embodiments of this specification;
[0057] Figure 5 is a schematic diagram of the division of the determination region provided in the embodiments of this specification;
[0058] Figure 6 is a schematic diagram of different determination conditions set in different determination regions according to the embodiments of this specification;
[0059] Figure 7 is a schematic diagram showing the position of the target colored light falling in the target determination area according to the embodiment of this specification;
[0060] Figure 8 is a schematic diagram showing the position of the target colored light falling outside the target determination area according to the embodiment of this specification;
[0061] Figure 9 is a schematic diagram of a multicolor mixing device provided in an embodiment of this specification.
[0062] Figure 10 is a schematic diagram of a light source system provided in an embodiment of this specification. Detailed Implementation
[0063] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0064] Currently, the algorithms for RGB three-color mixing are very mature. Due to the uniqueness of the solution, the required proportion of the three colors to participate in the mixing can be calculated using the parameters of the three colors. However, when calculating the required target color mixing conditions using four colors, the addition of one more color leads to an infinite number of solutions. Therefore, a simplified four-color mixing algorithm is needed to solve the above problems.
[0065] Therefore, in order to solve the above-mentioned technical problems, this application proposes a multi-color mixing method. This method defines four judgment regions by cross-dividing the color gamut range composed of four colors. Each judgment region is composed of any three colors. By determining the judgment region into which the target colored light falls, the mixing ratio of the corresponding color is calculated. Based on the mixing ratio, the mixing process is accurately controlled to output the target colored light.
[0066] As shown in Figures 1 and 4, this application provides a multicolor light mixing method, including:
[0067] S100: Obtain the color coordinates and brightness of the four mixed colors;
[0068] Specifically, the chromaticity coordinates and luminance of the four mixed colors are measured, and the chromaticity coordinates and luminance of the four mixed colors are expressed as (x n ,y n ) and L n Where n represents A, B, C, and D respectively.
[0069] S200: Determine four corresponding judgment regions based on the color coordinates of any three of the four mixing colors;
[0070] In one implementation, step S200 determines four corresponding determination regions based on the color coordinates of any three of the four mixing colors, including:
[0071] In the mixed light color gamut formed by four color coordinates, one vertex is selected and defined as point A, and the other three vertices are marked as points B, C and D respectively in counterclockwise or clockwise directions.
[0072] Based on the diagonal of the quadrilateral and The region is divided into four decision regions: the first decision region ΔABD, the second decision region ΔABC, the third decision region ΔBCD, and the fourth decision region ΔACD.
[0073] S300: Obtain the target color coordinates and target brightness of the target colored light;
[0074] Wherein, the target color coordinate input is (x Ctarget ,y Ctarget ); Target brightness is L Ctarget , where is any positive integer greater than 0.
[0075] S400: Determine the target color coordinates of the target colored light to fall into the target determination region, wherein the target determination region is one of four determination regions;
[0076] Specifically, the determination principle in this embodiment is as follows: when the target color coordinates of the target colored light fall on triangle ΔOAD, it is determined that it falls into the first determination area ΔABD;
[0077] When the target color coordinates of the target colored light fall on triangle ΔOAB, it is determined that it falls into the second determination area ΔABC;
[0078] When the target color coordinates of the target colored light fall on triangle ΔOBC, it is determined that it falls into the third determination area ΔBCD;
[0079] When the target color coordinates of the target colored light fall on triangle ΔOCD, it is determined that it falls into the fourth determination area ΔACD.
[0080] Among them, the diagonal and The intersection point is taken as the center point O of the four-color mixing gamut.
[0081] In this embodiment, the judgment region is expanded by combining the currently falling triangle (defined by point O and the color coordinates of the two mixed colors) with its clockwise adjacent triangle (defined by point O and the color coordinates of the two mixed colors). This expansion includes the color coordinates of the three mixed colors. In some other embodiments, the corresponding judgment region can also be defined by combining the currently falling triangle with its counterclockwise adjacent triangle.
[0082] The definition of the determination area is that when the target colored light is determined to correspond to the current determination area, the three vertices of the triangle area of the current determination area are used as the basic three colors for light mixing, that is, the technical solution of converting to three-color light mixing.
[0083] Among them, the three basic colors are three of the four mixed colors of the quadrilateral color gamut in this application.
[0084] In one implementation, step S400, determining the target color coordinates of the target colored light falling into the target determination region, includes:
[0085] The diagonal and The intersection point is taken as the center point O of the four-color mixing gamut, and its color coordinates (x, y) are obtained. O ,y O );
[0086] Within the mixed color gamut, rays are drawn out in any direction from the center point O as the vertex, serving as reference lines;
[0087] Determine the target angle θ between the line connecting the center point O and the target colored light and the baseline. CTarget The target color coordinates of the target colored light are determined to fall into the target determination area.
[0088] As shown in Figures 5 and 6, in this embodiment, the baseline is the positive x-axis of the coordinate system where the quadrilateral's color gamut is located.
[0089] Specifically, based on the baseline, the target color coordinates (x, y, y) of the target colored light are calculated with point O as the center. Ctarget ,y Ctarget The radians corresponding to points A through D are converted to degrees and denoted as θ. Ctarget and θ A ,θ B ,θ C ,θ D .
[0090] calculate and The color coordinates (x) of the intersection point O O ,y O),
[0091] Based on the color coordinates (x, y) of the four mixed colors A ,y A ), (x B ,y B ), (x C ,y C ), (x D ,y D ), target color coordinates (x Ctarget ,y Ctarget ) and the color coordinates (x) of point O O ,y O ), calculate θ using trigonometric functions respectively. A ,θ B ,θ C ,θ D and θ Ctarget .
[0092] In one implementation, determining the angle between the line connecting the center point O and the target colored light and the baseline, to determine the target color coordinates of the target colored light falling into the target determination area, includes:
[0093] The angles between the lines connecting the center point O and the four vertices A, B, C, and D and the baseline are respectively θ. A θ B θ C and θ D ;
[0094] When the target angle θ CTarget Satisfying θ CTarget ≥θ D or θ CTarget <θ A When the conditions are met, it is determined that the target colored light falls within the first determination area ΔABD;
[0095] When the target angle θ CTarget Satisfying θ A ≤θ CTarget <θ B If the condition is met, then it is determined that the target colored light falls within the second determination area ΔABC;
[0096] When the target angle θ CTarget Satisfying θ B ≤θ CTarget <θ C Under certain conditions, the target colored light is determined to fall within the third determination region ΔBCD;
[0097] When the target angle θ CTargetSatisfying θ C ≤θ CTarget <θ D If the conditions are met, the target colored light is determined to fall within the first determination area ΔACD.
[0098] The determination table for falling into the determination area is as follows:
[0099] Table 1
[0100] S500: Determine the mixing ratio of various colors required to form the target colored light based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light.
[0101] Specifically, assuming L Ctarget Let be any positive integer greater than 0. Set the color coordinates of the vertices of the triangle region of the corresponding judgment area as (x1, y1), (x2, y2), (x3, y3) and the corresponding brightness as L1, L2, L3.
[0102] Step S500 determines the mixing ratios of various colors required to form the target colored light based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light, including:
[0103] Based on the color coordinates (x1, y1), (x2, y2), (x3, y3) of the three vertices of the target determination region and the target color coordinates (x1, y1), (x2, y2), (x3, y3) of the target colored light... Ctarget ,y Ctarget ), to obtain x inter and y inter :
[0104] Based on the color coordinates (x1, y1), (x2, y2), (x3, y3) of the three vertices of the target determination region, and the x... inter and y inter , to obtain L 1a L 2a and L 3a ;
[0105] According to the L 1a L 2a and L 3a The brightness L1, L2, and L3 of the three vertices of the target determination region determine the color power ratios P1, P2, and P3 of the three mixed colors under the preset output ratio conditions.
[0106] In one implementation, x inter and y inter The corresponding calculation formulas are: yinter =m 12 *(x inter -x1)+y1,
[0107] in,
[0108] In one implementation, L 1a L 2a and L 3a The corresponding calculation formulas are: L 1a =L inter -L 2a L 3a =L Ctarget -L inter ,
[0109] in, L Ctarget The target brightness of the target colored light.
[0110] In one implementation, the calculation formulas for the color power ratios P1, P2, and P3 are as follows:
[0111] In the corresponding L 1a L 2a and L 3a Under these conditions, by accurately controlling the color power ratios of P1, P2, and P3, the target colored light is mixed and output. Ctarget =P1*L1+P2*L2+P3*L3
[0112] Based on the above formula for calculating target brightness, P1, P2, and P3 can be determined using the formulas corresponding to the color power proportions P1, P2, and P3. The calculated P1, P2, and P3 are normalized results. Adding the color power proportion of another color not included in the vertex calculation (which is 0), the ratios of the four colors can be obtained.
[0113] This can be understood as the color power proportions of the three unnormalized mixed lights being: Multiply them by After normalization, we obtain P1, P2, and P3.
[0114] Specifically, the four mixed-color lights are driven and controlled under the same hardware conditions.
[0115] Preferably, under the condition of 100% power output, L in the above formula 1a L 2a and L 3a These represent the 100% brightness of the three mixed light sources, respectively.
[0116] In one implementation, it further includes:
[0117] Determine whether any of the three mixed-color power percentages P1, P2, and P3 are negative;
[0118] If not, the color power percentage of each mixed color is output normally; if so, the coordinates of the target colored light are corrected.
[0119] In one embodiment, correcting the coordinates of the target colored light includes:
[0120] Calculate the projection position of the target colored light on the adjacent color gamut boundary of its corresponding target determination region;
[0121] Replace the target color coordinates (x, y) of the target colored light with the coordinates of the projection position. Ctarget ,y Ctarget ), thus obtaining the corrected target color coordinates (x pjt ,y pjt );
[0122] The color power ratios P1, P2, and P3 of the corrected four-way color mixing were determined.
[0123] Specifically, assess whether there are negative values for the proportion of each color. If not, output the power proportion of each color normally.
[0124] As shown in Figure 8, a negative value indicates that the target color coordinates are not within the color gamut defined by this light source system. To solve this problem, coordinate correction is needed to find a similar color. Specifically, the projection position of the target coordinates onto the color gamut boundary is calculated; this position is the corrected new target color point (x). pjt ,y pjt The specific calculation method is as follows: y pjt =m 12 x pjt -y2-m 12 x2
[0125] Set the new target color point (x) pjt ,y pjt ) replace the original (x) Ctarget ,y Ctarget The above calculation method is used to obtain the corrected power ratio of each color.
[0126] Referring to Figure 9, which is a structural schematic diagram of a multicolor mixing device provided in an embodiment of this application, the multicolor mixing device 900 may specifically include:
[0127] Color gamut parameter acquisition unit 901: configured to acquire the color coordinates and brightness of the four mixed colors;
[0128] Landing point area determination unit 902: is configured to determine four corresponding determination areas based on the color coordinates of any three of the four mixing colors;
[0129] Obtain the target color coordinates and target brightness of the target colored light;
[0130] The target color coordinates of the target colored light are determined to fall into a target determination region, which is one of four determination regions.
[0131] The light mixing ratio determination unit 903 is configured to determine the light mixing ratio of various colors required to form the target colored light based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light.
[0132] This application provides a light source system including four light-emitting units and a multi-color mixing device. The multi-color mixing device is configured to output a control signal corresponding to the mixing ratio to drive the corresponding light-emitting units to emit light, so as to mix the target colored light.
[0133] Specifically, as shown in Figure 10, the light source system includes:
[0134] 100: The control chip can perform logical analysis and calculation on the input color information, output the corresponding color ratios and provide the corresponding PWM control signals. This is the main execution unit of the color algorithm.
[0135] 200: Control module, which can be a wireless connection device such as an infrared remote control, Wi-Fi or Bluetooth module, or a wired serial connection device, through a specific interface to input the required color-related information, such as color coordinates and brightness.
[0136] 300: Power conversion module, which transforms the original AC power into DC power required by the main light source system.
[0137] A~D: Four physically separate light-emitting units, including but not limited to narrowband light sources and broadband light sources or a combination of the two.
[0138] An embodiment of this application provides a computer device, including: a storage device and a processor;
[0139] A memory, wherein one or more computer programs are stored;
[0140] The processor is configured to load one or more computer programs to implement the multicolor mixing method of this application.
[0141] Furthermore, it should be noted that this application embodiment also provides a computer storage medium, which stores a computer program, and the computer program includes program instructions. When the processor executes the above program instructions, it can execute the methods in the corresponding embodiments described above. Therefore, it will not be described again here.
[0142] For technical details not disclosed in the embodiments of the computer storage medium involved in this application, please refer to the description of the method embodiments of this application. As an example, program instructions may be deployed on a computer device, or executed on multiple computer devices located in one location, or executed on multiple computer devices distributed in multiple locations and interconnected through a communication network.
[0143] According to one aspect of this application, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, enabling the computer device to perform the methods described in the preceding embodiments; therefore, further details will not be provided here.
[0144] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0145] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive (SSD)).
[0146] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A method for multicolor light mixing, comprising: Obtain the color coordinates and brightness of the four mixed colors; The four determination regions are determined based on the color coordinates of any three of the four mixing colors. Obtain the target color coordinates and target brightness of the target colored light; The target color coordinates of the target colored light are determined to fall into a target determination region, which is one of four determination regions. The mixing ratios of various colors required to form the target colored light are determined based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light.
2. The multicolor mixing method according to claim 1, wherein, The step of determining the four corresponding judgment regions based on the color coordinates of any three of the four mixed colors includes: In the mixed light color gamut formed by four color coordinates, one vertex is selected and defined as point A, and the other three vertices are marked as points B, C and D respectively in counterclockwise or clockwise directions. Based on the diagonal of the quadrilateral and The region is divided into four decision regions: the first decision region ΔABD, the second decision region ΔABC, the third decision region ΔBCD, and the fourth decision region ΔACD.
3. The multicolor mixing method according to claim 2, wherein, The determination of the target color coordinates of the target light falling into the target determination region includes: The diagonal and The intersection point is taken as the center point O of the four-color mixing gamut, and its color coordinates (x, y) are obtained. O ,y O ); Within the mixed color gamut, rays are drawn out in any direction from the center point O as the vertex, serving as reference lines; Determine the target angle θ between the line connecting the center point O and the target colored light and the baseline. CTarget The target color coordinates of the target colored light are determined to fall into the target determination area.
4. The multicolor mixing method according to claim 3, wherein, The step of determining the angle between the line connecting the center point O and the target colored light and the baseline, in order to determine the target color coordinates of the target colored light falling into the target determination area, includes: The angles between the lines connecting the center point O and the four vertices A, B, C, and D and the baseline are respectively θ. A θ B θ C and θ D ; When the target angle θ CTarget Satisfying θ CTarget ≥θ D or θ CTarget <θ A When the conditions are met, it is determined that the target colored light falls within the first determination area ΔABD; When the target angle θ CTarget Satisfying θ A ≤θ CTarget <θ B If the condition is met, then it is determined that the target colored light falls within the second determination area ΔABC; When the target angle θ CTarget Satisfying θ B ≤θ CTarget <θ C Under certain conditions, the target colored light is determined to fall within the third determination region ΔBCD; When the target angle θ CTarget Satisfying θ C ≤θ CTarget <θ D If the conditions are met, the target colored light is determined to fall within the first determination area ΔACD.
5. The multicolor mixing method according to claim 1, wherein, The step of determining the mixing ratios of various colors required to form the target colored light based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light includes: Based on the color coordinates (x1, y1), (x2, y2), (x3, y3) of the three vertices of the target determination region and the target color coordinates (x1, y1), (x2, y2), (x3, y3) of the target colored light... Ctarget ,y Ctarget ), to obtain x inter and y inter : Based on the color coordinates (x1, y1), (x2, y2), (x3, y3) of the three vertices of the target determination region, and the x... inter and y inter , to obtain L 1a L 2a and L 3a ; According to the L 1a L 2a and L 3a The brightness L1, L2, and L3 of the three vertices of the target determination region determine the color power ratios P1, P2, and P3 of the three mixed colors under the preset output ratio conditions.
6. The multicolor mixing method according to claim 5, wherein, The x inter and y inter The corresponding calculation formulas are: y inter =m 12 *(x inter -x1)+y1, in, 7. The multicolor mixing method according to claim 5, wherein, The L 1a L 2a and L 3a The corresponding calculation formulas are: L 1a =L inter -L 2a L 3a =L Ctarget -L inter , in, L Ctarget The target brightness of the target colored light.
8. The multicolor mixing method according to claim 7, wherein, The calculation formulas for the color power ratios P1, P2, and P3 are as follows:
9. The multicolor mixing method according to any one of claims 5 to 8, further comprising: Determine whether any of the three mixed-color power percentages P1, P2, and P3 are negative; If not, the color power percentage of each mixed color is output normally; if so, the coordinates of the target colored light are corrected.
10. The multicolor mixing method according to claim 9, wherein, The correction of the coordinates of the target colored light includes: Calculate the projection position of the target colored light on the adjacent color gamut boundary of its corresponding target determination region; Replace the target color coordinates (x, y) of the target colored light with the coordinates of the projection position. Ctarget ,y Ctarget ), thus obtaining the corrected target color coordinates (x pjt ,y pjt ); The corrected four-way color mixing color power ratios P1, P2, and P3 were determined.
11. A multicolor mixing device, comprising: Color gamut parameter acquisition unit: configured to acquire the color coordinates and brightness of the four mixed colors; Landing point area determination unit: configured to determine four corresponding determination areas based on the color coordinates of any three of the four mixing colors; Obtain the target color coordinates and target brightness of the target colored light; The target color coordinates of the target colored light are determined to fall into a target determination region, which is one of four determination regions. The light mixing ratio determination unit is configured to determine the light mixing ratio of various colors required to form the target colored light based on the color coordinates and brightness of the three vertices of the target determination region and the target color coordinates and target brightness of the target colored light.
12. A light source system comprising four light-emitting units and a multicolor mixing device as described in claim 11, wherein the multicolor mixing device is configured to output control signals corresponding to the mixing ratio to drive the corresponding light-emitting units to emit light, thereby mixing to produce the target colored light.
13. A computer device, comprising: Storage devices and processors; A memory, wherein one or more computer programs are stored; The processor is configured to load one or more computer programs to implement the multicolor mixing method as described in any one of claims 1-10.