Calibration Method, Device, Electronic Device, Storage Medium and Chip for RGB Lamp
The RGB lamp correction method adjusts component luminance based on mixed color efficiency to maintain consistent luminance, addressing color discrepancies and enhancing display quality through software adjustments.
Patent Information
- Application Number
- CN202210410344.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-19
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2042-04-19
AI Technical Summary
As the use time of RGB lamps increases, the color and brightness characteristics of the luminous components of different colors in RGB lamps will attenuate, resulting in a decrease in color aberration and display quality, which is difficult for the prior art to effectively correct.
By obtaining the color-mixed lamp effect information of the light emitting components corresponding to each two colors in the RGB lamp when the specified current value is lit, the brightness magnitude relationship between each light emitting component is determined and corrected according to the brightness magnitude relationship, so that the brightness magnitude relationship of each light emitting component meets the preset conditions.
The color rendering accuracy and display quality of RGB lamps are improved, and the brightness of the luminous components is flexibly corrected through software, avoiding the high cost of hardware replacement and debugging problems.
Smart Images

Figure CN114760741B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of lighting technologies, and particularly to a calibration method, device, electronic device, storage medium and chip for an RGB lamp. Background Art
[0002] To meet the diverse needs of people, colored lights and their technologies have been continuously developed. Common colored lights are obtained by mixing three colors: red (Red), green (Green), and blue (Blue). The colored lights obtained by mixing red, green, and blue are often referred to as RGB lamps. The color system formed by the three primary colors of RGB includes almost all the colors that the human vision can perceive, and is one of the most widely used color systems at present. By mixing the three primary colors of RGB in different proportions and intensities, various colors in nature can be produced.
[0003] However, as the usage time of the RGB lamp increases, the color, brightness and other characteristics of the light-emitting components of different colors in the RGB lamp will decay. The light-emitting components after being used for a period of time cannot reach their initial color, brightness and other characteristics, resulting in color differences and other situations. Therefore, it is very important to calibrate the RGB lamp to ensure the display quality. Summary of the Invention
[0004] To overcome the problems in the related art, the present disclosure provides a calibration method, device, electronic device, storage medium and chip for an RGB lamp, which can flexibly calibrate the color rendering of the RGB lamp and effectively improve the display accuracy of the light color.
[0005] According to the first aspect of the embodiments of the present disclosure, a calibration method for an RGB lamp is provided, including:
[0006] Obtaining the mixed light effect information of the light-emitting components corresponding to every two colors in the RGB lamp when lit with a specified current value;
[0007] Determining the brightness magnitude relationship among the respective light-emitting components in the RGB lamp according to the mixed light effect information;
[0008] Calibrating the brightness value of the RGB lamp according to the brightness magnitude relationship so that the brightness magnitude relationship among the respective light-emitting components in the RGB lamp meets a preset condition.
[0009] Optionally, the calibrating the brightness value of the RGB lamp according to the brightness magnitude relationship includes:
[0010] Determining the light-emitting component with the lowest brightness in the RGB lamp as the target light-emitting component according to the brightness magnitude relationship;
[0011] While keeping the brightness of the target light-emitting component unchanged, reduce the brightness of the light-emitting components other than the target light-emitting component according to the magnitude relationship of the brightness.
[0012] Optionally, after reducing the brightness of the light-emitting components other than the target light-emitting component according to the magnitude relationship of the brightness while keeping the brightness of the target light-emitting component unchanged, it further includes:
[0013] If, according to the magnitude relationship of the brightness, it is determined that there is a reference light-emitting component among the light-emitting components other than the target light-emitting component whose brightness difference from the target light-emitting component exceeds the brightness difference threshold, then reduce the brightness of the target light-emitting component according to the brightness difference, so that the mixed color light effect information obtained by combining the processed target light-emitting component and the reference light-emitting component matches the preset mixed color light effect information, where the brightness difference is the difference between the brightness of the light-emitting components other than the target light-emitting component before the brightness reduction and the brightness of the target light-emitting component.
[0014] Optionally, the magnitude relationship of the brightness includes a brightness ratio relationship, and reducing the brightness of the light-emitting components other than the target light-emitting component according to the magnitude relationship of the brightness while keeping the brightness of the target light-emitting component unchanged includes:
[0015] While keeping the brightness of the target light-emitting component unchanged, reduce the brightness of the light-emitting components other than the target light-emitting component in the RGB lamp according to the brightness ratio relationship.
[0016] Optionally, reducing the brightness of the light-emitting components other than the target light-emitting component in the RGB lamp according to the brightness ratio relationship includes:
[0017] Determine the brightness value of the target light-emitting component;
[0018] According to the brightness ratio relationship and the brightness value of the target light-emitting component, determine the brightness reduction value of the light-emitting components other than the target light-emitting component;
[0019] Reduce the brightness of the light-emitting components other than the target light-emitting component by the brightness reduction value.
[0020] Optionally, after correcting the brightness values of the RGB lamp according to the magnitude relationship of the brightness so that the magnitude relationship of the brightness of each light-emitting component in the RGB lamp meets the preset conditions, it further includes:
[0021] Obtain the color information of each light-emitting component when emitting light alone;
[0022] If the color information does not match the preset color information, adjust the brightness reduction value according to the color information and the preset color information;
[0023] Based on the adjusted brightness reduction value, re - execute the step of reducing the brightness of the light - emitting components other than the target light - emitting component by the brightness reduction value.
[0024] Optionally, the three light - emitting components include a first light - emitting component, a second light - emitting component, and a third light - emitting component. Determining the brightness magnitude relationship between the respective light - emitting components in the RGB lamp according to the mixed - color light effect information includes:
[0025] Compare the mixed - color light effect information obtained by combining the first light - emitting component and the second light - emitting component with the first standard mixed - color light effect information to obtain a first comparison result;
[0026] Determine the first brightness magnitude relationship between the first light - emitting component and the second light - emitting component according to the first comparison result;
[0027] Compare the mixed - color light effect information obtained by combining the second light - emitting component and the third light - emitting component with the second standard mixed - color light effect information to obtain a second comparison result;
[0028] Determine the second brightness magnitude relationship between the second light - emitting component and the third light - emitting component according to the second comparison result;
[0029] Determine the brightness magnitude relationship between the three light - emitting components according to the first brightness magnitude relationship and the second brightness magnitude relationship.
[0030] Optionally, determining the brightness magnitude relationship between the respective light - emitting components in the RGB lamp according to the mixed - color light effect information further includes:
[0031] Compare the mixed - color light effect information obtained by combining the first light - emitting component and the third light - emitting component with the third standard mixed - color light effect information to obtain a third comparison result;
[0032] Determine the third brightness magnitude relationship between the first light - emitting component and the third light - emitting component according to the third comparison result;
[0033] Verify the brightness magnitude relationship between the three light - emitting components through the third brightness magnitude relationship.
[0034] Optionally, the method further includes:
[0035] If it is determined that the brightness magnitude relationship of the respective light-emitting components in the RGB lamp is the same according to the brightness magnitude relationship of the respective light-emitting components in the RGB lamp, it is determined that the brightness magnitude relationship of the respective light-emitting components in the RGB lamp satisfies a preset condition.
[0036] According to a second aspect of the embodiments of the present disclosure, there is provided a calibration device for an RGB lamp, including:
[0037] A color mixing light effect information acquisition module, configured to acquire color mixing light effect information when each two colors corresponding light-emitting components in the RGB lamp are lit with a specified current value;
[0038] A brightness magnitude relationship determination module, configured to determine the brightness magnitude relationship between the respective light-emitting components in the RGB lamp according to the color mixing light effect information;
[0039] A calibration module, configured to calibrate the brightness value of the RGB lamp according to the brightness magnitude relationship, so that the brightness magnitude relationship of the respective light-emitting components in the RGB lamp satisfies a preset condition. According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0040] A processor;
[0041] A memory for storing instructions executable by the processor;
[0042] Wherein, the processor is configured to:
[0043] Acquire color mixing light effect information when each two colors corresponding light-emitting components in the RGB lamp are lit with a specified current value;
[0044] Determine the brightness magnitude relationship between the respective light-emitting components in the RGB lamp according to the color mixing light effect information;
[0045] Calibrate the brightness value of the RGB lamp according to the brightness magnitude relationship, so that the brightness magnitude relationship of the respective light-emitting components in the RGB lamp satisfies a preset condition.
[0046] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the calibration method for an RGB lamp provided in the first aspect of the present disclosure are implemented.
[0047] According to a fifth aspect of the embodiments of the present disclosure, there is provided a chip, including a processor and an interface; the processor is used to read instructions to execute the steps of the calibration method for an RGB lamp provided in the first aspect of the present disclosure.
[0048] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: By obtaining the color mixing light effect information of the light-emitting components corresponding to every two colors in the RGB lamp when lit with a specified current value; determining the brightness magnitude relationship between the respective light-emitting components in the RGB lamp according to the color mixing light effect information; and correcting the brightness value of the RGB lamp according to the brightness magnitude relationship, so that the brightness magnitude relationship of the respective light-emitting components in the RGB lamp meets a preset condition. Since a standard color mixing light effect can be mixed according to requirements when the brightness levels of the light-emitting components of the three colors of the RGB lamp are consistent, the brightness magnitude relationship between the light-emitting components can be determined flexibly and accurately through the performance of the RGB lamp in the color mixing light effect. Furthermore, the brightness value of the RGB lamp can be corrected according to the brightness magnitude relationship. When the brightness magnitude relationship information of the respective light-emitting components in the corrected RGB lamp meets the preset condition, it indicates that the brightness levels of the respective light-emitting components of the RGB lamp are consistent, ensuring the display quality of the RGB lamp.
[0049] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings
[0050] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.
[0051] Figure 1 is a schematic diagram of the application environment of the calibration method of the RGB lamp shown according to an exemplary embodiment.
[0052] Figure 2 is a flowchart of a calibration method of an RGB lamp shown according to an exemplary embodiment.
[0053] Figure 3 is a flowchart of a calibration method of an RGB lamp shown according to another exemplary embodiment.
[0054] Figure 4 is a block diagram of a calibration device of an RGB lamp shown according to an exemplary embodiment.
[0055] Figure 5 is a block diagram of an electronic device shown according to an exemplary embodiment.
[0056] Figure 6 is a block diagram of a server shown according to an exemplary embodiment. Detailed Description of the Embodiments
[0057] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0058] It should be noted that all actions of obtaining signals, information, or data in this application are carried out on the premise of complying with the corresponding data protection regulations and policies of the country where the location is located and obtaining authorization from the owner of the corresponding device.
[0059] To meet the diverse needs of users, RGB lamp technology is widely used in various fields. For example, the demand for lamp effect display on gaming mobile phones is increasing, and more personalized options are provided to users. When the user sets a personalized lamp effect color, the RGB lamp on the gaming mobile phone should display the equivalent set by the user.
[0060] In the related art, usually, the same current is passed through the red, green, and blue lamp beads of the RGB lamp at the hardware layer to keep the brightness of the three colors consistent. The application layer in the software layer converts the user-defined personalized color setting instructions into RGB color data that conforms to the color standard, and then transfers it to the framework layer in the software layer. The framework layer writes the color data representing the brightness of the red, green, and blue lamps into the driver node to control the three lamps to mix out the expected color.
[0061] However, in terms of the hardware structure of the RGB lamp, the light guide film and lamp beads may have problems with color display deviation due to lifespan attenuation or structural limitations. If the application layer and the framework layer download and write the standard color data into the node, the RGB lamp may have a deviation between the displayed lamp effect and the standard lamp effect that should be displayed due to hardware defects, resulting in a reduced user experience.
[0062] If the above problems are solved by replacing the hardware of the RGB lamp, it will incur a large cost because the RGB lamp usually requires components such as a light guide film and lamp beads to cooperate with each other to jointly display a colorful lamp effect. Different devices may use light guide films from different manufacturers and different versions, and there may also be differences in the brightness level of the lamp beads when powered on, making it difficult to break through these limitations to reach a unified standard from the hardware aspect. Moreover, the cost of debugging the RGB lamp after replacing the hardware is relatively large.
[0063] To address the above problems, this embodiment provides a calibration method, device, electronic device, storage medium, and chip for an RGB light, which can improve some inevitable limitations in the hardware structure through software, flexibly and accurately calibrate the brightness of each light-emitting component in the RGB light, thereby ensuring the color rendering quality of the RGB light and effectively improving the display accuracy of the light color.
[0064] The application environment of a calibration method for an RGB light provided in this embodiment is described below. As Figure 1 shown, the application environment may include an electronic device, a detection device, and an RGB light. Among them, the electronic device can be communicatively connected to the RGB light and the detection device respectively.
[0065] Among them, the detection device can detect the display situation of the RGB light and upload the detected information to the electronic device. Optionally, the detection device includes but is not limited to: high-definition cameras, industrial cameras, etc.
[0066] The electronic device can send a control instruction to the RGB light to instruct the RGB light to perform corresponding actions. For example, the electronic device can write RGB data (such as RGB data 0xffff00 corresponding to standard yellow) into the drive node of the RGB light to drive the RGB light to display the corresponding color. Optionally, the electronic device includes but is not limited to: personal computers, smartphones, servers, tablet devices, etc.
[0067] Optionally, the above detection device and the above RGB light can be integrated on the above electronic device at the same time to form a terminal device with an RGB light. For example, the terminal device can be a smartphone with an RGB light. For example, the RGB light can be set on the back shell of the terminal device. At this time, the back shell of the terminal device can display the corresponding color according to the current scene, such as displaying different colors according to different music.
[0068] Figure 2 is a flowchart of a calibration method for an RGB light shown according to an exemplary embodiment. As Figure 1 shown, the calibration method for the RGB light is applied to the Figure 1 electronic device in, and the method may include the following steps:
[0069] In step S11, obtain the mixed light effect information of the light-emitting components corresponding to every two colors in the RGB light when lit with a specified current value.
[0070] Exemplarily, the RGB light includes a light-emitting component for emitting red light, a light-emitting component for emitting green light, and a light-emitting component for emitting blue light. For example, the light-emitting components of the RGB light can include three color lights: a red light, a green light, and a blue light.
[0071] It can be understood that a light-emitting component in this embodiment may include at least one color lamp. Hereinafter, a color lamp is used as a light-emitting component for illustration.
[0072] The electronic device can control the green and red lights in the RGB to light up at a specified current value (for example, output corresponding RGB data: 0xffff00 to the RGB lamp), so as to mix and obtain the mixed light effect corresponding to yellow. After the green and red lights are lit, the electronic device can control the detection device (such as a high-definition camera) to collect images of the lit green and red lights at this time. After the detection device collects the image of the mixed light effect corresponding to yellow, it can upload the image of the mixed light effect corresponding to yellow to the electronic device. Then, the electronic device can use the obtained image of the mixed light effect corresponding to yellow as the first mixed light effect information. At this time, the detection device and the electronic device can be independent devices. In other embodiments, the detection device can also be built into the electronic device.
[0073] Continuing with the above example, the electronic device can control the blue and red lights in the RGB to light up at a specified current value (for example, output corresponding RGB data: 0xff00ff to the RGB lamp), so as to mix and obtain the mixed light effect corresponding to purple. After the blue and red lights are lit, the electronic device can control the detection device to collect images of the lit blue and red lights at this time. After the detection device collects the image of the mixed light effect corresponding to purple, it can upload the image of the mixed light effect corresponding to purple to the electronic device. Then, the electronic device can use the obtained image of the mixed light effect corresponding to purple as the second mixed light effect information.
[0074] Continuing with the above example, the electronic device can control the green and blue lights in the RGB to light up at a specified current value (for example, output corresponding RGB data: 0x00ffff to the RGB lamp), so as to mix and obtain the mixed light effect corresponding to cyan. After the blue and red lights are lit, the electronic device can control the detection device to collect images of the lit green and blue lights at this time. After the detection device collects the image of the mixed light effect corresponding to cyan, it can upload the image of the mixed light effect corresponding to cyan to the electronic device. Then, the electronic device can use the obtained image of the mixed light effect corresponding to cyan as the third mixed light effect information, so as to obtain the mixed light effect information when every two color lamps in the RGB lamp are lit at a specified current value.
[0075] In step S12, according to the mixed light effect information, determine the brightness magnitude relationship between the respective light-emitting components in the RGB lamp.
[0076] In some embodiments, standard mixed-color light effect images (such as light effect images corresponding to standard yellow, purple, and cyan) are pre-stored in the electronic device. The electronic device can compare the detected image of the mixed-color light effect with the corresponding standard light effect image. Since the brightness of the two color lights in the standard mixed-color light effect image is the same, the magnitude relationship of the brightness of the two color lights corresponding to the image of the mixed-color light effect can be determined according to the comparison result. Exemplarily, if the electronic device recognizes that the color effect in the detected yellow light effect image is more red than the standard yellow light effect image, it can be determined that the brightness of the red light is greater than that of the green light. If the color effect in the detected yellow light effect image is more green, it can be determined that the brightness of the green light is greater than that of the red light. If the color effects of the standard yellow light effect image and the detected yellow light effect image are basically the same, it can be determined that the brightness of the green light is equal to that of the red light.
[0077] As a more specific example, the electronic device can calculate the similarity between the detected yellow light effect image and the standard mixed-color light effect image through a preset similarity algorithm. If the similarity is greater than or equal to the similarity threshold, it can be determined that the brightness of the two color lights (red light and green light) corresponding to the detected mixed-color light effect image is the same. If the similarity is less than the similarity threshold, the electronic device can calculate the first similarity between the detected mixed-color light effect image and the light effect image corresponding to the standard red through the preset similarity algorithm, and the second similarity between the detected mixed-color light effect image and the light effect image corresponding to the standard green. If the first similarity is greater than the second similarity, it can be determined that the color effect in the detected yellow light effect image is more red. If the second similarity is greater than the first similarity, it can be determined that the color effect in the detected yellow light effect image is more green. By analogy, the above method can be used to continue analyzing the second and third mixed-color light effect information to obtain the magnitude relationship of the brightness among the red, yellow, and green lights.
[0078] In some other embodiments, the electronic device can generate corresponding RGB data based on the detected light effect image, then compare the generated RGB data with the standard RGB data, and further determine the magnitude relationship of the brightness among the three color lights in the RGB light according to the comparison result.
[0079] Continuing with the above example, the electronic device can generate RGB data based on the detected yellow light effect image, then compare the RGB data with the standard RGB data corresponding to yellow (such as 0xffff00), and further determine whether the color effect of the yellow light effect image is more red, more green, or the same, so as to determine the magnitude relationship of the brightness between the red light and the green light.
[0080] In some other embodiments, the electronic device may receive judgment information input by the user for each mixed-color light effect, and determine the brightness magnitude relationship among the three color lights according to the judgment information. For example, after the user sees the red light and the green light lit simultaneously and believes that the light effect of the mixture of the red light and the green light is biased towards green at this time, the user inputs judgment information (the brightness of the green light is greater than the brightness of the red light) to the electronic device so that the electronic device records the brightness magnitude relationship among the color lights.
[0081] In step S13, the brightness values of the RGB lights are corrected according to the brightness magnitude relationship so that the brightness magnitude relationship among the light-emitting components in the RGB lights meets the preset conditions.
[0082] In some embodiments, if it is determined that the brightness magnitude relationship among the light-emitting components in the RGB lights is that the brightnesses are the same according to the brightness magnitude relationship among the light-emitting components in the RGB lights, it is determined that the brightness magnitude relationship among the light-emitting components in the RGB lights meets the preset conditions.
[0083] It can be understood that if the difference between the brightnesses of any color lights in the RGB lights is less than the preset brightness value, it can be determined that the brightness magnitude relationship among the color lights in the RGB lights meets the preset conditions. Among them, when the difference between the brightnesses of any color lights in the RGB lights is less than the preset brightness value, the user cannot distinguish the color difference, that is, the color difference is indistinguishable to the user.
[0084] Exemplarily, for example, the brightness relationship size information is: green light brightness > blue light brightness > red light brightness. Then, the electronic device can adjust the RGB data of the RGB lamp to reduce the brightness of the green light and the blue light so that the brightness of the green light, the blue light, and the red light is the same. Optionally, the electronic device continues to combine and light the color lamps with reduced brightness to obtain new mixed color lamp effect information, and compares the new mixed color lamp effect information with the marked mixed color lamp effect information. If the new mixed color lamp effect information is basically the same as the marked mixed color lamp effect information, it is determined that the brightness size relationship of the three color lamps in the RGB lamp meets the preset conditions, and the calibration of the RGB lamp is completed. It can be seen that in this embodiment, by obtaining the mixed color lamp effect information when each two colors corresponding light-emitting components in the RGB lamp are lit with a specified current value; determining the brightness size relationship between the respective light-emitting components in the RGB lamp according to the mixed color lamp effect information; and calibrating the brightness value of the RGB lamp according to the brightness size relationship so that the brightness size relationship of the respective light-emitting components in the RGB lamp meets the preset conditions. Since a standard mixed color lamp effect can be mixed according to requirements when the brightness levels of the light-emitting components of the three colors of the RGB lamp are the same, the brightness size relationship between the light-emitting components can be flexibly and accurately determined through the performance of the RGB lamp in the mixed color lamp effect, and then the brightness value of the RGB lamp can be calibrated according to the brightness size relationship. When the brightness size relationship of the respective light-emitting components in the calibrated RGB lamp meets the preset conditions, it indicates that the brightness levels of the respective light-emitting components of the RGB lamp are consistent, ensuring the display quality of the RGB lamp.
[0085] Figure 3 is a flowchart of a calibration method for an RGB lamp shown according to another exemplary embodiment. As Figure 3 shown, this calibration method for the RGB lamp is applied to an electronic device as shown in Figure 1 shown, and this method may include the following steps:
[0086] In step S21, obtain the mixed color lamp effect information when each two colors corresponding light-emitting components in the RGB lamp are lit with a specified current value.
[0087] Among them, the specific implementation manner of step S21 can refer to step S11, so it will not be elaborated here.
[0088] In step S22, determine the brightness size relationship between the respective light-emitting components in the RGB lamp according to the mixed color lamp effect information.
[0089] In some implementation manners, the three color lamps include a first color lamp, a second color lamp, and a third color lamp, and the colors of these three color lamps are different. The first color lamp, the second color lamp, and the third color lamp are respectively one of the red lamp, the green lamp, and the blue lamp in the RGB lamp. The specific implementation manner of step S22 may include:
[0090] In step S221, the mixed color light effect information obtained by combining the first light-emitting component and the second light-emitting component is compared with the first standard mixed color light effect information to obtain a first comparison result.
[0091] Exemplarily, for example, the first color light is a red light, the second color light is a green light, and the first standard mixed color light effect information is an image of a standard yellow light effect. The electronic device can compare the image of the mixed color light effect obtained by combining the detected first color light and the second color light with the image of the standard yellow light effect or a standard color card to obtain the first comparison result. Alternatively, the electronic device can generate corresponding RGB data based on the image of the mixed color light effect obtained by combining the detected first color light and the second color light, and compare the RGB data with the RGB data of the standard yellow light effect (such as 0xffff00) to obtain the first comparison result.
[0092] It can be understood that the image of the standard yellow light effect and the standard color card can both be pre-stored in the electronic device.
[0093] In step S222, according to the first comparison result, the first brightness magnitude relationship between the first light-emitting component and the second light-emitting component is determined.
[0094] Continuing with the above example, if the first comparison result is that the mixed color light effect is greenish, it can be determined that the first brightness magnitude relationship is: green light brightness > red light brightness; if the first comparison result is that the mixed color light effect is reddish, it can be determined that the first brightness magnitude relationship is: green light brightness > red light brightness; if the first comparison result is that the color of the mixed color light effect is basically the same as the standard yellow, it can be determined that the first brightness magnitude relationship is: green light brightness = red light brightness. Optionally, the electronic device can also determine a rough brightness difference according to the deviation degree of the mixed color light effect. For example, the degree of greenishness of the mixed color light effect is positively correlated with the brightness difference between the green light brightness and the red light brightness.
[0095] In step S223, the mixed color light effect information obtained by combining the second light-emitting component and the third light-emitting component is compared with the second standard mixed color light effect information to obtain a second comparison result.
[0096] Continuing with the above example, the third color light is a blue light, and the second standard mixed color light effect information is an image or RGB data of a standard cyan light effect. Specifically, the implementation manner of step S223 can refer to the implementation manner of step S221, so it will not be elaborated here.
[0097] In step S224, according to the second comparison result, the second brightness magnitude relationship between the second light-emitting component and the third light-emitting component is determined.
[0098] Continuing with the above example, for instance, if the second comparison result shows that the mixed-color light effect is bluish, it can be determined that the relationship of the second brightness is: blue light brightness > green light brightness; if the second comparison result shows that the mixed-color light effect is greenish, it can be determined that the relationship of the first brightness is: green light brightness > blue light brightness; if the second comparison result shows that the color of the mixed-color light effect is basically the same as the standard cyan color, it can be determined that the relationship of the second brightness is: green light brightness = blue light brightness.
[0099] In step S225, based on the relationship of the first brightness and the relationship of the second brightness, determine the relationship of the brightness among the three light-emitting components.
[0100] Exemplarily, for example, based on the relationship of the first brightness (green light brightness > red light brightness) and the relationship of the second brightness (blue light brightness > green light brightness), it can be determined that the relationship of the brightness among the three color lights is: blue light brightness > green light brightness > red light brightness.
[0101] In some embodiments, the specific implementation of step S22 may further include:
[0102] In step S226, compare the mixed-color light effect information obtained by combining the first light-emitting component and the third light-emitting component with the third standard mixed-color light effect information to obtain a third comparison result.
[0103] Continuing with the above example, the third standard mixed-color light effect information is the image or RGB data of the standard purple light effect. Comparing the mixed-color light effect information obtained by combining the first color light and the third color light with the third standard mixed-color light effect information to obtain the third comparison result can refer to step S224, so it will not be elaborated here.
[0104] In step S227, based on the third comparison result, determine the third brightness relationship between the first light-emitting component and the third light-emitting component.
[0105] Continuing with the above example, if the third comparison result is: compared with the standard purple light effect information, the mixed-color light effect obtained by combining the first color light and the third color light is bluish, then determine that the third brightness relationship is: blue light brightness > red light brightness.
[0106] In step S228, verify the brightness relationship among the three light-emitting components through the third brightness relationship.
[0107] Continuing with the above example, for instance, the electronic device has determined that the brightness magnitude relationship among the three color lights is that the brightness of the blue light > the brightness of the green light > the brightness of the red light. If the third brightness magnitude relationship is that the brightness of the blue light > the brightness of the red light, it is determined that the third brightness magnitude relationship is accurate and the verification passes. If the third brightness magnitude relationship is that the brightness of the blue light is less than or equal to the brightness of the red light, it is determined that the brightness magnitude relationship among the three color lights is inaccurate. The electronic device can return to execute steps S21 to S228 until the brightness magnitude relationship among the three color lights passes the verification.
[0108] Optionally, the third brightness magnitude relationship may further include the brightness difference between the red light and the blue light, and the brightness magnitude relationship among the three color lights may also include the brightness differences between every two of the three color lights. If the brightness difference between the red light and the blue light in the brightness magnitude relationship among the three color lights is not equal to the brightness difference between the red light and the blue light in the third brightness magnitude relationship, it can be determined that the brightness magnitude relationship among the three color lights is inaccurate. For example, if the brightness difference between the red light and the blue light in the brightness magnitude relationship among the three color lights is 120 and the brightness difference between the red light and the blue light in the third brightness magnitude relationship is 50, it can be determined that the brightness magnitude relationship among the three color lights is inaccurate and the verification result is not passed.
[0109] Considering that the three mixed-color light effect information obtained by combining the three color lights is correlated, in this embodiment, the mixed-color light effect information obtained by combining the first color light and the third color light is compared with the third standard mixed-color light effect information to obtain a third comparison result, and based on the third comparison result, the third brightness magnitude relationship between the first color light and the third color light is determined. Finally, the brightness magnitude relationship among the three color lights is verified through the third brightness magnitude relationship. This can ensure the accuracy of the brightness magnitude relationship among the three color lights.
[0110] In step S23, according to the brightness magnitude relationship, the light-emitting component with the lowest brightness in the RGB lights is determined as the target light-emitting component.
[0111] Continuing with the above example, for instance, the brightness of the blue light > the brightness of the green light > the brightness of the red light. Therefore, the electronic device can determine the red light as the target color light.
[0112] In step S24, while keeping the brightness of the target light-emitting component unchanged, the brightness of the light-emitting components other than the target light-emitting component is reduced according to the brightness magnitude relationship.
[0113] In some embodiments, the brightness magnitude relationship includes a brightness ratio relationship. The specific implementation manner of step S24 may include:
[0114] While keeping the brightness of the target light-emitting component unchanged, reduce the brightness of the light-emitting components other than the target light-emitting component in the RGB lamp according to the brightness ratio relationship.
[0115] As an example, for instance, the brightness ratio relationship is blue lamp brightness: green lamp brightness: red lamp brightness = 5:4:1. Then the electronic device can take the red lamp brightness value as 1 brightness reduction unit, reduce the green lamp brightness by 3 brightness reduction units, and reduce the blue lamp brightness by 5 brightness reduction units, so that the brightness ratio relationship of the three color lamps after processing is blue lamp brightness: green lamp brightness: red lamp brightness = 1:1:1.
[0116] As an example, in step S24, the specific implementation of reducing the brightness relationship of the light-emitting components other than the target light-emitting component according to the brightness magnitude relationship may include:
[0117] In step S241, determine the brightness value of the target light-emitting component.
[0118] Continuing with the above example, taking the red lamp as the target color lamp, the electronic device can assume a brightness value and determine this brightness value as the brightness value of the red lamp, where the assumed brightness value is between 0 - 255 (for example, assume the brightness value of the red lamp is 30). Optionally, the electronic device can detect the image when the red lamp is lit alone through a detection device and compare this image with the image of the standard red lamp light effect, and then analyze the brightness value of the red lamp according to the comparison result.
[0119] In step S242, according to the brightness ratio relationship and the brightness value of the target light-emitting component, determine the brightness reduction values of the light-emitting components other than the target light-emitting component among the three light-emitting components.
[0120] Continuing with the above example, according to the brightness ratio relationship of blue lamp brightness: green lamp brightness: red lamp brightness = 5:4:1, it can be determined that the brightness value of the blue lamp is 150 and the brightness value of the green lamp is 120. Then it can be further determined that the brightness reduction value of the blue lamp is 150 - 30 = 120; the brightness reduction value of the green lamp is 120 - 30 = 90.
[0121] In step S243, reduce the brightness of the light-emitting components other than the target light-emitting component by the brightness reduction value, so that the brightness magnitude relationship of the three color lamps in the RGB lamp meets the preset conditions.
[0122] Continuing with the above example, the electronic device can change the RGB data of the RGB lamp, reduce the current brightness value of the blue lamp by 120, and reduce the current brightness value of the green lamp by 90, thereby completing the calibration of the RGB lamp, making the brightness of the blue lamp, green lamp, and red lamp after calibration consistent, and further enabling the calibrated RGB lamp to output an accurate color effect according to the RGB data.
[0123] It can be understood that when the brightness of the blue, green, and red lights in the RGB light is adjusted to be the same, the adjusted same brightness can be used as the maximum brightness value (equivalent to 255) of each color light. When the electronic device outputs RGB data to the RGB light, the RGB data can be converted into RGB data corresponding to the brightness ratio. For example, when the brightness of each color light is adjusted to be the same at 30, when the electronic device outputs RGB data, it can first adjust the brightness corresponding to the RGB data according to the ratio of 30 / 255.
[0124] In some embodiments, after step S243, the method may further include:
[0125] In step S244, obtain the color information of each light-emitting component when it emits light alone.
[0126] Exemplarily, after calibrating the RGB light, the electronic device can control the RGB light to turn on the red, green, or blue light alone, and then obtain the image when each color light is turned on through the detection device as the color information.
[0127] In step S245, if the color information does not match the preset color information, adjust the brightness reduction value according to the color information and the preset color information.
[0128] Continuing with the above example, for example, the preset color information can be the color shown on the standard color card. The electronic device can compare the image of the blue light detected with the blue color in the standard color card. If they are inconsistent, the difference between the brightness of the blue color in the image of the blue light and the brightness of the blue color in the standard color card can be determined as the brightness adjustment value. Then return to step S242 and adjust the brightness reduction value corresponding to the blue light obtained in step S242 according to the brightness adjustment value. For example, if the brightness of the blue color in the image of the blue light is greater than the brightness of the blue color in the standard color card, the brightness reduction value corresponding to the blue light can be increased. Similarly, for the red and green lights, their corresponding brightness reduction values can also be adjusted in the above manner.
[0129] In step S246, based on the adjusted brightness reduction value, re-execute the step of reducing the brightness of the light-emitting components other than the target light-emitting component by the brightness reduction value.
[0130] Continuing with the above example, the electronic device can re-execute steps S243 to S246 based on the adjusted brightness reduction value until the color information of each color light matches the preset color information.
[0131] In some embodiments, after step S24, the method may further include:
[0132] If, according to the brightness magnitude relationship, it is determined that there is a reference light-emitting component among the light-emitting components other than the target light-emitting component whose brightness difference from the target light-emitting component exceeds the brightness difference threshold, then the brightness of the target light-emitting component is reduced according to the brightness difference, so that the mixed-color light effect information obtained by combining the processed target light-emitting component and the reference light-emitting component matches the preset mixed-color light effect information, where the brightness difference is the difference relationship between the brightness of the light-emitting components other than the target light-emitting component before brightness reduction and the brightness of the target light-emitting component.
[0133] Exemplarily, for example, for a target color lamp: the brightness of the red lamp is approximately 30, and for a reference color lamp: the initial brightness of the green lamp is approximately 120, and the brightness difference threshold is 80. According to the brightness magnitude relationship, it is determined that the brightness difference between the brightness of the red lamp and the brightness of the blue lamp is 90. At this time, it indicates that the brightness reduction of the green lamp on the original basis is too large, which may cause the brightness of the adjusted green lamp to be lower than the brightness of the red lamp. Therefore, the brightness of the red lamp can be reduced according to the brightness difference to make the brightness of the red lamp basically the same as the brightness of the green lamp. Among them, the reduction value for reducing the brightness of the red lamp is positively correlated with the brightness difference between the brightness of the red lamp and the brightness of the blue lamp.
[0134] It can be seen that in this embodiment, by software means to improve the problem of lamp color display deviation caused by hardware limitations, only a small amount of modification is required in the software code, and the values can be flexibly adjusted to cope with different hardware situations and different lighting scenarios. The cost is relatively lower compared with improving this problem by hardware means.
[0135] Figure 4 It is a block diagram of a correction device for an RGB lamp shown according to an exemplary embodiment. Referring to Figure 4 , the device 30 includes a mixed-color light effect information acquisition module 31, a brightness magnitude relationship determination module 32, and a correction module 33, where:
[0136] The mixed-color light effect information acquisition module is configured to acquire the mixed-color light effect information when each two colors corresponding light-emitting components in the RGB lamp are lit with a specified current value;
[0137] The brightness magnitude relationship determination module is configured to determine the brightness magnitude relationship among the respective light-emitting components in the RGB lamp according to the mixed-color light effect information;
[0138] The correction module is configured to correct the brightness values of the RGB lamp according to the brightness magnitude relationship so that the brightness magnitude relationship among the respective light-emitting components in the RGB lamp meets the preset conditions.
[0139] In some embodiments, the correction module 33 includes:
[0140] The target color light determining sub-module is configured to determine the light-emitting component with the lowest brightness in the RGB light as the target light-emitting component according to the brightness magnitude relationship.
[0141] The brightness adjustment sub-module is configured to reduce the brightness of the light-emitting components other than the target light-emitting component according to the brightness magnitude relationship while keeping the brightness of the target light-emitting component unchanged.
[0142] In some embodiments, the calibration module 33 further includes:
[0143] The brightness reduction sub-module is configured to, if it is determined according to the brightness magnitude relationship that there is a reference light-emitting component among the light-emitting components other than the target light-emitting component whose brightness difference from the target light-emitting component exceeds the brightness difference threshold, reduce the brightness of the target light-emitting component according to the brightness difference, so that the mixed color light effect information obtained by combining the processed target light-emitting component and the reference light-emitting component matches the preset mixed color light effect information, where the brightness difference is the difference between the brightness of the light-emitting components other than the target light-emitting component before the brightness reduction and the brightness of the target light-emitting component.
[0144] In some embodiments, the brightness magnitude relationship includes a brightness ratio relationship, and the brightness adjustment sub-module is specifically configured to reduce the brightness of the light-emitting components other than the target light-emitting component in the RGB light according to the brightness ratio relationship while keeping the brightness of the target light-emitting component unchanged.
[0145] In some embodiments, the brightness adjustment sub-module is specifically configured to: determine the brightness value of the target light-emitting component; determine the brightness reduction value of the light-emitting components other than the target light-emitting component according to the brightness ratio relationship and the brightness value of the target light-emitting component; and reduce the brightness of the light-emitting components other than the target light-emitting component by the brightness reduction value.
[0146] In some embodiments, the device 30 further includes: a color inspection module, configured to: obtain the color information of each light-emitting component when it emits light alone; if the color information does not match the preset color information, adjust the brightness reduction value according to the color information and the preset color information; and based on the adjusted brightness reduction value, re-execute the step of reducing the brightness of the light-emitting components other than the target light-emitting component by the brightness reduction value.
[0147] In some embodiments, the three light-emitting components include a first light-emitting component, a second light-emitting component, and a third light-emitting component. The brightness magnitude relationship determination module 32 is specifically configured to: compare the mixed-color light effect information obtained by combining the first light-emitting component and the second light-emitting component with the first standard mixed-color light effect information to obtain a first comparison result; determine the first brightness magnitude relationship between the first light-emitting component and the second light-emitting component according to the first comparison result; compare the mixed-color light effect information obtained by combining the second light-emitting component and the third light-emitting component with the second standard mixed-color light effect information to obtain a second comparison result; determine the second brightness magnitude relationship between the second light-emitting component and the third light-emitting component according to the second comparison result; and determine the brightness magnitude relationship among the three light-emitting components according to the first brightness magnitude relationship and the second brightness magnitude relationship.
[0148] In some embodiments, the brightness magnitude relationship determination module 32 is further specifically configured to: compare the mixed-color light effect information obtained by combining the first light-emitting component and the third light-emitting component with the third standard mixed-color light effect information to obtain a third comparison result; determine the third brightness magnitude relationship between the first light-emitting component and the third light-emitting component according to the third comparison result; and verify the brightness magnitude relationship among the three light-emitting components through the third brightness magnitude relationship.
[0149] In some embodiments, the device 30 further includes a preset condition judgment module, configured to determine that the brightness magnitude relationship among the light-emitting components in the RGB lamp satisfies a preset condition when it is determined that the brightness magnitude relationship among the light-emitting components in the RGB lamp is the same according to the brightness magnitude relationship of each light-emitting component in the RGB lamp.
[0150] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0151] The present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the RGB lamp calibration method provided by the present disclosure are implemented.
[0152] Figure 5 It is a block diagram of an electronic device 800 for calibrating an RGB lamp shown according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0153] Refer to Figure 5, device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0154] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described methods. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0155] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0156] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
[0157] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities. Optionally, the multimedia component may further include an RGB light, which may include a light-emitting component for emitting light of different base colors. For example, the light-emitting component may include a red light, a blue light, and a green light.
[0158] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0159] The I / O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.
[0160] The sensor assembly 814 includes one or more sensors for providing an assessment of the status of the device 800 in various aspects. For example, the sensor assembly 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0161] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0162] In an exemplary embodiment, the device 800 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0163] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided. The above instructions can be executed by the processor 820 of the device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0164] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip. The integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the above-mentioned RGB light correction method. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions can be stored in the processor, and when the executable instructions are executed by the processor, the above-mentioned RGB light correction method is implemented. Alternatively, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above-mentioned RGB light correction method.
[0165] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned RGB light correction method when executed by the programmable device.
[0166] Figure 6 is a block diagram of a server 1900 for RGB light correction shown according to an exemplary embodiment. For example, the server 1900 can be provided as a server. Referring to Figure 6 , the server 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by a memory 1932 for storing instructions executable by the processing component 1922, such as application programs. The application programs stored in the memory 1932 can include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above-mentioned method.
[0167] The server 1900 may also include a power supply component 1926 configured to perform power management of the server 1900, a wired or wireless network interface 1950 configured to connect the server 1900 to a network, and an input / output (I / O) interface 1958. The server 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or the like.
[0168] Other embodiments of the present disclosure will be readily apparent to those skilled in the art after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0169] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A calibration method for an RGB lamp, characterized in that, Including: Obtaining the mixed light effect information of the light-emitting components corresponding to every two colors in the RGB lamp when lit with a specified current value; Determining the brightness magnitude relationship among the respective light-emitting components in the RGB lamp according to the mixed light effect information; Determining the light-emitting component with the lowest brightness in the RGB lamp as the target light-emitting component according to the brightness magnitude relationship; While keeping the brightness of the target light-emitting component unchanged, reducing the brightness of the light-emitting components other than the target light-emitting component according to the brightness magnitude relationship, so that the brightness magnitude relationship among the respective light-emitting components in the RGB lamp meets a preset condition.
2. The method according to claim 1, wherein After reducing the brightness of the light-emitting components other than the target light-emitting component according to the brightness magnitude relationship while keeping the brightness of the target light-emitting component unchanged, it further includes: If it is determined according to the brightness magnitude relationship that there is a reference light-emitting component among the light-emitting components whose brightness difference from the target light-emitting component exceeds the brightness difference threshold, then reducing the brightness of the target light-emitting component according to the brightness difference, so that the mixed light effect information obtained by combining the processed target light-emitting component and the reference light-emitting component matches the preset mixed light effect information, where the brightness difference is the difference between the brightness of the light-emitting components other than the target light-emitting component before the brightness reduction and the brightness of the target light-emitting component.
3. The method according to claim 1, characterized in that, The brightness magnitude relationship includes a brightness ratio relationship, and reducing the brightness of the light-emitting components other than the target light-emitting component according to the brightness magnitude relationship while keeping the brightness of the target light-emitting component unchanged includes: While keeping the brightness of the target light-emitting component unchanged, reducing the brightness of the light-emitting components other than the target light-emitting component in the RGB lamp according to the brightness ratio relationship.
4. The method according to claim 3, characterized in that, Reducing the brightness of the light-emitting components other than the target light-emitting component in the RGB lamp according to the brightness ratio relationship includes: Determining the brightness value of the target light-emitting component; Determining the brightness reduction value of the light-emitting components other than the target light-emitting component according to the brightness ratio relationship and the brightness value of the target light-emitting component; Reducing the brightness of the light-emitting components other than the target light-emitting component by the brightness reduction value.
5. The method according to claim 4, characterized in that, After correcting the brightness value of the RGB lamp according to the brightness magnitude relationship so that the brightness magnitude relationship among the respective light-emitting components in the RGB lamp meets a preset condition, it further includes: Obtaining the color information of the respective light-emitting components when emitting light alone; If the color information does not match the preset color information, then adjusting the brightness reduction value according to the color information and the preset color information; Based on the adjusted brightness reduction value, re-executing the step of reducing the brightness of the light-emitting components other than the target light-emitting component by the brightness reduction value.
6. The method according to claim 1, wherein The three light-emitting components include a first light-emitting component, a second light-emitting component, and a third light-emitting component. Determining the brightness magnitude relationship among the respective light-emitting components in the RGB lamp according to the mixed light effect information includes: Compare the mixed color light effect information obtained by combining the first light emitting component and the second light emitting component with the first standard mixed color light effect information to obtain a first comparison result; Determine a first brightness magnitude relationship between the first light emitting component and the second light emitting component according to the first comparison result; Compare the mixed color light effect information obtained by combining the second light emitting component and the third light emitting component with the second standard mixed color light effect information to obtain a second comparison result; Determine a second brightness magnitude relationship between the second light emitting component and the third light emitting component according to the second comparison result; Determine the brightness magnitude relationship among the three light emitting components according to the first brightness magnitude relationship and the second brightness magnitude relationship.
7. The method according to claim 6, wherein The determining the brightness magnitude relationship among the light emitting components in the RGB lamp according to the mixed color light effect information further includes: Compare the mixed color light effect information obtained by combining the first light emitting component and the third light emitting component with the third standard mixed color light effect information to obtain a third comparison result; Determine a third brightness magnitude relationship between the first light emitting component and the third light emitting component according to the third comparison result; Verify the brightness magnitude relationship among the three light emitting components through the third brightness magnitude relationship.
8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: If it is determined that the brightness magnitude relationship of the light emitting components is the same according to the brightness magnitude relationship of the light emitting components in the RGB lamp, it is determined that the brightness magnitude relationship of the light emitting components in the RGB lamp meets a preset condition.
9. A correction device for an RGB lamp, characterized in that, including: A mixed color light effect information acquisition module configured to acquire the mixed color light effect information when the light emitting components corresponding to each two colors in the RGB lamp are lit with a specified current value; A brightness magnitude relationship determination module configured to determine the brightness magnitude relationship among the light emitting components in the RGB lamp according to the mixed color light effect information; A target color lamp determination sub-module configured to determine the light emitting component with the lowest brightness in the RGB lamp as the target light emitting component according to the brightness magnitude relationship; A brightness adjustment sub-module configured to reduce the brightness of the light emitting components other than the target light emitting component according to the brightness magnitude relationship while keeping the brightness of the target light emitting component unchanged, so that the brightness magnitude relationship of the light emitting components in the RGB lamp meets a preset condition.
10. An electronic device, characterized in that, including: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to: Acquire the mixed color light effect information when the light emitting components corresponding to each two colors in the RGB lamp are lit with a specified current value; Determine the brightness magnitude relationship among the light emitting components in the RGB lamp according to the mixed color light effect information; Determine the light emitting component with the lowest brightness in the RGB lamp as the target light emitting component according to the brightness magnitude relationship; Reduce the brightness of the light emitting components other than the target light emitting component according to the brightness magnitude relationship while keeping the brightness of the target light emitting component unchanged, so that the brightness magnitude relationship of the light emitting components in the RGB lamp meets a preset condition.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instruction is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.
12. A chip, characterized in that, It includes a processor and an interface; the processor is configured to read instructions to execute the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Image display device and image display method
CN102077267A