LED display screen brightness comparison method and system
By performing image preprocessing and brightness correction on the LED display screen, eliminating the influence of ambient light, calculating and classifying the average brightness value of the luminous emitting module, the problem of difficulty in ensuring brightness consistency in the prior art is solved, and efficient and accurate brightness comparison and module classification are achieved.
Patent Information
- Application Number
- CN202510011548.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-04
- Publication Date
- 2025-04-15
AI Technical Summary
The prior art is difficult to effectively eliminate the impact of ambient light intensity and ambient light angle on the brightness comparison of LED display screens, resulting in difficulty in ensuring brightness consistency and low manual screening efficiency.
By acquiring the luminescent LED display image, pre-processing and brightness calculation, the brightness correction process is used to eliminate the influence of ambient light illumination and angle, the true brightness values of each pixel point are obtained, and the average brightness values of each luminous module are calculated based on these values, and the modules are finally classified.
It realizes efficient and accurate LED display brightness comparison and luminous module classification without ambient light interference, significantly improves screening accuracy and efficiency, ensures brightness consistency and display quality, and reduces product quality problems caused by manual screening errors.
Smart Images

Figure CN119832841A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of display screens, and in particular relates to a method, system, computer equipment and storage medium for comparing brightness of an LED display screen. Background Art
[0002] In the field of LED display manufacturing, it is crucial to ensure the consistency of display brightness. Currently, most display manufacturers rely mainly on manual visual inspection and lamp bead control comparison to improve brightness consistency. However, this traditional method has significant drawbacks.
[0003] In the actual operating environment, the ambient light intensity and the ambient light angle are constantly changing. The interference of ambient light will make it difficult for workers to accurately distinguish the actual brightness differences of each light-emitting module during visual screening, resulting in a significant reduction in the screening effect. In addition, the manual screening process is extremely time-consuming and labor-intensive, and the efficiency is extremely low. This is not only not conducive to the rapid advancement of large-scale production, but may also cause some modules with inconsistent brightness to flow into subsequent links due to screening errors, seriously damaging the overall display effect of the product, and reducing product quality and market competitiveness.
[0004] Therefore, there is an urgent need for an efficient and accurate LED display brightness comparison method that can effectively eliminate the influence of ambient light intensity and ambient light angle, so as to overcome the shortcomings of the existing technology and promote the development of the display production industry. Summary of the invention
[0005] Based on this, it is necessary to provide a LED display brightness comparison method, system, device and storage medium that can effectively eliminate the influence of ambient light intensity and ambient light angle in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a method for comparing brightness of an LED display screen, comprising:
[0007] Acquire an image of a light-emitting LED display screen, and pre-process the image to obtain an image to be processed;
[0008] Calculate the brightness of the image to be processed and obtain the initial brightness value of each pixel in the LED display screen;
[0009] Perform brightness correction on the initial brightness value to obtain the true brightness value of each pixel;
[0010] Based on the real brightness value of each pixel, the average brightness value of each light-emitting module is obtained; wherein the LED display screen is composed of light-emitting modules, and the light-emitting modules correspond to a single or multiple pixels;
[0011] Based on the average brightness value of each light-emitting module, each light-emitting module is classified to obtain brightness value grouping information; the brightness value grouping information is used to instruct quality personnel to group the light-emitting modules.
[0012] In a second aspect, the present application also provides a LED display brightness comparison system, comprising:
[0013] An image acquisition module is used to acquire an image of the luminous LED display screen, and pre-process the image to obtain an image to be processed;
[0014] The brightness calculation module is used to calculate the brightness of the image to be processed and obtain the initial brightness value of each pixel in the LED display screen;
[0015] The brightness correction module is used to perform brightness correction processing on the initial brightness value to obtain the real brightness value of each pixel;
[0016] The light-emitting module average brightness calculation module is used to obtain the average brightness value of each light-emitting module based on the real brightness value of each pixel point; wherein the LED display screen is composed of light-emitting modules, and the light-emitting modules correspond to a single or multiple pixel points;
[0017] The brightness value grouping information acquisition module is used to classify each light-emitting module based on the average brightness value of each light-emitting module to obtain brightness value grouping information; the brightness value grouping information is used to instruct quality personnel to group the light-emitting modules.
[0018] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a method for comparing brightness of an LED display screen as in the first aspect is implemented.
[0019] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, a method for comparing brightness of an LED display screen as in the first aspect is implemented.
[0020] The above-mentioned LED display brightness comparison method, system, computer equipment and storage medium obtain the luminous LED display image and pre-process it; after the initial brightness value is obtained through brightness calculation, brightness correction processing is used to eliminate the influence of factors such as ambient light illumination and ambient light angle to obtain the true brightness value of each pixel; the average brightness value of each light-emitting module is calculated based on the true brightness value, and finally the light-emitting module is classified according to the average brightness value to obtain brightness value grouping information. Thus, efficient and accurate LED display brightness comparison and light-emitting module classification without being interfered by ambient light are realized, which significantly improves the accuracy and efficiency of light-emitting module screening, helps to ensure the brightness consistency and overall display quality of LED display, reduces the incidence of product quality problems caused by manual screening errors, and promotes the optimization and upgrading of display production and testing processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A schematic diagram of a process for comparing brightness of an LED display screen provided by the present invention;
[0023] Figure 2 The present invention provides a schematic structural diagram of a LED display screen brightness comparison system. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0025] refer to Figure 1 , which shows a flow chart of a method for comparing brightness of an LED display screen provided by the present application, the method comprising the following steps:
[0026] S101, acquiring an image of a light-emitting LED display screen, and preprocessing the image to obtain an image to be processed.
[0027] Specifically, a suitable image acquisition device can be used to obtain an image of a glowing LED display. This can be a professional high-resolution camera to ensure that it can clearly capture the light distribution on the display and the luminescence of each pixel. The camera parameters need to be set appropriately, such as the focal length should be adjusted to allow the entire LED display to be fully presented in the shooting screen, and to ensure that the image is clear and undistorted; the aperture size should be reasonably set according to the ambient light conditions to control the amount of light entering and avoid overexposure or underexposure, so as to accurately obtain the luminescence information of the display.
[0028] During the shooting process, the camera should be kept stable, and auxiliary equipment such as a tripod can be used to prevent the image from being blurred due to shaking during shooting, which will affect the subsequent analysis of brightness. At the same time, attention should be paid to the shooting angle, and it can be kept perpendicular to the plane of the LED display as much as possible to obtain the most accurate image presentation of the luminous conditions of each pixel.
[0029] The collected original image may have some interference factors, and preprocessing is required to optimize the image quality for subsequent analysis. The preprocessing here can be denoising and grayscale processing.
[0030] S102, calculating the brightness of the image to be processed to obtain the initial brightness value of each pixel in the LED display screen.
[0031] Specifically, for the image to be processed (grayscale image in this case) obtained after preprocessing, the brightness value of each pixel should be calculated. Since the grayscale value of each pixel in the grayscale image represents its performance in terms of black and white, in the context of brightness analysis, this grayscale value can be approximately regarded as the initial brightness value of the pixel.
[0032] The grayscale value can be read by traversing each pixel in the image. In image processing software or programming implementation, there are usually corresponding functions or methods to obtain the grayscale value of a specified pixel in the image. For example, in Python's OpenCV library, simple code statements can be used to traverse the image pixels and obtain the grayscale value. By looping through each row and column of the image, the grayscale value of each pixel can be obtained in turn, and these grayscale values are recorded as the initial brightness values of each pixel.
[0033] S103: Perform brightness correction processing on the initial brightness value to obtain the true brightness value of each pixel.
[0034] Specifically, although the initial brightness values of each pixel are obtained through the previous steps, these values may not completely and accurately reflect the actual brightness of the pixel. This is because during the image acquisition process, factors such as the characteristics of the camera itself and the light reflection of the shooting environment may cause deviations in the measured brightness values. For example, the camera's sensitivity setting may make the overall captured image brighter or darker, or reflective objects in the shooting environment may increase the reflected light of certain pixels, thereby making the measured brightness value higher.
[0035] In order to obtain the true brightness value of each pixel, brightness correction processing is required. A common method is to establish a correction model.
[0036] First, prepare a set of standard light sources with known true brightness values as reference. You can use professional brightness calibration equipment to accurately measure the brightness values of these standard light sources and record them.
[0037] Then, under the same shooting conditions as those for obtaining the LED display screen image (including camera settings, shooting environment, etc.), images of these standard light sources are taken, and the initial brightness values of the corresponding pixels in these images are calculated according to the previous steps. By comparing the known real brightness values of the standard light sources with the calculated initial brightness values, a relationship model between the two can be established, such as a linear regression model or a polynomial fitting model.
[0038] Finally, this established correction model is applied to the initial brightness value of each pixel obtained from the LED display image. By substituting it into the model for calculation, the true brightness value of each pixel after correction can be obtained, thereby more accurately reflecting the actual luminous brightness of each pixel of the LED display.
[0039] S104, based on the real brightness value of each pixel point, obtain the average brightness value of each light-emitting module; wherein, the LED display screen is composed of light-emitting modules, and the light-emitting module corresponds to a single or multiple pixel points.
[0040] Specifically, an LED display screen is composed of multiple light-emitting modules, and each light-emitting module corresponds to a single or multiple pixels. The range of pixels contained in each light-emitting module can be accurately defined based on the specific structure and design documents of the LED display screen. This can be combined with the technical information provided by the manufacturer of the LED display screen, or determined by analyzing the physical structure of the display screen.
[0041] After determining the pixel range of each light-emitting module, the average brightness value of each light-emitting module can be calculated based on the real brightness values of each pixel obtained previously. For each light-emitting module, its average brightness value is calculated.
[0042] S105. Classify each light-emitting module based on the average brightness value of each light-emitting module to obtain brightness value grouping information; the brightness value grouping information is used to instruct quality personnel to group the light-emitting modules.
[0043] Specifically, before classifying the light-emitting modules, it is necessary to determine reasonable classification standards. This can be formulated based on the specific application scenarios of the LED display, product quality requirements and other factors. For example, if it is used in occasions with high-precision display requirements, such as professional film and television production displays, then the classification standards can be relatively strict, and the difference range of the average brightness value can be set smaller; if it is used for ordinary outdoor advertising displays, the classification standards can be relatively loose.
[0044] Generally speaking, different categories can be divided according to the size range of the average brightness value. For example, several brightness value intervals can be set, such as low brightness interval (average brightness value is less than a certain value X1), medium brightness interval (average brightness value is between X1 and X2), high brightness interval (average brightness value is greater than X2), etc., as preliminary classification standards.
[0045] The classification standard is determined, and by traversing all the light-emitting modules, the average brightness value of each light-emitting module is compared with the set classification standard.
[0046] If the average brightness value of a light-emitting module falls in the low brightness range, it is classified into the low brightness group; if it falls in the medium brightness range, it is classified into the medium brightness group; if it falls in the high brightness range, it is classified into the high brightness group.
[0047] In this way, after the classification operation of all light-emitting modules, the brightness value grouping information can be obtained. This information can clearly instruct the quality personnel to carry out subsequent processing of the light-emitting modules according to the grouping. For example, different quality inspection measures and packaging methods can be adopted for light-emitting modules in different brightness groups, or targeted arrangements can be made when assembling LED display screens.
[0048] The above-mentioned method for comparing brightness of LED display screens obtains and pre-processes the image of the luminous LED display screen; after calculating the initial brightness value through brightness calculation, brightness correction processing is used to eliminate the influence of factors such as ambient light illumination and ambient light angle to obtain the true brightness value of each pixel point; the average brightness value of each light-emitting module is calculated based on the true brightness value, and finally the light-emitting modules are classified according to the average brightness value to obtain the brightness value grouping information. Thus, efficient and accurate brightness comparison and light-emitting module classification of LED display screens that are not affected by ambient light are realized, which significantly improves the accuracy and efficiency of light-emitting module screening, helps to ensure the brightness consistency and overall display quality of LED display screens, reduces the incidence of product quality problems caused by manual screening errors, and promotes the optimization and upgrading of display screen production and testing processes.
[0049] In an optional embodiment, performing brightness correction processing on the initial brightness value to obtain the true brightness value of each pixel point includes the following steps:
[0050] Get the ambient light intensity of the environment where the LED display is located; get the reflectivity of the ambient light at each pixel on the LED display;
[0051] Build a lighting model based on ambient light intensity and reflectivity;
[0052] Input the initial brightness value of each pixel into the illumination model to obtain the actual brightness value of each pixel;
[0053] Among them, the illumination model is L c (x,y)=γL r (x,y)+ρE,L c (x, y) is the initial brightness value of the pixel (x, y) on the LED display screen, L r (x, y) is the actual brightness value of the pixel (x, y), γ is the luminous reflectivity of the LED display, ρ is the reflectivity of the ambient light at the pixel (x, y), and E is the ambient light intensity. The actual brightness value of the pixel (x, y) is
[0054] Specifically, in order to accurately obtain the ambient light intensity, a professional light intensity measuring instrument can be used. For example, a photometer can be used, which can accurately measure the light intensity value in the environment, usually in lux. The accuracy of the photometer is crucial to the accuracy of subsequent calibration, and a model with high accuracy and stability should be selected to ensure the reliability of the measurement results.
[0055] When measuring the ambient light intensity, you can choose a representative location for measurement. For the environment where the LED display is located, if it is an indoor environment, multiple measurements should be taken at different locations around the display (such as in front of the display, four corners, and the middle, etc.), and then the average value should be taken as the final ambient light intensity value. This is because the indoor light distribution may be uneven, and the light intensity at different locations will vary. If it is an outdoor environment, in addition to considering the location around the display, the direction of the sun's rays, the obstruction of surrounding buildings, and other factors that affect the light intensity should also be considered. For example, measurements are taken at different time periods (such as morning, noon, and afternoon) to obtain ambient light intensity data under different lighting conditions, so as to more comprehensively reflect the ambient light conditions that the display may encounter during actual use.
[0056] To obtain the reflectivity of ambient light at each pixel on the LED display, some optical measurement techniques are needed. A common method is to use a spectrophotometer combined with an integrating sphere for measurement. The spectrophotometer can measure the reflection, transmission, and absorption characteristics of an object to light of different wavelengths, while the integrating sphere is used to provide a uniform lighting environment to ensure the accuracy of the measurement.
[0057] Place the LED display in an integrating sphere, use a spectrophotometer to emit light of a specific wavelength onto the display, and then measure the intensity of the reflected light. By comparing the intensity of the incident light and the intensity of the reflected light, the reflectivity of the display at that wavelength can be calculated. Since ambient light contains multiple wavelength components, it is necessary to measure at multiple wavelengths and calculate the comprehensive reflectivity based on the spectral distribution weight of the ambient light. Repeat this measurement process for each pixel to obtain its accurate reflectivity data.
[0058] The lighting model given here (L c (x,y)=γL r (x,y)+ρE) is built based on a deep understanding of the luminous principle of LED display screens and the influence of ambient light. This model takes into account the luminous characteristics of the LED display screen itself (reflected by the luminous reflectivity γ) and the influence of ambient light on the brightness of the pixel (reflected by the ambient light reflectivity ρ and the ambient light intensity E). This model can more accurately describe the initial brightness value (L c (x, y)) and the true brightness value (L r (x, y)).
[0059] When constructing an illumination model, the parameters γ, ρ, and E in the model need to be determined. As mentioned earlier, the ambient light intensity E is obtained through special measurement equipment, and the ambient light reflectivity ρ is obtained through the above reflectivity measurement process. The luminous reflectivity γ of the LED display needs to be determined by testing the optical properties of the display itself. This may involve analysis of the display material, structure, and luminous mechanism. Usually, in a laboratory environment, a specific light source can be used to illuminate the display, measure the luminous characteristics of the display without ambient light interference, and then calculate the luminous reflectivity γ.
[0060] Assume that the initial brightness value L of a pixel (x, y) has been obtained c (x, y), the reflectivity ρ of the ambient light at the pixel, the ambient light intensity E, and the luminous reflectivity γ of the LED display. Substitute these values into the illumination model formula In the above example, we can calculate the true brightness value L of the pixel. r (x, y). For example, if L c(x, y) = 100 (the unit is determined according to the actual measurement and calculation), ρ = 0.1, E = 50, γ = 0.8, then the actual brightness value of the pixel is
[0061] By inputting the initial brightness value of each pixel into the illumination model for calculation, the brightness of each pixel can be accurately corrected, eliminating the influence of factors such as ambient light and the display's own characteristics on the brightness measurement, thereby obtaining a true brightness value that is closer to the actual lighting situation.
[0062] In an optional embodiment, before the initial brightness value of each pixel is input into the illumination model, the following steps are also included:
[0063] Get the diffuse reflection coefficient, specular reflection coefficient and specular reflection index of the LED display; get the incident angle and reflection angle of the ambient light;
[0064] Based on the diffuse reflection coefficient, the specular reflection coefficient, the specular reflection index, the incident angle and the reflection angle, the illumination model is optimized to obtain an updated illumination model;
[0065] Among them, the updated lighting model is L c (x, y) = k d y r (x, y)cosθ d +k s γL r (x, y)cos n θ s +ρE,k d is the diffuse reflection coefficient of the LED display, θ d is the incident angle of ambient light, k s is the mirror reflection coefficient of the LED display, θ s is the reflection angle of ambient light, n is the specular reflection index of the LED display, then the actual brightness value of the pixel (x, y) is
[0066] Specifically, the diffuse reflectance characterizes the ability of an object's surface to scatter light evenly. For LED displays, an integrating sphere measurement system can be used to obtain its diffuse reflectance. Place the display sample in an integrating sphere, illuminate the sample with a light source of known spectral distribution and intensity, and collect the reflected light with the integrating sphere. By measuring the energy of the incident light and the total energy of the reflected light in all directions, the diffuse reflectance can be calculated using a specific calculation formula (involving the relationship between optical parameters such as luminous flux and illuminance).
[0067] The specular reflection coefficient reflects the ability of the display surface to reflect light like a mirror, while the specular reflection index further describes the characteristics of this specular reflection. A gloss meter is usually used to measure the specular reflection coefficient and specular reflection index. The gloss meter emits light at a specific angle to the display surface and measures the intensity and angular distribution of the reflected light. The specular reflection coefficient and specular reflection index can be calculated based on the measured proportional relationship between the reflected light intensity and the incident light intensity and the characteristics of the angular distribution of the reflected light.
[0068] When obtaining the incident angle and reflection angle of ambient light, an angle meter or an angle measurement system based on optical sensors can be used. These devices use the propagation characteristics and geometric relationships of light to determine the angle between the light and the surface of the display. For example, multiple optical sensors are arranged around the display. When ambient light shines on the sensor, the incident angle can be calculated by measuring the position of the incident point of the light on the sensor and the known geometric shape and layout of the sensor. Similarly, for the measurement of the reflection angle, a reflected light sensor can be placed on or near the surface of the display. When the ambient light shines on the display and is reflected, the reflection angle is calculated by measuring the angle information of the reflected light on the sensor and combining it with geometric parameters such as the normal direction of the display surface.
[0069] When measuring the incident angle and reflection angle, it is also necessary to consider factors such as the installation position and direction of the display screen, obstructions in the surrounding environment, and the installation accuracy of the measuring equipment. In the actual measurement process, the measuring equipment needs to be calibrated, and methods such as taking the average of multiple measurements are used to improve the measurement accuracy.
[0070] The original lighting model (l c (x,y)=γL r (x,y)+ρE) mainly considers the basic luminous reflection and ambient light effects. After introducing parameters such as diffuse reflection coefficient, specular reflection coefficient, specular reflection index, incident angle and reflection angle, it can more accurately describe the complex reflection process of light on the surface of the LED display. c (x, y) = k d γL r (x,y)coaθ d +k s γL r (x, y)cos n θ s +ρE), k d y r (x, y)cosθ d The term represents the contribution of diffuse reflection to the initial brightness of the pixel, where the diffuse reflection coefficient k d and the incident angle θ d The cosine value of k affects the intensity of diffuse light.s γL r (x, y)cos n θ s The term reflects the effect of specular reflection, the specular reflection coefficient k s , specular reflection index n and reflection angle θ s The nth power of the cosine value of determines the intensity and distribution of the specular reflected light. By incorporating these factors into the illumination model, the interaction between light and the display in the actual environment can be more comprehensively and accurately simulated, thereby improving the accuracy of the pixel brightness calculation.
[0071] In practical applications, for high-quality LED display screens, such as those used in professional graphic design, medical displays, and other fields that require extremely high brightness accuracy, this optimized model can better consider various light reflection factors, making the calculated true brightness value of the pixel closer to the actual light emission situation.
[0072] In an optional embodiment, obtaining the average brightness value of each light-emitting module based on the real brightness value of each pixel point includes the following steps:
[0073] Based on the actual brightness value of each pixel, the average brightness value of each light-emitting module is calculated using the following formula:
[0074]
[0075] in, is the average brightness value of the i-th light-emitting module, P i is the set of pixels contained in the i-th light-emitting module, N i is the number of pixels contained in the i-th light-emitting module.
[0076] Specifically, the average brightness value of the light-emitting module Represents the overall luminous intensity level of the ith luminous module, and is a comprehensive reflection of the true brightness values of all pixels in the luminous module. Its unit is consistent with the unit of the true brightness value of the pixel, depending on the measurement and calculation system used in the process of obtaining the true brightness value (for example, it can be candela per square meter, i.e. cd / m 2 wait).
[0077] The pixel set contained in the light-emitting module (P i ): For LED display screen, it is composed of multiple light-emitting modules, each of which contains a certain number of pixels. iIt is to clearly define the set of pixels covered by the i-th light-emitting module. The determination of this set needs to be based on the specific structure and design documents of the LED display. It may be a pixel area divided according to row and column rules, or it may be a pixel combination defined by other methods such as circuit connection.
[0078] The number of pixels contained in the light-emitting module (N i ): This is the total number of pixels in the ith light-emitting module. Different light-emitting modules may not contain the same number of pixels due to design or manufacturing reasons.
[0079] Assume that the pixel set P3 contained in the third light-emitting module (i.e., i=3) of an LED display screen has 5 pixels (i.e., N3=5), and the actual brightness values of these 5 pixels are L r (x1, y1) = 100, L r (x2, y2) = 120, L r (x3, y3) = 90, L r (x4, y4) = 110, L r (x5, y5) = 105 (the unit is assumed to be some brightness unit).
[0080] First, substitute the true brightness values of these pixels into the summation part of the formula:
[0081]
[0082] Then, the average brightness value of the light-emitting module is calculated according to the formula (the unit is the same as the actual brightness value of the pixel):
[0083]
[0084] By calculating the average brightness value of each light-emitting module, we can intuitively understand the difference in luminous intensity between different light-emitting modules. In an ideal LED display, the average brightness values of each light-emitting module should be as close as possible to ensure the brightness uniformity of the entire display. If the average brightness value of some light-emitting modules is significantly higher or lower than that of other modules, uneven brightness will appear on the display, affecting the display effect. For example, when displaying a uniform white picture, if some light-emitting modules are brighter and some are darker, the picture will appear mottled, seriously affecting the visual experience.
[0085] The calculated average brightness value is an important basis for the subsequent classification of light-emitting modules (such as grouping by brightness). According to different application scenarios and quality requirements, after the light-emitting modules are classified according to the average brightness value, different measures can be taken for different categories of modules. For example, in the production of high-end display equipment, for light-emitting modules whose average brightness values do not meet strict standards, further testing, adjustment or screening can be carried out to ensure the quality of the final product. At the same time, during the use of the display screen, if the display effect in certain areas is found to be abnormal, the problem can be quickly located by comparing the average brightness value of the light-emitting module in the area with the difference with the normal module, which is convenient for maintenance and repair work.
[0086] In an optional embodiment, based on the average brightness value of each light-emitting module, each light-emitting module is classified to obtain brightness value grouping information, including the following steps:
[0087] Based on the classification algorithm, the average brightness value of each light-emitting module is compared with the preset brightness threshold range to obtain a comparison result, and each light-emitting module is classified according to the comparison result to obtain a classification result; the classification result includes the number of light-emitting modules within each brightness threshold range and the position information of each light-emitting module within each brightness threshold range in the LED display screen;
[0088] Brightness value grouping information is generated according to the position information and the number of corresponding light-emitting modules.
[0089] Specifically, the classification algorithm used here can be to classify the light-emitting modules based on the set brightness threshold range. Common classification algorithms include simple threshold classification, the principle of which is to compare the average brightness value of each light-emitting module with multiple preset brightness threshold ranges one by one. For example, a low brightness threshold range (such as an average brightness value less than 50 units), a medium brightness threshold range (50-150 units), and a high brightness threshold range (greater than 150 units) can be set. When the average brightness value of a light-emitting module falls within a certain threshold range, it is classified into this category. This algorithm is simple and direct, easy to understand and implement, and is suitable for situations where there is a rough expectation of brightness distribution and the classification rules are relatively clear.
[0090] During the classification process, the number of light-emitting modules within each brightness threshold range is recorded at the same time. For example, in the above example, after classification, there are 2 light-emitting modules in the low brightness threshold range class (modules with average brightness values of 45 and 30), 5 light-emitting modules in the medium brightness threshold range class (modules with average brightness values of 60, 75, 100, 120, and 130), and 3 light-emitting modules in the high brightness threshold range class (modules with average brightness values of 160, 180, and 200). At the same time, it is also necessary to obtain the position information of each light-emitting module in the LED display screen, which can be achieved by recording the row and column coordinates of the light-emitting module in the display screen matrix. For example, a light-emitting module is located in the 3rd row and 4th column of the display screen.
[0091] The brightness value grouping information is a comprehensive presentation of the classification results. It can be organized using data structures (such as lists, dictionaries, etc.). For example, a dictionary can be created where the key is the brightness threshold range (such as "low brightness", "medium brightness", "high brightness"), and the value is a list containing the number and location information of the light-emitting modules within the brightness threshold range. For the medium brightness threshold range, the corresponding value list may be [5, [(3, 4), (5, 2), (2, 6), (4, 5), (1, 3)]], where 5 represents the number of light-emitting modules within the range, and the following coordinate pairs represent the position of each light-emitting module in the display screen.
[0092] Quality personnel can quickly understand the brightness distribution of the light-emitting modules in the LED display screen based on the brightness value grouping information obtained above. For example, if it is found that there are too many or too few light-emitting modules within a certain brightness threshold range, it may mean that there are certain problems in the production process of the display screen, such as uneven raw materials, unstable manufacturing process, etc. At the same time, the location information can help quality personnel intuitively locate the area with abnormal brightness, which is convenient for further inspection and processing, such as replacing the light-emitting modules at a specific location, adjusting their driving current, etc., to improve the brightness uniformity and display quality of the entire LED display screen.
[0093] In an optional embodiment, based on a classification algorithm, the average brightness value of each light-emitting module is compared with a preset brightness threshold range to obtain a comparison result, and each light-emitting module is classified according to the comparison result to obtain a classification result, including the following steps:
[0094] S1: Get the preset brightness threshold range array T = [T1, T2, ..., T k ];
[0095] Among them, T1<T2<…<T k , k is the number of elements in the brightness threshold range array;
[0096] S2: Construct classification statistics result array C = [C0, C1, C2, ..., Ck ];
[0097] Among them, C j is an element in the classification statistics result array C, 0≤j≤k; when j=0, C0 is used to count the number of light-emitting modules with an average brightness value lower than T1; when 1≤j≤k-1, C j Used to count the average brightness value at T j to T j+1 The number of light-emitting modules between them; when j = k, C k Used to count the average brightness value higher than T k The number of light-emitting modules;
[0098] S3: For each element C j Create a corresponding light module coordinate group G j ;
[0099] S4: Initialize all elements of the classification statistics result array C to 0;
[0100] S5: Starting from j=0, traverse the brightness threshold range array T and classify and judge each light-emitting module, including:
[0101] When j = 0, if Then C0 is increased by 1 and the center coordinates of the i-th light-emitting module in the LED display screen are placed in the light-emitting module coordinate group G0, and the classification judgment of the i-th light-emitting module is ended;
[0102] When 1≤j≤k-1, if Then C j Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group C j In, the classification judgment of the i-th light-emitting module is completed;
[0103] When j = k, if Then C k Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group G k In, the classification judgment of the i-th light-emitting module is completed;
[0104] S6: After finishing the classification and judgment of all the light-emitting modules, the obtained classification statistical result array C=[C0,C1,C2,…,C k ] and each element C j Corresponding light-emitting module coordinate group G j As the classification result.
[0105] Specifically, the brightness threshold range array T = [T1, T2, ..., T k] can be a series of brightness limit values pre-set according to factors such as the quality standards of the LED display screen, the requirements of the application scenarios, and the expectations for brightness uniformity. For example, in an LED display screen used for ordinary indoor display, if it is desired to divide the brightness into three levels: low, medium, and high, T1=50 (the unit is assumed to be a certain brightness unit) can be set as the boundary between low brightness and medium brightness, and T2=150 can be set as the boundary between medium brightness and high brightness, where k=2. These thresholds divide the average brightness value space of the light-emitting module into different intervals, so as to facilitate the subsequent classification and statistics of the light-emitting modules. Different application scenarios (such as outdoor advertising displays, medical display equipment, etc.) require different arrays of brightness threshold ranges to meet their specific display requirements.
[0106] The elements in the array must satisfy T1<T2<…<T k This is the basis for ensuring the correctness of the classification logic. If the threshold order is disordered, the classification result will be wrong and the brightness distribution of the light-emitting module cannot be accurately reflected. For example, if T1=100 and T2=50, then for the light-emitting module with an average brightness value of 75, it is impossible to correctly judge the brightness category to which it belongs, because according to the wrong threshold order, it may be considered to belong to the low brightness range (if T2 is compared first) or the high brightness range (if T1 is compared first).
[0107] Classification statistics result array C = [C0, C1, C2, ..., C k ] is used to record the number distribution of luminous modules within different brightness threshold ranges. Each element C j All have specific statistical significance. When j = 0, C0 is specifically used to count the number of light-emitting modules with an average brightness value lower than T1. When 1 ≤ j ≤ k-1, C j Statistical average brightness value at T j to T j+1 When j = k, C k The statistical average brightness value is higher than T k Through this array, we can intuitively see the distribution ratio of the light-emitting modules at different brightness levels.
[0108] Each element of array C corresponds to each interval of brightness threshold range array T. This correspondence enables the average brightness value of the light-emitting module to be accurately classified into the corresponding statistical category during the classification process. For example, when the average brightness value of a light-emitting module is between T2 and T3, the count of C2 will increase, thereby accurately recording the number of light-emitting modules in the brightness interval.
[0109] Count the result array elements C for each classification j Created luminous module coordinate group Gj , its main purpose is to record the position information of the light-emitting modules that belong to the corresponding brightness threshold range in the LED display screen. In the LED display screen, each light-emitting module has its specific physical position, which can usually be represented by row and column coordinates (such as row x and column y). By recording these coordinates, in subsequent analysis and processing, the specific position of the light-emitting modules in a specific brightness range on the display screen can be quickly located. For example, if the number of light-emitting modules within a certain brightness threshold range is found to be abnormal, by checking the corresponding coordinate group, the distribution area of these modules on the display screen can be directly determined, which is convenient for further checking whether there is a hardware problem (such as module damage, poor connection, etc.) or whether it is necessary to adjust the brightness of the area.
[0110] Light emitting module coordinate group G j and the classification statistics result array element C j Closely related. j The number of luminous modules within a specific brightness threshold is recorded, and G j The specific location coordinates of these light-emitting modules are recorded in detail. This association ensures that while counting the number of light-emitting modules, their location information can be accurately obtained, providing richer data support for a comprehensive understanding of the brightness distribution characteristics of the display screen. For example, when C1=5, it means that there are 5 light-emitting modules with an average brightness value between T1 and T2, and G1 stores the specific coordinates of these 5 light-emitting modules, such as [(2, 3), (4, 5), (1, 6), (3, 2), (5, 4)], where each coordinate pair represents the position of a light-emitting module on the display screen.
[0111] Before starting to classify and count the light-emitting modules, all elements of the classification and statistical result array are initialized to 0. This step ensures the accuracy of the statistics and the consistency of the starting state.
[0112] The brightness threshold range array T is traversed starting from j=0, and classification judgment is performed on each of the light-emitting modules:
[0113] When j = 0, if Then C0 is increased by 1 and the center coordinates of the i-th light-emitting module in the LED display screen are put into the light-emitting module coordinate group G0, and the classification judgment of the i-th light-emitting module is ended.
[0114] When 1≤j≤k-1, if Then C j Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group C j Here, the classification judgment of the i-th light-emitting module is completed.
[0115] When j = k, if Then C k Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group G k Here, the classification judgment of the i-th light-emitting module is completed.
[0116] After all the light-emitting modules are classified and judged, the obtained classification statistical result array C = [C0, C1, C2, ..., C k ] and each of the elements C j The corresponding light emitting module coordinate group C j as the classification result.
[0117] In order to present the classification results more intuitively, the classification statistical result array C and the light-emitting module coordinate array G can be j For example, a bar graph can be drawn to show the number of light-emitting modules within different brightness threshold ranges. The horizontal axis represents the brightness threshold range (such as low, medium, and high brightness), and the vertical axis represents the number of light-emitting modules. Through the bar graph, quality personnel can see the approximate distribution of the display brightness at a glance and quickly determine whether there is a problem of uneven brightness or abnormal concentration. At the same time, for the light-emitting module coordinate group G j , the positions of light-emitting modules with different brightness ranges can be marked on the schematic diagram of the LED display, and different brightness categories can be represented by different colors or symbols. In this way, when actually inspecting the display, you can directly refer to the schematic diagram to quickly locate the area that needs attention, thereby improving the efficiency of detection and repair. Visual display not only helps quality personnel better understand the classification results, but also provides technicians and managers with a more intuitive basis for decision-making.
[0118] In an optional embodiment, the image of the luminous LED display screen obtained is a multi-view image. The brightness of the image to be processed is calculated to obtain the initial brightness value of each pixel in the LED display screen, including the following steps:
[0119] Use the following formula to perform weighted averaging on the multi-view images to determine the comprehensive brightness value of each pixel in the LED display:
[0120]
[0121] The comprehensive brightness value is used as the initial brightness value;
[0122] in, is the comprehensive brightness value of the pixel in the LED display. is the brightness value of the pixel in the LED display at the hth viewing angle, ω h for The weight coefficient of m is the number of viewing angles.
[0123] Specifically, since the luminous performance of LED displays may vary at different viewing angles, images from a single viewing angle cannot fully reflect the true luminous characteristics of pixels. By taking images of the display from multiple different viewing angles, richer information can be obtained, allowing for a more accurate assessment of the brightness of the pixels. For example, in a large outdoor LED display, some pixels may appear to have normal brightness when viewed from the front, but when viewed from the side or at an angle, their brightness may change due to factors such as light reflection, refraction, and mutual influence between modules.
[0124] Using the formula The multi-view images are subjected to weighted averaging processing to determine the comprehensive brightness value of each pixel in the LED display screen, and the comprehensive brightness value is used as the initial brightness value.
[0125] in, is the comprehensive brightness value of the pixel in the LED display screen, is the brightness value of the pixel in the LED display screen at the hth viewing angle, ω h for The weight coefficient of m is the number of viewing angles.
[0126] By performing weighted averaging on multi-view images to obtain a comprehensive brightness value, the problem of inaccurate brightness values caused by single-view measurement errors or viewing angle limitations can be effectively reduced. The differences in lighting conditions and viewing angles at different viewing angles may result in certain measurement deviations at each viewing angle, but through reasonable weighted averaging, these deviations can be offset or weakened, thereby obtaining a comprehensive brightness value that is closer to the actual luminous intensity of the pixel point.
[0127] In actual use, LED displays will be viewed from different angles, and the performance of their luminous characteristics at different viewing angles is part of the overall performance of the display. Using weighted average to calculate the comprehensive brightness value can integrate information from multiple viewing angles and more comprehensively reflect the luminous conditions of the display in actual three-dimensional space. This helps to better consider key performance indicators such as brightness uniformity and color consistency at different viewing angles during the design, manufacturing and quality control of the display, thereby improving the overall quality of the display and user experience.
[0128] The present application provides a method for comparing the brightness of an LED display screen, which obtains a multi-view image of a light-emitting LED display screen, performs image preprocessing to obtain an image to be processed; calculates the initial brightness value of each pixel; constructs and optimizes an illumination model based on factors such as ambient light intensity, reflectivity, diffuse reflection coefficient, specular reflection coefficient, specular reflection index, incident and reflection angles, and uses the illumination model to perform complex correction processing on the initial brightness value; calculates the average brightness value of each light-emitting module based on the corrected true brightness value of the pixel; and classifies the light-emitting modules according to the classification algorithm and the preset threshold range to obtain brightness value grouping information. In this way, the brightness of each pixel and light-emitting module of the LED display screen can be obtained more accurately, and the influence of factors such as ambient light, the characteristics of the display screen itself, and different viewing angles on the brightness measurement can be effectively eliminated, so as to comprehensively and accurately evaluate the brightness uniformity, color accuracy and other performance of the display screen, provide a reliable data basis for improving the quality of the display screen and optimizing the display effect, and facilitate quality personnel to conduct accurate quality control and troubleshooting, ensuring that the display screen can provide high-quality visual experience in different application scenarios.
[0129] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0130] Based on the same inventive concept, the embodiment of the present application also provides a system for implementing the above-mentioned LED display brightness comparison method. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the one or more LED display brightness comparison system embodiments provided below can refer to the above-mentioned limitations on a LED display brightness comparison method, and will not be repeated here.
[0131] In an exemplary embodiment, Figure 2 As shown, a LED display screen brightness comparison system 200 is provided, comprising:
[0132] The image acquisition module 201 is used to acquire an image of the luminous LED display screen and pre-process the image to obtain an image to be processed;
[0133] The brightness calculation module 202 is used to calculate the brightness of the image to be processed and obtain the initial brightness value of each pixel in the LED display screen;
[0134] The brightness correction module 203 is used to perform brightness correction processing on the initial brightness value to obtain the real brightness value of each pixel;
[0135] The light-emitting module average brightness calculation module 204 is used to obtain the average brightness value of each light-emitting module based on the real brightness value of each pixel point; wherein the LED display screen is composed of light-emitting modules, and the light-emitting modules correspond to a single or multiple pixels;
[0136] The brightness value grouping information acquisition module 205 is used to classify each light-emitting module based on the average brightness value of each light-emitting module to obtain brightness value grouping information; the brightness value grouping information is used to instruct the quality personnel to group the light-emitting modules.
[0137] Optionally, the brightness correction module 203 includes:
[0138] The model data acquisition unit is used to acquire the ambient light intensity of the environment where the LED display screen is located; and acquire the reflectivity of each pixel point of the ambient light on the LED display screen.
[0139] The model building unit is used to build a lighting model based on the ambient light intensity and reflectivity.
[0140] The model operation unit is used to input the initial brightness value of each pixel into the illumination model to obtain the actual brightness value of each pixel.
[0141] Among them, the illumination model is L c (x,y)=γL r (x,y)+ρE,L c (x, y) is the initial brightness value of the pixel (x, y) on the LED display screen, L r (x, y) is the actual brightness value of the pixel (x, y), γ is the luminous reflectivity of the LED display, ρ is the reflectivity of the ambient light at the pixel (x, y), and E is the ambient light intensity. The actual brightness value of the pixel (x, y) is
[0142] Optionally, the brightness correction module 203 further includes:
[0143] The model optimization data acquisition unit is used to obtain the diffuse reflection coefficient, specular reflection coefficient and specular reflection index of the LED display screen; and obtain the incident angle and reflection angle of the ambient light;
[0144] A model optimization unit, used to optimize the illumination model based on the diffuse reflection coefficient, the specular reflection coefficient, the specular reflection index, the incident angle and the reflection angle to obtain an updated illumination model;
[0145] Among them, the updated lighting model is L c (x, y) = k d γL r (x, y)cosθ d +k s γL r (x, y)cos n θ s +ρE,k d is the diffuse reflection coefficient of the LED display, θ d is the incident angle of ambient light, k s is the mirror reflection coefficient of the LED display, θ s is the reflection angle of the ambient light, n is the specular reflection index of the LED display, then the actual brightness value of the pixel (x, y) is
[0146] Optionally, the light-emitting module average brightness calculation module 204 is specifically used to perform the following operations:
[0147] Based on the actual brightness value of each pixel, using the formula Calculate the average brightness value of each light-emitting module.
[0148] in, is the average brightness value of the i-th light-emitting module, P i is the set of pixels contained in the i-th light-emitting module, N i is the number of pixels contained in the i-th light-emitting module.
[0149] Optionally, the brightness value grouping information acquisition module 205 includes:
[0150] A classification unit is used to compare the average brightness value of each light-emitting module with a preset brightness threshold range based on a classification algorithm to obtain a comparison result, and classify each light-emitting module according to the comparison result to obtain a classification result; wherein the classification result includes the number of light-emitting modules within each brightness threshold range and the position information of each light-emitting module within each brightness threshold range in the LED display screen.
[0151] The brightness value grouping information generating unit is used to generate brightness value grouping information according to the position information and the number of corresponding light-emitting modules.
[0152] Optionally, the classification unit is used to perform the following operations:
[0153] S1: Get the preset brightness threshold range array T = [T1, T2, ..., T k ]; where T1<T2<…<T k , k is the number of elements in the brightness threshold range array.
[0154] S2: Construct classification statistics result array C = [C0, C1, C2, ..., C k ]; among them, C j is an element in the classification statistics result array C, 0≤j≤k; when j=0, C0 is used to count the number of light-emitting modules with an average brightness value lower than T1; when 1≤j≤k-1, C j Used to count the average brightness value at T j to T j+1 The number of light-emitting modules between them; when j = k, C k Used to count the average brightness value higher than T k The number of light-emitting modules.
[0155] S3: For each element C j Create a corresponding light module coordinate group G j .
[0156] S4: Initialize all elements of the classification statistics result array C to 0.
[0157] S5: Starting from j=0, traverse the brightness threshold range array T and classify and judge each light-emitting module, including the following steps:
[0158] S51: When j = 0, if Then C0 is increased by 1 and the center coordinates of the i-th light-emitting module in the LED display screen are placed in the light-emitting module coordinate group G0, thus completing the classification judgment of the i-th light-emitting module.
[0159] S52: When 1≤j≤k-1, if Then C j Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group C j Here, the classification judgment of the i-th light-emitting module is completed.
[0160] S53: When j = k, if Then C k Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group G k Here, the classification judgment of the i-th light-emitting module is completed.
[0161] S6: After finishing the classification and judgment of all the light-emitting modules, the obtained classification statistical result array C=[C0,C1,C2,…,C k] and each element C j Corresponding light-emitting module coordinate group G j As the classification result.
[0162] An embodiment of the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0163] The embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0164] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the components described as separate parts may or may not be physically separated, and the parts displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0165] The above-mentioned embodiments only express several implementation methods of the embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the embodiments of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the embodiments of the present application, and these all belong to the protection scope of the embodiments of the present application.
Claims
1. A method for comparing brightness of an LED display screen, characterized in that: The method comprises: Acquire an image of a light-emitting LED display screen, and pre-process the image to obtain an image to be processed; Performing brightness calculation on the image to be processed to obtain an initial brightness value of each pixel in the LED display screen; Performing brightness correction processing on the initial brightness value to obtain a true brightness value of each pixel; Based on the real brightness value of each pixel point, the average brightness value of each light-emitting module is obtained; wherein the LED display screen is composed of the light-emitting modules, and the light-emitting modules correspond to a single or multiple pixel points; Based on the average brightness value of each of the light-emitting modules, each of the light-emitting modules is classified to obtain brightness value grouping information; the brightness value grouping information is used to instruct the quality personnel to group the light-emitting modules.
2. The method according to claim 1, characterized in that The performing brightness correction processing on the initial brightness value to obtain the true brightness value of each pixel point includes: Obtaining the ambient light intensity of the environment in which the LED display screen is located; obtaining the reflectivity of each pixel point on the LED display screen under the ambient light; Constructing a lighting model based on the ambient light intensity and the reflectivity; Inputting the initial brightness value of each pixel into the illumination model to obtain the real brightness value of each pixel; Wherein, the illumination model is L c (x,y)=γL r (x,·)+ρE,L c (x,·) is the initial brightness value of the pixel point (x,y) on the LED display screen, L r (x, y) is the real brightness value of the pixel (x, y), γ is the luminous reflectivity of the LED display, ρ is the reflectivity of the ambient light at the pixel (x, y), and E is the ambient light intensity. The real brightness value of the pixel (x, y) is 3. The method according to claim 2, characterized in that Before inputting the initial brightness value of each pixel point into the illumination model, the method further includes: Obtaining the diffuse reflection coefficient, specular reflection coefficient and specular reflection index of the LED display screen; obtaining the incident angle and reflection angle of the ambient light; Optimizing the illumination model based on the diffuse reflection coefficient, the specular reflection coefficient, the specular reflection index, the incident angle, and the reflection angle to obtain an updated illumination model; Among them, the updated illumination model is L c (x,y)=k d γL r (x,y)cosθ d +k s γL r (x,y)cos n θ s +ρE,k d is the diffuse reflection coefficient of the LED display, θ d is the incident angle of the ambient light, k s is the specular reflection coefficient of the LED display, θ s is the reflection angle of the ambient light, n is the specular reflection index of the LED display, then the actual brightness value of the pixel point (x, y) is 4. The method according to claim 3, characterized in that The obtaining of the average brightness value of each light-emitting module based on the real brightness value of each pixel point includes: Based on the actual brightness value of each pixel, the average brightness value of each light-emitting module is calculated using the following formula: in, is the average brightness value of the i-th light-emitting module, P i is a set of pixels included in the i-th light-emitting module, and Ni is the number of pixels included in the i-th light-emitting module.
5. The method according to claim 4, characterized in that The step of classifying each of the light-emitting modules based on the average brightness value of each of the light-emitting modules to obtain brightness value grouping information includes: Based on the classification algorithm, the average brightness value of each of the light-emitting modules is compared with a preset brightness threshold range to obtain a comparison result, and each of the light-emitting modules is classified according to the comparison result to obtain a classification result; the classification result includes the number of light-emitting modules within each of the brightness threshold ranges and the position information of each of the light-emitting modules within each of the brightness threshold ranges in the LED display screen; The brightness value grouping information is generated according to the position information and the number of corresponding light-emitting modules.
6. The method according to claim 5, characterized in that Based on the classification algorithm, the average brightness value of each light-emitting module is compared with a preset brightness threshold range to obtain a comparison result, and each light-emitting module is classified according to the comparison result to obtain a classification result, including: S1: Get the preset brightness threshold range array T = [T1, T2, ..., T k ]; Among them, T1<T2<…<T k , k is the number of elements in the brightness threshold range array; S2: Construct classification statistics result array C = [C0, C1, C2, ..., C k ]; Among them, C j is an element in the classification statistical result array C, 0≤j≤k; when j=0, C0 is used to count the number of light-emitting modules whose average brightness value is lower than T1; when 1≤j≤k-1, C j For counting the average brightness value at T j to T j+1 The number of light-emitting modules between them; when j = k, C k For counting the average brightness value higher than T k The number of light-emitting modules; S3: For each element C j Create a corresponding light module coordinate group G j ; S4: Initialize all elements of the classification statistics result array C to 0; S5: starting from j=0, traversing the brightness threshold range array T, and classifying and judging each of the light-emitting modules, including: When j = 0, if Then C0 is increased by 1 and the center coordinates of the i-th light-emitting module in the LED display screen are placed in the light-emitting module coordinate group G0, and the classification judgment of the i-th light-emitting module is ended; When 1≤j≤k-1, if Then C j Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group G j , ending the classification judgment of the i-th light-emitting module; When j = k, if Then C k Add 1 and put the center coordinates of the i-th light-emitting module in the LED display into the light-emitting module coordinate group G k , ending the classification judgment of the i-th light-emitting module; S6: After finishing the classification and judgment of all the light-emitting modules, the obtained classification statistical result array C = [C0, C1, C2, ..., C k ] and each of the elements C j The corresponding light-emitting module coordinate group G j as the classification result.
7. The method according to claim 1, characterized in that The image of the luminous LED display screen is a multi-viewing angle image; The step of performing brightness calculation on the image to be processed to obtain the initial brightness value of each pixel in the LED display screen includes: The multi-view images are weighted averaged using the following formula to determine the comprehensive brightness value of each pixel in the LED display: Using the comprehensive brightness value as the initial brightness value; in, is the comprehensive brightness value of the pixel in the LED display screen, is the brightness value of the pixel in the LED display screen at the hth viewing angle, ω h for The weight coefficient of m is the number of viewing angles.
8. A LED display screen brightness comparison system, characterized in that: The system comprises: An image acquisition module is used to acquire an image of the luminous LED display screen and pre-process the image to obtain an image to be processed; A brightness calculation module, used to perform brightness calculation on the image to be processed to obtain an initial brightness value of each pixel in the LED display screen; A brightness correction module, used to perform brightness correction processing on the initial brightness value to obtain a true brightness value of each pixel; A light-emitting module average brightness calculation module, used to obtain the average brightness value of each light-emitting module based on the real brightness value of each pixel point; wherein the LED display screen is composed of the light-emitting modules, and the light-emitting modules correspond to a single or multiple pixel points; The brightness value grouping information acquisition module is used to classify each of the light-emitting modules based on the average brightness value of each of the light-emitting modules to obtain brightness value grouping information; the brightness value grouping information is used to instruct the quality personnel to group the light-emitting modules.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Face detection method and related product
CN107729833A
Display method and display device
CN111916031A
Ambient light brightness calibration method of electronic equipment and electronic equipment
CN112017615A
Illumination rendering method and device based on target model, medium and equipment
CN113012273A
Ambient light simulation device capable of adjusting color temperature and illumination
CN115144071A