CN111210764A - LED screen correction method and correction device - Google Patents

LED screen correction method and correction device Download PDF

Info

Publication number
CN111210764A
CN111210764A CN202010069155.6A CN202010069155A CN111210764A CN 111210764 A CN111210764 A CN 111210764A CN 202010069155 A CN202010069155 A CN 202010069155A CN 111210764 A CN111210764 A CN 111210764A
Authority
CN
China
Prior art keywords
lamp
points
abnormal
point
radius
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010069155.6A
Other languages
Chinese (zh)
Other versions
CN111210764B (en
Inventor
何志民
王利文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Colorlight Cloud Technology Co Ltd
Colorlight Shenzhen Cloud Technology Co Ltd
Original Assignee
Colorlight Shenzhen Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Colorlight Shenzhen Cloud Technology Co Ltd filed Critical Colorlight Shenzhen Cloud Technology Co Ltd
Priority to CN202010069155.6A priority Critical patent/CN111210764B/en
Publication of CN111210764A publication Critical patent/CN111210764A/en
Application granted granted Critical
Publication of CN111210764B publication Critical patent/CN111210764B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]

Abstract

The invention relates to the technical field of LED display screens, and particularly discloses a method and a device for correcting an LED screen, wherein the method comprises the following steps: acquiring a picture of the LED screen; marking the lamp points in the picture of the LED screen, and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points; removing the lamp points with abnormal colors according to the RGB values of the lamp points in the area; removing the lamp points with abnormal radius according to the radius of the lamp points; removing lamp points with abnormal lamp point distances according to the lamp point region and the lamp point coordinates; performing cluster analysis on the remaining lamp points in the picture of the LED screen, selecting the class closest to the number of the actual lamp points as effective lamp points, and generating a correction picture; and correcting the LED screen according to the correction picture. The LED screen correction method and the LED screen correction device provided by the invention have the advantages that the correction of the LED screen is realized, the influence of ambient light on the LED screen correction process is effectively avoided, the correction effect under the ambient light is improved, the manpower and material resources input in the correction process are reduced, and the correction quality and efficiency are improved.

Description

LED screen correction method and correction device
Technical Field
The invention relates to the technical field of LED display screens, in particular to a method and a device for correcting an LED screen.
Background
In the correction process of the LED display screen, due to the influence of ambient light, the correction effect on the LED display screen is very poor in the daytime or under the condition of turning on the lamp, even the correction cannot be realized, and the influence of the ambient light on the correction can be avoided only under the dark environment or a special correction darkroom at night. Therefore, the ambient light brings much inconvenience to the LED screen correction process, the effective correction time is too short, so that a correction engineer can only go to work at night, a large amount of manpower and material resources are wasted, and the correction quality and efficiency are seriously affected.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a method and a device for correcting an LED screen.
An LED screen correction method comprises the following steps:
acquiring a picture of the LED screen;
marking the lamp points in the picture of the LED screen, and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points;
removing the lamp points with abnormal colors according to the RGB values of the lamp points in the area;
removing the lamp points with abnormal radius according to the radius of the lamp points;
removing lamp points with abnormal lamp point distances according to the lamp point region and the lamp point coordinates;
performing cluster analysis on the remaining lamp points in the picture of the LED screen, selecting the class closest to the number of the actual lamp points as effective lamp points, and generating a correction picture;
and correcting the LED screen according to the correction picture.
Further, removing the lamp points with abnormal colors according to the RGB values of the lamp points in the region comprises the following steps:
calculating a dominant color occupation ratio of the lamp point, the dominant color occupation ratio being dominant color/(R + G + B), wherein: r, G, B are the color brightness values of red, green and blue channels respectively;
calculating the mean value of the brightness of the lamp points
Figure BDA0002376858670000021
And the mean squared difference of luminance std (x);
in the lamp points, the lamp points with the color anomaly reference value are set as color anomaly lamp points, wherein the dominant color ratio is smaller than the preset color anomaly reference value A
Figure BDA0002376858670000022
And removing the abnormal color lamp points.
Further, removing the lamp spot with abnormal radius according to the radius of the lamp spot comprises the following steps:
counting the lamp point radius of the lamp points;
calculating the mean radius of the lamp spot
Figure BDA0002376858670000023
In the lamp point, the lamp point with the radius outside the preset radius reference range is set as the radius abnormal lamp point
Figure BDA0002376858670000024
And removing the abnormal lamp points with the radius.
Further, removing the lamp points with abnormal lamp point distances according to the areas where the lamp points are located, comprising the following steps:
defining a lamp point distance as the distance between a certain lamp point and the mth lamp point closest to the lamp point, wherein m is more than or equal to 1 and less than or equal to 10;
counting the distance of the lamp points;
calculating the distance mean value of the lamp points
Figure BDA0002376858670000025
And the mean distance squared error atd (l);
in the lamp points, the distance between the lamp points and the preset distance reference range is set as the abnormal distance lamp points
Figure BDA0002376858670000026
And removing the distance abnormal lamp points.
Further, marking the lamp points in the picture of the LED screen, and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points, comprising the following steps:
carrying out binarization processing on the LED screen picture;
searching a connected domain, taking the center of the connected domain as a lamp point coordinate, taking the range of the connected domain as an area where a lamp point is located, and simultaneously determining the radius of the lamp point in the area;
and determining the RGB value of the lamp point in the area by combining the lamp point coordinates with the picture of the LED screen.
Further, the cluster analysis is carried out on the remaining lamp points in the picture of the LED screen, and the cluster analysis comprises the following steps:
extracting point spread functions of the rest lamp points;
normalizing the point spread function to a 5 x 5 matrix;
performing dimensionality reduction on the matrix, wherein the number of the main components is K;
and clustering the matrix subjected to dimensionality reduction.
The invention also provides a LED screen correction device, which comprises:
the image acquisition module is connected with the light point information acquisition module and used for acquiring pictures of the LED screen;
the lamp point information acquisition module is connected with the image acquisition module and the abnormal lamp point processing module and used for marking lamp points in the picture of the LED screen and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points;
the abnormal lamp point processing module is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing lamp points with abnormal colors, radii and lamp point distances according to the lamp point information;
the correction picture generation module is connected with the abnormal light point processing module and the LED screen correction module and used for carrying out cluster analysis on the remaining light points in the picture of the LED screen, selecting the class with the number closest to the number of the actual light points as effective light points and generating a correction picture;
and the LED screen correction module is connected with the correction picture generation module and used for correcting the LED screen according to the correction picture.
Further, the abnormal light point processing module comprises: the device comprises a color abnormal lamp point processing unit, a radius abnormal lamp point processing unit and a distance abnormal lamp point processing unit;
the abnormal color lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module, and is used for calculating the dominant color occupation ratio of the lamp points, wherein the dominant color occupation ratio is dominant color/(R + G + B), and the abnormal color lamp point processing unit comprises: r, G, B are the color brightness values of red, green and blue channels respectively; and
calculating the mean value of the brightness of the lamp points
Figure BDA0002376858670000031
And the mean squared difference of luminance std (x);
in the lamp points, the lamp points with the color anomaly reference value are set as color anomaly lamp points, wherein the dominant color ratio is smaller than the preset color anomaly reference value A
Figure BDA0002376858670000032
Removing abnormal color lamp points;
the radius abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and removes the lamp points with abnormal radius according to the radius of the lamp points;
and the distance abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the lamp points with abnormal lamp point distances according to the area where the lamp points are located and the lamp point coordinates.
Further, the abnormal light point processing module comprises: the device comprises a color abnormal lamp point processing unit, a radius abnormal lamp point processing unit and a distance abnormal lamp point processing unit;
the abnormal color lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the lamp points with abnormal colors according to the RGB values of the lamp points in the region;
the radius abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and used for counting the lamp point radius of the lamp points; and
calculating the mean radius of the lamp spot
Figure BDA0002376858670000041
In the lamp point, the lamp point with the radius outside the preset radius reference range is set as the radius abnormal lamp point
Figure BDA0002376858670000042
Removing abnormal lamp points with radius;
and the distance abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the lamp points with abnormal lamp point distances according to the area where the lamp points are located and the lamp point coordinates.
Further, the abnormal light point processing module comprises: the device comprises a color abnormal lamp point processing unit, a radius abnormal lamp point processing unit and a distance abnormal lamp point processing unit;
the abnormal color lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the lamp points with abnormal colors according to the RGB values of the lamp points in the region;
the radius abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and removes the lamp points with abnormal radius according to the radius of the lamp points;
the distance abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module, defines the lamp point distance and is the distance between a certain lamp point and the mth lamp point closest to the lamp point, and m is more than or equal to 1 and less than or equal to 10;
counting the distance of the lamp points;
calculating the distance mean value of the lamp points
Figure BDA0002376858670000043
And the distance mean square deviation std (l);
in the lamp points, the distance between the lamp points and the preset distance reference range is set as the abnormal distance lamp points
Figure BDA0002376858670000044
And removing the lamp points with abnormal distances.
The LED screen correction method and the LED screen correction device provided by the invention have the advantages that the correction of the LED screen is realized, the influence of ambient light on the LED screen correction process is effectively avoided, and the correction effect under the ambient light is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating steps of a method for calibrating an LED panel according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for calibrating an LED panel according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for calibrating an LED panel according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of a method for calibrating an LED panel according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of a method for calibrating an LED panel according to a fifth embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of a method for calibrating an LED panel according to a sixth embodiment of the present invention;
FIG. 7 is a block diagram of an LED panel calibration apparatus according to an embodiment of the present invention;
FIG. 8 is a block diagram of an LED panel calibration apparatus according to another embodiment of the present invention;
FIG. 9 is a block diagram of an LED panel calibration apparatus according to another embodiment of the present invention;
fig. 10 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The LED screen correction method provided by the embodiment of the invention comprises the following steps as shown in FIG. 1:
step S10: and acquiring a picture of the LED screen.
In the LED screen correction method provided by the embodiment of the invention, the picture of the LED screen is obtained by shooting the LED screen to be detected by a camera, and the picture of the LED screen is used as the basis for correction of the method. The acquisition mode of the picture of the LED screen can be realized by connecting the LED screen with a camera in a wired communication manner or in a wireless communication manner. The method of this embodiment does not limit the external environment when the camera shoots, and may be in a day-to-day environment, or in a night environment or a light-on environment. The method of the embodiment can be used for single-box correction of the LED screen and can also be used for whole-screen correction.
Step S20: and marking the lamp points in the picture of the LED screen, and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points.
The information of the area where the lamp point is located, the coordinates of the lamp point, the RGB value of the lamp point in the area, the radius of the lamp point and the like is collectively called lamp point information. This step marks the lamp points and determines the lamp point information of the lamp points, but some noises are also marked as the lamp points, so that the subsequent steps are performed to remove various abnormal lamp points.
Step S30: and removing the lamp points with abnormal colors according to the RGB values of the lamp points in the area.
In the step S20, some abnormal-color lamp noise exists in the marked lamp points, and in this step, the marked abnormal-color lamp points are removed according to the RGB values of the lamp points in the region of the lamp points, so as to realize the screening of the lamp points. And setting a color abnormal reference value by taking all the lamp points as screening objects, and removing the lamp points with abnormal colors according to the RGB values of the lamp points in the lamp point information. For the setting value of the color anomaly reference value, those skilled in the art can set the value accordingly by empirical values.
Step S40: and removing the lamp points with abnormal radius according to the radius of the lamp points.
For the existing lamp points, there are some lamp point noises with abnormal radius, for example, the difference between the radius of some lamp points and the radius of other lamp points is obvious, so that the lamp points belong to the lamp point noises with abnormal radius, and the noises are screened out through the value of the radius of the lamp points.
Step S50: and removing the lamp points with abnormal lamp point distances according to the area where the lamp points are located and the lamp point coordinates.
Aiming at the existing lamp points, the positions of a part of the lamp points still do not accord with the arrangement relation of the lamp points in the LED screen, so that the lamp points with abnormal lamp point distances also belong to noise, and the noise is removed. In this embodiment, it is determined whether the distance between the lamp points is abnormal by calculating or determining the area where the lamp points are located and the coordinates of the lamp points, and reference may be made to the following embodiments.
Step S60: and performing cluster analysis on the remaining lamp points in the picture of the LED screen, selecting the class closest to the actual number of the lamp points as effective lamp points, and generating a correction picture.
And screening out abnormal lamp points through the steps, wherein the rest lamp points belong to normal lamp points, clustering analysis is carried out on the rest lamp points, the class closest to the number of the actual lamp points is selected as an effective lamp point, and the effective lamp points are reserved to generate a correction picture correspondingly.
Step S70: and correcting the LED screen according to the correction picture.
According to the correction picture generated by the embodiment, the interference caused by the external environment when the camera shoots the LED screen is removed through the steps, so that the influence of ambient light on the correction of the LED screen is effectively avoided, the correction effect under the ambient light is improved, the method is suitable for the correction of the LED screen under various environments, the correction effect is ensured, the manpower and material resources input in the correction process are reduced, and the correction quality and efficiency are improved.
Specifically, as shown in fig. 2, step S20 in this embodiment specifically includes:
step S201: and carrying out binarization processing on the picture of the LED screen.
In this embodiment, an extra large threshold is selected to binarize the LED screen image, and those skilled in the art may also select other binarization processing methods, which is not limited here.
Step S202: and searching a connected domain, taking the center of the connected domain as a lamp point coordinate, taking the range of the connected domain as the area where the lamp point is located, and simultaneously determining the radius of the lamp point in the area.
The method comprises the following steps of determining two information values of a lamp point coordinate and a lamp point radius, wherein the lamp point radius is determined through the lamp point coordinate and the area where the lamp point is located.
Step S203: and determining the RGB value of the lamp point in the area by combining the lamp point coordinates with the picture of the LED screen.
The steps obtain lamp point information such as the area where the lamp point is located, the coordinates of the lamp point, the RGB value of the lamp point in the area, the radius of the lamp point and the like.
Specifically, as shown in fig. 3, in step S30 of the embodiment of the present invention, the step of removing the abnormal color light point specifically includes the following steps:
step S301: calculating a dominant color occupation ratio of the lamp point, the dominant color occupation ratio being dominant color/(R + G + B), wherein: r, G, B are the color brightness values of the three channels red, green and blue, respectively.
Step S302: calculating the mean value of the brightness of the lamp points
Figure BDA0002376858670000071
And the mean squared difference of luminance std (x).
Mean value of luminance
Figure BDA0002376858670000072
And the luminance mean square error std (x) can be calculated by the following formula:
Figure BDA0002376858670000073
Figure BDA0002376858670000074
wherein: n is the number of lamp points, xi is the brightness of the ith lamp point.
Step S303: in the lamp points, the lamp points with the color anomaly reference value are set as color anomaly lamp points, wherein the dominant color ratio is smaller than the preset color anomaly reference value A
Figure BDA0002376858670000075
The color anomaly reference value A in the embodiment of the invention is set by assuming that the ratio of dominant colors of the lamp points meets normal distribution, adopting the 3 sigma principle of the normal distribution, and selecting the coefficient before the brightness mean square deviation std (x) to be 3.
Step S304: and removing the abnormal color lamp points.
The above steps realize the removal of the abnormal color lamp points, and then the lamp point removal steps of abnormal radius of the lamp points and abnormal distance between the lamp points are carried out.
Specifically, as shown in fig. 4, the step S40 of removing the lamp point with the abnormal radius according to the radius of the lamp point specifically includes:
step S401: and counting the lamp point radius of the lamp points.
The radii of the lamp points are counted for the remaining lamp points.
Step S402: calculating the mean radius of the lamp spot
Figure BDA0002376858670000081
For the radius mean
Figure BDA0002376858670000082
The calculation method of (2) can be realized by the following formula:
Figure BDA0002376858670000083
wherein: n is the number of lamp spots and ri is the radius of the ith lamp spot.
Step S403: in the lamp point, the lamp point with the radius outside the preset radius reference range is set as the radius abnormal lamp point
Figure BDA0002376858670000084
The radius reference range selected in this implementation is
Figure BDA0002376858670000085
For empirical values obtained during multiple corrections, for
Figure BDA0002376858670000086
And "4" may also be appropriately adjusted.
Step S404: and removing the abnormal lamp points with the radius.
And according to the set radius reference range, all the lamp points with the lamp point radius outside the radius reference range are removed.
Specifically, as shown in fig. 5, the removing of the lamp points with abnormal distance according to the area where the lamp points are located in step S50 specifically includes:
step S501: defining the distance between a certain lamp point and the m-th lamp point closest to the lamp point, wherein m is more than or equal to 1 and less than or equal to 10.
The lamp point distance in this step is a distance between a certain lamp point and the mth lamp point closest to the certain lamp point, and assuming that m takes the value of 5, the lamp point distance is a distance between the certain lamp point and the 5 th lamp point away from the certain lamp point, which can be understood as a distance from the 1 st lamp point to the 6 th lamp point, and the distance between two adjacent lamp points is referred to as a unit distance (that is, in the case where m takes the value of 1), the distance between the 1 st lamp point and the 6 th lamp point is 5 unit distances. In order to reduce the error of lamp point removal as much as possible, m is selected from 4, 5, 6 and 7, and m is preferably 5 in the embodiment of the invention.
The distance between the lamp points in the embodiment of the invention can be horizontal or vertical, and the embodiment is not limited.
Step S502: and (5) counting the lamp point distance.
And (5) counting the lamp point distances according to the value of m to obtain the lamp point distances of all the lamp points.
Step S503: calculating the distance mean value of the lamp points
Figure BDA0002376858670000091
And the distance mean square deviation std (l);
for distance mean
Figure BDA0002376858670000092
And calculation of the distance mean squared error atd (l), as previously described for the luminance mean
Figure BDA0002376858670000093
And the mean square deviation of luminance std (x).
Step S504: in the lamp points, the distance between the lamp points and the preset distance reference range is set as the abnormal distance lamp points
Figure BDA0002376858670000094
The coefficient "3" before the distance mean square deviation std (l) in the distance reference range is also determined by the 3 σ principle of normal distribution, and can be adjusted by those skilled in the art according to the specific correction environment.
Step S505: and removing the distance abnormal lamp points.
And removing the lamp points with the lamp point distance outside the distance reference range according to the set distance reference range.
In the LED screen correction method of the embodiment of the present invention, the lamp points with abnormal color, abnormal radius and abnormal distance are removed in steps S30, S40 and S50, respectively. For the execution sequence of these three steps, those skilled in the art may also adjust, for example, first remove the abnormal-radius lamp point, then remove the abnormal-distance lamp point, and finally remove the abnormal-color lamp point, but it is only to adjust the sequence of the abnormal lamp point removal step, and it also falls within the protection scope of the present invention.
And after the abnormal light points are removed, further processing the LED screen picture.
Specifically, as shown in fig. 6, in step S60, the remaining light points in the LED screen picture are subjected to cluster analysis, and the class closest to the actual number of light points is selected as an effective light point to generate a corrected picture, specifically:
step S601: point spread functions of the remaining lamp points are extracted.
The point spread function (also called PSF) describes the light field distribution of the lamp points in the picture of the LED screen, in the form of a matrix, typically 12 × 12, or 17 × 17 in size. In the step, point spread functions of the rest of the lamp points are extracted.
Step S602: the point spread function is normalized to a 5 x 5 matrix.
Since the point spread function is typically a 12 x 12 or 17 x 17 matrix, this step normalizes the point spread function and normalizes the point spread function for all lamp points to a 5 x 5 matrix.
Step S603: and (5) performing dimensionality reduction on the matrix, wherein the number of the principal components is K.
The matrix in this step is a normalized point spread function, and the principal component analysis (PAC) is performed to perform the dimensionality reduction processing on the matrix, and the value of the principal component number K is set by a person skilled in the art, and K is preferably 3 in this embodiment.
Step S604: and clustering the matrix subjected to dimensionality reduction.
And after the point spread functions of the rest lamp points in the picture of the LED screen are processed in the steps, clustering analysis is carried out, and the class closest to the actual lamp point number is selected as an effective lamp point, usually the maximum class, so that a correction picture is generated. The lamp points included in the correction picture are identified as real lamp points or valid lamp points, and the proposed abnormal lamp points are interference caused by the ambient light.
The present invention also provides an LED screen calibration apparatus 100, as shown in fig. 7, including:
the image acquisition module 101 is connected with the light point information acquisition module 102 and used for acquiring pictures of the LED screen;
the light point information acquisition module 102 is connected with the image acquisition module 101 and the abnormal light point processing module 103, and is used for marking light points in the picture of the LED screen and determining the area where the light points are located, the coordinates of the light points, the RGB values of the light points in the area and the radius of the light points;
the abnormal light point processing module 103 is connected with the light point information acquisition module 102 and the correction picture generation module 104, and is used for removing light points with abnormal colors, radii and light point distances according to the light point information;
the corrected picture generation module 104 is connected with the abnormal light point processing module 103 and the LED screen correction module 105 and is used for performing cluster analysis on the remaining light points in the picture of the LED screen, selecting the class with the number closest to the number of the actual light points as effective light points and generating a corrected picture;
and the LED screen correction module 105 is connected with the correction picture generation module 104 and is used for correcting the LED screen according to the correction picture.
The LED screen correcting device of this embodiment has realized the correction of LED screen, effectively avoids the ambient light to LED screen correction process's influence, has improved the correction effect under the ambient light, and this device is applicable to the LED screen correction under various environment, can guarantee the correction effect simultaneously, reduces the manpower and materials that drop into in the correction process, improves the quality and the efficiency of correcting.
Specifically, as shown in fig. 8, in the LED screen correction device 100 according to the embodiment of the present invention, the abnormal light point processing module 103 includes: a color abnormal light point processing unit 1031, a radius abnormal light point processing unit 1032, and a distance abnormal light point processing unit 1033.
The abnormal color light point processing unit 1031 is connected to the light point information obtaining module 103 and the corrected picture generating module 104, and is configured to perform the following operations on the light points: (1) calculating a dominant color occupation ratio of the lamp point, the dominant color occupation ratio being dominant color/(R + G + B), wherein: r, G, B are the color brightness values of red, green and blue channels respectively; and (2) calculating the brightness mean value of the lamp points
Figure BDA0002376858670000101
And the mean squared difference of luminance std (x); (3) in the lamp points, the lamp points with the color anomaly reference value are set as color anomaly lamp points, wherein the dominant color ratio is smaller than the preset color anomaly reference value A
Figure BDA0002376858670000111
(4) And removing the abnormal color lamp points. In this embodiment, the processing process of the abnormal-color light point processing unit 1031 on the light points may be performed with reference to the embodiment of the LED screen correction method, which is not described herein again.
The radius abnormal light point processing unit 1032 is connected to the light point information obtaining module 102 and the correction picture generating module 104, and removes the light points with abnormal radius according to the radius of the light points.
The distance abnormal light point processing unit 1033 is connected to the light point information obtaining module 102 and the correction picture generating module 104, and removes the light points with abnormal light point distances according to the area where the light points are located and the light point coordinates.
Specifically, as shown in fig. 8, in the LED screen correction device 100 according to the embodiment of the present invention, the abnormal light point processing module 103 includes: a color abnormal light point processing unit 1031, a radius abnormal light point processing unit 1032, and a distance abnormal light point processing unit 1033.
And the abnormal-color light point processing unit 1031, connected to the light point information obtaining module 102 and the corrected picture generating module 104, removes the abnormal-color light points according to the RGB values of the light points in the region.
The radius abnormal light point processing unit 1032 is connected to the light point information obtaining module 102 and the corrected picture generating module 104, and is configured to perform the following operations on the light points: (1) counting the lamp point radius of the lamp points; and (2) calculating the radius mean value of the lamp point
Figure BDA0002376858670000112
(3) In the lamp point, the lamp point with the radius outside the preset radius reference range is set as the radius abnormal lamp point
Figure BDA0002376858670000113
(4) And removing the abnormal lamp points with the radius. In this embodiment, the processing procedure of the light point by the radius abnormal light point processing unit 1032 can be performed with reference to the foregoing embodiment of the LED screen correction method, which is not described herein again.
The distance abnormal light point processing unit 1033 is connected to the light point information obtaining module 102 and the correction picture generating module 104, and removes the light points with abnormal light point distances according to the area where the light points are located and the light point coordinates.
Specifically, as shown in fig. 8, in the LED screen correction device 100 according to the embodiment of the present invention, the abnormal light point processing module 103 includes: a color abnormal light point processing unit 1031, a radius abnormal light point processing unit 1032, and a distance abnormal light point processing unit 1033.
And the abnormal-color light point processing unit 1031, connected to the light point information obtaining module 102 and the corrected picture generating module 104, removes the abnormal-color light points according to the RGB values of the light points in the region.
The radius abnormal light point processing unit 1032 is connected to the light point information obtaining module 102 and the correction picture generating module 104, and removes the light points with abnormal radius according to the radius of the light points.
The distance abnormal light point processing unit 1033 is connected to the light point information obtaining module 102 and the corrected picture generating module 104, and is configured to perform the following processing on the light points: (1) defining a lamp point distance as the distance between a certain lamp point and the mth lamp point closest to the lamp point, wherein m is more than or equal to 1 and less than or equal to 10; counting the distance of the lamp points; (2) calculating the distance mean value of the lamp points
Figure BDA0002376858670000121
And the distance mean square deviation std (l); (3) in the lamp points, the distance between the lamp points and the preset distance reference range is set as the abnormal distance lamp points
Figure BDA0002376858670000122
Figure BDA0002376858670000123
(4) And removing the lamp points with abnormal distances. In this embodiment, the distance abnormal light point processing unit 1033 may refer to the embodiment of the LED screen correction method for processing the light point, which is not described herein again.
Specifically, as shown in fig. 9, in the LED screen correction device 100 according to the embodiment of the present invention, the abnormal light point processing module 103 includes: a color abnormal light point processing unit 1031, a radius abnormal light point processing unit 1032, and a distance abnormal light point processing unit 1033.
The abnormal color light point processing unit 1031, connected to the light point information obtaining module 102 and the abnormal radius light point processing unit 1032, is configured to perform the following operations on all light points: (1) calculating a dominant color occupation ratio of the lamp point, the dominant color occupation ratio being dominant color/(R + G + B), wherein: r, G, B color brightness of red, green and blue channelsA value; and (2) calculating the brightness mean value of the lamp points
Figure BDA0002376858670000124
And the mean squared difference of luminance std (x); (3) in the lamp points, the lamp points with the color anomaly reference value are set as color anomaly lamp points, wherein the dominant color ratio is smaller than the preset color anomaly reference value A
Figure BDA0002376858670000125
(4) And removing the abnormal color lamp points.
The radius abnormal lamp processing unit 1032 is connected to the color abnormal lamp processing unit 1031 and the distance abnormal lamp processing unit 1033, and is configured to perform the following processing on the lamp points left after being processed by the color abnormal lamp processing unit 1031: (1) counting the lamp point radius of the lamp points; and (2) calculating the radius mean value of the lamp point
Figure BDA0002376858670000126
(3) In the lamp point, the lamp point with the radius outside the preset radius reference range is set as the radius abnormal lamp point
Figure BDA0002376858670000127
(4) And removing the abnormal lamp points with the radius.
The distance abnormal light point processing unit 1033 is connected to the radius abnormal light point processing unit 1032 and the correction picture generating module 104, and is configured to perform the following processing on the remaining light points processed by the radius abnormal light point processing unit 1032: (1) defining a lamp point distance as the distance between a certain lamp point and the mth lamp point closest to the lamp point, wherein m is more than or equal to 1 and less than or equal to 10; counting the distance of the lamp points; (2) calculating the distance mean value of the lamp points
Figure BDA0002376858670000128
And the distance mean square deviation std (l); (3) in the lamp points, the distance between the lamp points and the preset distance reference range is set as the abnormal distance lamp points
Figure BDA0002376858670000129
(4) Removing distance anomaliesAnd (6) lighting the lamp.
In this embodiment, the processing of the light points by the abnormal color light point processing unit 1031, the abnormal radius light point processing unit 1032, and the abnormal distance light point processing unit 1033 may be performed with reference to the foregoing embodiment of the LED screen correction method, and details thereof are not described here.
The embodiment of the invention also provides a memory, wherein the memory is stored with computer instructions, and the computer instructions are executed by the processor to realize the LED screen correction method in the embodiment.
As shown in fig. 10, the electronic device 200 according to an embodiment of the present invention includes a memory 201 and a processor 202, where the memory 201 stores computer instructions; the processor 202 is configured to execute computer instructions to implement the LED screen correction method in the above embodiments.
Specifically, the electronic device 200 in this embodiment is a computer.
The present invention has been further described with reference to specific embodiments, but it should be understood that the detailed description should not be construed as limiting the spirit and scope of the present invention, and various modifications made to the above-described embodiments by those of ordinary skill in the art after reading this specification are within the scope of the present invention.

