CN113191988A - Brightness correction method and device, storage medium and electronic device - Google Patents

Brightness correction method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113191988A
CN113191988A CN202110603178.5A CN202110603178A CN113191988A CN 113191988 A CN113191988 A CN 113191988A CN 202110603178 A CN202110603178 A CN 202110603178A CN 113191988 A CN113191988 A CN 113191988A
Authority
CN
China
Prior art keywords
brightness
point
value
determining
points
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
CN202110603178.5A
Other languages
Chinese (zh)
Other versions
CN113191988B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110603178.5A priority Critical patent/CN113191988B/en
Publication of CN113191988A publication Critical patent/CN113191988A/en
Application granted granted Critical
Publication of CN113191988B publication Critical patent/CN113191988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G06T5/70
    • G06T5/92

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention provides a brightness correction method and device, a storage medium and an electronic device, wherein the method comprises the following steps: determining image coordinates of a lighting point in the obtained LED display screen image; determining brightness information of the lighting point based on the image coordinates; carrying out inverse transformation processing on the brightness distribution trend in the brightness information to obtain a brightness value of a bright lamp point; determining a target correction value of a bright lamp point by using the bright chromatic value; and determining a correction coefficient of the lamp points in the LED display screen based on the actual brightness value and the target correction value of the lamp points, wherein the correction coefficient is used for correcting the brightness of the lamp points in the LED display screen. According to the invention, the problem that the corrected LED display screen cannot be uniformly displayed due to the difference between the lamp point data acquired by the image and the actual lamp point data in the related technology is solved, and the effect of accurately adjusting the display of the LED display screen is achieved.

Description

Brightness correction method and device, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of image processing, in particular to a brightness correction method and device, a storage medium and an electronic device.
Background
A Light Emitting Diode (LED) display screen is a display screen for displaying various information such as characters, images, and videos by controlling a semiconductor Light Emitting Diode, and is widely used in various large-scale public places such as train stations, airports, and concerts due to its advantages of high response speed, low power consumption, high Light Emitting efficiency, and the like. However, due to the limitations of the existing process level and the variation of manufacturers, the LED devices themselves have serious differences, which causes the final LED imaging picture to have non-uniformity of brightness and chromaticity, thereby greatly affecting the visual effect. For this reason, a point-by-point correction technique arises. According to the technology, the brightness and the chromaticity information of each LED lamp on a screen are collected, a correction coefficient matrix is calculated through an algorithm, and then the brightness of each LED lamp is modulated through a PWM (pulse width modulation) technology, so that the display consistency of the display screen is obtained.
When information such as an LED is collected, due to reasons such as light point density and incident angle, the light point data obtained by an image is different from the actual light point data, and in order to solve the problem of poor correction effect caused by inaccurate collected data due to collection equipment, a camera is far away from an LED display screen in the correction process, so that the center normal of the screen is overlapped with the center normal of a photoelectric sensor as much as possible, and errors introduced by edge collection and errors introduced by collection angles are reduced. However, with the rapid development of the industry, the market has more and more demands on the display of an ultra-large screen, the requirements on the size of the screen are larger and larger, the requirements on the display effect are higher and higher, the development of the acquisition equipment is relatively slower, the price of the acquisition camera with large resolution is very high, and the acquisition camera with small resolution cannot meet the effect requirements.
In view of the above technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the invention provides a brightness correction method and device, a storage medium and an electronic device, which are used for at least solving the problem that in the related technology, the corrected LED display screen cannot display uniformly due to the fact that the lamp point data acquired by an image is different from the actual lamp point data.
According to an embodiment of the present invention, there is provided a luminance correcting method including: determining image coordinates of a lighting point in the obtained LED display screen image; determining brightness information of the lighting point based on the image coordinates; performing inverse transformation processing on the brightness distribution trend in the brightness information to obtain a brightness value of the lighting point; determining a target correction value of the bright lamp point by using the bright chromatic value; and determining a correction coefficient of the lamp point in the LED display screen based on the actual brightness value of the lamp point and the target correction value, wherein the correction coefficient is used for correcting the brightness of the lamp point in the LED display screen.
According to another embodiment of the present invention, there is provided a luminance correcting apparatus including: the first determining module is used for determining the image coordinates of the lighting points in the acquired LED display screen image; a second determining module, configured to determine brightness information of the lighting point based on the image coordinate; a first transformation module, configured to perform inverse transformation processing on the luminance distribution trend in the luminance information to obtain a luminance value of the lighting point; a third determining module, configured to determine a target correction value of the bright light point by using the bright chromatic value; and a fourth determining module, configured to determine a correction coefficient of the lamp point in the LED display screen based on the actual brightness value of the lamp point and the target correction value, where the correction coefficient is used to correct the brightness of the lamp point in the LED display screen.
In an exemplary embodiment, the apparatus further includes: the first acquisition module is used for acquiring an image of a lighting point in an LED display screen image before determining the image coordinate of the lighting point in the acquired LED display screen image; wherein, the first obtaining module includes: the first control unit is used for controlling the lamp points in the LED display screen to respectively display three primary colors; a first determining unit configured to light the lamp points according to a preset number of partitions to obtain the light-on points, wherein the light-on points are displayed in three set primary colors; and the first acquisition unit is used for acquiring an image of the lighting lamp point in the image of the LED display screen by using the camera equipment.
In an exemplary embodiment, the first determining module includes: a second determining unit configured to determine image coordinates of the lighting points in the image using the number of intervals at which the lighting points are lit, the number of lines of the lighting points in the LED display screen, and the number of columns of the lighting points in the LED display screen.
In an exemplary embodiment, the second determining module includes:
a first setting unit configured to set a detection threshold of the lighting point according to the image coordinate;
a first searching unit configured to search for the valid light point in N images within the detection threshold based on a row-column pitch between a row number of the lit light point in the LED display screen and a column number of the lit light point in the LED display screen as a search window, the valid light point indicating a lit light point in the N images, the N being a natural number greater than 1; and a third determining unit configured to determine an average value of the luminances of the effective lamp points as a luminance value of the lighting point, and obtain luminance information of the lighting point.
In an exemplary embodiment, the first transforming module includes: a fourth determining unit, configured to determine, from the luminance information, a row luminance average value of a row in which the lighting point is located and a column luminance average value of a column in which the lighting point is located; a fifth determining unit for determining the brightness distribution trend using the row brightness average value and the column brightness average value; the first smoothing unit is used for smoothing the brightness distribution trend to obtain a smooth distribution trend; a sixth determining unit configured to determine an inverse transform coefficient of the lighting point using the global luminance average value, the row luminance average value, and the column luminance average value of the LED display panel, wherein the inverse transform coefficient includes a row inverse transform coefficient and a column inverse transform coefficient of the lighting point; and a first transformation unit configured to perform pseudo-transformation processing on the smooth distribution trend by using the inverse transformation coefficient to obtain a bright chromaticity value of the bright lamp point.
In an exemplary embodiment, the third determining module includes: seventh determining means for determining a lamp point luminance value smaller than a first preset threshold value as a luminance target correction value, wherein the target correction value includes the luminance target correction value.
In an exemplary embodiment, the third determining includes: and an eighth determining unit configured to determine chromaticity coordinates calibrated by a colorimeter as a chromaticity target correction value, wherein the target correction value includes the chromaticity target correction value.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the image coordinates of the lighting points in the obtained LED display screen image are determined; determining brightness information of the lighting point based on the image coordinates; carrying out inverse transformation processing on the brightness distribution trend in the brightness information to obtain a brightness value of a bright lamp point; determining a target correction value of a bright lamp point by using the bright chromatic value; and determining a correction coefficient of the lamp points in the LED display screen based on the actual brightness value and the target correction value of the lamp points, wherein the correction coefficient is used for correcting the brightness of the lamp points in the LED display screen. The difference between the acquired lamp point data and the actual lamp point data generated by shooting of the camera equipment is quickly repaired, and the uniformity among the corrected display modules can be ensured; the determined target correction value can ensure that most of lamp points are adjusted to the same target, so that the uniformity of the corrected LED display screen is obviously improved, and the brightness loss can be reduced as much as possible. Therefore, the problem that the corrected LED display screen cannot be uniformly displayed due to the fact that the lamp point data acquired by the image is different from the actual lamp point data in the related technology can be solved, and the effect of accurately adjusting the display of the LED display screen is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart of a brightness correction method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an LED panel according to an embodiment of the present invention, which is lighted with the number of partition points N being 3;
FIG. 4 is a diagram illustrating a trend of a column luminance distribution according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a line brightness distribution trend according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the locations of red, green, and blue light points on CIE chromaticity coordinates according to an embodiment of the present invention;
FIG. 7 is an overall flow diagram according to a specific embodiment of the present invention;
fig. 8 is a block diagram of a structure of a luminance correcting apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of the method running on the mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of the brightness correction method according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of an application software and a module, such as a computer program corresponding to the brightness correction method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a brightness correction method is provided, and fig. 2 is a flowchart of a brightness correction method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, determining image coordinates of a lighting point in the obtained LED display screen image;
step S204, determining the brightness information of the lighting point based on the image coordinate;
step S206, carrying out inverse transformation processing on the brightness distribution trend in the brightness information to obtain a brightness value of a bright lamp point;
step S208, determining a target correction value of a light point by using the bright chromatic value;
step S210, determining a correction coefficient of the lamp points in the LED display screen based on the actual brightness values and the target correction values of the lamp points, wherein the correction coefficient is used for correcting the brightness of the lamp points in the LED display screen.
The execution subject of the above steps may be a terminal, but is not limited thereto.
The embodiment includes but is not limited to be applied to scenes for correcting the lighting chromaticity of the LED display screen.
According to the invention, the image coordinates of the lighting points in the obtained LED display screen image are determined; determining brightness information of the lighting point based on the image coordinates; carrying out inverse transformation processing on the brightness distribution trend in the brightness information to obtain a brightness value of a bright lamp point; determining a target correction value of a bright lamp point by using the bright chromatic value; and determining a correction coefficient of the lamp points in the LED display screen based on the actual brightness value and the target correction value of the lamp points, wherein the correction coefficient is used for correcting the brightness of the lamp points in the LED display screen. The difference between the acquired lamp point data and the actual lamp point data generated by shooting of the camera equipment is quickly repaired, and the uniformity among the corrected display modules can be ensured; the determined target correction value can ensure that most of lamp points are adjusted to the same target, so that the uniformity of the corrected LED display screen is obviously improved, and the brightness loss can be reduced as much as possible. Therefore, the problem that the corrected LED display screen cannot be uniformly displayed due to the fact that the lamp point data acquired by the image is different from the actual lamp point data in the related technology can be solved, and the effect of accurately adjusting the display of the LED display screen is achieved.
In an exemplary embodiment, before determining the image coordinates of the light-up point in the captured image of the LED display screen, the method further comprises:
s1, acquiring an image of a lighting point in the LED display screen image;
the method for acquiring the image of the lighting lamp point in the image of the LED display screen comprises the following steps:
controlling lamp points in the LED display screen to respectively display three primary colors;
lighting lamp points according to the preset number of the partition points to obtain the lamp points, wherein the lamp points are displayed according to the set three primary colors;
and acquiring an image of a lighting point in the image of the LED display screen by using the camera equipment.
In this embodiment, the LED display screen can be controlled to display red, green and blue respectively, the lamp points are lit according to the preset number N of the separated points, and all the lamp points are lit once in sequence, as shown in fig. 3, a schematic diagram that the LED screen is lit with the number N of the separated points as 3 is given, and it needs 9 times to light all the lamp points once, where the circle is the lit lamp point and the fork is the unlit lamp point.
In one exemplary embodiment, determining image coordinates of a light point in an acquired LED display screen image comprises:
and S1, determining the image coordinates of the lighting lamp points in the image by using the number of the lighting lamp points, the number of the lines of the lighting lamp points in the LED display screen and the number of the columns of the lighting lamp points in the LED display screen.
In this embodiment, the light points can be imaged clearly by adjusting the shooting device (e.g., camera) to face the LED display screen, and an image of the LED screen is shot each time the light points are turned on, taking fig. 3 as an example, the LED screen is shot to display rgb with the number N of alternate points being 3, and N × 3 images are required to be shot in total. And detecting the image coordinates of the lighting lamp points by using an image positioning method according to the known row number rownum and column number colunum of the given LED screen lamp points and the number N of the spacing points.
In one exemplary embodiment, determining brightness information of a lighting point based on image coordinates includes:
s1, setting a detection threshold value of the lighting point according to the image coordinate;
s2, searching effective light points in N images based on a row-column spacing between the row number of the lighting light points in the LED display screen and the column number of the lighting light points in the LED display screen as a search window within a detection threshold, wherein the effective light points are used for representing the lighted light points in the N images, and N is a natural number larger than 1;
s3, determining the average value of the luminances of the effective light points as the luminance value of the lighting point, and obtaining the luminance information of the lighting point.
In this embodiment, for example, a lamp point detection threshold Th (it is considered that background data is smaller than Th and LED valid data is equal to or larger than Th) is set according to the image coordinates of the lamp point, and a search is performed from left to right and from top to bottom with win as the size of a search window, and the average value of valid data in each search window is used as the brightness value of the lamp point, so as to obtain brightness information of all the lamp points. Where win can be max (drop, dcol)/2, and drop and dcol are the row and column spacing of the lighting points. And processing all the N x 3 images to acquire the brightness information of red, green and blue of all the light points.
In an exemplary embodiment, the inverse transformation processing on the luminance distribution trend in the luminance information to obtain the luminance value of the lighting point includes:
s1, determining the average brightness value of the row where the lighting point is located and the average brightness value of the column where the lighting point is located from the brightness information;
s2, determining the brightness distribution trend by using the row brightness average value and the column brightness average value;
s3, smoothing the brightness distribution trend to obtain a smooth distribution trend;
s4, determining an inverse transformation coefficient of the lighting point by using the global brightness average value, the row brightness average value and the column brightness average value of the LED display screen, wherein the inverse transformation coefficient comprises a row inverse transformation coefficient and a column inverse transformation coefficient of the lighting point;
and S5, performing quasi-transformation processing on the smooth distribution trend by using the inverse transformation coefficient to obtain the bright chromatic value of the bright lamp point.
In the present embodiment, for example, the lamp point luminance distribution trend is analyzed by counting the row luminance mean value Ra-i of each row and the column luminance mean value Ca-i of each column, where i denotes red, green, and blue. Taking a green light as an example, a global luminance average value Ma-G and a column luminance average value Ca-G are calculated, and the column luminance distribution trend is shown in the left side of fig. 4, where it can be seen that the luminance of the columns is gradually decreased from the left side to the right side, after the column luminance average value Ca-G is smoothed to some extent, the inverse transform coefficient of each column is obtained by Citr-G ═ Ma-G/Ca-G, as shown in the right side of fig. 4. And multiplying the column transformation coefficient by each light point brightness on the corresponding column to perform inverse transformation processing. On the basis of this, the line luminance average value Ra-G is calculated, the line luminance distribution trend of which is shown on the left side of fig. 5, the line luminance is gradually increased from the top to the bottom, the line luminance average value Ra-G is smoothed to a certain extent, and then the inverse transform coefficient for each line is obtained by Ritr-G ═ Ma-G/Ra-G, as shown on the right side of fig. 5. And multiplying the line transformation coefficient by the brightness of each light point on the corresponding line to perform inverse transformation processing. The red and blue lights are processed in the same way as the green lights, and will not be described in detail. Finally, the brightness chroma values of red, green and blue of all the processed lamp points are obtained.
In one exemplary embodiment, determining a target corrective value for a light point using a bright chroma value comprises:
and S1, determining the brightness value of the lamp point smaller than the first preset threshold value as a brightness target correction value, wherein the target correction value comprises a brightness target correction value.
In this embodiment, for the point-by-point brightness correction, the brightness value of less than N% of the light points may be selected as the correction target value, where N may be set to 98%, and in order to ensure that the color temperature after correction is consistent with that before correction, the target value set by rgb may use the same attenuation ratio, that is, by the formula: and (actual brightness value-correction target value)/actual brightness value, calculating the respective attenuation proportion of red, green and blue, and selecting the maximum value as the final attenuation proportion to obtain the final target value of red, green and blue, namely (1-attenuation proportion) actual brightness value.
In one exemplary embodiment, determining a target corrective value for a light point using a bright chroma value comprises:
and S1, determining the chromaticity coordinates calibrated by the colorimeter as chromaticity target correction values, wherein the target correction values comprise the chromaticity target correction values.
In this embodiment, for point-by-point chromaticity correction, RGB may be converted into CIE chromaticity coordinates by colorimeter calibration or the like, as shown in fig. 6, where 3 black dot clusters are respectively represented as positions of red, green, and blue light points on the CIE chromaticity coordinates, the adjacent white origins are respectively correction target values of the red, green, and blue light points, and a triangle (dotted line) formed by the correction target values of red, green, and blue is required to be located inside a triangle (solid line) formed by the black dot clusters.
The present invention will be described in detail with reference to the following specific examples:
in the embodiment, the problem that uniformity among display modules after correction cannot be guaranteed due to the fact that the lamp point data acquired by an image is different from actual lamp point data due to reasons such as lamp point density and incident angle in the camera shooting process is solved. As shown in fig. 7, the method comprises the following steps:
s701: the LED screen is controlled to respectively display red, green and blue, the lamp points are lightened according to a certain number N of separated points, all the lamp points are lightened one time in sequence, a schematic diagram that the LED screen is lightened by taking the number N of the separated points as 3 is given in figure 3, 9 times are needed for lightening all the lamp points one time, wherein the circle is the lightened lamp point, and the fork is the un-lightened lamp point.
S702: adjusting the camera to face the LED screen, clearly imaging the light points, and shooting an image of the LED screen with the light points turned on each time, taking the LED screen as an example in the figure 3, wherein the LED screen is shot to display red, green and blue by taking the number N of the spaced points as 3, and N x 3 images are needed to be shot in total. And detecting the image coordinates of the lighting lamp points by using an image positioning method according to the known row number rownum and column number colunum of the given LED screen lamp points and the number N of the spacing points. The lamp point positioning method is an image processing technique commonly used in the technical field of LED display screen correction, and is not described herein again.
S703: and setting a lamp point detection threshold Th (the background data is smaller than Th, and the LED effective data is larger than or equal to Th) according to the image coordinates of the lamp points, searching from left to right and from top to bottom by taking win as the size of a search window, and taking the average value of the effective data in each search window as the brightness value of the lamp points so as to acquire brightness information of all the lamp points. Where win can be max (drop, dcol)/2, and drop and dcol are the row and column spacing of the lighting points. And processing all the N x 3 images to acquire the brightness information of red, green and blue of all the light points.
S704: and analyzing the lamp point brightness distribution trend by counting the row brightness mean value Ra-i of each row and the column brightness mean value Ca-i of each column, wherein i represents red, green and blue. Taking a green light as an example, a global luminance average value Ma-G and a column luminance average value Ca-G are calculated, and the column luminance distribution trend is shown in the left side of fig. 4, where it can be seen that the luminance of the columns is gradually decreased from the left side to the right side, after the column luminance average value Ca-G is smoothed to some extent, the inverse transform coefficient of each column is obtained by Citr-G ═ Ma-G/Ca-G, as shown in the right side of fig. 4. And multiplying the column transformation coefficient by each light point brightness on the corresponding column to perform inverse transformation processing. On the basis of this, the line luminance average value Ra-G is calculated, the line luminance distribution trend is as shown in the left side of fig. 5, the luminance is gradually increased from the top to the bottom, the line luminance average value Ra-G is smoothed to some extent, and then the inverse transform coefficient for each line is obtained by Ritr-G ═ Ma-G/Ra-G, as shown in the right side of fig. 5. And multiplying the line transformation coefficient by the brightness of each light point on the corresponding line to perform inverse transformation processing. The red and blue lights are processed in the same way as the green lights, and will not be described in detail. Finally, the brightness chroma values of red, green and blue of all the processed lamp points are obtained.
S705: and setting a brightness sacrifice percentage to obtain a correction target value according to the obtained lamp lighting chromaticity value. Specifically, for the point-by-point brightness correction, the brightness value of less than N% of the lamp points may be selected as the correction target value, where N may be set to 98%, and in order to ensure that the color temperature after correction is consistent with that before correction, the target value set by rgb may use the same attenuation ratio, that is, by the formula: and (actual brightness value-correction target value)/actual brightness value, calculating the respective attenuation proportion of red, green and blue, and selecting the maximum value as the final attenuation proportion to obtain the final target value of red, green and blue, namely (1-attenuation proportion) actual brightness value. For point-by-point chromaticity correction, RGB can be converted into CIE chromaticity coordinates by colorimeter calibration and other methods, as shown in fig. 6, where 3 black dot clusters are respectively represented as positions of red, green, and blue light points on the CIE chromaticity coordinates, and the nearby white origin points are respectively correction target values of the red, green, and blue light points, and a triangle (dotted line) formed by the correction target values of red, green, and blue is required to be located inside a triangle (solid line) formed by the black dot clusters.
S706: according to the actual brightness and chromaticity values of the lamp points and the correction target values, the correction coefficients of the lamp points of the LED display module to be corrected can be calculated, which is usually a coefficient matrix. The coefficients are applied to the display unit lamp points to achieve a point-by-point brightness and chromaticity correction effect.
In summary, in the embodiment, the distribution trend of the light point data is subjected to inverse transformation through image analysis, so that the difference between the acquired light point data and the actual light point data generated by camera shooting can be automatically and quickly repaired, the uniformity and consistency between the corrected display modules are ensured, and the display unit can be randomly installed. The average value Ra-i of the line brightness of each row of the display module and the average value Ca-i of the column brightness of each column are calculated, wherein i represents red, green and blue. The distribution trend of the brightness of the equal display module can be represented by setting different grids or circular or other-shaped areas and the mean value of the brightness of the lamp points of each area. And obtaining the transformation coefficient of each row and column lamp point through the ratio of the global brightness mean value of the display module to the brightness mean value of each row and column, and multiplying the transformation coefficient by the corresponding row and column lamp point data to complete the inverse transformation operation. For the case of setting different grids or circular or other shaped areas, the transformation coefficient of the light point of each area can be obtained by the ratio of the global brightness mean of the display module to the brightness mean of each area.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a brightness correction device is further provided, and the brightness correction device is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of a structure of a luminance correcting apparatus according to an embodiment of the present invention, as shown in fig. 7, the apparatus including:
the first determining module 82 is configured to determine image coordinates of a lighting point in the acquired LED display screen image;
a second determination module 84 for determining brightness information of the lighting point based on the image coordinates;
the first transformation module 86 is configured to perform inverse transformation processing on the luminance distribution trend in the luminance information to obtain a luminance value of a light point;
a third determining module 88, configured to determine a target correction value of the bright light point by using the brightness value;
and a fourth determining module 810, configured to determine a correction coefficient of the lamp point in the LED display screen based on the actual brightness value of the lamp point and the target correction value, where the correction coefficient is used to correct the brightness of the lamp point in the LED display screen.
In an exemplary embodiment, the apparatus further includes:
the first acquisition module is used for acquiring an image of a lighting point in an LED display screen image before determining the image coordinate of the lighting point in the acquired LED display screen image;
wherein, the first obtaining module includes:
the first control unit is used for controlling the lamp points in the LED display screen to respectively display three primary colors;
a first determining unit configured to light the lamp points according to a preset number of partitions to obtain the light-on points, wherein the light-on points are displayed in three set primary colors;
and the first acquisition unit is used for acquiring an image of the lighting lamp point in the image of the LED display screen by using the camera equipment.
In an exemplary embodiment, the first determining module includes:
a second determining unit configured to determine image coordinates of the lighting points in the image using the number of intervals at which the lighting points are lit, the number of lines of the lighting points in the LED display screen, and the number of columns of the lighting points in the LED display screen.
In an exemplary embodiment, the second determining module includes:
a first setting unit configured to set a detection threshold of the lighting point according to the image coordinate;
a first searching unit configured to search for the valid light point in N images within the detection threshold based on a row-column pitch between a row number of the lit light point in the LED display screen and a column number of the lit light point in the LED display screen as a search window, the valid light point indicating a lit light point in the N images, the N being a natural number greater than 1;
and a third determining unit configured to determine an average value of the luminances of the effective lamp points as a luminance value of the lighting point, and obtain luminance information of the lighting point.
In an exemplary embodiment, the first transforming module includes:
a fourth determining unit, configured to determine, from the luminance information, a row luminance average value of a row in which the lighting point is located and a column luminance average value of a column in which the lighting point is located;
a fifth determining unit for determining the brightness distribution trend using the row brightness average value and the column brightness average value;
the first smoothing unit is used for smoothing the brightness distribution trend to obtain a smooth distribution trend;
a sixth determining unit configured to determine an inverse transform coefficient of the lighting point using the global luminance average value, the row luminance average value, and the column luminance average value of the LED display panel, wherein the inverse transform coefficient includes a row inverse transform coefficient and a column inverse transform coefficient of the lighting point;
and a first transformation unit configured to perform pseudo-transformation processing on the smooth distribution trend by using the inverse transformation coefficient to obtain a bright chromaticity value of the bright lamp point.
In an exemplary embodiment, the third determining module includes:
seventh determining means for determining a lamp point luminance value smaller than a first preset threshold value as a luminance target correction value, wherein the target correction value includes the luminance target correction value.
In an exemplary embodiment, the third determining includes:
and an eighth determining unit configured to determine chromaticity coordinates calibrated by a colorimeter as a chromaticity target correction value, wherein the target correction value includes the chromaticity target correction value.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the above steps.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, the processor may be configured to execute the above steps by a computer program.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of luminance correction, comprising:
determining image coordinates of a lighting point in the obtained LED display screen image;
determining brightness information of the lighting point based on the image coordinates;
carrying out inverse transformation processing on the brightness distribution trend in the brightness information to obtain a brightness value of the bright lamp point;
determining a target correction value of the bright lamp point by using the bright chromatic value;
and determining a correction coefficient of the lamp points in the LED display screen based on the actual brightness values of the lamp points and the target correction values, wherein the correction coefficient is used for correcting the brightness of the lamp points in the LED display screen.
2. The method of claim 1, wherein prior to determining image coordinates of a light-up point in the captured image of the light-emitting diode (LED) display screen, the method further comprises:
acquiring an image of a lighting point in the image of the LED display screen;
the acquiring of the image of the lighting point in the image of the LED display screen comprises the following steps:
controlling the lamp points in the LED display screen to respectively display three primary colors;
lighting the lamp points according to preset partition points to obtain the lamp lighting points, wherein the lamp lighting points display with the set three primary colors;
and acquiring an image of a lighting point in the image of the LED display screen by using a camera device.
3. The method of claim 1, wherein determining image coordinates of a light point in the captured image of the LED display screen comprises:
and determining the image coordinates of the lighting points in the image by using the number of the partition points for lighting the lighting points, the number of the lines of the lighting points in the LED display screen and the number of the columns of the lighting points in the LED display screen.
4. The method of claim 1, wherein determining the brightness information of the light-up point based on the image coordinates comprises:
setting a detection threshold value of the lighting point according to the image coordinate;
searching for effective light points in N images based on a row-column spacing between the number of rows of the light points in the LED display screen and the number of columns of the light points in the LED display screen as a search window within the detection threshold, wherein the effective light points are used for representing the lighted light points in the N images, and N is a natural number greater than 1;
and determining the average value of the brightness of the effective lamp points as the brightness value of the lamp lighting points to obtain the brightness information of the lamp lighting points.
5. The method of claim 1, wherein performing an inverse transformation process on the luminance distribution trend in the luminance information to obtain a luminance value of the light-emitting point comprises:
determining a row brightness average value of a row where the lighting point is located and a column brightness average value of a column where the lighting point is located from the brightness information;
determining the brightness distribution trend by using the row brightness average value and the column brightness average value;
smoothing the brightness distribution trend to obtain a smooth distribution trend;
determining an inverse transform coefficient of the lighting point by using the global brightness average value, the row brightness average value and the column brightness average value of the LED display screen, wherein the inverse transform coefficient comprises a row inverse transform coefficient and a column inverse transform coefficient of the lighting point;
and performing quasi-transformation processing on the smooth distribution trend by using the inverse transformation coefficient to obtain the bright chromatic value of the bright lamp point.
6. The method of claim 1, wherein determining the target corrective value for the light spot using the bright chroma value comprises:
and determining the brightness value of the lamp point smaller than a first preset threshold value as a brightness target correction value, wherein the target correction value comprises the brightness target correction value.
7. The method of claim 1, wherein determining the target corrective value for the light spot using the bright chroma value comprises:
and determining the chromaticity coordinate calibrated by the colorimeter as a chromaticity target correction value, wherein the target correction value comprises the chromaticity target correction value.
8. A luminance correcting apparatus, comprising:
the first determining module is used for determining the image coordinates of the lighting points in the acquired LED display screen image;
the second determining module is used for determining the brightness information of the lighting point based on the image coordinate;
the first transformation module is used for carrying out inverse transformation processing on the brightness distribution trend in the brightness information to obtain a brightness value of the lighting point;
the third determining module is used for determining a target correction value of the bright lamp point by using the bright chromatic value;
and the fourth determining module is used for determining a correction coefficient of the lamp point in the LED display screen based on the actual brightness value of the lamp point and the target correction value, wherein the correction coefficient is used for correcting the brightness of the lamp point in the LED display screen.
9. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN202110603178.5A 2021-05-31 2021-05-31 Brightness correction method and device, storage medium and electronic device Active CN113191988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110603178.5A CN113191988B (en) 2021-05-31 2021-05-31 Brightness correction method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110603178.5A CN113191988B (en) 2021-05-31 2021-05-31 Brightness correction method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113191988A true CN113191988A (en) 2021-07-30
CN113191988B CN113191988B (en) 2023-03-31

Family

ID=76985973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110603178.5A Active CN113191988B (en) 2021-05-31 2021-05-31 Brightness correction method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113191988B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245514A (en) * 2021-12-15 2022-03-25 广州中大中鸣科技有限公司 Self-adaptive color temperature adjusting method and device, electronic equipment and storage medium
CN115348696A (en) * 2022-08-12 2022-11-15 江门市可美电子有限公司 Control monitoring method and system based on LED lamp string
CN115690065A (en) * 2022-11-10 2023-02-03 佛山市青松科技股份有限公司 LED screen module consistency correction method, computer equipment and readable storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070097462A1 (en) * 2005-04-26 2007-05-03 Tatsuji Goma Luminance nonuniformity adjustment method and luminance nonuniformity adjustment module using this method
TW200816158A (en) * 2006-09-28 2008-04-01 Wistron Corp Method and apparatus of looking for new color temperature point
US20100259551A1 (en) * 2009-04-08 2010-10-14 Hon Hai Precision Industry Co., Ltd. White balance correction method
CN102053812A (en) * 2010-10-09 2011-05-11 清华大学 Multi-projector combined display feedback brightness correction method
US20110157115A1 (en) * 2008-09-19 2011-06-30 Shao yin-liang Method of correcting brightness of electronic display
CN103366655A (en) * 2012-03-28 2013-10-23 帆宣系统科技股份有限公司 Method for improving monochromatic white balance adjustment and calibration precision on basis of three primary color brightness parameters
CN103413527A (en) * 2013-08-19 2013-11-27 西安诺瓦电子科技有限公司 Image acquisition method and display method for LED display screen correction
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
CN103927980A (en) * 2014-03-10 2014-07-16 深圳市奥拓电子股份有限公司 Point-by-point correcting method and device for LED display screen
US20150109356A1 (en) * 2013-10-22 2015-04-23 Japan Display Inc. Image processing device, display device, electronic device and method for processing an image
CN104599636A (en) * 2015-02-10 2015-05-06 西安诺瓦电子科技有限公司 Brightness and chrominance correction coefficient generation device and brightness and chrominance correction method for LED (light emitting diode) display screen
CN104796683A (en) * 2014-01-22 2015-07-22 中兴通讯股份有限公司 Image color calibration method and system
CN105185314A (en) * 2015-10-13 2015-12-23 西安诺瓦电子科技有限公司 Uniformity compensation method for LED display screen
CN105528990A (en) * 2016-01-19 2016-04-27 西安诺瓦电子科技有限公司 LED display screen uniformity correction method
US20200312214A1 (en) * 2019-03-25 2020-10-01 Pegatron Corporation Method for correcting uniformity of panel
CN112669758A (en) * 2019-09-29 2021-04-16 西安诺瓦星云科技股份有限公司 Display screen correction method, device, system and computer readable storage medium
US20210233491A1 (en) * 2018-06-28 2021-07-29 Sapien Semiconductors Inc. Display device and method for controlling brightness of same

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070097462A1 (en) * 2005-04-26 2007-05-03 Tatsuji Goma Luminance nonuniformity adjustment method and luminance nonuniformity adjustment module using this method
TW200816158A (en) * 2006-09-28 2008-04-01 Wistron Corp Method and apparatus of looking for new color temperature point
US20110157115A1 (en) * 2008-09-19 2011-06-30 Shao yin-liang Method of correcting brightness of electronic display
US20100259551A1 (en) * 2009-04-08 2010-10-14 Hon Hai Precision Industry Co., Ltd. White balance correction method
CN102053812A (en) * 2010-10-09 2011-05-11 清华大学 Multi-projector combined display feedback brightness correction method
CN103366655A (en) * 2012-03-28 2013-10-23 帆宣系统科技股份有限公司 Method for improving monochromatic white balance adjustment and calibration precision on basis of three primary color brightness parameters
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
CN103413527A (en) * 2013-08-19 2013-11-27 西安诺瓦电子科技有限公司 Image acquisition method and display method for LED display screen correction
US20150109356A1 (en) * 2013-10-22 2015-04-23 Japan Display Inc. Image processing device, display device, electronic device and method for processing an image
CN104796683A (en) * 2014-01-22 2015-07-22 中兴通讯股份有限公司 Image color calibration method and system
CN103927980A (en) * 2014-03-10 2014-07-16 深圳市奥拓电子股份有限公司 Point-by-point correcting method and device for LED display screen
CN104599636A (en) * 2015-02-10 2015-05-06 西安诺瓦电子科技有限公司 Brightness and chrominance correction coefficient generation device and brightness and chrominance correction method for LED (light emitting diode) display screen
CN105185314A (en) * 2015-10-13 2015-12-23 西安诺瓦电子科技有限公司 Uniformity compensation method for LED display screen
CN105528990A (en) * 2016-01-19 2016-04-27 西安诺瓦电子科技有限公司 LED display screen uniformity correction method
US20210233491A1 (en) * 2018-06-28 2021-07-29 Sapien Semiconductors Inc. Display device and method for controlling brightness of same
US20200312214A1 (en) * 2019-03-25 2020-10-01 Pegatron Corporation Method for correcting uniformity of panel
CN112669758A (en) * 2019-09-29 2021-04-16 西安诺瓦星云科技股份有限公司 Display screen correction method, device, system and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
许向阳;陈广学;高媛;: "色温及亮度可调的四基色LED混合白光的方法研究" *
谢欢等: "基于机器视觉LED大屏亮度一致性检测与矫正", 《南京大学学报(自然科学)》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245514A (en) * 2021-12-15 2022-03-25 广州中大中鸣科技有限公司 Self-adaptive color temperature adjusting method and device, electronic equipment and storage medium
CN114245514B (en) * 2021-12-15 2022-07-08 广州中大中鸣科技有限公司 Self-adaptive color temperature adjusting method and device, electronic equipment and storage medium
CN115348696A (en) * 2022-08-12 2022-11-15 江门市可美电子有限公司 Control monitoring method and system based on LED lamp string
CN115348696B (en) * 2022-08-12 2023-03-10 江门市可美电子有限公司 Control monitoring method and system based on LED lamp string
CN115690065A (en) * 2022-11-10 2023-02-03 佛山市青松科技股份有限公司 LED screen module consistency correction method, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN113191988B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
CN113191988B (en) Brightness correction method and device, storage medium and electronic device
CN100594534C (en) Lightness data obtaining method and device for gamma correction of LED
CN103824544B (en) The bearing calibration of LED display, Apparatus and system
CN111326099B (en) Display correction method, device and system, storage medium and display system
US20150364081A1 (en) Image processing apparatus, image processing method, display device, computer program and computer-readable medium
CN112669758B (en) Display screen correction method, device, system and computer readable storage medium
CN105247607A (en) Methods and systems for measuring and correcting electronic visual displays
CN110728947B (en) LED display screen correction method, system and machine-readable storage medium
CN110322830B (en) LED screen brightness correction method and device
CN109671388B (en) Method and device for acquiring correction data
CN111145138B (en) Detection method, device and equipment for LED lamp panel and storage medium
CN113516939B (en) Brightness correction method and device, display equipment, computing equipment and storage medium
CN101923825A (en) Regional correction method for planar lighting device
CN110310596A (en) A kind of the GAMMA adjusting initial value prediction technique and system of OLED mould group
CN110660060A (en) OLED screen color mixing defect detection method, terminal equipment and computer readable medium
CN113329217B (en) Automatic white balance parameter processing method and device, and computer readable storage medium
US20220006982A1 (en) Color adjustment method, color adjustment device, electronic device and computer-readable storage medium
CN114613315A (en) Gamma curve learning method and LED display controller
CN115398521A (en) System, method and device for image processing
CN113870768B (en) Display compensation method and device
CN115035096A (en) Indicator lamp testing method and related device
CN114927086A (en) Gamma debugging method, device, equipment and storage medium for display panel
CN113223451A (en) Display unit correction method and device and electronic equipment
CN113571010B (en) Brightness and chrominance information acquisition method, device and system and computer readable storage medium
CN115035851B (en) Gamma white balance rapid adjustment method and related device

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