Color correction method, system and electronic device for LED display screen
By calculating the defect degree and dividing the heat dissipation area of the image to be analyzed in the LED display screen, the current of the light emitting diode is corrected, and the problem of inability to accurately detect the light emitting diodes that need to be replaced in the prior art is solved, and accurate color correction of the LED display screen and efficient utilization of resources are achieved.
Patent Information
- Application Number
- CN202411494342.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2044-10-24
AI Technical Summary
The prior art cannot accurately detect light emitting diodes that need to be replaced, resulting in the inability to perform color correction of LED display screens in time, resulting in waste of resources.
By obtaining the channel value distribution of each pixel point in each single-channel image under the RGB three-channel RGB image to be analyzed, the defect degree of each pixel point is calculated and divided into heat dissipation areas. According to the defect degree and location of pixel points in the heat dissipation area, obtain the heat dissipation center, heat dissipation direction and current increase, and correct the current of the light emitting diode to accurately detect abnormal light emitting diodes.
Accurate detection and replacement of abnormal light emitting diodes in LED display screens is realized, avoiding the misreplacement of normal light emitting diodes, and improving the accuracy and efficiency of color correction.
Smart Images

Figure CN119207291B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of display screen color correction, and in particular to a color correction method, system and electronic equipment for an LED display screen. Background Art
[0002] LED display is a display technology that uses light-emitting diodes (LEDs) as display units. It is composed of a large number of light-emitting diodes arranged in a certain array. By controlling the brightness and color of each light-emitting diode, the desired image or text is formed. When current passes through the light-emitting diode, the semiconductor material emits light and produces light of different colors. Usually, monochrome light-emitting diodes of the three primary colors of red, green and blue are combined together to achieve full-color display of the display. Due to differences in the optical properties of different light-emitting diodes themselves and different degrees of aging during use, the display effect of LED display screens is usually uneven. In order to ensure the display effect of the LED display screen, the LED display screen needs to be color corrected in time.
[0003] In the prior art, when color correction is performed on an LED display screen to be inspected, an LED display screen that has passed quality inspection and is put into use for the first time is first used as a comparison display screen, and then the images displayed by the LED display screen to be inspected and the comparison display screen are compared, and the pixel values of the pixels in the image displayed by the LED display screen to be inspected are compared with the pixel values of the pixels at the same position in the image displayed by the comparison display screen, and the light-emitting diodes corresponding to the pixels with differences in the image displayed by the LED display screen to be inspected are replaced to complete the color correction of the LED display screen to be inspected.
[0004] However, in actual situations, light-emitting diodes will experience normal brightness decay during use. The color rendering effect caused by the normal brightness decay of light-emitting diodes can be avoided by adjusting the current. Therefore, the prior art cannot accurately detect the light-emitting diodes that need to be replaced, and normal light-emitting diodes are easily replaced, resulting in a large amount of resource waste. At the same time, it makes it impossible to timely correct the color of the LED display to be detected. Summary of the invention
[0005] In order to solve the technical problem that the light-emitting diodes that need to be replaced cannot be accurately detected, resulting in the inability to timely correct the color of the LED display screen to be detected, the purpose of the present invention is to provide a color correction method, system and electronic equipment for an LED display screen, and the technical solutions adopted are as follows:
[0006] In a first aspect, an embodiment of the present invention provides a color correction method for an LED display screen, the method comprising the following steps:
[0007] Acquire the image to be analyzed displayed on the LED display screen to be detected;
[0008] Based on the distribution of the channel value of each pixel in each single-channel image of the image to be analyzed under the RGB three-channel, the defect degree of each pixel in each single-channel image is obtained; based on the defect degree, the defect area in each single-channel image is obtained;
[0009] Based on the defect degree and position of the pixel point in each defect area, the defect area is divided into heat dissipation areas; according to the distribution of the defect degree in each heat dissipation area in each single-channel image, the heat dissipation center and heat dissipation direction of each heat dissipation area, as well as the overall heat dissipation center and overall heat dissipation direction of each single-channel image are obtained; based on the angle between the heat dissipation direction of each heat dissipation area and the overall heat dissipation direction in each single-channel image, and the distance between the heat dissipation center and the overall heat dissipation center, the current increase degree of each heat dissipation area is obtained;
[0010] Based on the degree of current increase, the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area is corrected to obtain a corrected image to be analyzed;
[0011] The abnormal light emitting diodes in the LED display screen to be detected are detected based on the corrected image to be analyzed.
[0012] Furthermore, the method for obtaining the defect degree is:
[0013] Acquire a comparison image displayed on a comparison display screen, wherein the comparison image has the same size as the image to be analyzed and the same current passes through the comparison image;
[0014] For any single-channel image of the image to be analyzed, the image under the same single channel as the comparison image is used as the reference image of the single-channel image;
[0015] Obtain a channel value difference between each pixel in the single-channel image and a pixel at the same position in the reference image as a first outlier value of each pixel in the single-channel image;
[0016] For any pixel in the single-channel image, the difference between the first outlier value of the pixel and the average of the first outlier values of all pixels in the single-channel image is used as the second outlier value of the pixel;
[0017] According to the first abnormal value and the second abnormal value of the pixel point, the defect degree value of the pixel point is obtained; wherein the first abnormal value and the second abnormal value are both positively correlated with the defect degree value.
[0018] Furthermore, the method for obtaining the defective area is:
[0019] For any single-channel image to be analyzed, pixels in the single-channel image whose defect level value is greater than a preset defect level threshold are regarded as defective pixels in the single-channel image;
[0020] The connected domain formed by the defective pixel points is morphologically expanded and taken as the defective area in the single-channel image.
[0021] Furthermore, the method for obtaining the heat dissipation area is:
[0022] For any two pixels in any defect area, the cluster distance of the two pixels is obtained according to the difference between the Euclidean distance and the defect degree value of the two pixels; wherein the Euclidean distance is positively correlated with the cluster distance, and the difference between the defect degree value and the cluster distance is negatively correlated;
[0023] Based on the clustering distance, the defect area is divided according to the DBSCAN density clustering algorithm to obtain the heat dissipation area.
[0024] Furthermore, the method for obtaining the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image is:
[0025] For any heat dissipation area, the pixel corresponding to the maximum defect degree value in the heat dissipation area is used as the target pixel;
[0026] When there is only one target pixel, the position of the target pixel is used as the heat dissipation center of the heat dissipation area;
[0027] When there are at least two target pixel points, the position corresponding to the average value of the position coordinates of all target pixel points is used as the heat dissipation center of the heat dissipation area;
[0028] The pixel point corresponding to the minimum defect degree value in the heat dissipation area is used as the reference pixel point;
[0029] When there is only one reference pixel, the position of the reference pixel is taken as the minimum defect point of the heat dissipation area;
[0030] When there are at least two reference pixel points, the position corresponding to the average value of the position coordinates of all reference pixel points is used as the minimum defect point of the heat dissipation area;
[0031] The heat dissipation center of the heat dissipation area is directed to the direction of the minimum defect point as the heat dissipation direction of the heat dissipation area;
[0032] For any single-channel image, obtain the mean value of the defect degree value in each heat dissipation area in the single-channel image as the defect reference value of the corresponding heat dissipation area;
[0033] The heat dissipation area corresponding to the maximum defect reference value is taken as the target area;
[0034] When there is only one target area, the heat dissipation center of the target area is used as the overall heat dissipation center of the single-channel image;
[0035] When there are at least two target areas, the position corresponding to the mean value of the heat dissipation center position coordinates of all target areas is taken as the overall heat dissipation center of the single-channel image;
[0036] The direction corresponding to the angle obtained by accumulating the angles corresponding to the angles between the heat dissipation directions of all heat dissipation areas in the single-channel image and the horizontal direction is used as the overall heat dissipation direction of the single-channel image.
[0037] Furthermore, the method for obtaining the degree of current increase is:
[0038] For any heat dissipation area, the angle between the heat dissipation direction of the heat dissipation area and the overall heat dissipation direction of the single-channel image in which the heat dissipation area is located is normalized, and the result is used as the first reference value of the heat dissipation area;
[0039] The Euclidean distance between the heat dissipation center of the heat dissipation area and the overall heat dissipation center of the single-channel image in which the heat dissipation area is located is used as a second reference value of the heat dissipation area;
[0040] According to the first reference value and the second reference value of the heat dissipation area, the current increase degree value of the heat dissipation area is obtained; wherein the first reference value and the current increase degree value are positively correlated; and the second reference value and the current increase degree value are negatively correlated.
[0041] Furthermore, the method of correcting the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area based on the degree of current increase to obtain the corrected image to be analyzed is:
[0042] For any pixel point in any heat dissipation area, a normalized result of adding the first abnormal value of the pixel point and the current increase degree value of the heat dissipation area is used as the current correction weight of the pixel point;
[0043] The product of the current of the light emitting diode corresponding to the pixel and the current correction weight is used as the current correction value of the light emitting diode corresponding to the pixel;
[0044] The sum of the current of the light emitting diode corresponding to the pixel and the current correction value is used as the regulating current of the light emitting diode corresponding to the pixel;
[0045] The current of the light-emitting diode corresponding to each pixel point in each heat dissipation area is adjusted to the control current of the light-emitting diode corresponding to the corresponding pixel point, and the adjusted image to be analyzed is obtained as the corrected image to be analyzed.
[0046] Furthermore, the method for detecting abnormal light-emitting diodes in the LED display screen to be detected based on the modified image to be analyzed is:
[0047] The light emitting diodes corresponding to the defective pixels in each single-channel image of the image to be analyzed are all regarded as abnormal light emitting diodes.
[0048] In a second aspect, another embodiment of the present invention provides a color correction system for an LED display screen, the system comprising:
[0049] An image acquisition module is used to acquire the image to be analyzed displayed on the LED display screen to be detected;
[0050] The defect area acquisition module is used to obtain the defect degree of each pixel in each single-channel image based on the distribution of the channel value of each pixel in each single-channel image under the RGB three-channel of the image to be analyzed; and obtain the defect area in each single-channel image based on the defect degree;
[0051] The current increase degree acquisition module is used to divide the defect area into heat dissipation areas based on the defect degree and position of the pixel points in each defect area; obtain the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image according to the distribution of the defect degree in each heat dissipation area in each single-channel image; obtain the current increase degree of each heat dissipation area based on the angle between the heat dissipation direction of each heat dissipation area and the overall heat dissipation direction in each single-channel image, and the distance between the heat dissipation center and the overall heat dissipation center;
[0052] A module for acquiring a corrected image to be analyzed, used to correct the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area based on the degree of current increase, and acquire a corrected image to be analyzed;
[0053] The abnormal light emitting diode acquisition module is used to detect abnormal light emitting diodes in the LED display screen to be detected based on the corrected image to be analyzed.
[0054] In a third aspect, another embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any one of the above methods are implemented.
[0055] The present invention has the following beneficial effects:
[0056] The present invention is based on the distribution of channel values of each pixel point in each single-channel image of the image to be analyzed under the RGB three-channel, obtains the defect degree of each pixel point in each single-channel image, accurately reflects the possibility of defects in each pixel point in each single-channel image, and indirectly reflects the possibility of abnormality in the light-emitting diode corresponding to each pixel point in each single-channel image; in order to avoid the normal light-emitting diode with defects from being misidentified as an abnormal normal light-emitting diode, the defect area is divided into heat dissipation areas based on the defect degree and position of the pixel point in each defect area, so as to improve the efficiency of adjusting the current of the light-emitting diode corresponding to the pixel point, and then based on the angle between the heat dissipation direction of each heat dissipation area in each single-channel image and the overall heat dissipation direction, and the heat dissipation in the heat dissipation area. The distance between the center of the image processing unit and the center of the overall heat dissipation is calculated to obtain the degree of current increase in each heat dissipation area, and determine the degree to which the current of the light-emitting diode corresponding to each pixel point in each heat dissipation area needs to be adjusted; then, based on the degree of current increase, the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area is corrected to obtain a corrected image to be analyzed, so that the display effect of the normal light-emitting diode is more accurate, which is conducive to more accurate detection of abnormal light-emitting diodes in the LED display screen to be detected; then, based on the corrected image to be analyzed, the abnormal light-emitting diode is accurately detected, and the abnormal light-emitting diode is replaced, so that the color of the LED display screen to be detected is accurately corrected, while avoiding the replacement of normal light-emitting diodes, resulting in waste of resources, and making the color correction of the LED display screen to be detected more efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 A schematic flow chart of a color correction method for an LED display screen provided by an embodiment of the present invention;
[0059] Figure 2 A flow chart of a method for obtaining a defect degree provided by an embodiment of the present invention;
[0060] Figure 3 A flow chart of a method for obtaining a current increase degree provided by an embodiment of the present invention;
[0061] Figure 4 A flow chart of a method for obtaining a modified image to be analyzed provided by an embodiment of the present invention;
[0062] Figure 5 A structural diagram of a color correction system for an LED display screen provided by one embodiment of the present invention;
[0063] Figure 6 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0064] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the color correction method, system and electronic device of an LED display screen proposed by the present invention, its specific implementation, structure, features and effects in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0065] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0066] The following is a detailed description of a color correction method, system and electronic device for an LED display screen provided by the present invention in conjunction with the accompanying drawings.
[0067] Embodiment 1:
[0068] The specific scenario of this embodiment is as follows: the LED display screen to be detected in this embodiment is an LED display screen that has been used for a period of time. Under normal circumstances, the light-emitting diodes in the LED display screen will produce normal loss as the use time increases, causing the brightness of the light-emitting diodes to decay, thereby affecting the color of the LED display screen. However, the influence of normal loss can be eliminated by increasing the current. In order to avoid the light-emitting diodes that are normally lost and can continue to be used being mistaken for abnormal light-emitting diodes with color rendering failure and replaced, resulting in waste of resources, and affecting the efficiency of accurate color correction of the LED display screen. In this embodiment, the image to be analyzed displayed on the LED display screen to be detected is first obtained, and then the image to be analyzed is compared with the comparison image displayed on the comparison display screen, and the defective pixel points in each single-channel image of the image to be analyzed under the RGB three channels are determined, and the current of the light-emitting diode corresponding to each defective pixel point is adjusted to obtain the corrected image to be analyzed; finally, the corrected image to be analyzed is compared with the comparison image displayed on the comparison display screen, and the light-emitting diode corresponding to the defective pixel point determined by the correction of the image to be analyzed at this time is determined as an abnormal light-emitting diode, and finally the abnormal light-emitting diode is replaced, so that the color of the LED display screen to be detected is accurately and efficiently corrected, ensuring the color rendering effect of the LED display screen to be detected.
[0069] The present invention proposes a color correction method for an LED display screen. Figure 1 , which shows a schematic flow chart of a color correction method for an LED display screen provided by an embodiment of the present invention, the method comprising the following steps:
[0070] Step S1: Acquire the image to be analyzed displayed by the LED display screen to be detected.
[0071] Specifically, a camera is set vertically above the LED display screen to be detected, and an image displayed by the LED display screen to be detected is obtained as the image to be analyzed. The image to be analyzed is a color image. According to the method for obtaining the image to be analyzed, a comparison image displayed by the comparison display screen is obtained, wherein the comparison display screen is an LED display screen that has passed the quality inspection and is put into use for the first time, and it can be indirectly assumed that the light-emitting diodes in the comparison display screen are lossless, that is, there is no brightness attenuation.
[0072] It should be noted that the image to be analyzed and the comparison image have the same size and the same current. When obtaining the image to be analyzed and the comparison image, the LED display screen to be detected and the comparison display screen can be connected to the same wire, and then the image to be analyzed and the comparison image can be obtained at the same time.
[0073] Step S2: Based on the distribution of channel values of each pixel in each single-channel image of the image to be analyzed under the RGB three channels, the defect degree of each pixel in each single-channel image is obtained; based on the defect degree, the defect area in each single-channel image is obtained.
[0074] It is known that the image or text display in the LED display screen is controlled by light-emitting diodes, and the colors of the monochromatic light-emitting diodes are usually red, green and blue. By combining red, green and blue, the full-color display of the LED display screen can be realized. Each pixel in the image to be analyzed and the comparison image corresponds to three monochromatic light-emitting diodes, and the colors of the three monochromatic light-emitting diodes are red, green and blue, respectively. Therefore, in this embodiment, each single-channel image of the image to be analyzed and the comparison image under the RGB three-channel is obtained respectively, and each pixel in each single-channel image corresponds to a light-emitting diode. It is known that there is no loss of light-emitting diodes in the comparison display screen, so the color rendering effect of the comparison image is the most accurate. In order to analyze the abnormal light-emitting diodes in the LED display screen to be detected, in this embodiment, each single-channel image of the image to be analyzed is compared with the channel value of the pixel at the same position in the single-channel image of the comparison image under the same channel. When the difference in the channel value is greater, the light-emitting diode corresponding to the corresponding pixel in the corresponding single-channel image of the image to be analyzed is more likely to be defective. At the same time, for any single-channel image of the image to be analyzed, as an example, the R channel image of the image to be analyzed under the R channel is taken as an example for analysis, and the channel value difference between each pixel in the R channel image and the pixel at the same position in the image of the comparison image under the R channel is obtained. When the channel value difference corresponding to a certain pixel in the R channel image is significantly different from the channel value difference corresponding to other pixels in the R channel image, it means that the color rendering of the light-emitting diode corresponding to the pixel is more abnormal, which indirectly indicates that the light-emitting diode corresponding to the pixel is more likely to be defective. Therefore, this embodiment obtains the defect degree of each pixel in each single-channel image based on the distribution of the channel value of each pixel in each single-channel image of the image to be analyzed under the RGB three channels; the greater the defect degree, the more likely the light-emitting diode corresponding to the corresponding pixel is to be defective, and then this embodiment obtains the defective pixel in each single-channel image according to the defect degree, and determines the defective area in each single-channel image.
[0075] Preferably, in one possible implementation of this embodiment, the method for obtaining the degree of defect is as follows: Figure 2 , which shows a flow chart of a method for obtaining a defect degree provided in this embodiment, the method comprising the following steps:
[0076] Step S201: For any single-channel image of the image to be analyzed, an image under the same single channel as the comparison image is used as a reference image of the single-channel image.
[0077] The image to be analyzed is compared with the single-channel image under the same channel as the comparison image to avoid the mutual influence between the three channels of R, G, and B, so that the light-emitting diodes that may have defects can be analyzed more accurately and efficiently. For better description, in this embodiment, for any single-channel image of the image to be analyzed, the image under the same single channel as the comparison image and the single-channel image is used as the reference image of the single-channel image.
[0078] Step S202: Obtain a channel value difference between each pixel in the single-channel image and a pixel at the same position in the reference image as a first outlier value of each pixel in the single-channel image.
[0079] When the absolute value of the difference between the channel values of a certain pixel point in a single-channel image of the image to be analyzed and the pixel point at the same position in the reference image of the single-channel image is larger, the color rendering of the light-emitting diode corresponding to the pixel point is more likely to be abnormal. Therefore, this embodiment obtains the absolute value of the difference between the channel values of each pixel point in the single-channel image and the pixel point at the same position in the reference image as the first abnormal value of each pixel point in the single-channel image. The larger the first abnormal value, the greater the possibility of a defect in the light-emitting diode corresponding to the corresponding pixel point in the single-channel image.
[0080] Step S203: for any pixel in the single-channel image, a difference between the first outlier value of the pixel and the average of the first outlier values of all pixels in the single-channel image is used as the second outlier value of the pixel.
[0081] It is known that the first abnormal value can reflect the abnormal color display of the light-emitting diode corresponding to each pixel in the single-channel image of the image to be analyzed. For any pixel in a single-channel image of the image to be analyzed, when the difference between the first abnormal value of the pixel and the first abnormal values of other pixels in the single-channel image is greater, the abnormal conditions represented by the pixel and other pixels in the single-channel image are more different, which indirectly indicates that the color display of the light-emitting diode corresponding to the pixel is more likely to deviate as a whole, and the light-emitting diode corresponding to the pixel is more likely to have defects. Therefore, in this embodiment, for any pixel in the single-channel image, the absolute value of the difference between the first abnormal value of the pixel and the mean of the first abnormal values of all pixels in the single-channel image is used as the second abnormal value of the pixel. The larger the second abnormal value, the greater the possibility that the light-emitting diode corresponding to the pixel is defective.
[0082] Step S204: acquiring the defect level value of the pixel point according to the first abnormal value and the second abnormal value of the pixel point; wherein the first abnormal value and the second abnormal value are both positively correlated with the defect level value.
[0083] It is known that the larger the first abnormal value and the larger the second abnormal value, the greater the possibility that the light-emitting diode corresponding to the corresponding pixel in the single-channel image of the image to be analyzed has defects. Therefore, for any pixel in any single-channel image of the image to be analyzed, the defect degree value of the pixel is obtained according to the first abnormal value and the second abnormal value of the pixel; wherein the first abnormal value and the second abnormal value are both positively correlated with the defect degree value. The larger the defect degree value, the greater the possibility that the light-emitting diode corresponding to the pixel has defects.
[0084] The calculation formula of defect degree value is: Where D a,i is the defect level value of the i-th pixel in the a-th single-channel image to be analyzed; y a,i is the first outlier value of the i-th pixel in the a-th single-channel image to be analyzed; is the mean of the first outlier values of all pixels in the a-th single-channel image to be analyzed; || is an absolute value function; α is a first preset constant, which is greater than 0; norm is a normalization function; is the second outlier value of the i-th pixel in the a-th single-channel image of the image to be analyzed.
[0085] In this embodiment, α is set to 1 to avoid When y is 0, it is eliminated a,i The implementer can set the size of α according to the actual situation, which is not limited here. Get D a,i , which is not limited here.
[0086] At this point, the defect level value of each pixel in each single-channel image of the image to be analyzed is obtained.
[0087] It is known that the larger the defect degree value is, the more abnormal the color display of the LED corresponding to the corresponding pixel point is. In order to uniformly screen out LEDs with abnormal color display, this embodiment determines the defective pixel point according to the defect degree value, wherein the LED corresponding to the defective pixel point is the LED with abnormal color display, and then determines the defective area in each single-channel image according to the defective pixel point, so as to analyze the LED with abnormal color display more accurately later. Therefore, this embodiment obtains the defective area in each single-channel image based on the defect degree.
[0088] Preferably, in a method that can be implemented in this embodiment, the method for obtaining the defect area is: for any single-channel image of the image to be analyzed, the pixel points in the single-channel image whose defect degree value is greater than the preset defect degree threshold are used as defective pixel points in the single-channel image; this embodiment sets the preset defect degree threshold to 0.5, and the implementer can set the size of the preset defect degree threshold according to actual conditions, which is not limited here. In this embodiment, the grayscale value of the defective pixel points in the single-channel image is set to 0, and the grayscale value of the non-defective pixel points is set to 1, and then the area formed by the defective pixel points is extracted. Considering that there may be isolated defective pixel points around the formed area, the connected domain after morphological expansion of the area formed by the defective pixel points is used as the defective area in the single-channel image. Among them, morphological expansion is a well-known technology and will not be described in detail.
[0089] At this point, each defect area in each single-channel image of the image to be analyzed is obtained.
[0090] Step S3: Based on the defect degree and position of the pixel points in each defect area, the defect area is divided into heat dissipation areas; according to the distribution of the defect degree in each heat dissipation area in each single-channel image, the heat dissipation center and heat dissipation direction of each heat dissipation area, as well as the overall heat dissipation center and overall heat dissipation direction of each single-channel image are obtained; based on the angle between the heat dissipation direction of each heat dissipation area and the overall heat dissipation direction in each single-channel image, and the distance between the heat dissipation center and the overall heat dissipation center, the current increase degree of each heat dissipation area is obtained.
[0091] It is known that the brightness of the light-emitting diodes in the LED display screen decays with the increase of usage time. The degree of brightness decay of the light-emitting diodes is closely related to the heat dissipation capacity of the light-emitting diodes. When the heat dissipation capacity of the light-emitting diodes is better, the degree of brightness decay of the light-emitting diodes is smaller. The color of each pixel in the image to be analyzed is displayed by the simultaneous color fusion of the three primary color light-emitting diodes. The brightness of light-emitting diodes of different colors is different, and the final color displayed by the pixel is also different. In addition, the color rendering capacity of light-emitting diodes of different colors is different, resulting in differences in the degree of brightness decay of the three light-emitting diodes corresponding to each pixel in the image to be analyzed. In order to avoid normal light-emitting diodes being mistakenly identified as abnormal light-emitting diodes, the current of the light-emitting diodes corresponding to each pixel in each single-channel image of the image to be analyzed is adjusted one by one. In each single-channel image of the image to be analyzed, only the light-emitting diode corresponding to the pixel point in the defective area obtained in step S2 is defective, wherein there are two reasons for the defective light-emitting diode. One is that the light-emitting diode is abnormal and cannot display color normally in the LED display screen; the other is that the light-emitting diode is normally damaged. By increasing the current of the light-emitting diode, the light-emitting diode with normal damage can still be used normally, but there is a difference when compared with the light-emitting diode without damage, resulting in defects. In order to accurately identify abnormal light-emitting diodes, it is necessary to first adjust the current of the light-emitting diode corresponding to each pixel point in each defective area, so as to accurately distinguish abnormal light-emitting diodes from normal damage light-emitting diodes later.
[0092] In any single-channel image of the image to be analyzed, if the heat dissipation capabilities of the light-emitting diodes corresponding to the two defective pixels are similar, then the defect degrees of the two defective pixels are similar. In order to efficiently adjust the current of the light-emitting diode corresponding to each pixel in each defective area, the present embodiment divides the defective area into multiple heat dissipation areas. The heat dissipation capabilities of the light-emitting diodes corresponding to the pixels in the same heat dissipation area are similar and the position distribution between the pixels is dense. Therefore, the present embodiment divides the defective area into heat dissipation areas based on the defect degree and position of the pixels in each defective area. Among them, the brightness attenuation degree of the pixels in the same heat dissipation area is similar, so the current adjustment degree of the light-emitting diodes corresponding to the pixels in the same heat dissipation area is similar. In order to determine the current adjustment degree of the light-emitting diodes corresponding to the pixels in each heat dissipation area, therefore, the present embodiment first obtains the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image according to the distribution of the defect degree in each heat dissipation area in each single-channel image; and determines the heat dissipation distribution of each heat dissipation area and the overall heat dissipation distribution of each single-channel image. When the angle between the heat dissipation direction of a certain heat dissipation area and the overall heat dissipation direction of the single-channel image in which it is located is larger, the heat dissipation of the light-emitting diode corresponding to the pixel point in the heat dissipation area deviates more from the overall, which indirectly indicates that the heat dissipation capacity of the light-emitting diode corresponding to the pixel point in the heat dissipation area is worse and the current degree that needs to be increased is greater; when the Euclidean distance between the heat dissipation center of the heat dissipation area and the overall heat dissipation center of the single-channel image in which it is located is smaller, it indicates that the heat dissipation capacity of the light-emitting diode corresponding to the pixel point in the heat dissipation area is worse and the current degree that needs to be increased is greater; therefore, this embodiment obtains the degree of current increase of each heat dissipation area based on the angle between the heat dissipation direction of each heat dissipation area in each single-channel image and the overall heat dissipation direction, and the distance between the heat dissipation center and the overall heat dissipation center. The greater the degree of current increase, the greater the degree to which the current of the light-emitting diode corresponding to the pixel point in the corresponding heat dissipation area needs to be increased. Among them, the method for obtaining the Euclidean distance is a well-known technology and will not be repeated.
[0093] Preferably, in a method that can be implemented in this embodiment, the method for obtaining the heat dissipation area is: for any two pixels in any defect area, when the Euclidean distance between the two pixels is smaller and the absolute value of the difference in the defect degree value is larger, the two pixels are more likely to be the same heat dissipation area, and then according to the Euclidean distance between the two pixels and the absolute value of the difference in the defect degree value, the cluster distance of the two pixels is obtained; wherein the Euclidean distance is positively correlated with the cluster distance, and the absolute value of the difference in the defect degree value is negatively correlated with the cluster distance. The calculation formula of the cluster distance is: In the formula, l a,k,(t,v)is the clustering distance between the tth pixel and the vth pixel in the kth defect area in the ath single-channel image to be analyzed; d a,k,(t,v) is the Euclidean distance between the tth pixel and the vth pixel in the kth defect area in the ath single-channel image to be analyzed; D a,k,t is the defect degree value of the t-th pixel in the k-th defect area in the a-th single-channel image to be analyzed; D a,k,v is the defect level value of the vth pixel in the kth defect area in the ath single-channel image to be analyzed; || is the absolute value function; β is the second preset constant, which is greater than 0; and norm is the normalization function. In other embodiments, Get l a,k,(t,v) , which is not limited here. In this embodiment, β is set to 1 to avoid the denominator being 0. The implementer can set the size of β according to the actual situation, which is not limited here; so far, the cluster distance between any two pixels in the defect area is obtained;
[0094] The smaller the clustering distance, the more similar the heat dissipation capabilities of the light-emitting diodes corresponding to the two pixels are, and the more likely the two pixels are in the same heat dissipation area. Therefore, this embodiment divides the defect area into heat dissipation areas based on the clustering distance according to the DBSCAN density clustering algorithm. This embodiment sets the neighborhood radius of the DBSCAN density clustering algorithm to 0.5 and the minimum number of neighborhood radii to 5. The implementer can set the neighborhood radius and the minimum number of neighborhood radii of the DBSCAN density clustering algorithm according to actual conditions, which are not limited here. Among them, the DBSCAN density clustering algorithm is a well-known technology and will not be described in detail.
[0095] At this point, each defect area is divided into heat dissipation areas.
[0096] Preferably, in a method that can be implemented in this embodiment, the method for obtaining the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image is as follows: for any heat dissipation area, the pixel point corresponding to the maximum defect degree value in the heat dissipation area is used as the target pixel point; when the target pixel point is one, the position of the target pixel point is used as the heat dissipation center of the heat dissipation area; when the target pixel point is at least two, the position corresponding to the mean of the position coordinates of all the target pixel points is used as the heat dissipation center of the heat dissipation area; the pixel point corresponding to the minimum defect degree value in the heat dissipation area is used as the reference pixel point; when the reference pixel point is one, the position of the reference pixel point is used as the minimum defect point of the heat dissipation area; when the reference pixel point is at least two, the position corresponding to the mean of the position coordinates of all the reference pixel points is used as the minimum defect point of the heat dissipation area; wherein the heat dissipation center is the position with the worst heat dissipation capacity, and the minimum defect point is the position with the best heat dissipation capacity. The direction in which the heat dissipation center of the heat dissipation area points to the minimum defect point is used as the heat dissipation direction of the heat dissipation area;
[0097] For any single-channel image of the image to be analyzed, the mean value of the defect degree value in each heat dissipation area in the single-channel image is obtained as the defect reference value of the corresponding heat dissipation area; the larger the defect reference value, the worse the heat dissipation capacity of the light-emitting diode corresponding to the pixel point in the corresponding heat dissipation area, and then the heat dissipation area corresponding to the maximum defect reference value is taken as the target area; when there is one target area, the heat dissipation center of the target area is taken as the overall heat dissipation center of the single-channel image; when there are at least two target areas, the position corresponding to the mean value of the heat dissipation center position coordinates of all target areas is taken as the overall heat dissipation center of the single-channel image; the direction corresponding to the angle corresponding to the angle corresponding to the angle between the heat dissipation direction of all heat dissipation areas in the single-channel image and the horizontal direction is taken as the overall heat dissipation direction of the single-channel image. Among them, the angle corresponding to the angle between the heat dissipation direction and the horizontal direction ranges from 0° to 360°, and the heat dissipation directions corresponding to 0° and 360° are the same.
[0098] At this point, the heat dissipation center and heat dissipation direction of each heat dissipation area, as well as the overall heat dissipation center and overall heat dissipation direction of each single-channel image are obtained.
[0099] Preferably, in one possible implementation of this embodiment, the method for obtaining the degree of current increase is as follows: Figure 3 , which shows a flow chart of a method for obtaining the degree of current increase provided by this embodiment, the method comprising the following steps:
[0100] Step S301: for any heat dissipation area, normalize the angle between the heat dissipation direction of the heat dissipation area and the overall heat dissipation direction of the single-channel image in which the heat dissipation area is located, and use the result as the first reference value of the heat dissipation area.
[0101] This embodiment uses the norm normalization function to normalize the angle between the heat dissipation direction of the heat dissipation area and the overall heat dissipation direction of the single-channel image in which it is located. The larger the first reference value, the greater the difference between the heat dissipation condition of the light-emitting diode corresponding to the pixel point in the heat dissipation area and the overall heat dissipation condition of the single-channel image in which it is located, which indirectly indicates that the heat dissipation capacity of the light-emitting diode corresponding to the pixel point in the heat dissipation area is poorer, and the greater the current level that the light-emitting diode corresponding to the pixel point in the heat dissipation area needs to increase.
[0102] Step S302: taking the Euclidean distance between the heat dissipation center of the heat dissipation area and the overall heat dissipation center of the single-channel image in which the heat dissipation area is located as a second reference value of the heat dissipation area.
[0103] The smaller the second reference value is, the closer the pixel point in the heat dissipation area is to the pixel point corresponding to the light-emitting diode with the worst heat dissipation capability, which indirectly indicates that the heat dissipation capability of the light-emitting diode corresponding to the pixel point in the heat dissipation area is worse, and the greater the current that the light-emitting diode corresponding to the pixel point in the heat dissipation area needs to increase.
[0104] Step S303: obtaining the current increase value of the heat dissipation area according to the first reference value and the second reference value of the heat dissipation area; wherein the first reference value and the current increase value are positively correlated; and the second reference value and the current increase value are negatively correlated.
[0105] It is known that the larger the first reference value is, the larger the current level of the light-emitting diode corresponding to the pixel point in the corresponding heat dissipation area needs to be increased; the smaller the second reference value is, the larger the current level of the light-emitting diode corresponding to the pixel point in the corresponding heat dissipation area needs to be increased; therefore, this embodiment obtains the current increase level value of the heat dissipation area according to the first reference value and the second reference value of the heat dissipation area; wherein the first reference value and the current increase level value are positively correlated; and the second reference value and the current increase level value are negatively correlated.
[0106] The calculation formula of the current increase value is: C a,h =norm(θ (a,h),a )×exp(-d (a,h),a );where C a,h is the current increase value of the hth heat dissipation area in the ath single-channel image to be analyzed; θ (a,h),ais the angle between the heat dissipation direction of the hth heat dissipation area in the ath single-channel image to be analyzed and the overall heat dissipation direction of the ath single-channel image; norm is the normalization function; norm(θ (a,h),a ) is the first reference value of the hth heat dissipation area in the ath single-channel image to be analyzed; d (a,h),a is the second reference value of the hth heat dissipation area in the ath single-channel image to be analyzed; exp is an exponential function with a natural constant as the base. In other embodiments, norm(θ (a,h),a )+exp(-d (a,h),a ) Get C a,h , which is not limited here.
[0107] At this point, the current increase degree value of each heat dissipation area is obtained.
[0108] Step S4: based on the degree of current increase, the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area is corrected to obtain a corrected image to be analyzed.
[0109] Specifically, it is known that the greater the value of the current increase, the more the current of the LED corresponding to the pixel point in the heat dissipation area needs to be corrected. Therefore, this embodiment corrects the current of the LED corresponding to each pixel point in the heat dissipation area based on the current increase, that is, the current of the LED corresponding to each defective pixel point in the defective area is corrected one by one, ensuring that the color of the normal LED corresponding to the defective pixel point is more accurate, avoiding the normal LED from being mistakenly identified as an abnormal LED. The image displayed by the LED display screen to be detected after the current correction is used as the corrected image to be analyzed, which is conducive to more accurate detection of abnormal LEDs in the LED display screen to be detected later.
[0110] Preferably, in one possible implementation of this embodiment, the method for obtaining the modified image to be analyzed is described in Figure 4 , which shows a flow chart of a method for obtaining a modified image to be analyzed provided in this embodiment, the method comprising the following steps:
[0111] Step S401: for any pixel in any heat dissipation area, a normalized result of adding the first abnormal value of the pixel and the current increase degree value of the heat dissipation area is used as the current correction weight of the pixel.
[0112] In order to more accurately adjust the current of the LED corresponding to each defective pixel point and avoid the LED with normal loss being mistakenly identified as an abnormal LED, this embodiment further obtains the first abnormal value of a pixel point in a certain heat dissipation area. The larger the first abnormal value, the greater the degree of defect of the LED corresponding to the pixel point, and the greater the current degree that needs to be adjusted. Therefore, for any pixel point in any heat dissipation area, this embodiment normalizes the sum of the first abnormal value of the pixel point and the current increase degree value of the heat dissipation area as the current correction weight of the pixel point. The larger the current correction weight, the greater the degree to which the current of the LED corresponding to the pixel point needs to be increased and adjusted.
[0113] Among them, the calculation formula of current correction weight is: γ a,h,g =norm(y a,h,g +C a,h );where γ a,h,g is the current correction weight of the g-th pixel in the h-th heat dissipation area in the a-th single-channel image to be analyzed; a,h,g is the first abnormal value of the g-th pixel in the h-th heat dissipation area in the a-th single-channel image to be analyzed; C a,h is the current increase value of the hth heat dissipation area in the ath single-channel image to be analyzed; norm is the normalization function.
[0114] Step S402: taking the product of the current of the light emitting diode corresponding to the pixel and the current correction weight as the current correction value of the light emitting diode corresponding to the pixel.
[0115] The current correction value is the current value that the current of the light emitting diode corresponding to the corresponding pixel point needs to increase. The larger the current correction value, the greater the brightness attenuation of the light emitting diode corresponding to the corresponding pixel point.
[0116] Step S403: the sum of the current of the light emitting diode corresponding to the pixel and the current correction value is used as the control current of the light emitting diode corresponding to the pixel.
[0117] Determine the control current of the light emitting diode corresponding to each pixel point in each heat dissipation area.
[0118] Step S404: adjusting the current of the light emitting diode corresponding to each pixel point in each heat dissipation area to the control current of the light emitting diode corresponding to the corresponding pixel point, and obtaining an adjusted image to be analyzed as a corrected image to be analyzed.
[0119] In order to avoid damage to the light-emitting diode due to excessive current, the present embodiment sets a preset maximum rated current during the process of adjusting the current of the light-emitting diode corresponding to each pixel point in each heat dissipation area. When the regulated current is greater than the preset maximum rated current, when adjusting the current of the light-emitting diode corresponding to the corresponding pixel point, only the current of the light-emitting diode corresponding to the corresponding pixel point is adjusted to the preset maximum rated current.
[0120] After adjusting the current of all pixel points in the heat dissipation area, the image displayed on the LED display screen to be inspected at this time is obtained as the corrected image to be analyzed.
[0121] It should be noted that the current of the light-emitting diode corresponding to each pixel in each single-channel image of the image to be analyzed can be obtained according to the method of obtaining the adjusted current in this embodiment, and the adjusted current of each pixel in each single-channel image of the image to be analyzed is obtained, wherein the current of the light-emitting diode corresponding to the non-defective pixel and the adjusted current are the same. In order to improve the color correction of the LED display to be detected, therefore, this embodiment only adjusts the current of the light-emitting diode corresponding to the defective pixel, wherein the pixels in the heat dissipation area are all defective pixels.
[0122] Step S5: Detect abnormal light emitting diodes in the LED display screen to be detected based on the corrected image to be analyzed.
[0123] Specifically, the corrected image to be analyzed is compared with the comparison image to determine the defective pixels in each single-channel image of the corrected image to be analyzed, and the light-emitting diodes corresponding to the defective pixels in each single-channel image of the corrected image to be analyzed are all regarded as abnormal light-emitting diodes. At this point, the abnormal light-emitting diodes in the LED display screen to be tested are accurately determined, wherein the abnormal light-emitting diodes are color-failed light-emitting diodes, and feedback is promptly given to the staff through the output device, so that the abnormal light-emitting diodes can be replaced in time to ensure the display effect of the LED display screen to be tested.
[0124] In summary, the present embodiment obtains the image to be analyzed displayed by the LED display screen to be detected; based on the distribution of channel values in each single-channel image of the image to be analyzed under the RGB three-channel, the defect degree of the pixel points in the single-channel image is obtained, and then the defect area is obtained; based on the defect degree and position of the pixel points in the defect area, the heat dissipation area is obtained; according to the distribution of the defect degree in the heat dissipation area, the degree of current increase is obtained, and the current of the light-emitting diode corresponding to the pixel point in the heat dissipation area is corrected, and then the abnormal light-emitting diode in the LED display screen to be detected is detected. The present invention corrects the current of the light-emitting diode, so that the abnormal light-emitting diode in the LED display screen to be detected is accurately obtained and replaced, thereby improving the accuracy and efficiency of color correction of the LED display screen.
[0125] Embodiment 2:
[0126] The present invention also proposes a color correction system for an LED display screen, see Figure 5 , which shows a structure diagram of a color correction system for an LED display screen provided by an embodiment of the present invention, the system includes: an image acquisition module 10, a defect area acquisition module 20, a current increase degree acquisition module 30, a corrected image acquisition module 40 and an abnormal light emitting diode acquisition module 50.
[0127] The image acquisition module 10 is used to acquire the image to be analyzed displayed by the LED display screen to be detected.
[0128] The defect area acquisition module 20 is used to obtain the defect degree of each pixel in each single-channel image based on the distribution of the channel value of each pixel in each single-channel image under the RGB three-channel of the image to be analyzed; and obtain the defect area in each single-channel image based on the defect degree.
[0129] The current increase degree acquisition module 30 is used to divide the defect area into heat dissipation areas based on the defect degree and position of the pixel points in each defect area; obtain the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image according to the distribution of the defect degree in each heat dissipation area in each single-channel image; based on the angle between the heat dissipation direction of each heat dissipation area and the overall heat dissipation direction in each single-channel image, and the distance between the heat dissipation center and the overall heat dissipation center, obtain the current increase degree of each heat dissipation area.
[0130] The corrected image to be analyzed acquisition module 40 is used to correct the current of the light emitting diode corresponding to each pixel point in the heat dissipation area based on the degree of current increase to acquire the corrected image to be analyzed.
[0131] The abnormal light emitting diode acquisition module 50 is used to detect abnormal light emitting diodes in the LED display screen to be detected based on the corrected image to be analyzed.
[0132] It should be noted that: the system provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the color correction system of an LED display screen provided in the above embodiment and the color correction method embodiment of an LED display screen belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0133] Embodiment 3:
[0134] The present invention also provides an electronic device, see Figure 6 The electronic device includes a memory 401, a processor 402, and a computer program 403 stored in the memory 401 and running on the processor 402, wherein when the processor 402 executes the computer program 403, the electronic device can execute any one of the color correction methods for the LED display screen introduced above.
[0135] In addition, the embodiment of the present application also protects a color correction device for an LED display screen, the device includes a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a color correction method for an LED display screen provided in the embodiment of the present application. The device can be a chip, a component or a module, and the chip can include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a color correction method for an LED display screen provided in the above embodiment.
[0136] Embodiment 4:
[0137] The present invention also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a color correction method for an LED display screen provided in the above-mentioned embodiment.
[0138] Embodiment 5:
[0139] The present invention also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a color correction method for an LED display screen provided in the above-mentioned embodiment.
[0140] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0141] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0142] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A color correction method for an LED display screen, characterized in that: The method comprises the following steps: Acquire the image to be analyzed displayed on the LED display screen to be detected; Based on the distribution of the channel value of each pixel in each single-channel image of the image to be analyzed under the RGB three-channel, the defect degree of each pixel in each single-channel image is obtained; based on the defect degree, the defect area in each single-channel image is obtained; Based on the defect degree and position of the pixel point in each defect area, the defect area is divided into heat dissipation areas; according to the distribution of the defect degree in each heat dissipation area in each single-channel image, the heat dissipation center and heat dissipation direction of each heat dissipation area, as well as the overall heat dissipation center and overall heat dissipation direction of each single-channel image are obtained; based on the angle between the heat dissipation direction of each heat dissipation area and the overall heat dissipation direction in each single-channel image, and the distance between the heat dissipation center and the overall heat dissipation center, the current increase degree of each heat dissipation area is obtained; Based on the degree of current increase, the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area is corrected to obtain a corrected image to be analyzed; Detect abnormal light-emitting diodes in the LED display screen to be detected based on the corrected image to be analyzed; The method for obtaining the heat dissipation area is: For any two pixels in any defect area, the cluster distance of the two pixels is obtained according to the difference between the Euclidean distance and the defect degree value of the two pixels; wherein the Euclidean distance is positively correlated with the cluster distance, and the difference between the defect degree value and the cluster distance is negatively correlated; Based on the clustering distance, the defect area is divided according to the DBSCAN density clustering algorithm to obtain the heat dissipation area; The method for obtaining the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image is: For any heat dissipation area, the pixel corresponding to the maximum defect degree value in the heat dissipation area is used as the target pixel; When there is only one target pixel, the position of the target pixel is used as the heat dissipation center of the heat dissipation area; When there are at least two target pixel points, the position corresponding to the average value of the position coordinates of all target pixel points is used as the heat dissipation center of the heat dissipation area; The pixel point corresponding to the minimum defect degree value in the heat dissipation area is used as the reference pixel point; When there is only one reference pixel, the position of the reference pixel is taken as the minimum defect point of the heat dissipation area; When there are at least two reference pixel points, the position corresponding to the average value of the position coordinates of all reference pixel points is used as the minimum defect point of the heat dissipation area; The heat dissipation center of the heat dissipation area is directed to the direction of the minimum defect point as the heat dissipation direction of the heat dissipation area; For any single-channel image, obtain the mean value of the defect degree value in each heat dissipation area in the single-channel image as the defect reference value of the corresponding heat dissipation area; The heat dissipation area corresponding to the maximum defect reference value is taken as the target area; When there is only one target area, the heat dissipation center of the target area is used as the overall heat dissipation center of the single-channel image; When there are at least two target areas, the position corresponding to the mean value of the heat dissipation center position coordinates of all target areas is taken as the overall heat dissipation center of the single-channel image; The direction corresponding to the angle obtained by accumulating the angles corresponding to the angles between the heat dissipation directions of all heat dissipation areas in the single-channel image and the horizontal direction is used as the overall heat dissipation direction of the single-channel image; The method for obtaining the degree of current increase is: For any heat dissipation area, the angle between the heat dissipation direction of the heat dissipation area and the overall heat dissipation direction of the single-channel image in which the heat dissipation area is located is normalized, and the result is used as the first reference value of the heat dissipation area; The Euclidean distance between the heat dissipation center of the heat dissipation area and the overall heat dissipation center of the single-channel image in which the heat dissipation area is located is used as a second reference value of the heat dissipation area; According to the first reference value and the second reference value of the heat dissipation area, the current increase degree value of the heat dissipation area is obtained; wherein the first reference value and the current increase degree value are positively correlated; and the second reference value and the current increase degree value are negatively correlated.
2. A color correction method for an LED display screen as claimed in claim 1, characterized in that: The method for obtaining the defect degree is: Acquire a comparison image displayed on a comparison display screen, wherein the comparison image has the same size as the image to be analyzed and the same current passes through the comparison image; For any single-channel image of the image to be analyzed, the image under the same single channel as the comparison image is used as the reference image of the single-channel image; Obtain a channel value difference between each pixel in the single-channel image and a pixel at the same position in the reference image as a first outlier value of each pixel in the single-channel image; For any pixel in the single-channel image, the difference between the first outlier value of the pixel and the average of the first outlier values of all pixels in the single-channel image is used as the second outlier value of the pixel; According to the first abnormal value and the second abnormal value of the pixel point, the defect degree value of the pixel point is obtained; wherein the first abnormal value and the second abnormal value are both positively correlated with the defect degree value.
3. A color correction method for an LED display screen as claimed in claim 1, characterized in that: The method for obtaining the defect area is: For any single-channel image to be analyzed, pixels in the single-channel image whose defect level value is greater than a preset defect level threshold are regarded as defective pixels in the single-channel image; The connected domain formed by the defective pixel points is morphologically expanded and taken as the defective area in the single-channel image.
4. A color correction method for an LED display screen as claimed in claim 2, characterized in that: The method of correcting the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area based on the degree of current increase and obtaining the corrected image to be analyzed is: For any pixel point in any heat dissipation area, a normalized result of adding the first abnormal value of the pixel point and the current increase degree value of the heat dissipation area is used as the current correction weight of the pixel point; The product of the current of the light emitting diode corresponding to the pixel point and the current correction weight is used as the current correction value of the light emitting diode corresponding to the pixel point; The sum of the current of the light emitting diode corresponding to the pixel and the current correction value is used as the regulating current of the light emitting diode corresponding to the pixel; The current of the light-emitting diode corresponding to each pixel point in each heat dissipation area is adjusted to the control current of the light-emitting diode corresponding to the corresponding pixel point, and the adjusted image to be analyzed is obtained as the corrected image to be analyzed.
5. A color correction method for an LED display screen as claimed in claim 3, characterized in that: The method for detecting abnormal light-emitting diodes in the LED display screen to be detected based on the correction of the image to be analyzed is: The light emitting diodes corresponding to the defective pixels in each single-channel image of the image to be analyzed are all regarded as abnormal light emitting diodes.
6. A color correction system for an LED display screen, characterized in that: The system comprises: An image acquisition module is used to acquire the image to be analyzed displayed on the LED display screen to be detected; The defect area acquisition module is used to obtain the defect degree of each pixel in each single-channel image based on the distribution of the channel value of each pixel in each single-channel image under the RGB three-channel of the image to be analyzed; and obtain the defect area in each single-channel image based on the defect degree; The current increase degree acquisition module is used to divide the defect area into heat dissipation areas based on the defect degree and position of the pixel points in each defect area; obtain the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image according to the distribution of the defect degree in each heat dissipation area in each single-channel image; obtain the current increase degree of each heat dissipation area based on the angle between the heat dissipation direction of each heat dissipation area and the overall heat dissipation direction in each single-channel image, and the distance between the heat dissipation center and the overall heat dissipation center; A module for acquiring a corrected image to be analyzed, used to correct the current of the light-emitting diode corresponding to each pixel point in the heat dissipation area based on the degree of current increase, and acquire a corrected image to be analyzed; An abnormal light emitting diode acquisition module is used to detect abnormal light emitting diodes in the LED display screen to be detected based on the corrected image to be analyzed; The method for obtaining the heat dissipation area is: For any two pixels in any defect area, the cluster distance of the two pixels is obtained according to the difference between the Euclidean distance and the defect degree value of the two pixels; wherein the Euclidean distance is positively correlated with the cluster distance, and the difference between the defect degree value and the cluster distance is negatively correlated; Based on the clustering distance, the defect area is divided according to the DBSCAN density clustering algorithm to obtain the heat dissipation area; The method for obtaining the heat dissipation center and heat dissipation direction of each heat dissipation area, and the overall heat dissipation center and overall heat dissipation direction of each single-channel image is: For any heat dissipation area, the pixel corresponding to the maximum defect degree value in the heat dissipation area is used as the target pixel; When there is only one target pixel, the position of the target pixel is used as the heat dissipation center of the heat dissipation area; When there are at least two target pixel points, the position corresponding to the average value of the position coordinates of all target pixel points is used as the heat dissipation center of the heat dissipation area; The pixel point corresponding to the minimum defect degree value in the heat dissipation area is used as the reference pixel point; When there is only one reference pixel, the position of the reference pixel is taken as the minimum defect point of the heat dissipation area; When there are at least two reference pixel points, the position corresponding to the average value of the position coordinates of all reference pixel points is used as the minimum defect point of the heat dissipation area; The heat dissipation center of the heat dissipation area is directed to the direction of the minimum defect point as the heat dissipation direction of the heat dissipation area; For any single-channel image, obtain the mean value of the defect degree value in each heat dissipation area in the single-channel image as the defect reference value of the corresponding heat dissipation area; The heat dissipation area corresponding to the maximum defect reference value is taken as the target area; When there is only one target area, the heat dissipation center of the target area is used as the overall heat dissipation center of the single-channel image; When there are at least two target areas, the position corresponding to the mean value of the heat dissipation center position coordinates of all target areas is taken as the overall heat dissipation center of the single-channel image; The direction corresponding to the angle obtained by accumulating the angles corresponding to the angles between the heat dissipation directions of all heat dissipation areas in the single-channel image and the horizontal direction is used as the overall heat dissipation direction of the single-channel image; The method for obtaining the degree of current increase is: For any heat dissipation area, the angle between the heat dissipation direction of the heat dissipation area and the overall heat dissipation direction of the single-channel image in which the heat dissipation area is located is normalized, and the result is used as the first reference value of the heat dissipation area; The Euclidean distance between the heat dissipation center of the heat dissipation area and the overall heat dissipation center of the single-channel image in which the heat dissipation area is located is used as a second reference value of the heat dissipation area; According to the first reference value and the second reference value of the heat dissipation area, the current increase degree value of the heat dissipation area is obtained; wherein the first reference value and the current increase degree value are positively correlated; and the second reference value and the current increase degree value are negatively correlated.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When executing the computer program, the processor implements the steps of the color correction method for an LED display screen as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Display panel brightness adjustment method and device
CN109545144A
Display device and display method
CN109887461A