CN114078426B - Method for eliminating influence of camera curve on lamp point image and display screen correction method - Google Patents
Method for eliminating influence of camera curve on lamp point image and display screen correction method Download PDFInfo
- Publication number
- CN114078426B CN114078426B CN202111161964.0A CN202111161964A CN114078426B CN 114078426 B CN114078426 B CN 114078426B CN 202111161964 A CN202111161964 A CN 202111161964A CN 114078426 B CN114078426 B CN 114078426B
- Authority
- CN
- China
- Prior art keywords
- lamp point
- led lamp
- brightness
- point image
- target brightness
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control 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/30—Control 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/32—Control 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]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0693—Calibration of display systems
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention relates to the field of display screen correction, in particular to a method for eliminating the influence of a camera curve on a lamp point image and a display screen correction method, wherein the method comprises the following steps: acquiring a lamp point image; identifying the LED lamp points in the lamp point image to obtain the position coordinates and the initial brightness of each LED lamp point; obtaining a first target brightness of each LED lamp point according to a preset target brightness-position coordinate corresponding relation and the position coordinate of each LED lamp point; acquiring a first target brightness mean value; respectively calculating the ratio of the first target brightness of each LED lamp point to the first target brightness mean value to obtain the calibration value of each LED lamp point; respectively calculating the ratio of the initial brightness of each LED lamp point to the calibration value to obtain a second target brightness of each LED lamp point; and adjusting the brightness of each LED lamp point to be the second target brightness, generating a calibrated lamp point image, eliminating the influence of a camera curve on the lamp point image, and further improving the subsequent correction effect.
Description
Technical Field
The invention relates to the field of display screen correction, in particular to a method for eliminating influence of a camera curve on a lamp point image and a display screen correction method.
Background
In the prior art, when an industrial camera is used for correction processing, the problem that the edge of a screen is bright, the middle of the screen is dark, and the edge of the screen is yellow exists in a shot photometric image (a lamp point image). Therefore, a new technical solution to solve the above problems needs to be found by those skilled in the art.
Disclosure of Invention
The invention provides a method and a device for eliminating the influence of a camera curve on a lamp point image, a display screen correction method and correction equipment, and computer equipment, which are used for eliminating the influence of the camera curve on the lamp point brightness value of the lamp point image, solving the problems of bright middle and dark middle of the edge of an LED display screen and yellowing of the edge of the screen existing in the lamp point image obtained by shooting with a camera, and further improving the correction effect of a subsequent LED display screen.
The invention provides a method for eliminating the influence of a camera curve on a lamp point image, which comprises the following steps:
acquiring a lamp point image, wherein the lamp point image is an LED lamp point image of an LED display screen shot by a camera;
identifying the LED lamp points in the lamp point image to obtain the position coordinates and the initial brightness of each LED lamp point;
obtaining a first target brightness of each LED lamp point according to a preset target brightness-position coordinate corresponding relation and the position coordinate of each LED lamp point;
acquiring a first target brightness mean value according to the first target brightness of each LED lamp point;
respectively calculating the ratio of the first target brightness of each LED lamp point to the first target brightness mean value to obtain the calibration value of each LED lamp point;
respectively calculating the ratio of the initial brightness of each LED lamp point to the calibration value to obtain a second target brightness of each LED lamp point;
and adjusting the brightness of each LED lamp point in the lamp point image to be second target brightness, and generating a calibrated lamp point image.
Further, the position coordinates of each LED lamp point are expressed as (x, y), the preset target brightness-position coordinate correspondence is determined by a preset curved surface equation, and the curved surface equation expression is:
L′=(c 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 ) Where L' is the first target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 Is a preset parameter.
Further, the method further comprises:
equation expression for curved surface
L′=(c 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 ) Is simplified to obtain
L′=a 1 x 3 y 3 +a 2 x 3 y 2 +a 3 x 3 y+a 4 x 3 +a 5 x 2 y 3 +a 6 x 2 y 2 +a 7 x 2 y+a 8 x 2 +a 9 xy 3 +a 10 xy 2 +a 11 xy+a 12 x+a 13 y 3 +a 14 y 2 +a 15 y+a 16 ;
Randomly selecting a preset number of LED lamp points from the lamp point image, substituting the position coordinates and the initial brightness of the preset number of LED lamp points into a simplified expression of the corresponding relation between the preset target brightness and the position coordinates to obtain a parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 The value of (c).
Further, the initial brightness is: the pixel values at the LED light point locations in the corrected image.
The invention also provides a method for correcting the LED display screen, which comprises the following steps:
acquiring a lamp point image;
according to the method for eliminating the influence of the camera curve on the lamp point image, the lamp point image is calibrated to eliminate the influence of the camera curve on the lamp point image and generate a calibrated lamp point image;
and obtaining a correction coefficient of each LED lamp point according to the calibrated lamp point image and a preset lamp point brightness target value, and sending the correction coefficient to a receiving card of the LED display screen to correct the LED display screen.
Further, obtaining a correction coefficient for each LED lamp according to the calibrated lamp image and a preset lamp luminance target value includes:
identifying the calibrated lamp point image, and acquiring the brightness value of each LED lamp point in the calibrated lamp point image as the brightness value to be corrected;
and calculating the ratio of the lamp point brightness target value to the brightness value to be corrected of each LED lamp point to obtain the correction coefficient of each LED lamp point.
The invention also provides a device for eliminating the influence of the camera curve on the lamp point image, which comprises a lamp point image acquisition module, an LED lamp point identification module, a first target brightness acquisition module, a second brightness target acquisition module and an image calibration module, wherein:
the LED display screen comprises a lamp point image acquisition module, an LED lamp point identification module and a camera, wherein the lamp point image acquisition module is connected with the LED lamp point identification module and is used for acquiring a lamp point image, and the lamp point image is an LED lamp point image of the LED display screen shot by the camera;
the LED lamp point identification module is connected with the first target brightness acquisition module and used for identifying the LED lamp points in the lamp point image to acquire the position coordinates and the initial brightness of each LED lamp point;
the first target brightness acquisition module is connected with the second target brightness acquisition module and used for acquiring first target brightness of each LED lamp point according to a preset target brightness-position coordinate corresponding relation and the position coordinate of each LED lamp point;
the second target brightness obtaining module is connected with the image calibration module and used for obtaining a first target brightness mean value according to the first target brightness of each LED lamp point, respectively calculating the ratio of the first target brightness of each LED lamp point to the first target brightness mean value to obtain a calibration value of each LED lamp point, respectively calculating the ratio of the initial brightness of each LED lamp point to the calibration value to obtain a second target brightness of each LED lamp point;
and the image calibration module is used for adjusting the brightness of each LED lamp point in the lamp point image to be second target brightness and generating a calibrated lamp point image.
Further, the position coordinates of each LED lamp point are expressed as (x, y), the preset target brightness-position coordinate correspondence is determined by a preset curved surface equation, and the curved surface equation expression is: l' = (c) 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 ) Where L' is the first target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 For presetting parameters, the device also comprises a target brightness-position coordinate corresponding relation acquisition module, wherein:
a target brightness-position coordinate corresponding relation acquisition module connected with the first target brightness acquisition module for acquiring the expression of the curved surface equation
L′=(c 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 ) Is simplified to obtain
L′=a 1 x 3 y 3 +a 2 x 3 y 2 +a 3 x 3 y+a 4 x 3 +a 5 x 2 y 3 +a 6 x 2 y 2 +a 7 x 2 y+a 8 x 2 +a 9 xy 3 +a 10 xy 2 +a 11 xy+a 12 x+a 13 y 3 +a 14 y 2 +a 15 y+a 16 ;
Randomly selecting a preset number of LED lamp points from the lamp point image, substituting the position coordinates and the initial brightness of the preset number of LED lamp points into the simplified expression of the corresponding relation between the preset target brightness and the position coordinates to obtain a parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 To obtain a target brightness-position coordinate correspondence.
The invention also provides a LED display screen correction device, which comprises the device for eliminating the influence of the camera curve on the lamp point image and a correction coefficient generating device, wherein:
the device for eliminating the influence of the curved surface of the camera on the lamp point image is connected with the correction coefficient generating device and is used for acquiring the lamp point image, calibrating the lamp point image so as to eliminate the influence of the curved surface of the camera on the lamp point image and generating a calibrated lamp point image;
and the correction coefficient generating device is used for obtaining the correction coefficient of each LED lamp point according to the calibrated lamp point image and a preset lamp point brightness target value, and sending the correction coefficient to a receiving card of the LED display screen so as to correct the LED display screen.
The invention further provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the method steps for eliminating the influence of the camera curve on the lamp point image when executing the computer program.
The method and the device for eliminating the influence of the camera curve on the lamp point image, the display screen correction method and the display screen correction equipment and the computer equipment provided by the invention at least have the following beneficial effects:
the method and the device for eliminating the influence of the camera curve on the lamp point image can convert the brightness of each LED lamp point in the lamp point image in a curved surface state into the brightness of each LED lamp point in a planar state, thereby eliminating the influence of the camera curve on the brightness value of the lamp points of the lamp point image and solving the problems of bright middle and dark middle of the edge of an LED display screen and yellow edge of the screen in the lamp point image; the method and the device for eliminating the influence of the camera curve on the lamp point image are utilized to process the lamp point image to obtain the calibrated lamp point image, and the calibrated lamp point image is subsequently utilized to correct the LED display screen, so that the correction effect of the LED display screen can be 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 of a method for eliminating the influence of a curved surface of a camera on a lamp point image according to an embodiment of the present invention;
FIG. 2 is a schematic view of a curved surface of a camera lens;
FIG. 3 is a flowchart of a method for calibrating an LED display screen according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for eliminating the influence of camera curvature on image correction according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus for eliminating the influence of camera curvature on image correction according to another embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an LED display screen calibration apparatus according to an embodiment of the present invention;
FIG. 7 is a computer device in one embodiment of the invention;
401-lamp point image acquisition module, 402-LED lamp point identification module, 403-first target brightness acquisition module, 404-second target brightness acquisition module, 405-image calibration module, 406-target brightness-position coordinate corresponding relation acquisition module, 601-device for eliminating influence of camera curve on lamp point image, 602-correction coefficient generation device, 701-processor, 702-memory and 703-communication bus.
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.
In an embodiment of the present invention, as shown in fig. 1, a method for eliminating influence of a camera curve on a lamp point image is disclosed, specifically, the method includes the following steps:
step S101: and acquiring a lamp point image.
The lamp point images are LED lamp point images of the LED display screen shot by the camera.
Specifically, the camera is an industrial camera, and may be a CCD (Charge Coupled Device) camera or a CMOS (Complementary Metal-Oxide-Semiconductor) camera. When a camera is used for shooting, the LED display screen needs to be lightened firstly, and then a lamp point image is obtained through shooting.
Step S102: and identifying the LED lamp points in the lamp point image to obtain the position coordinates and the initial brightness of each LED lamp point.
The LED display screen is composed of a plurality of LED lamp points, and the LED lamp points are arranged in a matrix form. And scanning and identifying the LED lamp points in the lamp point image, namely identifying the position coordinates of each LED lamp point in the correction image, and acquiring the brightness value of each LED lamp point and recording the brightness value as initial brightness. Further, the position coordinates and the initial brightness of each LED lamp point can be expressed as (x, y, L), where x denotes the abscissa of the LED lamp point in the lamp point image, y denotes the ordinate of the LED lamp point on the lamp point image, and L denotes the initial brightness. Since the LED light points are arranged in a matrix form, the position coordinates of the LED light point at the mth row and nth column positions are (m, n).
Specifically, in this embodiment, the obtained initial brightness of the LED lamp point is a pixel value of the LED lamp point at a position of the lamp point image, so that when the LED lamp point is identified, the initial brightness of the LED lamp point can be obtained by obtaining a position coordinate of each LED lamp point and scanning the position coordinate to obtain the pixel value of the position coordinate.
Step S103: and obtaining the first target brightness of each LED lamp point according to the preset target brightness-position coordinate corresponding relation and the position coordinate of each LED lamp point.
In this embodiment, the preset target brightness-position coordinate correspondence is obtained by analyzing the curved surface of the camera lens in advance by a technician.
Fig. 2 is a schematic view of a curved surface of a camera lens. The X axis and the Y axis represent positions of pixel points, and the Z axis represents photoelectric conversion efficiency of the camera lens. Because the photoelectric conversion efficiency of different pixel points is different, the problems that the edge photoelectric conversion efficiency is high and the middle photoelectric conversion efficiency is low are caused, and the edge of a shot lamp point image is bright, dark and yellow.
In the embodiment of the present invention, the position coordinates of each LED lamp point are represented as (x, y), and a preset curved surface equation expression of the target brightness-position coordinate correspondence is obtained by performing analysis and simulation on fig. 2, where the expression is:
L′=(c 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 );
where L' is the first target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 Is a preset parameter.
Further, before the step S103, the method further includes the steps of:
for the curved surface equation expression:
L′=(c 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 ) Is simplified to obtain
L′=a 1 x 3 y 3 +a 2 x 3 y 2 +a 3 x 3 y+a 4 x 3 +a 5 x 2 y 3 +a 6 x 2 y 2 +a 7 x 2 y+a 8 x 2 +a 9 xy 3 +a 10 xy 2 +a 11 xy+a 12 x+a 13 y 3 +a 14 y 2 +a 15 y+a 16 ;
Wherein a is 1 =c 1 c 5 ;a 2 =c 1 c 6 ;a 3 =c 1 c 7 ;a 4 =c 1 c 8 ;a 5 =c 2 c 5 ;a 6 =c 2 c 6 ;a 7 =c 2 c 7 ;a 8 =c 2 c 8 ;a 9 =c 3 c 5 ;a 10 =c 3 c 6 ;a 11 =c 3 c 7 ;a 12 =c 3 c 8 ;a 13 =c 4 c 5 ;a 14 =c 4 c 6 ;a 15 =c 4 c 7 ;a 16 =c 4 c 8 。
Randomly selecting a preset number of LED lamp points from the lamp point image, substituting the position coordinates and the initial brightness of the preset number of LED lamp points into an expression of the simplified preset target brightness-position coordinate corresponding relation to obtain a parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 The value of (c).
In the step, the number of the randomly selected LED lamp points is determined by the number of the unknown parameters, and all the unknown parameters can be solved.
Further, the number of unknown parameters is 16 (a) 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 ) Solving for these unknown parameters requires at least 16 LED lamp points to be randomly selected from the corrected image. In calculating the parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 After the value of (2), the parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 Substituting the value of (c) into the equation:
L′=a 1 x 3 y 3 +a 2 x 3 y 2 +a 3 x 3 y+a 4 x 3 +a 5 x 2 y 3 +a 6 x 2 y 2 +a 7 x 2 y+a 8 x 2 +a 9 xy 3 +a 10 xy 2 +a 11 xy+a 12 x+a 13 y 3 +a 14 y 2 +a 15 y+a 16 and obtaining a curved surface equation (the corresponding relation of the target brightness and the position coordinate) of the known parameters.
And then substituting the position coordinates of each LED lamp point into the curved surface equation (the target brightness-position coordinate corresponding relation) with the known parameters by using the curved surface equation (the target brightness-position coordinate corresponding relation) with the known parameters, and calculating to obtain the first target brightness L' of each LED lamp point on the lamp point image.
Further, in one implementation, the first target brightness L' of each LED lamp point on the lamp point image may be expressed in a matrix form according to the position coordinates of each LED lamp point.
Step S104: acquiring a first target brightness mean value according to the first target brightness of each LED lamp point, and respectively calculating the ratio of the first target brightness of each LED lamp point to the first target brightness mean value to obtain a calibration value of each LED lamp point; and respectively calculating the ratio of the initial brightness of each LED lamp point to the calibration value to obtain a second target brightness of each LED lamp point.
Specifically, it should be understood that, according to the first target brightness of each LED lamp, the first target brightness mean value is obtained, that is, the first target brightness of all the LED lamps in the lamp image is added, and then divided by the total number of the LED lamps in the lamp image.
The first target luminance is denoted by symbol L ', and the first target luminance mean value is denoted by symbol L' Are all made of Indicating that the second target brightness is denoted by the symbol L "and the calibration value is denoted by S', then
In step S104, the brightness (initial brightness) of each LED lamp point in the curved surface state in the lamp point image can be converted into the brightness (second target brightness) of each LED lamp point in the flat surface state, where the second target brightness is the actual brightness of the LED lamp point in the LED display screen.
Similarly, the second target brightness L ″ of each LED lamp point on the lamp point image may be expressed in a matrix form according to the position coordinates of each LED lamp point.
Step S105: and adjusting the brightness of each LED lamp point in the lamp point image to be second target brightness, and generating a calibrated lamp point image.
In this embodiment, the brightness value of each LED lamp in the lamp image is adjusted to the second target brightness to generate the calibrated lamp image, and after the method for eliminating the influence of the curved surface of the camera on the lamp image is adopted, the brightness of each LED lamp in the previous curved surface state is converted into the brightness of each LED lamp in the planar state, so that the influence of the curved surface of the camera on the brightness value of the lamp in the lamp image is eliminated, the problems that the edge of an LED display screen in the lamp image is bright, dark in the middle, and the edge of the screen is yellow are solved, and the subsequent correction effect can be further ensured.
In another embodiment of the present invention, as shown in fig. 3, the present invention further provides a method for correcting an LED display screen, the method including:
step S301: acquiring a lamp point image;
step S302: according to the method for eliminating the influence of the camera curved surface on the lamp point image, the lamp point image is calibrated to eliminate the influence of the camera curved surface on the lamp point image, and a calibrated lamp point image is generated;
step S303: and obtaining a correction coefficient of each LED lamp point according to the calibrated lamp point image and a preset lamp point brightness target value, and sending the correction coefficient to a receiving card of the LED display screen to correct the LED display screen.
Specifically, in the present embodiment, the lamp point brightness target value is preset by the technician according to the actual requirement, which is not limited by the present invention.
By adopting the LED display screen correction method provided by the invention, the influence of the camera curved surface on the brightness value of the lamp points in the shot lamp point image can be eliminated, the problems of bright middle and dark middle of the edge of the LED display screen and yellow edge of the screen in the corrected image are solved, the corrected lamp point image without the influence of the camera curved surface is utilized to carry out LED display screen correction processing, and the correction effect of the LED display screen can be effectively improved.
In one implementation manner of the foregoing embodiment, obtaining the correction factor of each LED lamp according to the calibrated lamp image and the preset lamp luminance target value includes:
identifying the calibrated lamp point image, and acquiring the brightness value of each LED lamp point in the calibrated lamp point image as the brightness value to be corrected;
and calculating the ratio of the lamp point brightness target value to the brightness value to be corrected of each LED lamp point to obtain the correction coefficient of each LED lamp point.
In another embodiment of the present invention, as shown in fig. 4, there is further provided an apparatus for eliminating influence of a camera curve on a light point image, the apparatus including a light point image obtaining module 401, an LED light point identifying module 402, a first target brightness obtaining module 403, a second brightness target obtaining module 404, and an image calibrating module 405, wherein:
the light point image acquisition module 401 is connected with the LED light point identification module 402 and is configured to acquire a light point image, where the light point image is an LED light point image of an LED display screen captured by a camera;
the LED light point identification module 402 is connected to the first target brightness acquisition module 403, and is configured to identify LED light points in the light point image to obtain a position coordinate and an initial brightness of each LED light point;
a first target brightness obtaining module 403 connected to the second target brightness obtaining module 404, configured to obtain a first target brightness of each LED lamp point according to a preset target brightness-position coordinate correspondence and a position coordinate of each LED lamp point;
a second target brightness obtaining module 404, connected to the image calibration module 405, for obtaining a first target brightness mean value according to the first target brightness of each LED lamp point, calculating a ratio of the first target brightness of each LED lamp point to the first target brightness mean value, obtaining a calibration value of each LED lamp point, calculating a ratio of the initial brightness of each LED lamp point to the calibration value, and obtaining a second target brightness of each LED lamp point
And an image calibration module 405, configured to adjust the brightness of each LED light point in the light point image to a second target brightness, and generate a calibrated light point image.
The device for eliminating the influence of the camera curve on the lamp point image can convert the brightness of each LED lamp point in the lamp point image in a curved surface state into the brightness of each LED lamp point in a planar state, thereby eliminating the influence of the camera curve on the brightness value of the lamp point image and effectively solving the problems of brightness in the middle of bright edges and yellow edges of an LED display screen in the lamp point image.
Further, in another embodiment of the present invention, the position coordinates of each LED lamp point are expressed as (x, y), the preset target brightness-position coordinate correspondence is determined by a preset curved surface equation, and the expression of the curved surface equation is: l' = (c) 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 ) Where L' is the first target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 For presetting parameters, as shown in fig. 5, the apparatus further includes a target brightness-position coordinate correspondence obtaining module 406, where:
a target brightness-position coordinate corresponding relation obtaining module 406 connected to the first target brightness obtaining module 403 for obtaining the expression of the curved surface equation
L′=(c 1 x 3 +c 2 x 2 +c 3 x+c 4 )(c 5 y 3 +c 6 y 2 +c 7 y+c 8 ) Is simplified to obtain
L′=a 1 x 3 y 3 +a 2 x 3 y 2 +a 3 x 3 y+a 4 x 3 +a 5 x 2 y 3 +a 6 x 2 y 2 +a 7 x 2 y+a 8 x 2 +a 9 xy 3 +a 10 xy 2 +a 11 xy+a 12 x+a 13 y 3 +a 14 y 2 +a 15 y+a 16 ;
Randomly selecting a preset number of LED lamp points from the lamp point image, substituting the position coordinates and the initial brightness of the preset number of LED lamp points into the simplified expression of the preset target brightness-position coordinate corresponding relation to obtain a parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 To obtain a target brightness-position coordinate correspondence.
In another embodiment of the present invention, there is further provided an LED display screen correction apparatus, as shown in fig. 6, the apparatus includes the above-mentioned device 601 for eliminating the influence of the camera curve on the lamp point image and a correction coefficient generating device 602, wherein:
the device 601 for eliminating the influence of the camera curved surface on the lamp point image is connected with the correction coefficient generation device 602 and is used for acquiring the lamp point image, calibrating the lamp point image to eliminate the influence of the camera curved surface on the lamp point image and generate a calibrated lamp point image;
and the correction coefficient generating device 602 is configured to obtain a correction coefficient of each LED lamp according to the calibrated lamp image and a preset lamp luminance target value, and send the correction coefficient to a receiving card of the LED display screen to correct the LED display screen.
As shown in fig. 7, the present invention further provides a computer device 7, which comprises a processor 701 and a memory 702, wherein the processor 701 and the memory 702 are interconnected and communicate with each other via a communication bus 703 and/or other types of connection mechanisms (not shown), and the memory 702 stores a computer program executable by the processor 701, and when the computer device is running, the processor 701 executes the computer program to perform the above-mentioned method steps of eliminating the influence of the camera curvature on the corrected image.
The method and the device for eliminating the influence of the camera curve on the lamp point image can convert the brightness of each LED lamp point in the corrected image in a curved surface state into the brightness of each LED lamp point in a planar state, thereby eliminating the influence of the camera curve on the lamp point brightness value of the lamp point image, solving the problems of bright middle and dark edge and yellow edge of an LED display screen in the lamp point image.
The terms and expressions used in the specification of the present invention are for illustration only and are not meant to be limiting. The terms "first" and "second" used herein in the claims and the description of the present invention are for the purpose of convenience of distinction, have no special meaning, and are not intended to limit the present invention. It will be appreciated by those skilled in the art that changes could be made to the details of the above-described embodiments without departing from the underlying principles thereof. The scope of the invention is, therefore, indicated by the appended claims, in which all terms are intended to be interpreted in their broadest reasonable sense unless otherwise indicated.
Claims (9)
1. A method for eliminating the influence of a camera curve on a lamp point image, the method comprising:
acquiring a lamp point image, wherein the lamp point image is an LED lamp point image of an LED display screen shot by a camera;
identifying the LED lamp points in the lamp point image to obtain the position coordinates and the initial brightness of each LED lamp point;
obtaining a first target brightness of each LED lamp point according to a preset target brightness-position coordinate corresponding relation and a position coordinate of each LED lamp point, wherein the position coordinate of each LED lamp point is expressed as (x, y), the preset target brightness-position coordinate corresponding relation is determined by a preset curved surface equation, the curved surface equation is obtained by performing simulation analysis on a curved surface of a camera lens in advance, and the curved surface equation expression is as follows:
acquiring a first target brightness mean value according to the first target brightness of each LED lamp point;
respectively calculating the ratio of the first target brightness of each LED lamp point to the first target brightness mean value to obtain the calibration value of each LED lamp point;
respectively calculating the ratio of the initial brightness of each LED lamp point to the calibration value to obtain a second target brightness of each LED lamp point;
and adjusting the brightness of each LED lamp point in the lamp point image to be second target brightness, and generating a calibrated lamp point image.
2. The method of eliminating the influence of a camera curve on a lamp point image according to claim 1, further comprising:
for the expression of the curved surface equation
Randomly selecting a preset number of LED lamp points from the lamp point image, and calculating the position coordinates and the initial brightness of the preset number of LED lamp points,substituting the simplified expression of the preset target brightness-position coordinate corresponding relation to obtain a parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 The value of (c).
3. The method of claim 1, wherein the initial brightness is: pixel values at LED light point locations in the light point image.
4. A method for correcting an LED display screen is characterized by comprising the following steps:
acquiring a lamp point image;
the method for eliminating the influence of the curved surface of the camera on the lamp point image according to any one of claims 1 to 3, wherein the lamp point image is calibrated to eliminate the influence of the curved surface of the camera on the lamp point image, and a calibrated lamp point image is generated;
and obtaining a correction coefficient of each LED lamp point according to the calibrated lamp point image and a preset lamp point brightness target value, and sending the correction coefficient to a receiving card of the LED display screen so as to correct the LED display screen.
5. The method for correcting the LED display screen according to claim 4, wherein the obtaining the correction coefficient of each LED lamp according to the calibrated lamp image and the preset lamp brightness target value comprises:
identifying the calibrated lamp point image, and acquiring the brightness value of each LED lamp point in the calibrated lamp point image as a brightness value to be corrected;
and calculating the ratio of the lamp point brightness target value to the brightness value to be corrected of each LED lamp point to obtain the correction coefficient of each LED lamp point.
6. The device for eliminating the influence of the camera curve on the lamp point image is characterized by comprising a lamp point image acquisition module, an LED lamp point identification module, a first target brightness acquisition module, a second target brightness acquisition module and an image calibration module, wherein:
the lamp point image acquisition module is connected with the LED lamp point identification module and is used for acquiring a lamp point image, and the lamp point image is an LED lamp point image of an LED display screen shot by a camera;
the LED lamp point identification module is connected with the first target brightness acquisition module and is used for identifying the LED lamp points in the lamp point image to acquire the position coordinates and the initial brightness of each LED lamp point;
the first target brightness obtaining module is connected with the second target brightness obtaining module and is configured to obtain a first target brightness of each LED lamp point according to a preset target brightness-position coordinate corresponding relationship and a position coordinate of each LED lamp point, where the position coordinate of each LED lamp point is represented as (x, y), the preset target brightness-position coordinate corresponding relationship is determined by a preset curved surface equation, the curved surface equation is obtained by performing simulation analysis on a curved surface of a camera lens in advance, and the curved surface equation expression is as follows:in whichIs a first target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 Is a preset parameter;
the second target brightness obtaining module is connected with the image calibration module and used for obtaining a first target brightness mean value according to the first target brightness of each LED lamp point, respectively calculating the ratio of the first target brightness of each LED lamp point to the first target brightness mean value to obtain a calibration value of each LED lamp point, respectively calculating the ratio of the initial brightness of each LED lamp point to the calibration value to obtain a second target brightness of each LED lamp point;
the image calibration module is used for adjusting the brightness of each LED lamp point in the lamp point image to be second target brightness and generating a calibrated lamp point image.
7. The apparatus of claim 6, further comprising a target brightness-position coordinate correspondence obtaining module, wherein:
the target brightness-position coordinate corresponding relation obtaining module is connected with the first target brightness obtaining module and is used for obtaining the following curved surface equation expressions:
Randomly selecting a preset number of LED lamp points from the lamp point image, substituting the position coordinates and the initial brightness of the preset number of LED lamp points into the simplified expression of the preset target brightness-position coordinate corresponding relation to obtain a parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a 10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 To obtain a target brightness-position coordinate correspondence.
8. An LED display screen correction apparatus, characterized in that the apparatus comprises the means for eliminating the influence of camera curves on lamp point images and the correction coefficient generation means of claim 6 or 7, wherein:
the device for eliminating the influence of the camera curved surface on the lamp point image is connected with the correction coefficient generating device and used for acquiring the lamp point image and calibrating the lamp point image so as to eliminate the influence of the camera curved surface on the lamp point image and generate a calibrated lamp point image;
and the correction coefficient generating device is used for obtaining the correction coefficient of each LED lamp point according to the calibrated lamp point image and a preset lamp point brightness target value, and sending the correction coefficient to a receiving card of the LED display screen so as to correct the LED display screen.
9. A computer device comprising a memory in which a computer program is stored and a processor which, when executing the computer program, carries out the method steps of eliminating the influence of a camera curve on a lamp spot image as claimed in any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111161964.0A CN114078426B (en) | 2021-09-30 | 2021-09-30 | Method for eliminating influence of camera curve on lamp point image and display screen correction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111161964.0A CN114078426B (en) | 2021-09-30 | 2021-09-30 | Method for eliminating influence of camera curve on lamp point image and display screen correction method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114078426A CN114078426A (en) | 2022-02-22 |
CN114078426B true CN114078426B (en) | 2022-12-27 |
Family
ID=80283312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111161964.0A Active CN114078426B (en) | 2021-09-30 | 2021-09-30 | Method for eliminating influence of camera curve on lamp point image and display screen correction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114078426B (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271196B (en) * | 2008-04-24 | 2010-12-08 | 北京中星微电子有限公司 | Lens shade correction index confirming method, lens shade emendation method and device |
CN101937653A (en) * | 2010-09-27 | 2011-01-05 | 彩虹集团公司 | Method for adjusting subregion brightness consistency |
CN104464633B (en) * | 2014-12-25 | 2017-05-31 | 西安诺瓦电子科技有限公司 | The bearing calibration of LED display unit and means for correcting |
CN105528990B (en) * | 2016-01-19 | 2019-04-09 | 西安诺瓦电子科技有限公司 | LED display uniformity correcting method |
CN108074517B (en) * | 2016-11-17 | 2019-11-29 | 西安诺瓦星云科技股份有限公司 | Pointwise correction method |
KR101845266B1 (en) * | 2017-08-10 | 2018-04-05 | 주식회사 케이엘디 | Controllabe LED electronic bulletin board for high speed calibration |
CN108335664B (en) * | 2018-01-19 | 2019-11-05 | 长春希达电子技术有限公司 | The method that camera image curved surface is demarcated using two-dimentional relative movement mode |
CN112929623B (en) * | 2021-03-02 | 2022-09-23 | 卡莱特云科技股份有限公司 | Lens shadow repairing method and device applied to whole screen in correction process |
-
2021
- 2021-09-30 CN CN202111161964.0A patent/CN114078426B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114078426A (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107507558B (en) | Correction method of LED display screen | |
WO2022100242A1 (en) | Image processing method and apparatus, electronic device, and computer-readable storage medium | |
KR101941801B1 (en) | Image processing method and device for led display screen | |
US8659685B2 (en) | Method and apparatus for calibrating and correcting shading non-uniformity of camera systems | |
WO2021008052A1 (en) | Lens accuracy calibration method, apparatus and device for 3d photographic module | |
CN111083458B (en) | Brightness correction method, system, equipment and computer readable storage medium | |
CN111210764B (en) | LED screen correction method and correction device | |
CN112839216B (en) | Image color correction method and device | |
CN113593426B (en) | Module division method for LED spliced screen image and LED screen correction method | |
CN112102762A (en) | Method and device for identifying abnormal light points of LED screen | |
CN112929623B (en) | Lens shadow repairing method and device applied to whole screen in correction process | |
CN113257181B (en) | LED screen correction image acquisition method, correction method, acquisition device and correction system | |
CN113362253B (en) | Image shading correction method, system and device | |
CN114267267A (en) | Bright and dark seam repairing method, device and system for virtual pixel LED display screen | |
CN109819242A (en) | A kind of flare test method, system and readable storage medium storing program for executing | |
CN114078426B (en) | Method for eliminating influence of camera curve on lamp point image and display screen correction method | |
CN101051117B (en) | Method and device for correcting lens image non-uniformity and extracting lens parameter | |
KR20060068497A (en) | Automatic correction method and apparatus for lens shading | |
CN117156289A (en) | Color style correction method, system, electronic device, storage medium and chip | |
CN106506971A (en) | A kind of focusing method and mobile terminal | |
CN106817542B (en) | imaging method and imaging device of microlens array | |
CN112950509B (en) | Image processing method and device and electronic equipment | |
CN112785963B (en) | LED lamp bead positioning method and device and storage medium | |
CN113628228A (en) | Lens shadow correction data detection method and device | |
TWI754334B (en) | Image correction method and 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 |