Brightness compensation method and device, equipment and storage medium

CN118633119APending Publication Date: 2024-09-10XIAN QINGSONG PHOTOELECTRIC TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202280008351.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The brightness of each LED lamp bead in the LED display screen is different, resulting in uneven display effects, especially when displaying solid-color images.

Method used

By acquiring multiple collected images, the target brightness value and actual brightness value of each LED lamp bead are determined, the compensation coefficient is calculated to achieve the target brightness value, and when the compensation coefficient is greater than the threshold value, it is updated to the threshold value to ensure brightness consistency.

Benefits of technology

It achieves the brightness consistency of each LED lamp bead, improves the uniformity and compensation effect of the display screen, and avoids overflow of hardware equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633119A
    Figure CN118633119A
Patent Text Reader

Abstract

The embodiment of the invention discloses a brightness compensation method and device, equipment and a storage medium, and the method comprises the steps: obtaining a plurality of collected images obtained by collecting a display image of an LED display screen with a set gray scale, and enabling the compensation time of the plurality of collected images to be different; acquiring a first brightness value of each LED lamp bead in each acquired image in the LED display screen and determining a target brightness value of each LED lamp bead; according to the target brightness value, the first brightness value and the compensation time corresponding to each collected image, the compensation coefficient of each LED lamp bead is determined, and the compensation coefficient is in direct proportion to the brightness increase value needed when the LED lamp bead reaches the target brightness value; when the compensation coefficient of the first LED lamp bead is greater than a coefficient threshold value, determining that the compensation coefficient of the first LED lamp bead is the coefficient threshold value; and sending the compensation coefficient to a control chip in the LED display screen, so that the control chip performs brightness compensation based on the compensation coefficient. By adopting the method, the technical problem that the brightness displayed by the LED lamp beads of the LED display screen is different in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Brightness compensation method, device, equipment and storage medium Technical Field

[0001] The embodiments of the present application relate to the technical field of LED display screens, and in particular to a brightness compensation method, apparatus, device, and storage medium. Background Art

[0002] Light-emitting diodes (LEDs) are commonly used light-emitting devices that efficiently convert electrical energy into light. Therefore, they are widely used in display and lighting applications. In the display field, LED displays can be composed of LED beads, and images are displayed through LED displays. However, due to the discrete brightness of each LED bead due to its physical characteristics, the actual brightness displayed by each LED bead at the same low brightness level can vary significantly. This difference is particularly noticeable when displaying pure color images, reducing the display quality of the LED display.

[0003] Summary of the Invention

[0004] An embodiment of the present application provides a brightness compensation method, apparatus, device, and storage medium to solve the technical problem in the related art of differences in brightness displayed by each LED lamp bead of an LED display screen.

[0005] In a first aspect, an embodiment of the present application provides a brightness compensation method, including:

[0006] Acquire a plurality of captured images, wherein the plurality of captured images include images captured from a display screen of an LED display screen with a set grayscale, and the compensation times of the plurality of captured images are all different;

[0007] Obtaining a first brightness value of each LED lamp bead in the LED display screen in each collected image, and determining a target brightness value of each LED lamp bead;

[0008] Determine a compensation coefficient for each LED lamp bead based on the target brightness value of each LED lamp bead, the first brightness value of the corresponding LED lamp bead in each collected image, and the compensation time of each collected image, wherein the compensation coefficient is proportional to the increase in brightness required for the corresponding LED lamp bead to reach the target brightness value;

[0009] When the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold, updating the compensation coefficient of the first LED lamp bead to the coefficient threshold, where the first LED lamp bead is any lamp bead in the LED display screen;

[0010] The obtained compensation coefficient is sent to a control chip, so that the control chip performs brightness compensation on the corresponding LED lamp beads based on the compensation coefficient. The control chip is located in the LED display screen.

[0011] In a second aspect, an embodiment of the present application further provides a brightness compensation device, including:

[0012] An image acquisition unit, configured to acquire a plurality of captured images, wherein the plurality of captured images include images captured from a display screen of an LED display screen of a set grayscale, and the compensation times of the plurality of captured images are all different;

[0013] a brightness determination unit, configured to obtain a first brightness value of each LED lamp bead in the LED display screen in each collected image, and determine a target brightness value of each LED lamp bead;

[0014] a coefficient determination unit, configured to determine a compensation coefficient for each LED lamp bead based on a target brightness value of each LED lamp bead, a first brightness value of the corresponding LED lamp bead in each collected image, and a compensation time corresponding to each collected image, wherein the compensation coefficient is proportional to a brightness increase value required for the LED lamp bead to reach the target brightness value;

[0015] a coefficient modifying unit, configured to update the compensation coefficient of a first LED lamp bead to the coefficient threshold when the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold, wherein the first LED lamp bead is any lamp bead in the LED display screen;

[0016] The coefficient sending unit is used to send the obtained compensation coefficient to the control chip so that the control chip can perform brightness compensation on the corresponding LED lamp beads based on the compensation coefficient. The control chip is located in the LED display screen.

[0017] In a third aspect, an embodiment of the present application further provides a brightness compensation device, including:

[0018] one or more processors;

[0019] a memory for storing one or more programs;

[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the brightness compensation method as described in the first aspect.

[0021] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the brightness compensation method as described in the first aspect.

[0022] In one embodiment of the present application, multiple captured images containing the display screen of an LED display screen are obtained, and the LED display screens in the multiple captured images all use a set grayscale and correspond to different compensation times. Then, the first brightness value of each LED lamp bead in the LED display screen in each captured image is obtained and the target brightness value of each LED lamp bead is determined. Combined with the target brightness value, the first brightness value of the LED lamp bead in each captured image and the compensation time corresponding to each captured image, the compensation coefficient of each LED lamp bead is determined. The currently determined compensation coefficient is proportional to the increase in brightness required for the LED lamp bead to reach the target brightness value. When the compensation coefficient of the first LED lamp bead in each LED lamp bead is greater than the coefficient threshold, the compensation coefficient of the first LED lamp bead is updated to the coefficient threshold. Then, the compensation coefficient of each LED lamp bead is sent to the control chip corresponding to the LED lamp bead in the LED display screen, so that the control chip performs brightness compensation on the LED lamp bead based on the compensation coefficient. This technical means solves the technical problem in the related art that there are differences in the brightness displayed by each LED lamp bead of the LED display screen. Based on the target brightness value, the actual first brightness value of each LED bead, and the compensation time corresponding to each LED bead in each captured image, an appropriate compensation coefficient is determined for each LED bead so that when the LED bead is brightness compensated using the compensation coefficient, the brightness displayed by each LED bead reaches the target brightness value, that is, the actual brightness of each LED bead is kept as consistent as possible, and the compensation coefficient is proportional to the increase in the brightness of the LED bead. By setting the coefficient threshold, the range of the compensation coefficient can be ensured to be within the normal operating range of the LED display hardware equipment, avoiding overflow, and achieving a balance between the uniformity of the LED display (i.e., the actual brightness of each LED bead is consistent) and the compensation coefficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] FIG1 is a schematic structural diagram of a correction system provided by one embodiment of the present application;

[0024] FIG2 is a flow chart of a brightness compensation method provided by one embodiment of the present application;

[0025] FIG3 is a flow chart of a brightness compensation method provided by one embodiment of the present application;

[0026] FIG4 is a schematic structural diagram of a brightness compensation device provided by one embodiment of the present application;

[0027] FIG5 is a schematic structural diagram of a brightness compensation device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0028] The present application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are intended to explain the present application, not to limit the present application. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present application, not all structures.

[0029] Embodiments of the present application provide a brightness compensation method that can be performed by a brightness compensation device. The brightness compensation device can be implemented using software and / or hardware. Currently, the brightness compensation device can be a computer device with data processing capabilities, such as a desktop computer, laptop computer, tablet computer, mobile phone, or other computer device. The brightness compensation device can be composed of two or more physical entities, or a single physical entity.

[0030] In an embodiment of the present application, a brightness compensation method is applicable to a correction system comprising an image acquisition device, a brightness compensation device, and an LED display. The correction system is configured to determine a compensation coefficient related to brightness when imaging the LED display and apply the compensation coefficient to the LED display to achieve brightness compensation for the LED display. In the correction system, the brightness compensation device communicates separately with the LED display and the image acquisition device.

[0031] Among them, the LED display screen refers to the LED display screen for which the parameters required for brightness compensation need to be determined. The LED display screen can be an independent display, such as a billboard, etc., or it can be integrated into electronic devices, such as mobile phones, televisions, interactive tablets and other electronic devices equipped with display screens.

[0032] In one embodiment, an LED display screen is integrated into an interactive tablet. The interactive tablet is an all-in-one device that uses touch technology to control the content displayed on the display tablet and implement human-computer interaction. It integrates one or more functions such as a projector, electronic whiteboard, screen, audio, television, and video conferencing terminal.

[0033] For example, the LEDs that make up an LED display are referred to as LED lamp beads. Each LED lamp bead's red, green, and blue light-emitting diodes are encapsulated in a lamp holder. The three primary colors (red, green, and blue) of each lamp bead serve as a pixel on the LED display. The three primary colors, when mixed, form the colors that the LED display can display, which are referred to as the colors displayed by the pixels.

[0034] The brightness of each LED can be adjusted, thereby adjusting the brightness of the LED display. Generally speaking, when an LED display is running, the brightness of each LED is set to be consistent. However, due to the discreteness of LED beads, the actual brightness displayed by each LED bead will be different. Therefore, it is necessary to perform brightness compensation on each LED bead based on the actual brightness displayed by each LED bead. The purpose of brightness compensation is to make the actual display brightness of each LED bead consistent.

[0035] In one embodiment, the LED display screen further includes a chip for controlling the LED lamp beads. Currently, the chip of the LED lamp beads is referred to as a control chip.

[0036] Optionally, there may be one or more control chips. When there are multiple control chips, each control chip can control a group of LED lamp beads, that is, the LED lamp beads in the LED display are pre-grouped. The grouping rules are currently not limited, and each group of LED lamp beads corresponds to a control chip. Alternatively, when there are multiple control chips, each control chip can control a row or column of LED lamp beads, that is, a control chip is provided for each row or column of LED lamp beads in the LED display.

[0037] During the operation of the control chip, the LED lamp beads can be controlled to be turned on and off, as well as the various parameters used when the LED lamp beads are turned on.

[0038] The embodiment does not limit the type of LED display. For example, the LED display is a COB display. A COB display is an emerging type of LED display. A COB display integrates LED chips onto a printed circuit board (PCB), eliminating the need to solder individual LED chips onto the PCB.

[0039] For example, the brightness compensation device and the LED display screen may be different physical entities. In this case, the brightness compensation device and the LED display screen may perform data transmission via a wired or wireless connection, such as the brightness compensation device sending a compensation coefficient to the LED display screen.

[0040] Alternatively, the brightness compensation device and the LED display screen may be integrated into the same physical entity. In this case, the brightness compensation device determines the compensation coefficient when performing brightness compensation on the LED display screen installed therein.

[0041] In the embodiment of the present application, the brightness compensation device and the LED display screen are described as different physical entities.

[0042] An image acquisition device can be understood as a device with a photographic function, such as a camera, a webcam, or a mobile phone. The camera can be an industrial camera or a consumer camera, and the specific type is not limited. For ease of understanding, the following description uses a camera as an example of an image acquisition device.

[0043] Optionally, the brightness compensation device and the camera are different physical entities. In this case, the brightness compensation device and the camera can perform data transmission via a wired or wireless connection, such as the brightness compensation device controlling the camera to take pictures.

[0044] Optionally, the brightness compensation device and the camera may also be integrated into the same physical entity, that is, the brightness compensation device uses the camera installed on itself to take pictures.

[0045] In the embodiment of the present application, description is made by taking the brightness compensation device and the camera as different physical entities.

[0046] Figure 1 is a schematic diagram of the correction system. Referring to Figure 1, a brightness compensation device 11 is connected to an LED display 12 and a camera 13. During operation, the brightness compensation device 11 controls the camera 13 to capture images, primarily of the display on the LED display 12. The brightness compensation device 11 captures the image captured by the camera 13 and then compensates the brightness of the LED display based on the captured image.

[0047] FIG2 is a flow chart of a brightness compensation method provided by an embodiment of the present application. Referring to FIG2 , the brightness compensation method performed during operation of the brightness compensation device includes:

[0048] Step 110 : Acquire multiple captured images, where the multiple captured images include images captured from a display screen of an LED display screen with a set grayscale, and compensation times of the multiple captured images are different.

[0049] For example, the control chip in the LED display screen uses pulse width modulation technology (PWM) to control each LED lamp bead, that is, PWM is used to control the on and off time of each LED lamp bead within the display cycle (which can also be understood as the cycle of the PWM wave) to achieve the purpose of controlling the brightness of each LED lamp bead.

[0050] For example, when the PWM wave is high, the LED turns on; when the PWM wave is low, the LED turns off. By adjusting the duration of the high level, the LED's brightness can be adjusted by taking advantage of the short-term persistence of vision. Generally speaking, the longer the high level lasts, the brighter the LED actually displays.

[0051] For example, when determining the parameters required for brightness compensation, the LED display screen is first displayed, and the actual brightness difference of each LED lamp bead can be clearly seen through the actual display screen of the LED display screen.

[0052] To ensure brightness compensation, the LED display is controlled to display a pure color image, meaning that each LED in the display presents a uniform color. For example, since each LED has red, green, and blue LEDs, and each of these three types of LEDs may have different actual display brightness, the compensation coefficients corresponding to the three primary colors are determined based on the three LEDs corresponding to the three primary colors in the LED.

[0053] In one embodiment, the LED display screen is controlled to display a pure color image (i.e., the display screen of the LED display screen is a pure color image). The pure color image includes a red image, a green image, and a blue image, and the LED lamp beads have a corresponding compensation coefficient under each color (i.e., pure color).

[0054] For example, the LED display screen is controlled to display a pure red image (i.e., a red image) based on the red light-emitting diodes of each LED lamp bead to determine the difference in actual display brightness of each red LED, and then determine the compensation coefficient corresponding to each red LED. Similarly, a pure green image (i.e., a green image) and a pure blue image (i.e., a blue image) are displayed to determine the compensation coefficient corresponding to each green LED and each blue LED, respectively.

[0055] Since the compensation coefficients corresponding to the three colors are determined in the same way, the embodiments are described using one color as an example. For example, red is used as an example for description. In this case, the LED lamp beads mentioned later can all be considered to be red light-emitting diodes in the LED lamp beads.

[0056] Optionally, when the LED display screen displays a pure color image, the brightness compensation device may send the pure color image to the LED display screen to control the LED display screen to display the pure color image, or the user may control the LED display screen to display the pure color image in other ways. There is currently no limitation on this.

[0057] For example, the brightness of the LED display can be expressed in grayscale, that is, the degree of fineness of the LED lamp beads when adjusting the brightness is the grayscale of the LED display. The grayscale of the LED display is not limited in the embodiment. For example, the LED display can adopt 16-level grayscale or 256-level grayscale. The grayscale can reflect the different color levels of each color between the darkest and the brightest. Based on the grayscale, the grayscale of the LED display can be determined. Among them, the grayscale indicates the current display brightness and darkness. The higher the grayscale, the closer to white, and the lower the grayscale, the closer to black.

[0058] In one embodiment, the grayscale of the current LED display is a pre-set fixed value and does not change during the execution of the brightness compensation method. That is, the grayscale of each LED lamp bead in the LED display is consistent with the set grayscale. The specific value of the set grayscale can be flexibly selected according to the actual needs of the LED display.

[0059] Optionally, the grayscale of the LED display can be adjusted to a set grayscale by modifying the LED display's gamma table. The parameters in the gamma table are used to characterize the display's brightness response characteristics. Alternatively, the grayscale of the LED display can be adjusted to a set grayscale by sending instructions to the LED display. The control chip of the LED display is used to receive instructions from the control software and control the LED lamp beads based on the received instructions. For example, the control chip sets the LED lamp beads to a set grayscale based on the instructions from the control software. Currently, the control software is installed in the brightness compensation device and is used to control the LED display.

[0060] For example, in order to make the actual display brightness of each LED bead consistent, the LED display screen can be subjected to low gray correction and high gray correction. Among them, low gray refers to the low grayscale segment, such as the 0-255 grayscale level (also known as grayscale), the 0-100 grayscale level can be considered a low grayscale segment. Low gray correction refers to correcting the low grayscale segment of the LED display screen so that the display effect of each LED bead in the low grayscale segment is consistent (such as the actual display brightness is consistent). High correction is similar to low gray correction and will not be described in detail at this time.

[0061] In one embodiment, since the brightness displayed by each LED lamp bead at low brightness (which can also be understood as the low gray stage) may vary greatly, in the embodiment of the present application, the compensation coefficient determined based on the brightness compensation method is the compensation coefficient required for low gray correction, that is, the grayscale value of the set grayscale of each LED lamp bead in the LED display screen is less than the grayscale threshold. The grayscale threshold can be understood as the maximum grayscale value in the low grayscale segment. For example, when the grayscale level of 0-100 is the low grayscale segment, the grayscale threshold is 100. It can be understood that the grayscale threshold can also be set to other values, and the embodiment does not limit this.

[0062] In one embodiment, in order to achieve a better effect of low gray correction, the high gray correction is turned off during the display of the LED display. In this case, the LED display does not use the high gray correction compensation coefficient during the display process. The high gray correction compensation coefficient is the compensation coefficient used when performing high gray correction.

[0063] Exemplarily, the compensation time can be understood as the compensation time for the high level in the PWM wave, that is, the compensation time when the LED lamp bead is in the on stage. It can be understood that when adjusting the brightness of the LED lamp bead by adjusting the duration of the high level in the PWM wave, the duration of the high level in the PWM wave corresponding to each LED lamp bead should be the same. However, since the actual brightness of each LED lamp bead varies, the high level in the PWM wave corresponding to each LED lamp bead can be compensated (that is, the duration of the high level is changed to the duration after adding the compensation time) to make the brightness of each LED lamp bead consistent. Currently, the compensation coefficient can also be understood as the compensation time, but during the execution of the brightness compensation method, the compensation time has been pre-set for the LED lamp bead. Therefore, in order to distinguish it from the pre-set compensation time, the current actual determined compensation time is recorded as the compensation coefficient. In one embodiment, when determining the compensation coefficient, the compensation time of each LED lamp bead on the LED display is first set to the same compensation time, that is, when the LED display is displaying, the compensation time of each LED lamp bead is the same.

[0064] In one embodiment, during the display process of the LED display screen, the currently used compensation time is continuously adjusted, and the brightness compensation device obtains images containing the display screen of the LED display screen at different compensation times to determine the brightness of each LED lamp bead at different compensation times based on the image.

[0065] The specific value of the compensation time used by the LED display screen can be preset or calculated according to a set rule.

[0066] In one embodiment, the compensation time starts at zero and increases in a set step size. After each increment, a camera captures a picture of the LED display. The set step size can be understood as the magnitude of each increase in the compensation time. The larger the set step size, the greater the magnitude of each increase in the compensation time. When the compensation time increases in a set step size, it can satisfy an arithmetic progression. The specific value of the set step size can be set based on actual conditions.

[0067] During the display process of the LED display, the compensation time is first set to zero, and then the LED display increases according to the set step size. For example, if the set step size is d (in nanoseconds), the compensation time is set to 0, d, 2d, 3d, and so on during the display process of the LED display.

[0068] Optionally, a preset number of compensation time increments can be set. The increment number is a preset number of times, which can be understood as the number of times the compensation time is increased. For example, when the target number is 2, the compensation time is incremented by 2 times from zero, and there are now 3 compensation times. The brightness compensation device can obtain an image containing the LED display screen at each compensation time. It should be noted that the method for modifying the compensation time of the LED display is currently not limited.

[0069] Currently, images captured by the brightness compensation device and containing the LED display screen are recorded as captured images. Generally speaking, the number of captured images is related to the number of compensation times. For example, if three compensation times are used when determining the compensation coefficient, then three captured images are used, and each captured image corresponds to a compensation time. In this case, the compensation time corresponding to each LED lamp bead in the captured image is the compensation time corresponding to the captured image. In other words, the compensation time of the same LED lamp bead in different captured images is different, and the compensation time of multiple captured images is different. Generally speaking, the number of captured images is at least three, which means that the compensation time is at least three.

[0070] Exemplarily, when the LED display screen displays a pure color image based on a compensation time, the brightness compensation device controls the camera to shoot to obtain a captured image corresponding to the pure color image. Afterwards, after the LED display screen modifies the compensation time, the brightness compensation device controls the camera to shoot again to obtain a captured image corresponding to the pure color image. In an optional manner, the compensation time of multiple captured images increases according to the image acquisition order, that is, the compensation time corresponding to two captured images that are adjacent in the acquisition order is in an increasing relationship from front to back. In one embodiment, when the compensation time increases according to a set step size, for two captured images that are adjacent in the acquisition order among the multiple captured images, the difference between the compensation time of the latter captured image and the compensation time of the previous captured image is the set step size.

[0071] It should be noted that in actual application, the LED display screen displays red, green and blue images respectively based on a compensation time, and the camera takes three photos based on the three pure color images. Afterwards, the LED display screen displays red, green and blue images respectively based on another compensation time, and the camera takes three photos based on the three pure color images, and so on. Afterwards, based on each image of the same pure color, the compensation coefficient corresponding to the LED lamp bead under that color is determined.

[0072] Optionally, the camera transmits each captured image to the brightness compensation device, or the camera transmits all captured images to the brightness compensation device together after capturing all captured images. Currently, there is no limitation on the way the camera transmits captured images.

[0073] It is understandable that in actual applications, the LED lamp bead may also include only two colors of LEDs or only one color of LEDs. Regardless of how many colors of LEDs the LED lamp bead contains, the compensation coefficient of each color of LED is determined in the same way.

[0074] Step 120: Obtain a first brightness value of each LED lamp bead in the LED display screen in each collected image, and determine a target brightness value of each LED lamp bead.

[0075] The first brightness value is the brightness value actually displayed by the LED lamp bead. Each LED lamp bead has a corresponding first brightness value in each captured image. The first brightness value can reflect the actual display brightness of the corresponding LED lamp bead under the compensation time corresponding to the captured image.

[0076] It can be understood that since the LED lamp beads in each collected image have the same set grayscale, only the set compensation time is different. Therefore, the main reason why the first brightness value of the same LED lamp bead in each collected image is different is due to the different compensation time.

[0077] The brightness value can be understood as a specific value of brightness. It is understood that the actual brightness and color displayed by each LED lamp bead can be reflected by the pixels corresponding to the LED lamp bead in the captured image. Therefore, after obtaining each captured image, the first brightness value of each LED lamp bead in the corresponding captured image can be determined.

[0078] It should be noted that determining the brightness value of LED lamp beads in an LED display screen through an image containing the display screen of the LED display screen is a technical means that has been realized and will not be explained separately at this time.

[0079] The target brightness value refers to the brightness value that each LED lamp bead is expected to achieve. If all LED lamp beads use the same target brightness value, that is, the actual brightness of each LED lamp bead reaches the target brightness value, the brightness of each LED lamp bead can be consistent in the low gray stage.

[0080] The target brightness value may be a preset brightness value, or a brightness value artificially specified in combination with the first brightness value of each current LED lamp bead in each captured image, or a brightness value calculated by a brightness compensation device according to a set rule.

[0081] In one embodiment, the target brightness value of each LED lamp bead is determined by collecting images. For example, after the brightness compensation device determines the first brightness value of each LED lamp bead, it combines the first brightness values ​​to obtain a reasonable target brightness value. In one embodiment, determining the target brightness value of each LED lamp bead in this step may include steps 121 and 122:

[0082] Step 121: Select a target image from each collected image.

[0083] The target image refers to the acquired image used to determine the target brightness value.

[0084] Exemplarily, an image is randomly selected from each acquired image as the target image; or, after removing the acquired image with the shortest compensation time and the acquired image with the longest compensation time from each acquired image, an image is selected as the target image; or, a specific acquired image is selected as the target image according to a pre-set rule.

[0085] For example, each time the compensation time increases, the brightness compensation device controls the camera to shoot the LED display screen. At this time, the captured image obtained by the second shooting is selected as the target image, that is, the captured image with the second shortest compensation time is selected as the target image.

[0086] Step 122: Obtain the first brightness value of each LED lamp bead in the target image, and use the average value of each first brightness value as the target brightness value of each LED lamp bead.

[0087] After determining the target image, the first brightness value of each LED lamp bead under the target image can be determined, and then the target brightness value is determined based on the first brightness value of each LED lamp bead.

[0088] In one embodiment, the average of the first brightness values ​​of each LED lamp bead in the target image is calculated and used as the target brightness value. It is understood that the average of the first brightness values ​​can best reflect the average brightness displayed by each LED lamp bead.

[0089] It should be noted that in actual applications, the target brightness value may also be determined in other ways, such as selecting the first brightness value with the largest number of occurrences from among the first brightness values ​​corresponding to the selected target image as the target brightness value.

[0090] Afterwards, step 130 is executed.

[0091] Step 130: Determine a compensation coefficient for each LED lamp bead based on the target brightness value of each LED lamp bead, the first brightness value of the corresponding LED lamp bead in each captured image, and the compensation time corresponding to each captured image. The compensation coefficient is proportional to the increase in brightness required for the LED lamp bead to reach the target brightness value.

[0092] Exemplarily, after determining the target brightness value and the first brightness value of each LED lamp bead in each captured image, the compensation coefficient required for each LED lamp bead to reach the target brightness value is determined.

[0093] It can be understood that the compensation coefficient is a compensation coefficient for the low gray stage, and is used for the low gray correction process of the LED display.

[0094] The compensation coefficients of the various LED lamp beads in the present embodiment are determined in the same manner. For ease of understanding, the following description will be made using the determination of the compensation coefficient of one LED lamp bead as an example.

[0095] For example, the LED display screen is displayed at a low grayscale, and the LED lamp beads have a brightness value. On this basis, after the LED lamp beads are brightness compensated (that is, the compensation time is set for the LED lamp beads), the brightness of the LED lamp beads increases, that is, the brightness value of the LED lamp beads becomes larger. At this time, the difference between the current brightness value of the LED lamp beads and the original brightness value of the LED lamp beads can be considered as the increase in brightness achieved based on the compensation time. Moreover, the longer the compensation time, the greater the increase in brightness, that is, the compensation time is proportional to the increase in brightness. Based on the above description, it can be seen that the compensation time and the compensation coefficient have the same effect, therefore, the compensation coefficient is also proportional to the increase in the brightness of the LED lamp beads.

[0096] Based on the proportional relationship, the compensation coefficient required for the LED lamp bead to reach the target brightness value can be determined by combining the first brightness values ​​of the LED lamp bead, the target brightness value, and the compensation time corresponding to each captured image (which can also be understood as the compensation time corresponding to each first brightness value). It can be understood that this compensation coefficient is proportional to the brightness increase required for the corresponding LED lamp bead to reach the target brightness value. That is, if a larger brightness increase is required to reach the target brightness value, the required compensation coefficient is larger, and vice versa, the required compensation coefficient is smaller.

[0097] For example, a first brightness value is selected for the LED lamp bead based on the target brightness value of the LED lamp bead and the first brightness value of the LED lamp bead in each captured image (which can also be understood as each compensation time). In this embodiment, the selected first brightness value is recorded as the second brightness value, and the second brightness value is a first brightness value that is less than and only less than the target brightness value (that is, only less than the target brightness value). In this case, the first brightness value that is only greater than the second brightness value is also the first brightness value that is only greater than or equal to the target brightness value. For example, the second brightness value is recorded as B(N-2), and the first brightness value that is only greater than or equal to the target brightness value is recorded as B(N-1). At this time, B(N-2) and B(N-1) are the first brightness values ​​in two adjacent captured images in the acquisition order, and B(N-2)<target brightness value≤B(N-1). In other words, the target brightness value can be considered to be within the brightness range formed by B(N-2) and B(N-1).

[0098] It can be understood that the LED lamp bead can reach the target brightness value most quickly by adding a smaller compensation time at the second brightness value. Therefore, on the basis of the compensation time corresponding to the second brightness value, the compensation time required to reach the target brightness value from the second brightness value is added to obtain the compensation coefficient required for the LED lamp bead to reach the target brightness value.

[0099] The increased compensation time can be determined based on the relationship that the compensation time is proportional to the increase in the brightness of the LED lamp bead.

[0100] For example, the brightness difference between the target brightness value and B(N-2) is determined. This brightness difference can be understood as the brightness increase value of the LED lamp bead when it increases from B(N-2) to the target brightness value. At the same time, the brightness increase value corresponding to the set step size is determined, that is, the brightness increase value of the LED lamp bead when the compensation time is the set step size. Since the difference in compensation time between the latter and the previous acquired images in the two adjacent acquired images in the acquisition sequence is the set step size, the difference in the first brightness value of the LED lamp bead in the latter and the previous acquired images can be understood as the brightness increase value corresponding to the set step size. For example, the brightness difference between B(N-1) and B(N-2) can reflect the brightness increase value of the LED lamp bead when the compensation time corresponding to B(N-2) increases to the compensation time corresponding to B(N-1), that is, the brightness increase value corresponding to the set step size.

[0101] Then, based on the proportional relationship between the compensation time and the increase in the brightness of the LED lamp bead, combined with the brightness increase value corresponding to the set step size, and the brightness difference between the target brightness value and B(N-2), the compensation time required for the LED lamp bead to increase from B(N-2) to the target brightness value can be determined.

[0102] Then, add this compensation time to the compensation time corresponding to B(N-2) to obtain the compensation coefficient required for the LED lamp bead to reach the target brightness value.

[0103] Optionally, when there is no first brightness value that is only less than the target brightness value, that is, the first brightness value of the LED lamp bead in each captured image is greater than or equal to the target brightness value, then the compensation coefficient of the LED lamp bead can be set to zero, that is, there is no need to compensate the LED lamp bead, and the actual brightness of the LED lamp bead can reach the target brightness value.

[0104] Optionally, when there is no first brightness value that is only greater than or equal to the target brightness value, that is, when the first brightness value of the LED lamp bead in each captured image is less than the target brightness value, the currently used maximum compensation time (that is, the compensation time corresponding to the last captured image) can be directly used as the compensation coefficient of the LED lamp bead to make the LED lamp bead as close to the target brightness value as possible.

[0105] It is understood that when the first brightness value of the LED bead in each captured image is less than the target brightness value, even if the maximum compensation time is used as the compensation coefficient, the LED bead cannot reach the target brightness value, which will reduce the effectiveness of brightness compensation. Based on this, in order to make the LED bead reach the target brightness value, the compensation time can be continuously increased by increasing the number of captured images, so that the first brightness value of the LED bead in the captured image corresponding to the maximum compensation time is greater than or equal to the target brightness value. Alternatively, the compensation time can be increased by increasing the value of the set step size, thereby increasing the first brightness value of the LED bead in the captured image corresponding to the maximum compensation time.

[0106] When the compensation time is continuously increased to increase the number of captured images, although the compensation coefficient that enables the LED lamp beads to reach the target brightness value can be calculated, when the LED display is displayed in low grayscale, the brightness of the camera photo is relatively low, and the required exposure time and shooting time are longer. Therefore, when the number of captured images is increased, the required shooting time will also increase. For example, when the camera shoots an image, the average exposure time of an image is 40 seconds. Then, it takes 2 minutes for the camera to capture three pure color images corresponding to the three optical primary colors. Thus, each additional captured image (which can also be understood as increasing the compensation time) will increase the shooting time by 2 minutes. Combined with the time spent setting the compensation time for the LED display, the time required to determine the compensation coefficient will increase, which is not conducive to the rapid determination of the compensation coefficient.

[0107] When the set step value is increased, although the compensation coefficient that enables the LED lamp bead to reach the target brightness value can be calculated, after the set step value is increased, the compensation time that increases according to the set step value will also become longer. In this way, the increase value of the first brightness value of the LED lamp bead in adjacent collected images will also increase, and the target brightness value determined based on the collected image will also increase, that is, the range of the compensation coefficient is expanded, which reduces the accuracy of the compensation coefficient.

[0108] Therefore, continuously increasing the compensation time to increase the number of captured images, as well as increasing the set step size, are not conducive to determining the compensation coefficient. Based on this, to avoid the situation where the LED lamp beads still cannot reach the target brightness value when the maximum compensation time is used as the compensation coefficient to compensate the LED lamp beads, in this embodiment, an additional compensation time is calculated based on the target brightness value and the maximum first brightness value of the LED lamp beads in each captured image. The calculated compensation time is then added to the maximum compensation time to obtain the final compensation coefficient, thereby ensuring that the final compensation coefficient can enable the LED lamp beads to reach the target brightness value.

[0109] Among them, the additionally calculated compensation time is similar to the calculation method of the aforementioned compensation time. For example, the brightness difference between the target brightness value and the maximum first brightness value of the LED lamp bead is determined, and the brightness increase value corresponding to the set step size is determined. The brightness increase value can be the brightness difference between the maximum first brightness value of the LED lamp bead and the second largest first brightness value. Then, according to the relationship that the compensation time is proportional to the increase value of the brightness of the LED lamp bead, combined with the brightness increase value corresponding to the set step size, and the brightness difference between the target brightness value and the maximum first brightness value of the LED lamp bead, the compensation time required for the maximum first brightness value to increase to the target brightness value can be determined. Then, the compensation time is added to the compensation time corresponding to the maximum first brightness value (i.e., the maximum compensation time) to obtain the compensation coefficient.

[0110] After the compensation coefficient of the LED lamp bead is determined, step 140 is executed.

[0111] Step 140: When the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold, the compensation coefficient of the first LED lamp bead is updated to the coefficient threshold. The first LED lamp bead is any lamp bead in the LED display screen.

[0112] It is understandable that when the control chip of the LED display controls the display of the LED lamp beads, due to the limitations of the hardware equipment (i.e. the hardware conditions of the control chip), there is a maximum compensation time limit when compensating the brightness of the LED lamp beads. If the compensation time when compensating the LED lamp beads exceeds the maximum compensation time limit, the compensation time overflow will occur, and the LED lamp beads will light up abnormally.

[0113] To prevent overflow, a compensation coefficient threshold is set. This threshold is determined based on the controller chip used in the LED display. Generally speaking, the threshold is greater than the maximum compensation time when the compensation time is incremented by the set step size, and is within the maximum compensation time limit of the controller chip. The threshold can be understood as the maximum compensation coefficient that can be used when the current LED display is performing compensation.

[0114] After determining the compensation coefficient of the LED lamp bead, the compensation coefficient is compared with the coefficient threshold. If the compensation coefficient is less than or equal to the coefficient threshold, it means that there is no overflow. At this time, the compensation coefficient is retained as the compensation coefficient of the LED lamp bead. If the compensation coefficient is greater than the coefficient threshold, it means that there may be an overflow. At this time, the coefficient threshold is used as the compensation coefficient of the LED lamp bead, that is, the compensation coefficient of the LED lamp bead is modified to the coefficient threshold. Currently, for the sake of ease of description, the LED lamp bead whose compensation coefficient determined in step 130 is greater than the coefficient threshold is recorded as the first LED lamp bead. It should be noted that when the coefficient threshold is used to compensate the first LED lamp bead, the deviation of the compensation coefficient from the proportional relationship to the increase in brightness can be made very small, that is, the deviation between the actual brightness of the first LED lamp bead and the target brightness value is very small.

[0115] Optionally, when the target brightness value is greater than each first brightness value of the LED lamp bead, the determined compensation coefficient is compared with the coefficient threshold. This is because, when there is a first brightness value greater than the target brightness value, it means that the LED lamp bead can reach the target brightness value based on the currently used compensation time without overflow.

[0116] Step 150: Send the obtained compensation coefficient to the control chip, so that the control chip performs brightness compensation on the corresponding LED lamp beads based on the compensation coefficient. The control chip is located in the LED display screen.

[0117] Exemplarily, after the brightness compensation device determines the final compensation coefficient of each LED lamp bead, it sends it to the control chip in the LED display screen, so that the control chip of the LED display screen applies the compensation coefficient to perform brightness compensation based on the compensation coefficient during the display process, that is, the control chip of the LED display screen adjusts the high level duration of the PWM wave based on the compensation coefficient, thereby realizing brightness compensation of the LED lamp beads.

[0118] Optionally, when there are multiple control chips, when the brightness compensation device transmits data with the control chip (when the brightness compensation device transmits data with the LED display screen, it mainly transmits data with the control chip), the LED lamp beads controlled by each control chip can be determined. Then, after determining the compensation coefficient of each LED lamp bead, the compensation coefficient can be sent to the control chip corresponding to the LED lamp bead to control the LED lamp bead.

[0119] In one embodiment of the present application, multiple captured images containing the display screen of an LED display screen are obtained, and the LED display screens in the multiple captured images all use a set grayscale and correspond to different compensation times. Then, the first brightness value of each LED lamp bead in the LED display screen in each captured image is obtained, and the target brightness value of each LED lamp bead is determined. In combination with the target brightness value, the first brightness value of the LED lamp bead in each captured image, and the compensation time corresponding to each captured image, the compensation coefficient of each LED lamp bead is determined. The currently determined compensation coefficient is proportional to the increase in brightness required for the LED lamp bead to reach the target brightness value. When the compensation coefficient of the first LED lamp bead in each LED lamp bead is greater than the coefficient threshold, the compensation coefficient of the first LED lamp bead is modified to the coefficient threshold. Thereafter, The compensation coefficient of each LED lamp bead is sent to the control chip corresponding to the LED lamp bead in the LED display screen, so that the control chip can compensate the brightness of the LED lamp bead based on the compensation coefficient. This technical means solves the technical problem of the difference in brightness displayed by each LED lamp bead in the LED display screen in the related art. Based on the target brightness value, the actual first brightness value of each LED lamp bead, and the compensation time corresponding to each LED lamp bead in each collected image, an appropriate compensation coefficient is determined for each LED lamp bead so that when the LED lamp bead is compensated for the brightness by the compensation coefficient, the brightness displayed by each LED lamp bead reaches the target brightness value, that is, the actual brightness of each LED lamp bead is kept as consistent as possible, and the compensation coefficient can be proportional to the increase in the brightness of the LED lamp bead as much as possible. By setting the coefficient threshold, the range of the compensation coefficient can be ensured to be within the normal operating range of the hardware equipment of the LED display screen, avoiding overflow, so that the uniformity of the LED display screen (i.e., the actual brightness of each LED lamp bead is consistent) and the compensation coefficient are balanced. In addition, the target brightness value is determined by the average value of the first brightness value of each LED lamp bead in a collected image, which can ensure that the determined target brightness value is consistent with the actual lighting condition of the LED lamp bead.

[0120] FIG3 is a flow chart of a brightness compensation method provided by one embodiment of the present application. The brightness compensation method is based on the above brightness compensation method and exemplarily describes a process of determining a compensation coefficient. Referring to FIG3 , the brightness compensation method includes:

[0121] Step 210: Acquire multiple captured images, where the multiple captured images include images captured from a display screen of an LED display screen with a set grayscale, and the compensation times of the multiple captured images are different.

[0122] Exemplarily, the compensation time starts from zero and increases according to a set step size.

[0123] In one embodiment, the number of times the compensation time is incremented is a preset target number. For example, assuming that N images are currently being captured, where N ≥ 3, and the set step size used when incrementing the compensation time is d (in nanoseconds), then the compensation time corresponding to the first captured image is 0, the compensation time corresponding to the second captured image is d, and so on, the compensation time corresponding to the Nth captured image is d*(N-1), i.e., the target number is N-1.

[0124] Step 220: Obtain a first brightness value of each LED lamp bead in the LED display screen in each collected image.

[0125] Step 230: Select a target image from each of the collected images.

[0126] Exemplarily, the captured image currently used to determine the target brightness value is used as the target image. Optionally, the compensation time corresponding to the target image is shorter, which can ensure the accuracy of the compensation coefficient. In one embodiment, the second captured image is selected as the target image as an example for description.

[0127] Step 240: Obtain the first brightness value of each LED lamp bead in the target image, and use the average value of each first brightness value as the target brightness value of each LED lamp bead.

[0128] Step 250: Determine the second brightness value of each LED lamp bead based on the first brightness value of each LED lamp bead in each captured image, where the second brightness value is the first brightness value of the corresponding LED lamp bead that is smaller than and only smaller than the target brightness value.

[0129] In the embodiment, the compensation coefficient of one LED lamp bead is taken as an example for description. In actual application, the compensation coefficient of each LED lamp bead can be determined in this way, and the compensation coefficient of each LED lamp bead can be determined sequentially or simultaneously.

[0130] For example, in N captured images, the first brightness value of an LED bead in the first captured image is recorded as B0, the first brightness value of the LED bead in the second captured image is recorded as B1, and so on, and the first brightness value in the Nth captured image is recorded as B(N-1). Since the compensation time is proportional to the increase in the first brightness value, and the compensation time for the first captured image is the smallest, the first brightness values ​​of an LED bead are arranged in ascending order: B0, B1, ..., B(N-1). The second brightness value of the LED bead is selected from each first brightness value.

[0131] For example, the relationship between the target brightness value and each first brightness value is determined. In one embodiment, it is first determined whether the target brightness value is less than or equal to B0. If not, the target brightness value is further determined to be less than or equal to B1, and so on. When it is determined that the target brightness value is less than or equal to a certain first brightness value, the previous first brightness value compared with the target brightness value is determined to be a first brightness value that is less than and only less than the target brightness value. At this time, the determined first brightness value is recorded as the second brightness value. For example, when the target brightness value is greater than B1 and less than or equal to B2, B1 is the currently determined second brightness value.

[0132] It should be noted that in actual applications, instead of comparing sequentially, the brightness range can be divided based on the first brightness value. For example, less than or equal to B0 is a brightness range, greater than B0 and less than or equal to B1 is a range, and greater than B(N-2) and less than or equal to B(N-1) is a brightness range, and greater than B(N-1) is a brightness range. After that, the brightness range to which the target brightness value belongs is determined, and the minimum first brightness value corresponding to the brightness range is used as the second brightness value. For example, if the target brightness value is in the brightness range greater than B(N-2) and less than or equal to B(N-1), the second brightness value is B(N-2).

[0133] In one embodiment, there is a case where the target brightness value is less than or equal to the minimum first brightness value of the LED lamp bead, that is, the target brightness value is less than or equal to B0, in which case the second brightness value cannot be found. In this case, the method further includes: when the minimum first brightness value of the second LED lamp bead in each collected image is equal to or greater than the target brightness value (that is, the second brightness value of the second LED lamp bead does not exist), determining that the compensation coefficient of the second LED lamp bead is zero, and the second LED lamp bead is any lamp bead in the LED display screen.

[0134] It can be understood that the compensation time corresponding to the minimum first brightness value of an LED bead in each captured image is 0. If the target brightness value is less than or equal to the minimum first brightness value, it indicates that no compensation is required for this LED bead, and the actual brightness value of the LED bead has already reached the target brightness value. Therefore, the compensation coefficient of the LED bead is determined to be 0, that is, no compensation is required for this LED bead during the application of the LED display. In one embodiment, for ease of understanding, the LED bead with the minimum first brightness value equal to or greater than the target brightness value is recorded as the second LED bead. It can also be understood that the second brightness value of the second LED bead cannot be determined.

[0135] Step 260: Determine the brightness difference between the target brightness value and the second brightness value, and determine the brightness increase value corresponding to the set step size.

[0136] Exemplarily, the brightness increase value corresponding to the set step size refers to the increase in the actual brightness value of the LED lamp bead after the compensation time of the LED lamp bead is increased by the set step size. It can be understood that when the compensation time is incremented according to the set step size, the difference in the first brightness value of the LED lamp bead in the two corresponding adjacent captured images can be understood as the brightness increase value corresponding to the set step size. Optionally, the brightness difference (i.e., brightness increase value) between two first brightness values ​​that are adjacent to each other (can also be understood as the acquisition order of the captured images that are adjacent) should be the same, and both are the brightness increase values ​​when the set step size is used as the compensation time. Therefore, the brightness difference between any two adjacent first brightness values ​​can be used as the brightness increase value of the set step size.

[0137] However, in actual applications, due to limitations of LED lamp hardware and other factors, the compensation time and the brightness increase value may be approximately proportional rather than completely proportional. In this case, to ensure the accuracy of the compensation coefficient, the first brightness value and the second brightness value, which are just greater than the second brightness value, are used to determine the brightness increase value corresponding to the current set step size. For example, if the second brightness value is B0, and the first brightness value is just greater than the second brightness value, B1, the brightness increase value corresponding to the set step size is B1-B0.

[0138] For example, the brightness difference between the target brightness value and the second brightness value may represent a brightness increase value required to adjust the second brightness value to the target brightness value.

[0139] Step 270: Determine the compensation coefficient of the LED lamp beads according to the brightness difference, the brightness increase value, the set step size, and the compensation time of the captured image corresponding to the second brightness value.

[0140] Since the compensation time is proportional to the increase in brightness, once the brightness increase when setting the step size as the compensation time and the brightness difference between the target brightness value and the second brightness value are known, the compensation time corresponding to the brightness difference between the target brightness value and the second brightness value can be determined based on the proportional relationship. For example, the second brightness value is B0, the first brightness value that is just greater than the second brightness value is B1, the target brightness value is denoted as av, and the step size is set to d. The compensation time corresponding to the brightness difference between the target brightness value and the second brightness value can be expressed as: d*(av-B0) / (B1-B0). After that, this compensation time is added to the compensation time corresponding to the second brightness value (i.e., the compensation time of the captured image where the second brightness value is located) to obtain the compensation coefficient required for the LED lamp bead to reach the target brightness value.

[0141] For example, the second brightness value is B0, and its corresponding compensation time is 0. At this time, the compensation coefficient of the LED lamp bead is 0+d*(av-B0) / (B1-B0). Based on this, it can be deduced that when the second brightness value is B(n-2), the corresponding compensation coefficient can be recorded as d*(n-2)+d(av-B(n-2)) / (B(n-1)-B(n-2))=d((n-2)+(av-B(n-2)) / (B(n-1)-B(n-2))), where N≥n≥2, and N is the total number of captured images.

[0142] In one embodiment, the second brightness value may be the maximum first brightness value of the corresponding LED bead. In this case, there is no first brightness value that is only slightly greater than the second brightness value. Therefore, the brightness difference between the second brightness value (i.e., the maximum first brightness value) and the first brightness value that is only slightly less than the second brightness value (i.e., the next highest first brightness value) can be used as the brightness increment corresponding to the set step size to determine the compensation coefficient of the LED bead. In this case, the compensation coefficient of the LED bead can be expressed as d*(N-1)+d*(av-B(N-1)) / (B(N-1)-B(N-2)), where d is the set step size, av is the target brightness value, N is the total number of captured images, d*(N-1) is the compensation time corresponding to the Nth captured image, B(N-1) is the maximum first brightness value (i.e., the first brightness value of the LED bead in the Nth captured image), and B(N-2) is the next highest first brightness value (i.e., the first brightness value of the LED bead in the N-1th captured image).

[0143] Step 280: When the second brightness value of the first LED bead is the maximum first brightness value of the first LED bead in each collected image, determine whether the compensation coefficient of the first LED bead is greater than the coefficient threshold. If the compensation coefficient is greater than the coefficient threshold, execute step 290; otherwise, end.

[0144] For example, overflow may only occur when the second brightness value selected for the first LED bead is the maximum first brightness value of the first LED bead (i.e., the first brightness value of the LED bead in the last captured image). Therefore, when the second brightness value is selected and the selected second brightness value is the maximum first brightness value of the LED bead, the compensation coefficient is determined before determining whether it is greater than the coefficient threshold. If the second brightness value is not the maximum first brightness value, the currently determined compensation coefficient is directly used as the final compensation coefficient for the LED bead.

[0145] Step 290: When the compensation coefficient is greater than the coefficient threshold, the compensation coefficient of the first LED lamp bead is updated to the coefficient threshold.

[0146] That is, when the compensation coefficient is greater than the coefficient threshold, the compensation coefficient of the first LED lamp bead is determined to be the coefficient threshold. Thereafter, step 2100 is executed.

[0147] Step 2100: Send the obtained compensation coefficient to the control chip, so that the control chip performs brightness compensation on the corresponding LED lamp beads based on the compensation coefficient, and the control chip is located in the LED display screen.

[0148] The following describes an exemplary brightness compensation method provided in an embodiment of the present application. In this example, when an LED display screen displays a solid-color image, the compensation time of each LED lamp bead of the LED display screen is first set to 0. Then, high-grayscale correction is disabled for the LED display screen. The LED display screen is set to a set grayscale (a low-order grayscale value) by modifying the gamma table or sending a command to the control chip (also referred to as a receiving card) of the LED display screen. Currently, the grayscale setting is 64 as an example. At this point, the grayscale of each LED lamp bead is 64. The brightness compensation device then controls the camera to capture the LED display screen.

[0149] Currently, the step size is set to d, and d is 0.4ns for this description. For the same solid-color image, the camera captures N captured images. The compensation time for the first captured image is 0, the compensation time for the second image is d, the compensation time for the third image is 2d, and so on. The brightness compensation device then captures N captured images and obtains the first brightness value of each LED in each captured image. Currently, each LED corresponds to N first brightness values. The first brightness value of the first captured image is denoted as B0, the first brightness value of the second image is denoted as B1, and so on. The first brightness value of the Nth captured image is denoted as B(N-1).

[0150] Afterwards, the brightness compensation device calculates the average of the first brightness values ​​of each LED bead in the second captured image (compensation time is d) and uses it as the target brightness value. At this time, the target brightness value is recorded as av. Then, the compensation coefficient of each LED bead is determined when it reaches av. Currently, the compensation coefficient is recorded as Coef, and the coefficient threshold is recorded as Max. At this time, the compensation coefficient is determined as follows:

[0151]

[0152]

[0153] Following this approach, the compensation coefficient for each LED can be determined. The brightness compensation device then sends the compensation coefficient to the control chip for each LED in the LED display. During the display process, the control chip then compensates the LEDs based on the compensation coefficient. Generally speaking, capturing three images can yield a relatively accurate compensation coefficient in a relatively short time. Furthermore, as more images are captured, the target brightness values ​​tend to be concentrated within the brightness range corresponding to the first three images, thus avoiding overflow and further ensuring the accuracy of the compensation coefficient.

[0154] In one embodiment of the present application, a plurality of captured images including a display screen of an LED display screen are acquired, and the LED display screens in the plurality of captured images all use a set grayscale and correspond to different compensation times. Then, a target brightness value is determined by combining the average value of the first brightness values ​​of each LED lamp bead in one captured image, and a second brightness value that is only less than the target brightness value is determined by combining the first brightness values ​​of the LED lamp bead in each captured image. Then, a compensation coefficient of the LED lamp bead is determined based on the brightness difference between the target brightness value and the second brightness value, a set step size, a brightness increase value corresponding to the set step size, and a compensation time corresponding to the second brightness value. In addition, the second brightness value selected for the LED lamp bead is the maximum first brightness value of the LED lamp bead and the determined compensation coefficient is greater than When the coefficient threshold is reached, the compensation coefficient of the LED lamp bead is modified to the coefficient threshold. After that, the compensation coefficient of each LED lamp bead is sent to the control chip of the LED display screen, so that the control chip can compensate the brightness of the LED lamp bead based on the compensation coefficient. This technical means solves the technical problem that the brightness displayed by each LED lamp bead of the LED display screen in the related art is different. The brightness displayed by each LED lamp bead reaches the target brightness value through the compensation coefficient, that is, the actual brightness of each LED lamp bead is kept as consistent as possible. Moreover, when determining the compensation coefficient, the compensation coefficient is made as proportional to the increase in the brightness of the LED lamp bead as possible by the ratio of the brightness difference between the target brightness value and the second brightness value and the brightness increase value corresponding to the set step size, thereby ensuring the compensation effect. In addition, by setting the coefficient threshold, the range of the compensation coefficient can be ensured to be within the normal use range of the hardware equipment of the LED display screen, avoiding the overflow phenomenon, and making the uniformity of the LED display screen (that is, the actual brightness of each LED lamp bead is consistent) and the compensation coefficient balanced.

[0155] FIG4 is a schematic diagram of the structure of a brightness compensation device provided by an embodiment of the present application. Referring to FIG4 , the brightness compensation device includes: an image acquisition unit 301 , a brightness determination unit 302 , a coefficient determination unit 303 , a coefficient modification unit 304 , and a coefficient sending unit 305 .

[0156] Among them, the image acquisition unit 301 is used to acquire multiple captured images, and the multiple captured images include images captured from the display screen of the LED display screen with a set grayscale, and the compensation time of the multiple captured images is different; the brightness determination unit 302 is used to obtain the first brightness value of each LED lamp bead in the LED display screen in each captured image, and determine the target brightness value of each LED lamp bead; the coefficient determination unit 303 is used to determine the compensation coefficient of each LED lamp bead based on the target brightness value of each LED lamp bead, the first brightness value of the corresponding LED lamp bead in each captured image, and the compensation time corresponding to each captured image, where the compensation coefficient is proportional to the increase in brightness required for the LED lamp bead to reach the target brightness value; the coefficient modification unit 304 is used to update the compensation coefficient of the first LED lamp bead to the coefficient threshold when the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold, and the first LED lamp bead is any lamp bead in the LED display screen; the coefficient sending unit 305 is used to send the obtained compensation coefficient to the control chip, so that the control chip performs brightness compensation on the corresponding LED lamp bead based on the compensation coefficient, and the control chip is located in the LED display screen.

[0157] In one embodiment of the present application, the compensation time of multiple captured images increases in the order in which the images are captured.

[0158] In one embodiment of the present application, for two acquired images that are adjacent in acquisition order among a plurality of acquired images, the difference between the compensation time of the latter acquired image and the compensation time of the former acquired image is a set step size.

[0159] In one embodiment of the present application, the coefficient determination unit 303 includes: a brightness selection subunit, which is used to determine the second brightness value of each LED lamp bead based on the first brightness value of each LED lamp bead in each captured image, and the second brightness value is the first brightness value among the first brightness values ​​of the corresponding LED lamp bead that is less than and only less than the target brightness value; a brightness calculation subunit, which is used to determine the brightness difference between the target brightness value and the second brightness value, and to determine the brightness increase value corresponding to the set step size; a compensation determination subunit, which is used to determine the compensation coefficient of the LED lamp bead based on the brightness difference, the brightness increase value, the set step size and the compensation time of the captured image corresponding to the second brightness value.

[0160] In one embodiment of the present application, it further includes: a zero compensation determination unit, which is used to determine that the compensation coefficient of the second LED lamp bead is zero if the second brightness value of the second LED lamp bead does not exist, and the second LED lamp bead is any lamp bead in the LED display screen.

[0161] In one embodiment of the present application, the coefficient modification unit 304 includes: a coefficient judgment subunit, which is used to judge whether the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold when the second brightness value of the first LED lamp bead is the largest first brightness value of the first LED lamp bead in each collected image; and a compensation coefficient modification subunit, which is used to update the compensation coefficient of the first LED lamp bead to the coefficient threshold when the compensation coefficient is greater than the coefficient threshold.

[0162] In one embodiment of the present application, the brightness determination unit 302 includes: a brightness acquisition subunit, used to obtain the first brightness value of each LED lamp bead in the LED display screen in each captured image; an image selection subunit, used to select a target image in each captured image; and an average determination subunit, used to obtain the first brightness value of each LED lamp bead in the target image, and use the average value of each first brightness value as the target brightness value of each LED lamp bead.

[0163] In one embodiment of the present application, the display screen of the LED display screen is a pure color image, which includes a red image, a green image, and a blue image. The LED lamp beads have a corresponding compensation coefficient under each pure color.

[0164] In one embodiment of the present application, the grayscale value of the set grayscale of each LED lamp bead in the LED display screen is less than the grayscale threshold.

[0165] The brightness compensation device provided above can be used to execute the brightness compensation method executed by the brightness compensation device provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0166] It is worth noting that in the embodiment of the above-mentioned brightness compensation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0167] Figure 5 is a schematic diagram of the structure of a brightness compensation device provided by one embodiment of the present application. As shown in Figure 5 , the brightness compensation device includes a processor 40 and a memory 41. The number of processors 40 may be one or more, with Figure 5 using a single processor 40 as an example. The processor 40 and memory 41 in the brightness compensation device may be connected via a bus or other means, with Figure 5 using a bus as an example.

[0168] The memory 41, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the brightness compensation device in the embodiments of the present application (the image acquisition unit 301, brightness determination unit 302, coefficient determination unit 303, coefficient modification unit 304, and coefficient transmission unit 305 in the brightness compensation device). The processor 40 executes the software programs, instructions, and modules stored in the memory 41 to perform various functional applications and data processing of the brightness compensation device, thereby implementing the above-mentioned brightness compensation method.

[0169] Memory 41 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the brightness compensation device. Furthermore, memory 41 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some instances, memory 41 may further include memory remotely located relative to processor 40. Such remote memory may be connected to the brightness compensation device via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0170] The brightness compensation device may also include a communication device for implementing data communication according to the instructions of the processor, such as data communication with a camera or an LED display. The brightness compensation device may also include an input device and an output device. The input device may be used to receive input digital or character information and generate key signal input related to user settings and function control of the brightness compensation device. It may also include an audio input device such as a microphone. The output device may include a display screen, a speaker, and other devices.

[0171] The above-mentioned brightness compensation device includes a corresponding brightness compensation device, which can be used to execute the brightness compensation method provided by any embodiment and has corresponding functions and beneficial effects.

[0172] An embodiment of the present application further provides a brightness compensation system. Referring to FIG. 1 , the brightness compensation system includes an LED display screen, a camera, and the aforementioned brightness compensation device.

[0173] When the LED display screen is displaying, the brightness compensation device controls the camera to capture images to obtain multiple captured images, and the multiple captured images include images captured from the display screen of the LED display screen with a set grayscale, and the compensation time of the multiple captured images is different. After acquiring the multiple captured images, the brightness compensation device acquires the first brightness value of each LED lamp bead in the LED display screen in each captured image, and determines the target brightness value of each LED lamp bead; based on the target brightness value of each LED lamp bead, the first brightness value of the corresponding LED lamp bead in each captured image, and the compensation time corresponding to each captured image, the compensation coefficient of each LED lamp bead is determined, and the compensation coefficient is proportional to the increase in brightness required for the LED lamp bead to reach the target brightness value; when the compensation coefficient of a first LED lamp bead is greater than a coefficient threshold, the compensation coefficient of the first LED lamp bead is updated to the coefficient threshold, and the first LED lamp bead is any LED bead in the LED display screen; the obtained compensation coefficient is sent to a control chip, so that the control chip performs brightness compensation on the corresponding LED lamp bead based on the compensation coefficient, and the control chip is located in the LED display screen.

[0174] Optionally, the brightness compensation device can be connected to the camera and LED display via wired or wireless connections. Furthermore, the camera can be a built-in module of the brightness compensation device. In this case, the brightness compensation system includes the LED display and the brightness compensation device including the camera. Furthermore, the LED display can be a built-in module of the brightness compensation device. In this case, the brightness compensation system includes the camera and the brightness compensation device including the LED display.

[0175] In addition, one embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform relevant operations in the brightness compensation method provided in any embodiment of the present application, and have corresponding functions and beneficial effects.

[0176] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0177] Therefore, the application can adopt the form of complete hardware embodiment, complete software embodiment, or the embodiment in combination with software and hardware. Moreover, the application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The application is described with reference to the flow chart and / or block diagram of the method, equipment (system) and computer program product according to the embodiment of the application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow chart and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instruction executed by the processor of the computer or other programmable data processing device produces a device for realizing the function specified in one flow chart flow chart or multiple flow processes and / or one block or multiple blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device that implements the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram.

[0178] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0179] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0180] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0181] Note that the above are only preferred embodiments of the present application and the technical principles employed. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present application. The scope of the present application is determined by the scope of the appended claims.

Claims

1. A brightness compensation method, wherein: include: Acquire a plurality of captured images, wherein the plurality of captured images include images captured from a display screen of an LED display screen with a set grayscale, and the compensation times of the plurality of captured images are all different; Obtaining a first brightness value of each LED lamp bead in the LED display screen in each collected image, and determining a target brightness value of each LED lamp bead; Determine a compensation coefficient for each LED lamp bead based on the target brightness value of each LED lamp bead, the first brightness value of the corresponding LED lamp bead in each collected image, and the compensation time of each collected image, wherein the compensation coefficient is proportional to the increase in brightness required for the corresponding LED lamp bead to reach the target brightness value; When the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold, updating the compensation coefficient of the first LED lamp bead to the coefficient threshold, where the first LED lamp bead is any lamp bead in the LED display screen; The obtained compensation coefficient is sent to a control chip, so that the control chip performs brightness compensation on the corresponding LED lamp beads based on the compensation coefficient. The control chip is located in the LED display screen.

2. The brightness compensation method according to claim 1, wherein: The compensation time of the plurality of captured images increases in sequence according to the capture order of the images.

3. The brightness compensation method according to claim 2, wherein: For two acquired images that are adjacent in acquisition order among the multiple acquired images, the difference between the compensation time of the latter acquired image and the compensation time of the former acquired image is the set step length.

4. The brightness compensation method according to claim 3, wherein: Determining the compensation coefficient of each LED lamp bead according to the target brightness value of each LED lamp bead, the first brightness value of the corresponding LED lamp bead in each collected image, and the compensation time corresponding to each collected image includes: Determine a second brightness value of each LED lamp bead according to the first brightness value of each LED lamp bead in each collected image, where the second brightness value is a first brightness value among the first brightness values ​​of the corresponding LED lamp bead that is smaller than and only smaller than the target brightness value; determining a brightness difference between the target brightness value and the second brightness value, and determining a brightness increase value corresponding to the set step size; The compensation coefficient of the LED lamp bead is determined according to the brightness difference, the brightness increase value, the set step size, and the compensation time of the captured image corresponding to the second brightness value.

5. The brightness compensation method according to claim 4, wherein: Also includes: If the second brightness value of the second LED lamp bead does not exist, the compensation coefficient of the second LED lamp bead is determined to be zero, and the second LED lamp bead is any lamp bead in the LED display screen.

6. The brightness compensation method according to claim 4, wherein: When the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold, updating the compensation coefficient of the first LED lamp bead to the coefficient threshold includes: When the second brightness value of the first LED lamp bead is the maximum first brightness value of the first LED lamp bead in each of the collected images, determining whether the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold; When the compensation coefficient is greater than the coefficient threshold, the compensation coefficient of the first LED lamp bead is updated to the coefficient threshold.

7. The brightness compensation method according to claim 1, wherein: Determining the target brightness value of each LED lamp bead includes: Select a target image from each acquired image; The first brightness value of each of the LED lamp beads in the target image is obtained, and the average value of each of the first brightness values ​​is used as the target brightness value of each of the LED lamp beads.

8. The brightness compensation method according to claim 1, wherein: The display screen of the LED display screen is a pure color image, which includes a red image, a green image and a blue image. The LED lamp beads have a corresponding compensation coefficient under each pure color.

9. The brightness compensation method according to claim 1, wherein: The grayscale value of the set grayscale of each LED lamp bead in the LED display screen is less than the grayscale threshold.

10. A brightness compensation device, wherein: include: An image acquisition unit, configured to acquire a plurality of captured images, wherein the plurality of captured images include images captured from a display screen of an LED display screen of a set grayscale, and the compensation times of the plurality of captured images are all different; a brightness determination unit, configured to obtain a first brightness value of each LED lamp bead in the LED display screen in each collected image, and determine a target brightness value of each LED lamp bead; a coefficient determination unit, configured to determine a compensation coefficient for each LED lamp bead based on a target brightness value of each LED lamp bead, a first brightness value of the corresponding LED lamp bead in each collected image, and a compensation time of each collected image, wherein the compensation coefficient is proportional to a brightness increase value required for the corresponding LED lamp bead to reach the target brightness value; a coefficient modifying unit, configured to update the compensation coefficient of a first LED lamp bead to the coefficient threshold when the compensation coefficient of the first LED lamp bead is greater than the coefficient threshold, wherein the first LED lamp bead is any lamp bead in the LED display screen; The coefficient sending unit is used to send the obtained compensation coefficient to the control chip so that the control chip can perform brightness compensation on the corresponding LED lamp beads based on the compensation coefficient. The control chip is located in the LED display screen.

11. A brightness compensation device, wherein: include: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the brightness compensation method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the brightness compensation method according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • LED display driving method and device, chip, electronic equipment and storage medium

    CN120319164A