Claims (10)

1. An LED screen correction method is characterized by comprising the following steps:
acquiring a picture of the LED screen;
marking the lamp points in the picture of the LED screen, and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points;
removing the lamp points with abnormal colors according to the RGB values of the lamp points in the region;
removing the lamp points with abnormal radius according to the radius of the lamp points;
removing the lamp points with abnormal lamp point distances according to the lamp point region and the lamp point coordinates;
performing cluster analysis on the remaining lamp points in the picture of the LED screen, selecting the class closest to the actual number of the lamp points as effective lamp points, and generating a correction picture;
and correcting the LED screen according to the correction picture.
2. The LED panel correction method of claim 1, wherein removing the light points with abnormal color according to the RGB values of the light points in the area comprises:
calculating a dominant color occupation ratio of the lamp point, which is dominant color/(R + G + B), wherein: r, G, B are the color brightness values of red, green and blue channels respectively;
calculating the brightness mean value of the lamp point
Figure FDA0002376858660000011
And the mean squared difference of luminance std (x);
setting the lamp points with the dominant color ratio smaller than a preset color abnormal reference value A as color abnormal lamp points
Figure FDA0002376858660000012
And removing the abnormal color lamp points.
3. The LED screen correction method of claim 1,
removing the lamp points with abnormal radius according to the lamp point radius, comprising:
counting the lamp point radius of the lamp points;
calculating the radius mean value of the lamp point
Figure FDA0002376858660000013
In the lamp points, the lamp points with the radius outside a preset radius reference range are set as radius abnormal lamp points
Figure FDA0002376858660000014
And removing the abnormal lamp points with the radius.
4. The LED screen correction method of claim 1,
removing the lamp points with abnormal lamp point distance according to the area where the lamp points are located, comprising the following steps:
defining a lamp point distance as the distance between a certain lamp point and the mth lamp point closest to the lamp point, wherein m is more than or equal to 1 and less than or equal to 10;
counting the lamp point distance;
calculating the distance mean value of the lamp points
Figure FDA0002376858660000021
And the distance mean square deviation std (l);
in the lamp points, the distance between the lamp points and the preset distance reference range is set as the distance abnormal lamp points
Figure FDA0002376858660000022
And removing the distance abnormal lamp points.
5. The LED screen correction method of any one of claims 1-4, wherein marking the lamp points in the picture of the LED screen and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points comprises:
carrying out binarization processing on the LED screen picture;
searching a connected domain, taking the center of the connected domain as the coordinates of the lamp points, taking the range of the connected domain as the area where the lamp points are located, and simultaneously determining the radius of the lamp points in the area;
and determining the RGB value of the lamp points in the area by combining the lamp point coordinates with the picture of the LED screen.
6. The LED screen correction method of claim 5, wherein performing cluster analysis on remaining light points in the picture of the LED screen comprises:
extracting point spread functions of the rest lamp points;
normalizing the point spread function to a 5 x 5 matrix;
performing dimensionality reduction on the matrix, wherein the number of the main components is K;
and clustering the matrix subjected to dimensionality reduction.
7. An LED screen correcting device, comprising:
the image acquisition module is connected with the lamp point information acquisition module and used for acquiring pictures of the LED screen;
the lamp point information acquisition module is connected with the image acquisition module and the abnormal lamp point processing module and used for marking the lamp points in the picture of the LED screen and determining the area where the lamp points are located, the coordinates of the lamp points, the RGB values of the lamp points in the area and the radius of the lamp points;
the abnormal lamp point processing module is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing lamp points with abnormal colors, radii and lamp point distances according to the lamp point information;
the corrected picture generation module is connected with the abnormal light point processing module and the LED screen correction module and used for carrying out cluster analysis on the remaining light points in the picture of the LED screen, selecting the class closest to the number of the actual light points as effective light points and generating a corrected picture;
and the LED screen correction module is connected with the correction picture generation module and used for correcting the LED screen according to the correction picture.
8. The LED screen correction device of claim 7, wherein the abnormal light point processing module comprises: the device comprises a color abnormal lamp point processing unit, a radius abnormal lamp point processing unit and a distance abnormal lamp point processing unit;
the abnormal color lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module, and calculates the dominant color occupation ratio of the lamp points, wherein the dominant color occupation ratio is dominant color/(R + G + B), and the abnormal color lamp point processing unit comprises: r, G, B are the color brightness values of red, green and blue channels respectively; and
calculating the brightness mean value of the lamp point
Figure FDA0002376858660000031
And the mean squared difference of luminance std (x);
setting the lamp points with the dominant color ratio smaller than a preset color abnormal reference value A as color abnormal lamp points
Figure FDA0002376858660000032
Removing the abnormal color lamp points;
the radius abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the lamp points with abnormal radius according to the radius of the lamp points;
and the distance abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module, and removes the lamp points with abnormal lamp point distances according to the area where the lamp points are located and the lamp point coordinates.
9. The LED screen correction device of claim 7, wherein the abnormal light point processing module comprises: the device comprises a color abnormal lamp point processing unit, a radius abnormal lamp point processing unit and a distance abnormal lamp point processing unit;
the abnormal color lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the abnormal color lamp points according to the RGB values of the lamp points in the area;
the radius abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and used for counting the lamp point radius of the lamp point; and
calculating the radius mean value of the lamp point
Figure FDA0002376858660000041
In the lamp points, the lamp points with the radius outside a preset radius reference range are set as radius abnormal lamp points
Figure FDA0002376858660000042
Removing the radius abnormal lamp points;
and the distance abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module, and removes the lamp points with abnormal lamp point distances according to the area where the lamp points are located and the lamp point coordinates.
10. The LED screen correction device of claim 7, wherein the abnormal light point processing module comprises: the device comprises a color abnormal lamp point processing unit, a radius abnormal lamp point processing unit and a distance abnormal lamp point processing unit;
the abnormal color lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the abnormal color lamp points according to the RGB values of the lamp points in the area;
the radius abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module and is used for removing the lamp points with abnormal radius according to the radius of the lamp points;
the distance abnormal lamp point processing unit is connected with the lamp point information acquisition module and the correction picture generation module, defines the lamp point distance as the distance between a certain lamp point and the mth lamp point closest to the lamp point, and m is more than or equal to 1 and less than or equal to 10;
counting the lamp point distance;
calculating the distance mean value of the lamp points
Figure FDA0002376858660000043
And the distance mean square deviation std (l);
in the lamp points, the distance between the lamp points and the preset distance reference range is set as the distance abnormal lamp points
Figure FDA0002376858660000044
And removing the lamp points with abnormal distances.
CN202010069155.6A 2020-01-21 2020-01-21 LED screen correction method and correction device Expired - Fee Related CN111210764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010069155.6A CN111210764B (en) 2020-01-21 2020-01-21 LED screen correction method and correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010069155.6A CN111210764B (en) 2020-01-21 2020-01-21 LED screen correction method and correction device

Publications (2)

Publication Number Publication Date
CN111210764A true CN111210764A (en) 2020-05-29
CN111210764B CN111210764B (en) 2021-01-12

Family

ID=70789872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010069155.6A Expired - Fee Related CN111210764B (en) 2020-01-21 2020-01-21 LED screen correction method and correction device

Country Status (1)

Country Link
CN (1) CN111210764B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112102762A (en) * 2020-09-30 2020-12-18 卡莱特(深圳)云科技有限公司 Method and device for identifying abnormal light points of LED screen
CN112712567A (en) * 2020-12-15 2021-04-27 朱波 Luminous color real-time identification system and method
CN112884681A (en) * 2021-04-28 2021-06-01 卡莱特云科技股份有限公司 Image shadow processing method and device, computer equipment and storage medium
CN114023249A (en) * 2021-10-29 2022-02-08 卡莱特云科技股份有限公司 LED display screen image light point extraction method and device and LED display screen correction method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997631A (en) * 2014-06-09 2014-08-20 广东威创视讯科技股份有限公司 Method and system for extracting position contour of LEDs dot by dot based on camera shooting
US20140240375A1 (en) * 2013-02-28 2014-08-28 Dong Bang Data Technology Co., Ltd. System and method for controlling smart led display board capable of compensating for luminance of led
CN104200775A (en) * 2014-09-22 2014-12-10 西安电子科技大学 LED defective pixel treatment method
CN104900178A (en) * 2015-06-18 2015-09-09 西安诺瓦电子科技有限公司 Method for detecting images with brightness abnormality and LED display screen uniformity correction method
CN105185302A (en) * 2015-08-28 2015-12-23 西安诺瓦电子科技有限公司 Correction method for light point position deviation among monochromatic images and application thereof
CN105390092A (en) * 2015-12-09 2016-03-09 西安诺瓦电子科技有限公司 LED display screen image processing method, device and application thereof
CN105430367A (en) * 2015-12-30 2016-03-23 浙江宇视科技有限公司 Automatic white balance method and device
CN107507558A (en) * 2017-06-27 2017-12-22 深圳市灵星雨科技开发有限公司 A kind of bearing calibration of LED display

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140240375A1 (en) * 2013-02-28 2014-08-28 Dong Bang Data Technology Co., Ltd. System and method for controlling smart led display board capable of compensating for luminance of led
CN103997631A (en) * 2014-06-09 2014-08-20 广东威创视讯科技股份有限公司 Method and system for extracting position contour of LEDs dot by dot based on camera shooting
CN104200775A (en) * 2014-09-22 2014-12-10 西安电子科技大学 LED defective pixel treatment method
CN104900178A (en) * 2015-06-18 2015-09-09 西安诺瓦电子科技有限公司 Method for detecting images with brightness abnormality and LED display screen uniformity correction method
CN105185302A (en) * 2015-08-28 2015-12-23 西安诺瓦电子科技有限公司 Correction method for light point position deviation among monochromatic images and application thereof
CN105390092A (en) * 2015-12-09 2016-03-09 西安诺瓦电子科技有限公司 LED display screen image processing method, device and application thereof
CN105430367A (en) * 2015-12-30 2016-03-23 浙江宇视科技有限公司 Automatic white balance method and device
CN107507558A (en) * 2017-06-27 2017-12-22 深圳市灵星雨科技开发有限公司 A kind of bearing calibration of LED display

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112102762A (en) * 2020-09-30 2020-12-18 卡莱特(深圳)云科技有限公司 Method and device for identifying abnormal light points of LED screen
CN112712567A (en) * 2020-12-15 2021-04-27 朱波 Luminous color real-time identification system and method
CN112712567B (en) * 2020-12-15 2022-12-09 武汉筑梦科技有限公司 Luminous color real-time identification system and method
CN112884681A (en) * 2021-04-28 2021-06-01 卡莱特云科技股份有限公司 Image shadow processing method and device, computer equipment and storage medium
CN114023249A (en) * 2021-10-29 2022-02-08 卡莱特云科技股份有限公司 LED display screen image light point extraction method and device and LED display screen correction method

Also Published As

Publication number Publication date
CN111210764B (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN111210764B (en) LED screen correction method and correction device
US8164649B2 (en) White balance adjusting device, imaging apparatus, and recording medium storing white balance adjusting program
CN107507558B (en) Correction method of LED display screen
KR100791375B1 (en) Apparatus and method for color correction
US8194978B2 (en) Method of and apparatus for detecting and adjusting colour values of skin tone pixels
CN103297789B (en) White balance correcting method and white balance correcting device
WO2019041842A1 (en) Image processing method and device, storage medium and computer device
JP2005108208A (en) Image quality correcting device and image quality correction method
CN113516939B (en) Brightness correction method and device, display equipment, computing equipment and storage medium
CN112218065B (en) Image white balance method, system, terminal device and storage medium
WO2019227761A1 (en) Method, device and apparatus for correcting color convergence error
CN109819242B (en) Flare testing method and system and readable storage medium
CN113257182B (en) Lamp point position correction method and device in LED display screen correction process
CN107094219A (en) Image processing apparatus and image processing method
KR101854432B1 (en) Method and apparatus for detecting and compensating back light frame
US9516286B2 (en) Color correction devices and methods
CN114757853B (en) Method and system for acquiring flat field correction function and flat field correction method and system
KR20110017274A (en) Method for correcting image
CN112950509B (en) Image processing method and device and electronic equipment
CN114902659B (en) Image processing apparatus and image processing method
KR20100085338A (en) Image quality enhancement method using histogram equalization by parity probability segmentation
US11355083B2 (en) Correction device, display device, method of performing correction for display device, and method of manufacturing display device
CN114078426B (en) Method for eliminating influence of camera curve on lamp point image and display screen correction method
CN112767472B (en) Method for positioning lamp beads in display screen image, computing equipment and storage medium
US11514580B2 (en) Image processing circuit and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518000 101, integrated circuit Industrial Park, 1089 chaguang Road, Xili street, Shenzhen City, Guangdong Province

Patentee after: Carlette (Shenzhen) cloud Technology Co.,Ltd.

Address before: 518000 101, integrated circuit Industrial Park, 1089 chaguang Road, Xili street, Shenzhen City, Guangdong Province

Patentee before: COLORLIGHT (SHENZHEN) CLOUD TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP03 Change of name, title or address

Address after: 518000 room 3801, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (37-39 floors)

Patentee after: Carlette cloud Technology Co.,Ltd.

Address before: 518000 101, integrated circuit Industrial Park, 1089 chaguang Road, Xili street, Shenzhen City, Guangdong Province

Patentee before: Carlette (Shenzhen) cloud Technology Co.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210112

CF01 Termination of patent right due to non-payment of annual fee