CN112105126B - Method and system for controlling color of stage lamp, computer device and storage medium - Google Patents

Method and system for controlling color of stage lamp, computer device and storage medium Download PDF

Info

Publication number
CN112105126B
CN112105126B CN202010837325.0A CN202010837325A CN112105126B CN 112105126 B CN112105126 B CN 112105126B CN 202010837325 A CN202010837325 A CN 202010837325A CN 112105126 B CN112105126 B CN 112105126B
Authority
CN
China
Prior art keywords
illumination
value
color
colors
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010837325.0A
Other languages
Chinese (zh)
Other versions
CN112105126A (en
Inventor
黄荣丰
陈志曼
王国海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Yajiang Photoelectric Equipment Co Ltd
Original Assignee
Guangzhou Yajiang Photoelectric Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Yajiang Photoelectric Equipment Co Ltd filed Critical Guangzhou Yajiang Photoelectric Equipment Co Ltd
Priority to CN202010837325.0A priority Critical patent/CN112105126B/en
Publication of CN112105126A publication Critical patent/CN112105126A/en
Application granted granted Critical
Publication of CN112105126B publication Critical patent/CN112105126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to a method, a system, a computer device and a storage medium for controlling the color of a stage lamp, wherein the method comprises the following steps: acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting the illumination proportional relation of the original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y; respectively obtaining rated illumination values of the six colors of the color target according to a standard illumination proportion formula, and determining illumination parameters of the six colors of the target under the rated illumination values; and acquiring an initial illumination value of the original six monochromatic colors when the gray level of the color Y is zero, acquiring an illumination value model of the original six monochromatic colors corresponding to the stage lamp according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model. Therefore, the colors of the stage lamps under any gray value are kept consistent, and the color jump of the stage lamps is avoided.

Description

Method and system for controlling color of stage lamp, computer device and storage medium
Technical Field
The present application relates to the field of optics, and in particular, to a method and system for controlling the color of a stage light, a computer device, and a storage medium.
Background
At present, the CMY color function of a color stage lamp is generally realized by directly adding RGB colors, namely Y, R and B are obtained by adding G and R and B are obtained to M, G and B are obtained to C, the CMY colors obtained by mixing different lamp bead single-color proportions are different, the colors mixed by the same CMY gray scale values are different, and therefore in the design layout process of the stage lamp, color jump is easy to occur to different stage lamps under different gray scale values, the colors emitted by different lamps are different, and the colors of the whole stage lamp are different.
Disclosure of Invention
In view of the above, it is necessary to provide a stage light color control method, system, computer device and storage medium.
In a first aspect, an embodiment of the present invention provides a method for controlling a stage lighting color, including the following steps:
acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y;
respectively obtaining rated illumination values of the colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values;
acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model to ensure that CMY output colors of the stage lamp are consistent in color under any gray.
Further, the standard illuminance proportion formula corresponding to the color Y is mixed by R, G, B, A, L, C according to different proportions of original six monochromatic colors, and the mixing proportions corresponding to R, G, B, A, L, C original six monochromatic colors are respectively: 1: y 2: y 3: y 4: y 5: y 6.
Further, the obtaining of the rated illuminance values of the target six colors of Y, M, C, C + M, C + Y, M + Y respectively according to the standard illuminance proportion formula includes:
obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y;
respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula;
and respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportion formula.
Further, the obtaining of the illumination value model of the stage lamp corresponding to the original six monochromatic colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model includes:
determining the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero to be Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively;
determining a specific value of the illumination parameter at color M, C, C + M, C + Y, M + Y;
determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0 and the Ec0 and the illumination parameters, and calculating the illumination value of the stage lamp in the gray value c, m and y of any color C, M, Y, wherein the gray value is in the range of 0-255.
On the other hand, an embodiment of the present invention further provides a stage lighting color control system, including:
the illumination proportion module is used for acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportion relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportion formula corresponding to the color Y;
the rated illumination module is used for respectively obtaining rated illumination values of colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula and determining illumination parameters of the target six colors under the rated illumination values;
and the illumination value configuration module is used for acquiring the initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors under any gray value according to the initial illumination value and the illumination parameter, and enabling the CMY output colors of the stage lamp to be consistent in color under any gray value through an algorithm of the illumination value model.
Further, the illuminance proportion module comprises a proportion adjusting unit, and the proportion adjusting unit is configured to mix the standard illuminance proportion formula corresponding to the color Y with different proportions of R, G, B, A, L, C original six single colors, and then mix the R, G, B, A, L, C original six single colors in the corresponding mixing proportions of: 1: y 2: y 3: y 4: y 5: y 6.
Further, the rated illuminance module includes a rated illuminance value unit, and the rated illuminance value unit is configured to obtain rated illuminance values of Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illuminance proportional equation, respectively, and includes:
obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y;
respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula;
and respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportion formula.
Further, the illuminance value configuration module includes an illuminance value model unit, the illuminance value model unit is configured to obtain an illuminance value model of the stage lamp corresponding to the original six monochromatic colors according to the initial illuminance value and the illuminance parameter, and the illuminance value under any gray value is calculated through the illuminance value model, including:
determining the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero to be Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively;
determining a specific value of the illumination parameter at color M, C, C + M, C + Y, M + Y;
determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0 and the Ec0 and the illumination parameters, and calculating the illumination value of the stage lamp in the gray value c, m and y of any color C, M, Y, wherein the gray value is in the range of 0-255.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the following steps are implemented:
acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y;
respectively obtaining rated illumination values of the colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values;
acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model to ensure that CMY output colors of the stage lamp are consistent in color under any gray.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y;
respectively obtaining rated illumination values of the colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values;
acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model to ensure that CMY output colors of the stage lamp are consistent in color under any gray.
The method, the system, the computer equipment and the storage medium for controlling the colors of the stage lamps comprise the following steps: acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y; respectively obtaining rated illumination values of the colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values; acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model to ensure that CMY output colors of the stage lamp are consistent in color under any gray. By the method, in the process of designing the stage lamp, CMY is obtained by mixing various single-color colors through taking the standard lamp bead color as a reference, the output illumination of various single-color colors is obtained under the condition of giving any CMY gray value, and the output illumination of various colors under C, M, Y, C + M, C + Y, M + Y is further determined, so that colors of CMY under any gray value are kept consistent, and the color jump of the stage lamp is avoided.
Drawings
Fig. 1 is a schematic flow chart of a stage lighting color control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a process for determining a nominal illuminance value according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of outputting illumination values at any gray level according to an embodiment of the present invention;
FIG. 4 is a block diagram of a stage lighting color control system according to an embodiment of the present invention;
fig. 5 is an internal structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, the present embodiment provides a stage light color control method, including the following steps:
102, acquiring a standard coordinate value of a color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y;
104, obtaining rated illumination values of colors Y, M, C, C + M, C + Y, M + Y target six colors respectively according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values;
and 106, acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating an illumination value under any gray value through the illumination value model to ensure that the CMY output colors of the stage lamp are consistent in color under any gray.
Specifically, in the stage lamp design process, in order to keep the color emitted by each lamp bead consistent and avoid color jump caused by illumination difference, the embodiment of the invention is characterized in that the color standard of CMY is determined by using the color coordinate of each lamp bead as a reference, and the mixed colors under any same CMY gray scale are consistent by giving the illumination proportional relation of various colors under C, M, Y, C + M, C + Y, M + Y colors, so that the emergent light color is uniformly changed along with the CMY gray scale, and the color jump cannot occur; and (3) giving any same initial color, uniformly and gradually changing in CMY gray scale, and keeping CMY colors of stage lamps consistent.
Given the color coordinates of color Y, which are standard coordinate values at nominal gray scale (at a gray scale of 255), as Y (xy, yy), color Y is represented by R, G, B, A, L, C original six monochromatic colors as: y 2: y 3: y 4: y 5: the luminance ratios of y6 are blended and may be corrected from multiple measurements. Meanwhile, when the other colors C, M, C + M, C + Y, M + Y are determined, the ratio relation between the illumination of each color and the illumination of Y2, Y3, Y4, Y5 and Y6 is determined, namely the illumination mixing ratio of each single color of the color Y is determined, and then the illumination mixing ratio of each single color of the other colors C, M, C + M, C + Y, M + Y can be obtained. The specific original six monochromatic proportions for each color are shown in the following table:
Figure BDA0002640186470000061
Figure BDA0002640186470000071
in one embodiment, as shown in fig. 2, the obtaining of the nominal illuminance values of the target six colors of colors Y, M, C, C + M, C + Y, M + Y respectively according to the standard illuminance proportionality formula includes:
step 202, obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y;
step 204, respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula;
and step 206, respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportional expression.
Specifically, in the process of determining the rated illuminance value, the standard illuminance proportional equation is the proportional equation with the gray scale of 255, and at this time, R, G, B, A, L, C the original six monochromatic illuminances are E, Y2 × E, Y3 × E, Y4 × E, Y5 × E, Y6 × E, respectively, and the first illuminance values are E, Y2 £, Y3 × E, Y4 × E, Y5 × E, and Y6 × E may be mixed to obtain the color Y (xy, yy). The mixed luminance values of colors M, C, C + M, C + Y, M + Y can be determined according to the above table, respectively, and further, the luminance parameters in the above table: rm, Gm, Bm, Am, Lm, Cm, Rc, Gc, Bc, Ac, Lc and Cc are obtained by measuring and correcting for multiple times, and the illumination parameter: bcm, Gcy and Rmy are determined according to actual requirements.
In an embodiment, as shown in fig. 3, the obtaining, according to the initial illuminance value and the illuminance parameter, an illuminance value model of the stage lamp corresponding to the original six monochromatic colors, and calculating, by using the illuminance value model, an illuminance value at any gray value includes:
step 302, determining that the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero are Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively;
step 304, determining specific values of the illumination parameters under the colors M, C, C + M, C + Y, M + Y;
and step 306, determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0, the Ec0 and the illumination parameters, and calculating the illumination values of the stage lamp in gray values c, m and y of any color C, M, Y, wherein the gray values are in the range of 0-255.
Specifically, the CMY control gray scale commonly used for stage lighting is 0 to 255, and given any CMY gray scale values c, m, and y, the illumination value of each color at a given gray scale value can be calculated according to a formula, where the specific illumination value model calculation formula is as follows:
Er=R1+(R2-R1)*y/255+(R3-R3*y/255-(R1+(R2-R1)*y/255))*c/255;
in the formula: r1 ═ Er0+ (Rm ═ E-R0) × m/255;
R2=E+(Rmy*E-E)*m/255;
R3=Rc*E-Rc*E*m/255;
Eg=G1+(G2-G1)*y/255+(G3+(G4-G3)*y/255-(G1+(G2-G1)*y/255))*c/255;
in the formula: g1 ═ Eg0+ (Gm × y2 × E-Eg0) × m/255;
G2=y2*E-y2*E*m/255;
G3=Gc*y2*E-Gc*y2*E*m/255;
G4=Gcy*y2*E-Gcy*y2*E*m/255;
Eb=B1+(B2-B1)*y/255+(B3-B3*y/255-(B1+(B2-B1)*y/255))*c/255;
in the formula: b1 ═ Eb0+ (Bm 3 ═ E-Eb0) × m/255;
B2=y3*E-y3*E*m/255;
B3=Bc*y3*E+(Bcm*y3*E-Bc*y3*E)*m/255;
Ea=A1+(A2-A1)*y/255+(A3-A3*y/255-(A1+(A2-A1)*y/255))*c/255;
in the formula: a1 ═ Ea0+ (Am ═ y4 ═ E-Ea0) × m/255;
A2=y4*E–y4*E*m/255;
A3=Ac*y4*E–Ac*y4*E*m/255;
El=L1+(L2-L1)*y/255+(L3-L3*y/255-(L1+(L2-L1)*y/255))*c/255;
in the formula: l1 ═ El0+ (Lm × (y 5 × (E-El 0) × (m/255);
L2=y5*E–y5*E*m/255;
L3=Lc*y5*E–Lc*y5*E*m/255;
Ec=C1+(C2-C1)*y/255+(C3-C3*y/255-(C1+(C2-C1)*y/255))*c/255;
in the formula: c1 ═ Ec0+ (Cm × y6 × E-Ec0) × m/255;
C2=y6*E–y6*E*m/255;
C3=Cc*y6*E–Cc*y6*E*m/255;
c, m, y are different gray values, and the illumination parameters are clear and have the same value in the above table; the finally obtained illumination value models Er, Eg, Eb, Ea, El and Ec are illumination values of six colors corresponding to RGCALC when CMY gray levels are c, m and Y respectively, in the process of actually modulating the illumination of the lamp, a determined color illumination value can be output by giving any gray value, and the color consistency of CMY under any gray value is ensured by determining the output illumination values of various colors under C, M, Y, C + M, C + Y, M + Y. The luminance of the CMY colors in the stage light can be further made higher by determining the luminance value of C + M, C + Y, M + Y.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 4, there is provided a stage light color control system comprising: an illumination ratio module 402, a nominal illumination module 404, an illumination value configuration module 406, wherein:
the illumination proportion module 402 is used for acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportion relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportion formula corresponding to the color Y;
a rated illumination module 404, configured to obtain rated illumination values of Y, M, C, C + M, C + Y, M + Y target six colors respectively according to the standard illumination proportion formula, and determine an illumination parameter of the target six colors under the rated illumination values;
and the illuminance value configuration module 406 is configured to obtain an initial illuminance value of the original six monochromatic colors when the color Y grayscale is zero, obtain an illuminance value model of the stage lamp corresponding to the original six monochromatic colors at any grayscale value according to the initial illuminance value and the illuminance parameter, and make the colors of the CMY output colors of the stage lamp consistent at any grayscale through an algorithm of the illuminance value model.
In one embodiment, as shown in fig. 4, the illuminance proportion module 402 includes a proportion adjustment unit 4022, and the proportion adjustment unit 4022 is configured to blend the standard illuminance proportion formula corresponding to the color Y by R, G, B, A, L, C according to different proportions of the original six monochrome colors, and then blend the R, G, B, A, L, C original six monochrome colors according to the proportions: 1: y 2: y 3: y 4: y 5: y 6.
In one embodiment, as shown in fig. 4, the nominal illuminance module 404 includes a nominal illuminance value unit 4042, and the nominal illuminance value unit 4042 is configured to obtain nominal illuminance values of six target colors Y, M, C, C + M, C + Y, M + Y, respectively, according to the standard illuminance proportionality equation, including:
obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y;
respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula;
and respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportion formula. In an embodiment, the abnormal usage right determining module 910 is further configured to obtain a current usage right, and determine that the current usage right is an abnormal usage right if the current usage right only exists in the right node list file or only exists in the right detection result list.
In an embodiment, as shown in fig. 4, the illuminance value configuration module 406 includes an illuminance value model unit 4062, where the illuminance value model unit 4062 is configured to obtain an illuminance value model of the stage lamp corresponding to the original six monochromatic colors according to the initial illuminance value and the illuminance parameter, and the illuminance value calculation module calculates an illuminance value at any gray value through the illuminance value model, including:
determining the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero to be Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively;
determining a specific value of the illumination parameter at color M, C, C + M, C + Y, M + Y;
determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0 and the Ec0 and the illumination parameters, and calculating the illumination value of the stage lamp in the gray value c, m and y of any color C, M, Y, wherein the gray value is in the range of 0-255.
For specific limitations of the stage light color control system, reference may be made to the above limitations of the stage light color control method, which are not described herein again. The modules in the stage light color control system can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
FIG. 5 is a diagram illustrating an internal structure of a computer device in one embodiment. As shown in fig. 5, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the method of privilege anomaly detection. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform the method for detecting an abnormality of authority. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y; respectively obtaining rated illumination values of the colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values; acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model to ensure that CMY output colors of the stage lamp are consistent in color under any gray.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the standard illumination proportion formula corresponding to the color Y is mixed by R, G, B, A, L, C different proportions of original six single colors, and the R, G, B, A, L, C mixed proportions corresponding to the original six single colors are respectively: 1: y 2: y 3: y 4: y 5: y 6.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y; respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula; and respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportion formula.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero to be Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively; determining a specific value of the illumination parameter at color M, C, C + M, C + Y, M + Y; determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0 and the Ec0 and the illumination parameters, and calculating the illumination value of the stage lamp in the gray value c, m and y of any color C, M, Y, wherein the gray value is in the range of 0-255.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y; respectively obtaining rated illumination values of the colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values; acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model to ensure that CMY output colors of the stage lamp are consistent in color under any gray.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the standard illumination proportion formula corresponding to the color Y is mixed by R, G, B, A, L, C different proportions of original six single colors, and the R, G, B, A, L, C mixed proportions corresponding to the original six single colors are respectively: 1: y 2: y 3: y 4: y 5: y 6.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y; respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula; and respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportion formula.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero to be Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively; determining a specific value of the illumination parameter at color M, C, C + M, C + Y, M + Y; determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0 and the Ec0 and the illumination parameters, and calculating the illumination value of the stage lamp in the gray value c, m and y of any color C, M, Y, wherein the gray value is in the range of 0-255.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for controlling the color of a stage lamp is characterized by comprising the following steps:
acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportional relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportional formula corresponding to the color Y;
respectively obtaining rated illumination values of the colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula, and determining illumination parameters of the target six colors under the rated illumination values;
acquiring an initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors according to the initial illumination value and the illumination parameter, and calculating the illumination value under any gray value through the illumination value model to ensure that CMY output colors of the stage lamp are consistent in color under any gray.
2. The stage light color control method of claim 1, wherein the standard illumination ratio formula corresponding to the color Y is mixed by R, G, B, A, L, C different ratios of original six single colors, and the R, G, B, A, L, C mixing ratios corresponding to the original six single colors are: 1: y 2: y 3: y 4: y 5: y 6.
3. The stage light color control method of claim 1, wherein obtaining the nominal illumination values of the target six colors of Y, M, C, C + M, C + Y, M + Y, respectively, according to the standard illumination ratio formula comprises:
obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y;
respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula;
and respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportion formula.
4. The stage lighting color control method of claim 1, wherein the obtaining of the model of the lighting values of the stage lighting corresponding to the six original single colors according to the initial lighting values and the lighting parameters, and the calculating of the lighting values at any gray level by the model of the lighting values comprises:
determining the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero to be Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively;
determining a specific value of the illumination parameter at color M, C, C + M, C + Y, M + Y;
determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0 and the Ec0 and the illumination parameters, and calculating the illumination value of the stage lamp in the gray value c, m and y of any color C, M, Y, wherein the gray value is in the range of 0-255.
5. A control system for stage lighting color comprising:
the illumination proportion module is used for acquiring a standard coordinate value of the color Y under a rated gray scale, and measuring and correcting an illumination proportion relation of R, G, B, A, L, C original six single colors through the standard coordinate value to obtain a standard illumination proportion formula corresponding to the color Y;
the rated illumination module is used for respectively obtaining rated illumination values of colors Y, M, C, C + M, C + Y, M + Y target six colors according to the standard illumination proportion formula and determining illumination parameters of the target six colors under the rated illumination values;
and the illumination value configuration module is used for acquiring the initial illumination value of the original six single colors when the Y gray of the color is zero, obtaining an illumination value model of the stage lamp corresponding to the original six single colors under any gray value according to the initial illumination value and the illumination parameter, and enabling the CMY output colors of the stage lamp to be consistent in color under any gray value through an algorithm of the illumination value model.
6. The stage light color control system of claim 5, wherein the illumination ratio module comprises a ratio adjusting unit, and the ratio adjusting unit is configured to mix the standard illumination ratio corresponding to the color Y with different ratios of R, G, B, A, L, C original six monochromatic colors, and then mix the R, G, B, A, L, C original six monochromatic colors with the respective mixing ratios as follows: 1: y 2: y 3: y 4: y 5: y 6.
7. The stage light color control system of claim 5, wherein the nominal illumination module comprises a nominal illumination value unit for obtaining nominal illumination values of colors Y, M, C, C + M, C + Y, M + Y target six colors, respectively, according to the standard illumination formula, comprising:
obtaining a first illumination value of the color Y under the standard illumination proportion formula according to the standard coordinate numerical value of the color Y;
respectively obtaining a mixed illumination proportion formula of colors M, C, C + M, C + Y, M + Y corresponding to the original six single colors according to the standard illumination proportion formula;
and respectively determining a mixed illumination value of the color M, C, C + M, C + Y, M + Y according to the first illumination value and the mixed illumination proportion formula.
8. The stage lighting color control system of claim 5, wherein the illumination value configuration module comprises an illumination value model unit, the illumination value model unit is configured to obtain an illumination value model of the stage lighting corresponding to the original six monochromatic colors according to the initial illumination value and the illumination parameter, and the illumination value at any gray value is calculated through the illumination value model, and the method comprises the following steps:
determining the illumination values of the color Y corresponding to the original six single colors when the gray scale is zero to be Er0, Eg0, Eb0, Ea0, El0 and Ec0 respectively;
determining a specific value of the illumination parameter at color M, C, C + M, C + Y, M + Y;
determining the illumination value model according to the Er0, the Eg0, the Eb0, the Ea0, the El0 and the Ec0 and the illumination parameters, and calculating the illumination value of the stage lamp in the gray value c, m and y of any color C, M, Y, wherein the gray value is in the range of 0-255.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN202010837325.0A 2020-08-19 2020-08-19 Method and system for controlling color of stage lamp, computer device and storage medium Active CN112105126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010837325.0A CN112105126B (en) 2020-08-19 2020-08-19 Method and system for controlling color of stage lamp, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010837325.0A CN112105126B (en) 2020-08-19 2020-08-19 Method and system for controlling color of stage lamp, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN112105126A CN112105126A (en) 2020-12-18
CN112105126B true CN112105126B (en) 2022-04-22

Family

ID=73754612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010837325.0A Active CN112105126B (en) 2020-08-19 2020-08-19 Method and system for controlling color of stage lamp, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN112105126B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540269A (en) * 2014-12-08 2015-04-22 闽南师范大学 Hybrid white light LED illuminating system and illuminance and color temperature control method thereof
CN107101172A (en) * 2017-03-24 2017-08-29 广州市雅江光电设备有限公司 One kind quickly realizes random color color mixing method
CN107919103A (en) * 2017-12-13 2018-04-17 京东方科技集团股份有限公司 Multiple bases conversion method, driving method, readable storage medium storing program for executing and display device
CN109743472A (en) * 2018-12-30 2019-05-10 厦门汉印电子技术有限公司 Color of image modification method, device, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218358B2 (en) * 2004-06-15 2007-05-15 Coretronic Corporation Method and apparatus for calibrating color temperature of color display devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540269A (en) * 2014-12-08 2015-04-22 闽南师范大学 Hybrid white light LED illuminating system and illuminance and color temperature control method thereof
CN107101172A (en) * 2017-03-24 2017-08-29 广州市雅江光电设备有限公司 One kind quickly realizes random color color mixing method
CN107919103A (en) * 2017-12-13 2018-04-17 京东方科技集团股份有限公司 Multiple bases conversion method, driving method, readable storage medium storing program for executing and display device
CN109743472A (en) * 2018-12-30 2019-05-10 厦门汉印电子技术有限公司 Color of image modification method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112105126A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN110211191B (en) Mixed color correction method and device, terminal equipment and readable storage medium
CN110473502A (en) Control method, device and the terminal device of screen intensity
CN105957125B (en) A kind of processing method and mobile terminal of icon text
US20060103862A1 (en) Color conversion matrix creating device, color conversion matrix creating program, and image display apparatus
JP7068905B2 (en) Gradation correction data creation device, gradation correction device, electronic device and gradation correction data creation method
CN106409212B (en) Gamma curve adjusting method and device
US10706772B2 (en) Touch substrate, manufacturing method therefor, and touch device
JP2010165058A (en) Gradation creation method, program and device
CN113453396A (en) WRGB color mixing method and device based on additive color mixing, terminal equipment and storage medium
CN112105126B (en) Method and system for controlling color of stage lamp, computer device and storage medium
CN113495709A (en) Color correction method, AP chip, terminal and storage medium
CN111458967B (en) Color and color temperature calibration method, calibration device and projection display equipment
JPH02136848A (en) Estimating method for color reproduction characteristic using color patch
CN114340080A (en) Light mixing method, system and device of RGB-LED light source
CN105100762B (en) A kind of image processing method and image processing apparatus
CN110299102A (en) A kind of method, display equipment and the storage medium of chip interior pretreatment color
JPH0362093A (en) Gradation display controller
CN112148288A (en) Interface color setting method, device, equipment and storage medium
CN110609670B (en) Display characteristic management method, device, equipment and storage medium for display
JPH05307613A (en) Method for displaying hierarchical structure information and device therefor
CN101527857A (en) Display device, and color conversion method and color conversion circuit of same
JP2012247673A (en) Two-dimensional color gradation display device
KR100588156B1 (en) Control Method Of White Blance For Display Apparatus
CN117409748A (en) Display adjustment method, display adjustment device, electronic equipment and computer readable storage medium
CN117334166A (en) Method and system for prompting LCD screen of controller in unreliable state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant