A method, device, electronic device and medium for white balance calibration of LED display screen

By automatically adjusting the red, green and blue channel values ​​of the LED display screen, the white balance calibration of all grayscale levels is achieved, which solves the problems of artificial dependence and grayscale dependence in the existing technology, and improves the calibration speed and accuracy.

CN117809561BActive Publication Date: 2024-12-17深せん市美せき微半導体股ふん有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410011443.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-04
Publication Date
2024-12-17
Estimated Expiration
2044-01-04

AI Technical Summary

Technical Problem

White balance calibration of existing LED displays relies on manual operation, speed and accuracy are difficult to guarantee, and the current gain is usually adjusted at higher grayscale levels, which may not be able to achieve white balance at other grayscale levels.

Method used

Through the automation method, the grayscale level is determined, LED control information is generated, and the red, green and blue channel values ​​are adjusted until the color coordinate values ​​and standard values ​​meet the preset accuracy conditions, so that the white balance calibration of the full grayscale level is achieved.

Benefits of technology

Improves the speed and accuracy of white balance calibration, ensures white balance calibration at all grayscale levels, and reduces the dependence of manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117809561B_ABST
    Figure CN117809561B_ABST
Patent Text Reader

Abstract

The present application discloses a white balance calibration method for an LED display screen, which can improve the speed and accuracy of white balance calibration. The white balance calibration method for an LED display screen includes: determining a grayscale level; generating LED control information according to the determined grayscale level; sending the LED control information to the LED display screen; acquiring a color coordinate value of the LED display screen; comparing the color coordinate value of the LED display screen with a standard color coordinate value to obtain a horizontal axis difference and a vertical axis difference; if the horizontal axis difference and the vertical axis difference both meet a preset accuracy condition, the calibration of the current grayscale level is completed, and the step of "determining the grayscale level" is performed to perform calibration of the next grayscale level; otherwise, the LED control information is adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, and the step of "sending the LED control information to the LED display screen so that the LED display screen performs display based on the LED control information" is performed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of LED display, and in particular to a white balance calibration method for an LED display screen. Background Art

[0002] The white balance calibration of existing LED display screens is usually performed manually. For example, a calibrator operates a spectral color luminance meter to obtain display data of the LED display screen within a certain distance. The calibrator adjusts the current gain of the LED display screen based on the display data so that the image displayed by the LED display screen reaches white balance.

[0003] On the one hand, this method is very dependent on the experience of the calibrator, and the process may need to be repeated many times, making it difficult to ensure the speed and accuracy of the calibration. On the other hand, this method usually adjusts the current gain at a higher grayscale level. Even if white balance is achieved at a higher grayscale level, it may not be achieved at other grayscale levels. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and readable storage medium for white balance calibration of an LED display screen.

[0005] In the first solution, the embodiment of the present application provides a white balance calibration method for an LED display screen, which is applied to a host computer and includes:

[0006] Determine the gray level;

[0007] generating LED control information according to the determined grayscale level;

[0008] Sending LED control information to the LED display screen so that the LED display screen performs display based on the LED control information;

[0009] Get the color coordinate value of the LED display;

[0010] Compare the color coordinate value of the LED display with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference. The standard color coordinate value is the color coordinate value corresponding to the standard white balance.

[0011] Determine whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions;

[0012] If both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, the calibration of this grayscale level is completed, and the process goes to step "determining the grayscale level" to calibrate the next grayscale level. Otherwise, the LED control information is adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, and the process goes to step "sending the LED control information to the LED display so that the LED display displays based on the LED control information."

[0013] In the present application, the grayscale level is determined, LED control information is generated according to the determined grayscale level, the LED control information is sent to the LED display screen, and the color coordinate value of the LED display screen is obtained; the color coordinate value of the LED display screen is compared with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference, and it is determined whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions. If the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions, the calibration of this grayscale level is completed, and the step of "determining the grayscale level" is turned to perform the calibration of the next grayscale level, otherwise the LED control information is adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, and the step of "sending the LED control information to the LED display screen so that the LED display screen displays based on the LED control information" is turned to. The embodiment of the present application realizes the automatic calibration of the white balance of the LED display screen, improves the calibration speed, adjusts the LED control information according to the horizontal axis difference, the vertical axis difference and the grayscale level, until the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions, improves the accuracy of the calibration, and the embodiment of the present application can also perform white balance calibration for all grayscale levels.

[0014] In a possible implementation of the first solution, before determining whether both the horizontal axis difference and the vertical axis difference meet the preset accuracy condition, the method further includes:

[0015] The preset accuracy condition is determined according to the grayscale level.

[0016] In a possible implementation of the first solution, determining the preset accuracy condition according to the grayscale level includes:

[0017] Dividing the grayscale level set into N level intervals, each of the N level intervals is set with a target value, wherein the grayscale level set includes multiple grayscale levels, and N is an integer greater than or equal to 1;

[0018] According to the level interval to which the gray level belongs, determining the target value corresponding to the gray level;

[0019] The preset accuracy condition is determined as that both the horizontal axis difference and the vertical axis difference are less than the target value corresponding to the grayscale level.

[0020] In a possible implementation of the first solution, the LED control information includes a red channel value, a green channel value, and a blue channel value, where the red channel value, the green channel value, and the blue channel value are values ​​obtained after gamma correction of the grayscale level, and the LED control information is adjusted according to the grayscale level, the horizontal axis difference, and the vertical axis difference, including:

[0021] The red channel value, the green channel value and / or the blue channel value are adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference.

[0022] In a possible implementation of the first solution, adjusting the red channel value, the green channel value and / or the blue channel value according to the grayscale level, the horizontal axis difference and the vertical axis difference includes:

[0023] Determine a target adjustment value according to the horizontal axis difference, the vertical axis difference and the grayscale level, and the target adjustment value is used to indicate the adjustment range;

[0024] Determine the adjustment method based on the positive and negative properties of the horizontal axis difference and the vertical axis difference;

[0025] The red channel value, the green channel value and / or the blue channel value are adjusted according to the adjustment method and the target adjustment value.

[0026] In a possible implementation of the first solution, determining the target adjustment value according to the horizontal axis difference, the vertical axis difference and the grayscale level includes:

[0027] Establishing M difference intervals, each of the M difference intervals corresponds to an adjustment value set, the adjustment value set includes multiple adjustment values, wherein M is greater than or equal to 1, and in each adjustment value set, each gray level corresponds to a target adjustment value;

[0028] Determine, according to the difference intervals to which the horizontal axis difference and the vertical axis difference belong, a set of adjustment values ​​corresponding to the horizontal axis difference and the vertical axis difference;

[0029] A target adjustment value is determined from an adjustment value set corresponding to the horizontal axis difference value and the vertical axis difference value according to the grayscale level.

[0030] In a possible implementation of the first solution, the adjustment method is determined according to the positive and negative properties of the horizontal axis difference and the vertical axis difference, including:

[0031] If both the horizontal axis difference and the vertical axis difference are negative and do not meet the preset accuracy condition, the adjustment method is determined to be to reduce the blue channel value;

[0032] If both the horizontal axis difference and the vertical axis difference are positive values ​​and do not meet the preset accuracy condition, the adjustment method is determined to be to increase the blue channel value;

[0033] If the horizontal axis difference is a negative value and does not meet the preset accuracy condition, and the vertical axis difference is a positive value and does not meet the preset accuracy condition, then the adjustment method is determined to increase the red channel value and reduce the green channel value;

[0034] If the horizontal axis difference is a positive value and does not meet the preset accuracy condition, and the vertical axis difference is a negative value and does not meet the preset accuracy condition, then the adjustment method is determined to reduce the red channel value and increase the green channel value;

[0035] If the horizontal axis difference meets the preset accuracy condition, and the vertical axis difference is a positive value and does not meet the preset accuracy condition, then the adjustment method is determined to be to reduce the green channel value;

[0036] If the horizontal axis difference meets the preset accuracy condition, and the vertical axis difference is a negative value and does not meet the preset accuracy condition, then the adjustment method is determined to be to increase the green channel value;

[0037] If the vertical axis difference meets the preset accuracy condition, and the horizontal axis difference is a positive value and does not meet the preset accuracy condition, then the adjustment method is determined to be to reduce the red channel value;

[0038] If the vertical axis difference meets the preset accuracy condition, and the horizontal axis difference is a negative value and does not meet the preset accuracy condition, then the adjustment method is determined to be to increase the red channel value.

[0039] In a second solution, an embodiment of the present application provides a white balance calibration device for an LED display screen, comprising:

[0040] A determination module, used for determining the gray level;

[0041] A generating module, used for generating LED control information according to gray levels;

[0042] A sending module, used for sending LED control information to the LED display screen, so that the LED display screen can display according to the gray scale;

[0043] An acquisition module is used to obtain the color coordinate value of the LED display screen;

[0044] Comparison module: used to compare the color coordinate value of the LED display with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference. The standard color coordinate value is the color coordinate value corresponding to the standard white balance;

[0045] Judgment module: used to judge whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions;

[0046] Adjustment module: if both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, the calibration of the current grayscale level is completed, and the step of "determining the grayscale level" is performed to calibrate the next grayscale level; otherwise, the LED control information is adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, and the step of "sending the LED control information to the LED display screen so that the LED display screen displays based on the LED control information" is performed.

[0047] In a third solution, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a method as described in any one of the above-mentioned first solutions is implemented.

[0048] In a fourth solution, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein the computer program implements a method as described in any one of the above-mentioned first solutions when executed by a processor.

[0049] In a fifth solution, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute any one of the methods in the first solution described above.

[0050] It can be understood that the beneficial effects of the second to fifth solutions mentioned above can be found in the relevant description of the first solution mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] in:

[0053] Figure 1 It is a flowchart of a white balance calibration method for an LED display screen provided in an embodiment of the present application;

[0054] Figure 2 It is a structural block diagram of a white balance calibration device for an LED display screen provided in one embodiment of the present application;

[0055] Figure 3 It is a schematic block diagram of the structure of an electronic device provided by an embodiment of the present application. Implementation

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0058] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0059] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0060] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0061] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0062] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0063] LED display white balance calibration is an adjustment and optimization process to ensure that the LED can accurately display pure white. Since the LED display is composed of three colors of light-emitting diodes: red, green and blue (RGB), it is usually achieved by controlling the grayscale of the three colors to make the LED display display the correct color.

[0064] As mentioned in the background art, the white balance calibration of existing LED display screens is usually performed manually, which is very dependent on the experience of the calibrator, and the process may need to be repeated many times, resulting in the difficulty in ensuring the speed and accuracy of the calibration. In addition, this method usually adjusts the current gain at a higher grayscale level, and even if the white balance is achieved at a higher grayscale level, it may not be achieved at other grayscale levels.

[0065] To address this, the present application improves the calibration speed and accuracy by automatically calibrating the white balance of the LED display screen, and is capable of completing the white balance calibration at all gray levels.

[0066] See also Figure 1 , Figure 1 A flowchart of a white balance calibration method for an LED display screen provided in an embodiment of the present application is provided. The white balance calibration method for an LED display screen can be applied to electronic devices, and the electronic devices may be mobile phones, tablet computers, servers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. Servers include but are not limited to independent servers or cloud servers, etc. The embodiments of the present application do not limit the specific types of electronic devices. Figure 1 As shown, the method comprises the following steps:

[0067] 101. Determine the grayscale level.

[0068] Among them, the grayscale level is used to indicate that the LED display screen displays the color corresponding to the grayscale level. The color at this time represents the color that has not been calibrated with white balance or has undergone a certain white balance calibration. The subsequent step in the embodiment of the present application is to calibrate the color at this time so that the LED display screen can display accurate white. Of course, if the displayed color is close enough to the accurate white, no further calibration is required. This is described in detail in the subsequent steps and will not be repeated here.

[0069] In an embodiment of the present application, a grayscale level is determined to perform white balance calibration at the determined grayscale level. Determining the grayscale level includes determining an initial grayscale level and determining a next grayscale level. The initial grayscale level is the grayscale level when the white balance calibration is started. The determination of the initial grayscale level may be to pre-specify a grayscale level as the initial grayscale level, or to select a minimum value or a maximum value within a certain value range as the initial grayscale level. The present application does not impose any limitation on this. After completing the white balance calibration of a certain grayscale level, the next grayscale level may be determined to perform white balance calibration of the next grayscale level, until the white balance calibration of all grayscale levels to be calibrated is completed.

[0070] Among them, the order of grayscale calibration can be from small to large grayscale, from large to small grayscale, or calibrated at certain intervals. The embodiment of the present application does not limit the order of calibration.

[0071] The grayscale value range can be determined according to the actual situation. For example, if the channel bit depth is 8 bits, the grayscale value range is an integer within the range of 0-255, that is, there are 256 grayscale levels at this time. If the channel bit depth is 10 bits, the grayscale value range is an integer within the range of 0-1023, that is, there are 1024 grayscale levels at this time. It can be understood that under the same channel bit depth, the higher the grayscale level, the higher the brightness of the LED screen display.

[0072] 102. Generate control information according to the grayscale level.

[0073] In an embodiment of the present application, LED control information is generated according to the grayscale level, and the LED control information is used to control the LED display screen to display according to the grayscale level. The LED control information may include red, green and blue channel values, and the above three channel values ​​can be obtained by gamma correction of the grayscale level, and the LED display screen displays the corresponding colors according to the above three channel values. As an example, in an LED display screen with a bit depth of 16 bits (that is, each color channel of each pixel in the LED display screen can display 65536 brightness levels), if the grayscale level is 15, the grayscale level is gamma corrected to obtain the values ​​of the three RGB channels of 22, 18 and 18 respectively, and the LED control information is generated according to the values ​​of the three RGB channels, and the LED control information is sent to the LED display screen, and the LED display screen displays the colors of the three RGB channel values ​​of 22, 18 and 18 respectively according to the LED control information. More specifically, the host computer can send the LED control information to the LED controller, and the LED controller generates a control signal according to the LED control information, and sends the control signal to the LED display screen, and the LED display screen performs corresponding display according to the control signal sent by the LED controller. .

[0074] 103. Send LED control information to the LED display screen, so that the LED display screen performs display based on the LED control information.

[0075] In an embodiment of the present application, the host computer sends LED control information to the LED display screen, and the LED display screen displays based on the LED control information. More specifically, the host computer can send the LED control information to the LED controller, and the LED controller generates a control signal based on the LED control information and sends the control signal to the LED display screen. The LED display screen displays the color corresponding to the grayscale level according to the control signal sent by the LED controller.

[0076] 104. Obtain the color coordinate value of the LED display screen.

[0077] In this embodiment, the color coordinate value of the color currently displayed by the LED display can be obtained by a color coordinate measuring device, such as a colorimeter, a spectrometer, or a camera calibration system. The color coordinate value includes a horizontal axis value and a vertical axis value. According to the color coordinate value, a point can be determined on the chromaticity diagram, and this point accurately represents the luminous color. Of course, there are other ways to obtain the color coordinates displayed by the LED display, which is not limited in the embodiment of the present application.

[0078] 105. Compare the color coordinate value of the LED display screen with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference.

[0079] In this embodiment, the color coordinate value of the LED display screen is compared with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference. The standard color coordinate value is the color coordinate value corresponding to the standard white balance.

[0080] In some embodiments, the difference between the color coordinate value of the LED display screen and the standard color coordinate value can be calculated to obtain the horizontal axis difference and the vertical axis difference, respectively. The calculation formula is as follows:

[0081] Among them, is the horizontal axis difference, is the vertical axis difference, is the horizontal axis value of the color coordinate value of the LED display screen, is the vertical axis value of the color coordinate value of the LED display screen, is the horizontal axis value of the standard color coordinate, and is the vertical axis value of the standard color coordinate.

[0082] For example, the measured color coordinates are (0.324494, 0.333663), where the horizontal axis value is 0.324494 and the vertical axis value is 0.333663. The horizontal axis value and vertical axis value of the standard color coordinates are 0.313494 and 0.323663 respectively. The horizontal axis difference is 0.324494-0.313494=0.011, and the vertical axis difference is 0.333663-0.323663=0.01.

[0083] Among them, the standard color coordinates represent the color coordinates of the LED display under standard white balance. The color temperature of 6500k can be selected as the standard white balance, and the corresponding color coordinates, that is, the standard color coordinates are (0.313494, 0.323663). Of course, according to different application scenarios and ambient light conditions, the selection of standard white balance may be different, and accordingly, the standard color coordinates are also different. This application does not limit this.

[0084] 106. Determine whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions.

[0085] In this embodiment, it is determined whether both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, wherein the preset accuracy conditions are used to measure whether the image currently displayed on the LED display screen is close enough to the standard white balance, that is, to measure whether the LED display screen displays sufficiently accurate white. If both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, it can be considered that the color currently displayed by the LED display screen is close enough to the standard white balance, that is, the white balance calibration of the current grayscale level is completed, and the calibration of the next grayscale level can be performed. Otherwise, it can be considered that, at the current grayscale level, the color displayed by the LED display screen is not close enough to the standard white balance, and further calibration is required.

[0086] For example, the preset accuracy condition may be that both the vertical axis difference and the horizontal axis difference are less than 0.007. If both the vertical axis difference and the horizontal axis difference are less than 0.007, it can be considered that the color currently displayed by the LED display is close enough to the standard white balance. Otherwise, it is considered that the color currently displayed by the LED display is not close enough to the standard white balance, and calibration at this grayscale level needs to be continued.

[0087] It should be noted that the preset accuracy condition can be a condition group, including the condition for the vertical axis difference and the condition for the horizontal axis difference, that is, the condition corresponding to the vertical axis difference and the condition corresponding to the horizontal axis difference can be different. Only when the vertical axis difference satisfies the condition corresponding to the vertical axis difference and the horizontal axis difference satisfies the condition corresponding to the horizontal axis difference, can it be determined that both the horizontal axis difference and the vertical axis difference meet the preset accuracy condition. For example, the condition corresponding to the horizontal axis difference is less than 0.005, and the condition corresponding to the vertical axis difference is less than 0.006. If the horizontal axis difference is less than 0.005 and the vertical axis difference is less than 0.006, it can be determined that both the horizontal axis difference and the vertical axis difference meet the preset accuracy condition.

[0088] In some embodiments, before the step of “determining whether both the horizontal axis difference and the vertical axis difference meet the preset accuracy condition”, the white balance calibration method of the LED display screen further includes:

[0089] (11) Determine the preset accuracy conditions based on the grayscale level.

[0090] In this embodiment, the preset accuracy condition is determined according to the grayscale level, that is, the preset accuracy condition is not fixed and can change with the change of the grayscale level. Specifically, the higher the grayscale level, the higher the calibration accuracy. The higher calibration accuracy means that the horizontal axis difference and the vertical axis difference need to be smaller values ​​to meet the preset accuracy condition, that is, the color coordinates of the LED display need to be closer to the standard color coordinates to meet the preset accuracy condition. For example, if a white balance correction is to be performed at a grayscale level of 16, the preset accuracy condition may be that the horizontal axis difference and the vertical axis difference are both less than 0.006. If a white balance correction is to be performed at a grayscale level of 250, as the grayscale level increases, the calibration accuracy should increase, and the preset accuracy condition may be that the horizontal axis difference and the vertical axis difference are both less than 0.001.

[0091] In this embodiment, the preset accuracy condition is determined according to the grayscale level, and different preset accuracy conditions can be determined for different grayscale levels. When the grayscale level is low, the noise of the existing color coordinate measuring device is large, and it is difficult to achieve a high measurement accuracy. In addition, the color is darker at this time, and the human eye is relatively less sensitive to white balance. Therefore, when the grayscale level is low, a lower calibration accuracy can be set; and when the grayscale level is high, the color is brighter, and the measurement accuracy of the color coordinate measuring device can be improved, that is, the color coordinate measuring device can achieve a higher measurement accuracy. At this time, a higher calibration accuracy can be set to improve the accuracy of white balance calibration. Therefore, the embodiment of the present application optimizes the white balance calibration process of the LED display screen by determining the preset accuracy condition according to the grayscale level. At a lower grayscale level, a lower calibration accuracy is set to improve the calibration speed. At a higher grayscale level, the calibration accuracy is increased to improve the accuracy of calibration.

[0092] In some embodiments, the step of “generating a preset accuracy condition according to the grayscale level” may specifically include:

[0093] (21) Divide the grayscale level set into N level intervals, and set a target value for each of the N level intervals;

[0094] (22) Determine the target value corresponding to the grayscale level according to the interval to which the grayscale level belongs;

[0095] (23) The preset accuracy condition is determined as the horizontal axis difference and the vertical axis difference are both less than the target value corresponding to the grayscale level.

[0096] In this embodiment, all gray levels are divided into N level intervals, each of the N level intervals is set with a target value; the target value corresponding to the gray level is determined according to the level interval to which the gray level belongs; the preset accuracy condition is determined as the horizontal axis difference and the vertical axis difference are both less than the target value corresponding to the gray level. Wherein, N is an integer greater than or equal to 1.

[0097] The grayscale level set includes part or all of the grayscale levels at a certain bit depth. For example, if the channel bit depth is 8, part or all of the grayscale levels in the range of 0 to 255 are divided into N intervals; if the channel bit depth is 10, part or all of the grayscale levels in the range of 0 to 1024 are divided into N intervals.

[0098] As an example, when the channel bit depth is 8, white balance calibration is not performed for grayscale levels from 0 to 15. The grayscale level set includes grayscale levels from 16 to 255, with a total of 240 grayscale levels. The grayscale level set is divided into three level intervals, and a target value is set for each level interval, where grayscale levels 16 to 19 are the first interval, and the corresponding target value is 0.008; grayscale levels 20 to 24 are the second interval, and the corresponding target value is 0.005; grayscale levels greater than or equal to 25 are the third interval, and the corresponding target value is 0.001. Among them, if the grayscale level determined in the above steps (i.e., the grayscale level for white balance calibration) belongs to the first interval, the preset accuracy condition is that the horizontal axis difference and the vertical axis difference are both less than 0.008; if the grayscale level determined in the above steps belongs to the second interval, the preset accuracy condition is that the horizontal axis difference and the vertical axis difference are both less than 0.005; if the grayscale level determined in the above steps belongs to the third interval, the preset accuracy condition is that the horizontal axis difference and the vertical axis difference are both less than 0.001.

[0099] 107. If both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, the calibration of this grayscale level is completed, and the process goes to step "determining the grayscale level" to calibrate the next grayscale level. Otherwise, the LED control information is adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, and the process goes to step "sending the LED control information to the LED display screen".

[0100] In this embodiment, if both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, it means that the white balance currently displayed by the LED display screen is close enough to the standard white balance, and the next grayscale level can be determined, and the white balance correction of the next grayscale level can be performed, that is, the process goes to step "determining the grayscale level". Otherwise, it means that the white balance currently displayed by the LED display screen is not close enough to the standard white balance, and the LED control information needs to be adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, so as to continue to calibrate the color currently displayed by the LED display screen until the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions.

[0101] In some embodiments, at grayscale levels of 0 to 15, the instrument and the human eye can hardly see the brightness, so the grayscale levels of this part may not be calibrated.

[0102] In some embodiments, the LED control information includes a red channel value, a green channel value, and a blue channel value, which are obtained by performing gamma correction on the grayscale. The step of “adjusting the LED control information according to the grayscale, the horizontal axis difference, and the vertical axis difference” may specifically include:

[0103] (31) Adjust the red channel value, the green channel value and / or the blue channel value according to the grayscale level, the horizontal axis difference and the vertical axis difference.

[0104] In an embodiment of the present application, the red channel value, the green channel value and / or the blue channel value are adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, wherein the red channel value, the green channel value and the blue channel value are the values ​​obtained after the grayscale level is gamma corrected. For example, the red channel value, the green channel value and the blue channel value corresponding to the grayscale level can be obtained based on the gamma table, wherein, due to the inconsistent electro-optical characteristics of the red, green and blue lamp beads, the gamma tables used for the three channels may be different, that is, for the same grayscale level, the red channel value, the green channel value and the blue channel value may be different.

[0105] In the embodiment of the present application, according to the actual situation, the three channel values ​​of RGB can be adjusted, or only one channel value or two channel values ​​of RGB can be adjusted. For example, if the horizontal axis difference and the vertical axis difference are both positive values ​​and do not meet the preset accuracy conditions, it means that the picture displayed by the LED display screen is reddish and greenish, then the value of the red channel and the value of the green channel can be reduced, and the value of the blue channel can be increased. For example, if the horizontal axis difference meets the preset accuracy conditions, and the vertical axis difference is a positive value and does not meet the preset accuracy conditions, it means that the picture displayed by the LED display screen is greenish, then only the value of the green channel can be reduced, and the values ​​of other channels are not adjusted.

[0106] In some embodiments, the step of “adjusting the red channel value, the green channel value and / or the blue channel value according to the grayscale level, the horizontal axis difference and the vertical axis difference” may specifically include:

[0107] (41) determining a target adjustment value according to the horizontal axis difference, the vertical axis difference and the grayscale level;

[0108] (42) Determine the adjustment method based on the positive and negative properties of the horizontal axis difference and the vertical axis difference;

[0109] (43) Adjust the red channel value, the green channel value and / or the blue channel value according to the adjustment method and the target adjustment value.

[0110] In this embodiment, the target adjustment value is determined according to the horizontal axis difference, the vertical axis difference and the grayscale level, and the target adjustment value is used to indicate the adjustment range. Specifically, for higher horizontal axis difference and vertical axis difference, a higher target adjustment value is set; for lower horizontal axis difference and vertical axis difference, a lower adjustment value is set; for higher grayscale level, a higher target adjustment value is set, and for lower grayscale level, a lower target adjustment value is set. It can be understood that, during the calibration process, in order to converge faster, that is, to reach the standard white balance, on the one hand, for higher horizontal axis difference and vertical axis difference, that is, the gap between the current white balance state and the standard white balance state is larger, a higher target adjustment value should be set to achieve the effect of approaching the standard white balance with fewer adjustments, and for lower horizontal axis difference and vertical axis difference, that is, the gap between the current white balance state and the standard white balance state is smaller, a lower target adjustment value should be set to avoid the failure to converge to the standard white balance due to excessively large target adjustment values; on the other hand, the higher the grayscale level, the larger the correction value (channel value of each color channel) obtained after gamma correction, and the larger the gap between adjacent correction values, that is, the more channel values ​​distributed between adjacent correction values, so in order to converge faster, a larger adjustment is required, and the lower the grayscale level, the smaller the correction value obtained after gamma correction, and the smaller the gap between adjacent correction values, so in order to avoid the failure to converge due to excessively large adjustment values, a smaller adjustment is required.

[0111] It should be noted that the specific target adjustment value can be determined according to actual conditions, and the embodiments of the present application do not limit this.

[0112] It should be noted that the white balance calibration of the LED display is completed by adjusting the brightness of the red, green and blue light-emitting diodes of the LED display, that is, adjusting the channel value of each channel. During the calibration process, in order to calibrate with higher accuracy, the accuracy of the grayscale level can be increased, that is, the channel bit depth of the LED display is greater than the channel bit depth of the video or image sent by the host computer to the LED display (the video or image that the LED display needs to display).

[0113] For example, if the channel bit depth of a video or image is 8 bits, if the channel bit depth of the LED display is also 8 bits, that is, the grayscale range is between 0 and 255, when calibrating the white balance, the minimum unit for adjusting each channel value is 1 / 256 (that is, the minimum unit for each adjustment in 256 grayscale levels). At this time, when it is found that the white balance of a certain grayscale level does not reach the standard white balance, due to the limitation of adjustment accuracy, it may not be possible to achieve the standard white balance no matter how the channel values ​​are adjusted. If the channel bit depth of the LED display is 16 bits, the minimum unit for adjusting each channel value is 1 / 65536 (that is, the minimum unit for each adjustment in 65536 grayscale levels). The adjustment accuracy is higher than 8 bits, and it is easier to achieve the standard white balance by adjusting the channel values.

[0114] Therefore, during the calibration process, the grayscale level of the low channel bit depth of the video or image needs to be mapped to the grayscale level of the high channel bit depth of the LED display screen through gamma correction. Exemplarily, through gamma correction, the 8-bit grayscale level is mapped to the 16-bit grayscale level, that is, the grayscale levels from 0 to 255 are mapped to the grayscale levels from 0 to 65535 through gamma correction, wherein the grayscale level 0 with a channel bit depth of 8 corresponds to the grayscale level 0 with a channel bit depth of 16, and the grayscale level 255 with a channel bit depth of 8 corresponds to the grayscale level 65535 with a channel bit depth of 16, and as the grayscale level increases, the gap between the grayscale levels obtained by adjacent mappings becomes larger and larger.

[0115] In one embodiment, determining the target adjustment value according to the horizontal axis difference, the vertical axis difference and the grayscale level may specifically include:

[0116] (51) establishing M difference intervals, each of the M difference intervals corresponds to an adjustment value set, the adjustment value set includes a plurality of adjustment values, wherein M is greater than or equal to 1, and in each adjustment value set, each gray level corresponds to a target adjustment value;

[0117] (52) determining a set of adjustment values ​​corresponding to the horizontal axis difference and the vertical axis difference according to the difference interval to which the horizontal axis difference and the vertical axis difference belong;

[0118] (53) Determine a target adjustment value from an adjustment value set corresponding to the horizontal axis difference and the vertical axis difference according to the grayscale level.

[0119] In this embodiment, M difference intervals are established, each of the M difference intervals corresponds to an adjustment value set, the adjustment value set includes multiple adjustment values, wherein M is greater than or equal to 1, there is no overlapping part between the M difference intervals, and in each adjustment value set, each grayscale level corresponds to a target adjustment value.

[0120] The difference interval is a numerical interval, which is used to indicate the difference between the color currently displayed by the LED display and the standard white balance. Each difference interval corresponds to an adjustment value set. In each adjustment value set, each gray level corresponds to an adjustment value. For example, if the channel bit depth is 8, there are 256 gray levels. At this time, each adjustment value set should have 256 adjustment values, and each gray level corresponds to an adjustment value. As the gray level increases, the adjustment value will also increase. Therefore, after determining the difference interval and gray level, an adjustment value can be determined.

[0121] For example, three difference intervals are set, where the first difference interval is greater than or equal to 0.01, corresponding to the first adjustment value set, the second difference interval is less than 0.01 and greater than 0.003, corresponding to the second adjustment value set, and the third difference interval is less than or equal to 0.003, corresponding to the third adjustment value set. At the same grayscale level, the adjustment value in the first adjustment value set is greater than the adjustment value in the second adjustment value set, and the adjustment value in the second adjustment value set is greater than the adjustment value in the third adjustment value set. If the absolute value of the longitudinal axis difference belongs to the first difference interval, it is determined that the longitudinal axis difference corresponds to the first adjustment value set, and then the target adjustment value is determined in the first adjustment value set according to the grayscale level. Table 1 is an example of determining an adjustment value based on a horizontal axis difference, a vertical axis difference, and a grayscale level. Please refer to Table 1. The first column is the grayscale level, the second column is the first adjustment value set corresponding to the first difference interval, the third column is the second adjustment value set corresponding to the second difference interval, and the fourth column is the third adjustment value set corresponding to the third difference interval. Once the grayscale level and the difference interval are determined, an adjustment value can be determined. It should be noted that Table 1 only shows the adjustment values ​​corresponding to a part of the grayscale levels and difference intervals.

[0122] Table 1

[0123] In this embodiment, the adjustment method is determined according to the positive and negative properties of the horizontal axis difference and the vertical axis difference, wherein the adjustment method includes which channel values ​​are adjusted and the positive and negative of the adjustment value. For example, if the horizontal axis difference does not meet the preset accuracy condition and the horizontal axis difference is a positive value, it indicates that the color displayed by the current LED display screen is reddish. In order to reduce this red offset, the intensity of the red channel can be reduced, that is, the adjustment method at this time is to reduce the value of the red channel, and the reduced value is the adjustment value.

[0124] As an example, three difference intervals can be set, the first difference interval is that the absolute value of the horizontal axis difference and the vertical axis difference is greater than or equal to 0.01, the second difference interval is that the absolute value of the horizontal axis difference and the vertical axis difference is less than 0.01 and greater than 0.003, and the third difference interval is that the absolute value of the horizontal axis difference and the vertical axis difference is less than or equal to 0.003. At this time, if the grayscale level is 70, the RGB channel values ​​are 258, 115 and 99 respectively, the horizontal axis difference is 0.005, and the vertical axis difference is -0.01, then it can be determined that the horizontal axis difference belongs to the second difference interval, and the vertical axis difference belongs to the first difference interval. Combined with Table 1, it can be obtained that the adjustment value corresponding to the horizontal axis difference is 10, and the adjustment value corresponding to the vertical axis difference is 20. If the horizontal axis difference is a positive value and the vertical axis difference is a negative value, it can be determined that the adjustment method corresponding to the horizontal axis difference is to reduce the R channel value, and the adjustment method corresponding to the vertical axis difference is to increase the G channel value. Combined with the adjustment values ​​corresponding to the horizontal axis difference and the vertical axis difference, it can be obtained that the R channel value is 258-10=248, the G channel value is 115+20=135, and finally the RGB channel values ​​are 248, 135 and 99 respectively.

[0125] Of course, the above examples are merely illustrative and not limiting. Those skilled in the art should be able to understand that other implementation methods may exist depending on actual conditions.

[0126] In this embodiment, the adjustment value is determined according to the horizontal axis difference, the vertical axis difference and the grayscale level. When the horizontal axis difference and the vertical axis difference are low, a lower adjustment value is set; when the horizontal axis difference and the vertical axis difference are high, a higher adjustment value is set; when the grayscale level is low, a lower adjustment value is set, and when the grayscale level is high, a higher adjustment value is set. This can not only improve the accuracy of the calibration, but also enable faster convergence, thereby improving the calibration speed.

[0127] In some embodiments, the step of “determining the adjustment method according to the positive and negative properties of the horizontal axis difference and the vertical axis difference” may specifically include:

[0128] (51) If the horizontal axis difference and the vertical axis difference are both negative values ​​and do not meet the preset accuracy condition, the adjustment method is determined to be to reduce the blue channel value;

[0129] (52) If both the horizontal axis difference and the vertical axis difference are positive values ​​and do not meet the preset accuracy condition, the adjustment method is determined to be to increase the blue channel value;

[0130] (53) If the horizontal axis difference is a negative value and does not meet the preset accuracy condition, and the vertical axis difference is a positive value and does not meet the preset accuracy condition, then the adjustment method is determined to increase the red channel value and reduce the green channel value;

[0131] (54) If the horizontal axis difference is a positive value and does not meet the preset accuracy condition, and the vertical axis difference is a negative value and does not meet the preset accuracy condition, then the adjustment method is determined to reduce the red channel value and increase the green channel value;

[0132] (55) If the horizontal axis difference satisfies the preset accuracy condition, and the vertical axis difference is a positive value and does not meet the preset accuracy condition, then the adjustment method is determined to be to reduce the green channel value;

[0133] (56) If the horizontal axis difference meets the preset accuracy condition, and the vertical axis difference is a negative value and does not meet the preset accuracy condition, then the adjustment method is determined to be to increase the green channel value;

[0134] (57) If the vertical axis difference meets the preset accuracy condition, and the horizontal axis difference is a positive value and does not meet the preset accuracy condition, then the adjustment method is determined to be to reduce the red channel value;

[0135] (58) If the vertical axis difference meets the preset accuracy condition, and the horizontal axis difference is a negative value and does not meet the preset accuracy condition, then the adjustment method is determined to be to increase the red channel value.

[0136] It can be understood that if both the horizontal axis difference and the vertical axis difference are negative values ​​and do not meet the preset accuracy condition, it indicates that the picture displayed by the current LED display screen is blue, and the value of the blue channel needs to be reduced, then the adjustment method is determined to be to reduce the blue channel value;

[0137] If both the horizontal axis difference and the vertical axis difference are positive and do not meet the preset accuracy condition, it means that the blue intensity of the picture displayed by the current LED display is low and the value of the blue channel needs to be increased. In this case, the adjustment method is to reduce the blue channel value.

[0138] If the horizontal axis difference is a negative value and does not meet the preset accuracy condition, and the vertical axis difference is a positive value and does not meet the preset accuracy condition, it indicates that the picture displayed on the current LED display screen is greenish and the red intensity is insufficient. It is necessary to increase the red channel value and reduce the green channel value. The adjustment method is to increase the red channel value and reduce the green channel value.

[0139] If the horizontal axis difference is positive and does not meet the preset accuracy condition, and the vertical axis difference is negative and does not meet the preset accuracy condition, it indicates that the picture displayed on the current LED display screen is reddish and the green intensity is insufficient. It is necessary to reduce the red channel value and increase the green channel value. The adjustment method is to reduce the red channel value and increase the green channel value.

[0140] If the horizontal axis difference meets the preset accuracy condition, and the vertical axis difference is a positive value and does not meet the preset accuracy condition, it indicates that the picture displayed on the current LED display screen is greenish and the value of the green channel needs to be reduced. Then, the adjustment method is determined to be to reduce the green channel value.

[0141] If the horizontal axis difference meets the preset accuracy condition, and the vertical axis difference is a negative value and does not meet the preset accuracy condition, it indicates that the green intensity of the picture displayed on the current LED display is insufficient and the green channel value needs to be increased. Then the adjustment method is determined to increase the green channel value.

[0142] If the vertical axis difference meets the preset accuracy condition, and the horizontal axis difference is a positive value and does not meet the preset accuracy condition, it indicates that the picture displayed on the current LED display screen is reddish and the red channel value needs to be reduced. Then, the adjustment method is determined to be to reduce the red channel value.

[0143] If the vertical axis difference meets the preset accuracy condition, and the horizontal axis difference is a negative value and does not meet the preset accuracy condition, it indicates that the red intensity of the picture displayed on the current LED display screen is insufficient and the red channel value needs to be increased. In this case, the adjustment method is to increase the red channel value.

[0144] In some embodiments, if the vertical axis difference and the horizontal axis difference are both positive or negative and do not meet the preset accuracy conditions, the horizontal axis difference or the vertical axis difference may correspond to different adjustment values. In this case, in order to improve the accuracy of the adjustment, a smaller adjustment value can be selected as the adjustment value of the blue channel.

[0145] Of course, a larger adjustment value may also be selected as the adjustment value of the blue channel, and this embodiment of the present application does not limit this.

[0146] In the embodiment of the present application, the grayscale level is determined, LED control information is generated according to the determined grayscale level, the LED control information is sent to the LED display screen, and the color coordinate value of the LED display screen is obtained; the color coordinate value of the LED display screen is compared with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference, and it is determined whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions. If the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions, the calibration of this grayscale level is completed, and the step of "determining the grayscale level" is turned to perform the calibration of the next grayscale level, otherwise the LED control information is adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, and the step of "sending the LED control information to the LED display screen so that the LED display screen displays based on the LED control information" is turned to. The embodiment of the present application realizes the automatic calibration of the white balance of the LED display screen, improves the calibration speed, adjusts the LED control information according to the horizontal axis difference, the vertical axis difference and the grayscale level, until the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions, improves the accuracy of the calibration, and the embodiment of the present application can also perform white balance calibration for all grayscale levels.

[0147] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0148] Corresponding to the white balance calibration method for an LED display screen proposed in the above method embodiment, the present application embodiment further discloses a white balance calibration device for an LED display screen. Figure 2 A white balance calibration device for an LED display screen provided in an embodiment of the present application is shown.

[0149] like Figure 2 As shown, the white balance calibration device of the LED display includes:

[0150] A determination module 21, used to determine the gray level;

[0151] A generating module 22, used for generating LED control information according to the gray level;

[0152] The sending module 23 is used to send LED control information to the LED display screen so that the LED display screen can display according to the grayscale level;

[0153] An acquisition module 24 is used to acquire the color coordinate value of the LED display screen;

[0154] Comparison module 25: used to compare the color coordinate value of the LED display screen with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference, and the standard color coordinate value is the color coordinate value corresponding to the standard white balance;

[0155] Determination module 26: used to determine whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions;

[0156] Adjustment module 27: used to complete the calibration of the current grayscale level if both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, and go to step "determine the grayscale level" to calibrate the next grayscale level; otherwise, adjust the LED control information according to the grayscale level, the horizontal axis difference and the vertical axis difference, and go to step "send the LED control information to the LED display screen so that the LED display screen displays based on the LED control information".

[0157] The embodiment of the present application also discloses an electronic device, Figure 3 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3 As shown, the electronic device 3 of this embodiment includes: at least one processor 30 ( Figure 3 Only one is shown in the figure) a processor, a memory 31, and a computer program 32 stored in the memory 31 and executable on at least one processor 30, and when the processor 30 executes the computer program 32, the steps in any of the above-mentioned data exchange method embodiments are implemented.

[0158] The electronic device 3 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3 It is only an example of the electronic device 3 and does not constitute a limitation on the electronic device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0159] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0160] In some embodiments, the memory 31 may be an internal storage unit of the electronic device 3, such as a hard disk or memory of the electronic device 3. In other embodiments, the memory 31 may also be an external storage device of the electronic device 3, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 3. Further, the memory 31 may also include both an internal storage unit of the electronic device 3 and an external storage device. The memory 31 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of a computer program, etc. The memory 31 may also be used to temporarily store data that has been output or is to be output.

[0161] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0162] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0163] The embodiment of the present application also provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0164] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0165] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0166] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0167] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A white balance calibration method for LED display screen, It is characterized in that include: Determine the gray level; generating LED control information according to the determined grayscale level; Sending the LED control information to an LED display screen, so that the LED display screen performs display based on the LED control information, wherein the channel bit depth of the LED display screen is greater than the channel bit depth of the grayscale level; Obtaining the color coordinate value of the LED display screen; Compare the color coordinate value of the LED display screen with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference, wherein the standard color coordinate value is the color coordinate value corresponding to the standard white balance; Determine whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions; If both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, the calibration of the current grayscale level is completed, and the process goes to step "determining the grayscale level" to calibrate the next grayscale level; otherwise, the LED control information is adjusted according to the grayscale level, the horizontal axis difference and the vertical axis difference, and the process goes to step "sending the LED control information to the LED display screen so that the LED display screen performs display based on the LED control information"; The LED control information includes a red channel value, a green channel value, and a blue channel value, wherein the red channel value, the green channel value, and the blue channel value are values ​​obtained after gamma correction of the grayscale level, and adjusting the LED control information according to the grayscale level, the horizontal axis difference, and the vertical axis difference includes: Adjusting the red channel value, the green channel value and / or the blue channel value according to the grayscale level, the horizontal axis difference and the vertical axis difference; The adjusting the red channel value, the green channel value and / or the blue channel value according to the grayscale level, the horizontal axis difference and the vertical axis difference includes: Determine a target adjustment value according to the horizontal axis difference, the vertical axis difference and the grayscale level, wherein the target adjustment value is used to indicate the adjustment amplitude; Determine an adjustment method according to the positive and negative properties of the horizontal axis difference and the vertical axis difference; Adjust the red channel value, the green channel value and / or the blue channel value according to the adjustment method and the target adjustment value; A higher target adjustment value is set for a higher grayscale level, and a lower target adjustment value is set for a lower grayscale level.

2. The method according to claim 1, It is characterized in that Before determining whether both the horizontal axis difference and the vertical axis difference meet the preset accuracy condition, the method further includes: The preset accuracy condition is determined according to the grayscale level.

3. The method according to claim 2, It is characterized in that Determining the preset accuracy condition according to the grayscale level includes: Dividing a grayscale level set into N level intervals, each of the N level intervals is set with a target value, wherein the grayscale level set includes a plurality of grayscale levels, and N is an integer greater than or equal to 1; Determining a target value corresponding to the grayscale level according to the level interval to which the grayscale level belongs; The preset accuracy condition is determined as that both the horizontal axis difference and the vertical axis difference are smaller than the target value corresponding to the grayscale level.

4. The method according to claim 1, It is characterized in that The determining the target adjustment value according to the horizontal axis difference, the vertical axis difference and the grayscale level includes: Establishing M difference intervals, each of the M difference intervals corresponds to an adjustment value set, the adjustment value set includes a plurality of adjustment values, wherein M is greater than or equal to 1, and in each adjustment value set, each grayscale level corresponds to a target adjustment value; Determine, according to the difference intervals to which the horizontal axis difference and the vertical axis difference belong, a set of adjustment values ​​corresponding to the horizontal axis difference and the vertical axis difference; The target adjustment value is determined from the adjustment value set corresponding to the horizontal axis difference value and the vertical axis difference value according to the grayscale level.

5. The method according to claim 1, It is characterized in that The adjustment method is determined according to the positive and negative properties of the horizontal axis difference and the vertical axis difference, including: If both the horizontal axis difference and the vertical axis difference are negative values ​​and do not meet the preset accuracy condition, determining that the adjustment method is to reduce the blue channel value; If both the horizontal axis difference and the vertical axis difference are positive values ​​and do not meet the preset accuracy condition, determining that the adjustment method is to increase the blue channel value; If the horizontal axis difference is a negative value and does not meet the preset accuracy condition, and the vertical axis difference is a positive value and does not meet the preset accuracy condition, then determining that the adjustment method is to increase the red channel value and decrease the green channel value; If the horizontal axis difference is a positive value and does not meet the preset accuracy condition, and the vertical axis difference is a negative value and does not meet the preset accuracy condition, then determining that the adjustment method is to reduce the red channel value and increase the green channel value; If the horizontal axis difference satisfies the preset accuracy condition, and the vertical axis difference is a positive value and does not satisfy the preset accuracy condition, determining that the adjustment method is to reduce the green channel value; If the horizontal axis difference satisfies the preset accuracy condition, and the vertical axis difference is a negative value and does not satisfy the preset accuracy condition, then determining that the adjustment method is to increase the green channel value; If the vertical axis difference satisfies the preset accuracy condition, and the horizontal axis difference is a positive value and does not satisfy the preset accuracy condition, determining that the adjustment method is to reduce the red channel value; If the vertical axis difference satisfies the preset accuracy condition, and the horizontal axis difference is a negative value and does not satisfy the preset accuracy condition, it is determined that the adjustment method is to increase the red channel value.

6. A white balance calibration device for LED display screen, It is characterized in that include: A determination module, used for determining the gray level; A generating module, used for generating LED control information according to the grayscale level; A sending module, used for sending the LED control information to an LED display screen, so that the LED display screen displays according to the grayscale level, and the channel bit depth of the LED display screen is greater than the channel bit depth of the grayscale level; An acquisition module, used to acquire the color coordinate value of the LED display screen; Comparison module: used to compare the color coordinate value of the LED display screen with the standard color coordinate value to obtain the horizontal axis difference and the vertical axis difference, wherein the standard color coordinate value is the color coordinate value corresponding to the standard white balance; A judgment module: used to judge whether the horizontal axis difference and the vertical axis difference both meet the preset accuracy conditions; Adjustment module: for completing the calibration of the current grayscale level if both the horizontal axis difference and the vertical axis difference meet the preset accuracy conditions, and proceeding to step "determining the grayscale level" to calibrate the next grayscale level; otherwise, adjusting the LED control information according to the grayscale level, the horizontal axis difference and the vertical axis difference, and proceeding to step "sending the LED control information to the LED display screen so that the LED display screen performs display based on the LED control information"; The LED control information includes a red channel value, a green channel value, and a blue channel value, wherein the red channel value, the green channel value, and the blue channel value are values ​​obtained after gamma correction is performed on the grayscale level, and the adjustment module is specifically used for: Adjusting the red channel value, the green channel value and / or the blue channel value according to the grayscale level, the horizontal axis difference and the vertical axis difference; The adjusting the red channel value, the green channel value and / or the blue channel value according to the grayscale level, the horizontal axis difference and the vertical axis difference includes: Determine a target adjustment value according to the horizontal axis difference, the vertical axis difference and the grayscale level, wherein the target adjustment value is used to indicate the adjustment amplitude; Determine an adjustment method according to the positive and negative properties of the horizontal axis difference and the vertical axis difference; Adjust the red channel value, the green channel value and / or the blue channel value according to the adjustment method and the target adjustment value; A higher target adjustment value is set for a higher grayscale level, and a lower target adjustment value is set for a lower grayscale level.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.