Method for eliminating the influence of camera curved surface in light point image and display screen correction method

By identifying and adjusting the brightness value of the LED light point, the camera curve's impact on the light point image is eliminated, the problem of brightness and darkness in the edge of the screen is solved, and the correction effect of the LED display is improved.

CN114078116BActive Publication Date: 2024-12-03SHENZHEN LIDING PHOTOELECTRIC TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111165396.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-12-03
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

In the prior art, the light spot image taken by an industrial camera has problems such as the edge of the screen is bright and the middle is dark and the edge of the screen is yellow. This is mainly due to the different light passing through the camera lens, which affects the correction effect of the LED display screen.

Method used

By acquiring the light point image, identifying the position coordinates and initial brightness of the LED light point, generating a calibration light light matrix, calculating the target brightness difference value, and performing secondary calibration processing, adjusting the light light value to eliminate the camera curved light The influence of the point image is generated to generate the target calibration lamp lighting matrix.

Benefits of technology

It effectively eliminates the influence of the camera curve on the light point image, solves the problem that the edge of the LED display screen is bright and dark in the middle, and the edge of the screen is yellow, and improves the correction effect of the LED display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114078116B_ABST
    Figure CN114078116B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of display screen calibration, and in particular to a method for eliminating the influence of camera curved surface in a light point image and a display screen calibration method, comprising: obtaining a light point image; obtaining the position coordinates, initial brightness and first target brightness of each LED light point, generating a calibration light point brightness matrix; adding the difference between the first target brightness and the initial brightness of each LED light point, recorded as sum(0); judging whether sum(0) is less than a first preset threshold value, if so, terminating the calibration, using the calibration light point brightness matrix as the target calibration light point brightness matrix, otherwise, performing secondary calibration on the calibration light point brightness matrix, and using the calibration light point brightness matrix after secondary calibration as the target calibration light point brightness matrix. The method provided by the present invention can eliminate the influence of the camera curved surface on the light point image, and use the calibrated target calibration light point brightness matrix to perform display screen calibration, thereby improving the calibration effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display screen correction, and in particular to a method for eliminating the influence of camera curved surface in a light point image and a display screen correction method. Background Art

[0002] In the prior art, when an industrial camera is used for calibration processing, the photometric image (light point image) taken is as follows: Figure 1 As shown in the figure, there is a problem that the edges of the screen are bright and the middle is dark, and the edges of the screen are yellow. The specific reason is that the camera lens is a curved surface. During the shooting process, the optical effect of light passing through the lens is different, and there are problems such as the viewing angle of the LED lamp (each lamp has different brightness at different viewing angles). Therefore, the obtained light metering image (light point image) directly affects the correction effect of the LED display screen during the subsequent correction process. Therefore, those skilled in the art are in urgent need of finding a new technical solution to solve the above problems. Summary of the invention

[0003] The present invention provides a method and device for eliminating the influence of camera curved surface in light point image, a display screen correction method and correction equipment, and a computer device, so as to eliminate the influence of camera curved surface on the light point brightness value of light point image, solve the problem that the LED display screen is bright at the edge and dark in the middle, and the screen edge is yellow in the light point image obtained by camera shooting, thereby improving the subsequent correction effect of LED display screen.

[0004] The present invention provides a method for eliminating the influence of camera curved surface in a light point image, the method comprising:

[0005] Acquire a light point image, where the light point image is an LED light point image of the LED display screen captured by a camera;

[0006] Identify the LED light points in the light point image and obtain the position coordinates and initial brightness of each LED light point;

[0007] According to the preset first target brightness-position coordinate correspondence relationship and the position coordinates of each LED light point, the first target brightness of each LED light point is obtained, and the calibration light point brightness matrix is ​​generated according to the first target brightness and position coordinates of each LED light point;

[0008] Calculate the difference between the first target brightness and the initial brightness of each LED light point, and record it as the target brightness difference of each LED light point;

[0009] Add the difference between the first target brightness and the initial brightness of each LED light point, denoted as sum(0);

[0010] Determine whether sum(0) is less than the first preset threshold value. If so, end the calibration and use the calibration light point brightness matrix as the target calibration light point brightness matrix to eliminate the influence of the camera surface. Otherwise, perform a secondary calibration on the calibration light point brightness matrix and use the calibration light point brightness matrix obtained after the secondary calibration as the target calibration light point brightness matrix to eliminate the influence of the camera surface.

[0011] Furthermore, the LED display screen is a COB display screen, and the light point image is composed of multiple block areas, each of which contains an equal number of LED light points. The secondary calibration process includes:

[0012] A block area is selected from multiple block areas as the nth target block area, and an LED light point is randomly selected from the nth target block area as the light point to be calibrated, and the initial value of n is 1;

[0013] Perform random number processing on the initial brightness of the light point to be calibrated to obtain a second target brightness of the light point to be calibrated, and adjust the brightness value of the light point to be calibrated in the calibration light point brightness matrix to the second target brightness;

[0014] Obtaining a third target brightness of the light point to be calibrated according to the position coordinates of the light point to be calibrated and a preset second target brightness-position coordinate correspondence relationship corresponding to the light point to be calibrated;

[0015] Adjusting the target brightness difference of the light point to be calibrated to the difference between the third target brightness and the second target brightness of the light point to be calibrated;

[0016] Add the target brightness difference of each LED light point in the light point image, denoted as sum(i), where the initial value of i is 1;

[0017] Determine whether i is equal to the second preset threshold or sum(i) is less than the first preset threshold. If so, end the secondary calibration process, obtain the calibration lamp brightness matrix after the secondary calibration process, and use the calibration lamp brightness matrix after the secondary calibration process as the target calibration lamp brightness matrix;

[0018] Otherwise, determine whether sum(i) is less than sum(i-1). If so, set n=n+1, i=i+1. Otherwise, set n=n+2, i=i+1. Select a block area from multiple block areas as the nth target block area and repeat the secondary calibration process.

[0019] Furthermore, the position coordinates of each LED light point are expressed as (x, y), and the method further includes:

[0020] The preset first target brightness-position coordinate correspondence relationship and the preset second target brightness-position coordinate correspondence relationship corresponding to each light point to be calibrated are determined according to the preset surface equation. The expression of the surface equation is:

[0021] 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 target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 are preset parameters.

[0022] Further, selecting a block region from the plurality of block regions as the nth target block region includes:

[0023] Randomly select any block area from multiple block areas as the nth target block area;

[0024] Alternatively, a block region is selected from a plurality of block regions according to a preset order as the nth target block region.

[0025] Furthermore, the initial brightness is: the pixel value at the LED light point position in the light point image.

[0026] The present invention also provides a method for calibrating an LED display screen, the method comprising:

[0027] Get the light point image;

[0028] According to the above method for eliminating the influence of the camera curved surface in the light point image, the brightness value of the LED light point in the light point image is calibrated to eliminate the influence of the camera curved surface on the light point image, and a target calibration light point brightness matrix is ​​generated;

[0029] According to the target calibration lamp point brightness matrix and the preset lamp point brightness target value, the correction coefficient of each LED lamp point is obtained, and the correction coefficient is sent to the receiving card of the LED display screen to calibrate the LED display screen.

[0030] The present invention also provides a device for eliminating the influence of camera curved surface in a light point image, the device comprises a light point image acquisition module, an LED light point recognition module, a calibration light point brightness matrix acquisition module, a calibration judgment module, and a secondary calibration module, wherein:

[0031] A light point image acquisition module is connected to the LED light point recognition module and is used to acquire a light point image, where the light point image is an LED light point image of the LED display screen captured by a camera;

[0032] The LED light point recognition module is connected to the calibration light point brightness matrix generation module, and is used to recognize the LED light points in the light point image and obtain the position coordinates and initial brightness of each LED light point;

[0033] A calibration light point brightness matrix generation module is connected to the calibration judgment module and is used to obtain the first target brightness of each LED light point according to a preset first target brightness-position coordinate correspondence relationship and the position coordinates of each LED light point, and generate a calibration light point brightness matrix according to the first target brightness and position coordinates of each LED light point;

[0034] A calibration judgment module is connected to the secondary calibration module and is used to calculate the difference between the first target brightness and the initial brightness of each LED light point, which is recorded as the target brightness difference of each LED light point. The difference between the first target brightness and the initial brightness of each LED light point is added, which is recorded as sum(0). It is judged whether sum(0) is less than a first preset threshold value. If so, the calibration is terminated and the calibration light point brightness matrix is ​​used as the target calibration light point brightness matrix to eliminate the influence of the camera surface. Otherwise, the secondary calibration module is controlled to perform secondary calibration.

[0035] The secondary calibration module is used to perform secondary calibration on the calibration light point brightness matrix, and use the calibration light point brightness matrix obtained after the secondary calibration as the target calibration light point brightness matrix for eliminating the influence of the camera surface.

[0036] Furthermore, the position coordinates of each LED light point are expressed as (x, y), and the device also includes a target brightness-position coordinate correspondence determination module;

[0037] The target brightness-position coordinate correspondence determination module is connected to the calibration light point brightness matrix generation module and is used to determine the preset first target brightness-position coordinate correspondence according to the preset surface equation. The surface equation expression is:

[0038] 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 target brightness, c 1 、c2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 are preset parameters.

[0039] The present invention also provides an LED display screen correction device, which includes the above-mentioned device for eliminating the influence of the camera curved surface in the light point image and the correction coefficient generating device, wherein:

[0040] A device for eliminating the influence of the camera curved surface in the light point image is connected to the correction coefficient generating device, and is used to obtain the light point image, calibrate the brightness value of the LED light point in the light point image, so as to eliminate the influence of the camera curved surface on the light point image, and generate a target calibration light point brightness matrix;

[0041] The correction coefficient generating device is used to obtain the correction coefficient of each LED lamp point according to the target calibration lamp point brightness matrix and the preset lamp point brightness target value, and send the correction coefficient to the receiving card of the LED display screen to calibrate the LED display screen.

[0042] The present invention also provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method steps for eliminating the influence of the camera curved surface in the light point image are implemented.

[0043] The method and device for eliminating the influence of camera curved surface in light point image, display screen correction method and correction equipment, and computer equipment provided by the present invention have at least the following beneficial effects:

[0044] The method and device for eliminating the influence of the camera curved surface on the light point image provided by the present invention calibrate the brightness values ​​of LED light points in the light point image, generate a target calibration light point brightness matrix, eliminate the influence of the camera curved surface on the light point brightness values ​​of the light point image, and solve the problem that the LED display screen in the light point image is bright at the edges and dark in the middle, and the screen edges are yellow; after processing the LED light point brightness values ​​of the light point image using the method and device for eliminating the influence of the camera curved surface provided by the present invention, a target calibration light point brightness matrix is ​​obtained, and the target calibration light point brightness matrix is ​​subsequently used to calibrate the LED display screen, which can improve the correction effect of the LED display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 This is a schematic diagram of a light point image captured by a camera;

[0047] Figure 2 This is a flow chart of a method for eliminating the influence of camera curved surface in a light point image in an embodiment of the present invention;

[0048] Figure 3 It is a schematic diagram of the camera lens surface;

[0049] Figure 4 A flowchart of the steps of a secondary calibration processing method in one embodiment of the present invention;

[0050] Figure 5 A flowchart of the steps of a calibration method in one embodiment of the present invention;

[0051] Figure 6 A schematic diagram of the structure of a device for eliminating the influence of camera curved surface in a light point image in an embodiment of the present invention;

[0052] Figure 7 Schematic diagram of the structure of a device for eliminating the influence of camera curved surface in a light point image in another embodiment of the present invention;

[0053] Figure 8 A schematic diagram of the structure of a display screen correction device in an embodiment of the present invention;

[0054] Fig. 9 A schematic diagram of the structure of a computer device in an embodiment of the present invention;

[0055] 601-light point image acquisition module, 602-LED light point recognition module, 603-calibration light point brightness matrix generation module, 604-calibration judgment module, 605-secondary calibration module, 606-target brightness-position coordinate correspondence determination module, 801-device for eliminating the influence of camera surface in light point image, 802-correction coefficient generation device, 9-computer equipment, 901-processor, 902-memory, 903-communication bus. DETAILED DESCRIPTION

[0056] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0057] In one embodiment of the present invention, a method for eliminating the influence of camera curved surface in a light point image is disclosed. Specifically, Figure 2 As shown, the method comprises the following steps:

[0058] Step S101: Acquire a light point image.

[0059] The light point image is an image of LED light points of the LED display screen captured by a camera.

[0060] The camera is an industrial camera, which can be a CCD (Charge Coupled Device) camera or a CMOS (Complementary Metal-Oxide-Semiconductor) camera. When shooting with the camera, the COB display needs to be lit first, and then the light point image is captured.

[0061] Step S102: Identify the LED light points in the light point image to obtain the position coordinates and initial brightness of each LED light point;

[0062] The LED display screen is composed of a number of LED light points, and the LED light points are arranged in a matrix. The LED light points in the light point image are scanned and identified, that is, the position coordinates of each LED light point in the correction image can be identified, and the brightness value of each LED light point is obtained and recorded as the initial brightness. Furthermore, the position coordinates and initial brightness of each LED light point can be expressed as (x, y, L), where x represents the horizontal coordinate of the LED light point in the light point image, y represents the vertical coordinate of the LED light point on the light point image, and L represents the initial brightness. Since the LED light points are arranged in a matrix, for the LED light point at the pth row and qth column, its position coordinate is (p, q).

[0063] Specifically, in the present embodiment, the initial brightness of the LED light point obtained above is the pixel value of the LED light point at the position of the light point image. Therefore, when identifying the LED light point, the initial brightness of the LED light point can be obtained by obtaining the position coordinates of each LED light point and scanning to obtain the pixel value at the position coordinates.

[0064] Step S103: obtaining the first target brightness of each LED light point according to the preset first target brightness-position coordinate correspondence relationship and the position coordinate of each LED light point, and generating a calibration light point brightness matrix according to the first target brightness and position coordinate of each LED light point;

[0065] In this embodiment, the preset first target brightness-position coordinate correspondence relationship is obtained by a technician analyzing the camera lens surface in advance. Specifically, the preset first target brightness-position coordinate correspondence relationship is determined based on the surface equation expression obtained by simulating and analyzing the camera lens surface.

[0066] like Figure 3 The figure shows a schematic diagram of the camera lens surface. The X-axis and Y-axis represent the positions of the pixels, and the Z-axis represents the photoelectric conversion efficiency of the camera lens. Due to the different photoelectric conversion efficiencies of different pixels, the photoelectric conversion efficiency is high at the edges and low in the middle, resulting in the problem that the captured light point image is bright at the edges and dark in the middle, and the edges are yellow.

[0067] In the embodiment of the present invention, the position coordinates of each LED light point are represented as (x, y). Figure 2 Through analysis and simulation, the preset surface equation expression is obtained, which is:

[0068] 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 );

[0069] Where L' is the target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 are preset parameters.

[0070] Furthermore, before step S103, the method further includes the following steps:

[0071] For the surface equation expression:

[0072] L'=(c 1 x 3 +c2 x 2 +c 3 x + c 4 )(c 5 y 3 +c 6 y 2 +c 7 y + c 8 ) is simplified to obtain

[0073] 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 ;

[0074] where a 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 ; a8 =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 .

[0075] A preset number of LED light points are randomly selected from the light point image, and the position coordinates and initial brightness of the preset number of LED light points are substituted into the simplified surface equation expression to obtain 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 The value of .

[0076] In this step, the number of randomly selected LED light points is determined by the number of unknown parameters, and it is sufficient to solve all the unknown parameters.

[0077] Furthermore, since there are 16 unknown parameters (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 these unknown parameters requires at least 16 LED light points to be randomly selected from the light point image. 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 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 into the equation:

[0078] 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 11xy+a 12 x+a 13 y 3 +a 14 y 2 +a 15 y+a 16 The preset first target brightness-position coordinate correspondence relationship is obtained.

[0079] Then, using the preset first target brightness-position coordinate correspondence relationship, the position coordinates of each LED light point are substituted into the surface equation of the known parameters corresponding to the preset first target brightness-position coordinate correspondence relationship, and the first target brightness of each LED light point on the light point image is calculated.

[0080] Furthermore, according to the position coordinates of each LED light point, the first target brightness of each LED light point on the light point image is arranged into a matrix according to the position coordinates, so as to generate a calibration light point brightness matrix.

[0081] Step S104: Calculate the difference between the first target brightness and the initial brightness of each LED lamp point, record it as the target brightness difference of each LED lamp point, and add the difference between the first target brightness and the initial brightness of each LED lamp point, record it as sum(0).

[0082] The target brightness difference is the residual. The residual values ​​of each LED light point are added together to obtain sum(0). Only when sum(0) is infinitely small, the brightness of each LED light point in the corresponding calibration light point brightness matrix is ​​close to the actual brightness value of the LED light point on the LED display.

[0083] Step S105: Determine whether sum(0) is less than a first preset threshold, if so, execute step S106, otherwise execute step S107.

[0084] Furthermore, in the present invention, a first preset threshold is set. When the sum of the residual values ​​is less than the first preset threshold, it is considered that the brightness of each LED light point in the calibration light point brightness matrix corresponding to sum(0) is close to the actual brightness value of the LED light point on the LED display screen, thereby achieving the calibration purpose and ending the calibration. Otherwise, step S107 is performed to continue the calibration.

[0085] Specifically, in this step, the first preset threshold is set by a technician according to actual needs, and the present invention is not limited to this. Preferably, the value range of the first preset threshold is [0.01, 0.02].

[0086] Step S106: End the calibration and use the calibration light point brightness matrix as the target calibration light point brightness matrix for eliminating the influence of the camera curved surface.

[0087] Step S107: performing a secondary calibration process on the calibration light point brightness matrix, and using the calibration light point brightness matrix obtained after the secondary calibration as the target calibration light point brightness matrix for eliminating the influence of the camera curved surface.

[0088] By adopting the method of eliminating the influence of the camera surface in the lamp point image in this embodiment, the brightness values ​​of the LED lamp points in the lamp point image are first calibrated using the preset first target brightness-position coordinate correspondence to obtain a calibrated lamp point brightness matrix, and then based on the sum sum(0) obtained by adding the difference between the first target brightness and the initial brightness of each LED lamp point, it is determined whether to end the calibration or perform a secondary calibration, and finally the target calibrated lamp point brightness matrix that eliminates the influence of the camera surface is obtained, thereby solving the problem that the LED display screen in the lamp point image is bright at the edges and dark in the middle, and the edges of the screen are yellow.

[0089] In another embodiment of the present invention, the LED display screen is a COB display screen. The COB display screen refers to an LED display screen packaged using COB packaging technology. COB packaging technology is different from traditional SMD surface mount packaging. It integrates light-emitting chips into the PCB board instead of soldering them one by one on the PCB. If the light point image is an LED light point image of the COB display screen taken by a camera, due to the characteristics of the COB display screen itself, the light point image taken is composed of multiple block areas, and each block area contains an equal number of LED light points. Furthermore, the brightness of each LED light point in the same block area is the same.

[0090] Furthermore, Figure 4 As shown, the method of the secondary calibration process in step S107 includes the following steps:

[0091] Step S1071: selecting a block area from the multiple block areas as the nth target block area, and randomly selecting an LED light point from the nth target block area as the light point to be calibrated.

[0092] Here, the initial value of n is 1.

[0093] Specifically, in this step, there is no limitation on the method for selecting the target block region, which may be: randomly selecting any block region from multiple block regions as the nth target block region;

[0094] Alternatively, a block region is selected from multiple block regions according to a preset order as the nth target block region. The preset order can be set by the technicians as required, or the arrangement order of the block regions in the light point image can be used as the preset order.

[0095] Step S1072: Perform random number processing on the initial brightness of the lamp point to be calibrated to obtain a second target brightness of the lamp point to be calibrated, and adjust the brightness value of the lamp point to be calibrated in the calibration lamp point brightness matrix to the second target brightness.

[0096] Specifically, the initial brightness of the light point to be calibrated is subjected to random number processing, including:

[0097] Randomly select a random number from a preset random number selection range, wherein in this embodiment, the preset random number selection range is [80%, 120%];

[0098] The initial brightness of the light point to be calibrated is multiplied by the selected random number, and the product is used as the second target brightness of the light point to be calibrated.

[0099] Step S1073: Obtain the third target brightness of the lamp point to be calibrated according to the position coordinates of the lamp point to be calibrated and the preset second target brightness-position coordinate correspondence relationship corresponding to the lamp point to be calibrated.

[0100] Specifically, it should be understood that in this step, the preset second target brightness-position coordinate correspondence corresponding to each light point to be calibrated is different.

[0101] The preset second target brightness-position coordinate correspondence relationship corresponding to each light point to be calibrated is also based on Figure 3 The camera lens surface shown is simulated and analyzed, and the obtained surface equation expression is determined.

[0102] As mentioned above, after Figure 3 After analysis and simulation, the preset surface equation expression is obtained as follows:

[0103] 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 );

[0104] Where L' is the target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 are preset parameters.

[0105] Furthermore, before step S1073, the following steps are also included:

[0106] For the surface equation expression:

[0107] 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

[0108] 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 ;

[0109] where a 1 =c 1 c 5 ; a 2 =c 1 c 6 ; a 3 =c 1 c 7 ; a 4 =c 1 c 8 ; a5 =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 .

[0110] Randomly select a preset number of LED light points from the light point image as sample light points;

[0111] The position coordinates of the sample light point are obtained, and according to the position coordinates of the sample light point, the brightness value of the sample light point is obtained from the current calibration light point brightness matrix.

[0112] The current calibration light point brightness matrix refers to the latest calibration light point brightness matrix. Since the brightness value of an LED light point in the calibration light point brightness matrix is ​​calibrated once each time step S1072 is executed, the latest calibration light point brightness matrix is ​​used in this step.

[0113] Substitute the position coordinates and brightness values ​​of the sample light points obtained above, the position coordinates of the light points to be calibrated and the second target brightness into the simplified surface equation expression to obtain parameter a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、a 7 、a 8 、a 9 、a10 、a 11 、a 12 、a 13 、a 14 、a 15 、a 16 The value of .

[0114] In this step, the number of randomly selected LED light points is determined by the number of unknown parameters, and it is sufficient to solve all the unknown parameters.

[0115] Furthermore, since there are 16 unknown parameters (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 solve these unknown parameters, at least 15 LED light points need to be randomly selected from the light point image as sample light points (plus the light points to be calibrated, a total of 16 light points).

[0116] According to the above steps, the parameter a is calculated. 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 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 、a14 、a 15 、a 16 Substituting the value of into the equation:

[0117] 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 The preset second target brightness-position coordinate correspondence relationship corresponding to the light point to be calibrated is obtained.

[0118] The position coordinates of the light point to be calibrated are substituted into the preset second target brightness-position coordinate correspondence relationship corresponding to the light point to be calibrated to obtain the third target brightness of the light point to be calibrated.

[0119] Step S1074: adjusting the target brightness difference of the lamp point to be calibrated to the difference between the third target brightness and the second target brightness of the lamp point to be calibrated.

[0120] This step is to update the target brightness difference value (residual value) of the light point to be calibrated.

[0121] Step S1075: Add the target brightness difference of each LED light point in the light point image, denoted as sum(i), where the initial value of i is 1.

[0122] Since the target brightness difference (residual value) of the light point to be calibrated has changed, the sum of the target brightness difference values ​​of all LED light points has changed, so it needs to be recalculated, that is, sum(i). Then, it is determined whether sum(i) is less than the first preset threshold, that is, whether sum(i) is the minimum residual, to determine whether to end the iteration. Similarly, when sum(i) is less than the first preset threshold, it is considered that the brightness value of each LED light point in the current calibration light point brightness matrix is ​​close to the actual brightness value of the LED light point in the LED display.

[0123] Step S1076: Determine whether i is equal to the second preset threshold or sum(i) is less than the first preset threshold. If so, execute step S1077; otherwise, execute step S1078.

[0124] Specifically, in this step, the second preset threshold is set by the technician according to actual needs, preferably, it is set to 10 7 .

[0125] In this step, two conditions are included: (1) i is equal to the second preset threshold; (2) sum(i) is less than the first preset threshold. As long as one of the conditions is met, step S1077 is executed.

[0126] The purpose of setting the judgment that i is equal to the second preset threshold is to avoid an infinite dead loop.

[0127] Step S1077: End the secondary calibration process, and use the calibration light point brightness matrix obtained after the secondary calibration process as the target calibration light point brightness matrix for eliminating the influence of the camera curved surface.

[0128] Step S1078: Determine whether sum(i) is less than sum(i-1). If so, execute step S1079; otherwise, execute step S10710.

[0129] Step S1079: Let n=n+1, i=i+1, jump to step S1071, and repeat the secondary calibration process.

[0130] Step S10710: let n=n+2, i=i+1, jump to step S1071, and repeat the secondary calibration process.

[0131] It should be understood that, since in step S1071, each time a light point to be calibrated is selected, an LED light point is randomly selected as the light point to be calibrated, there may be a situation where the same LED light point is selected as the light point to be calibrated twice or more. In the above calibration process, since each time a light point to be calibrated is selected, the third target brightness and the second target brightness of the light point to be calibrated selected this time are recalculated, and the brightness value of the light point to be calibrated in the calibration light point brightness matrix is ​​updated using the recalculated second target brightness, and at the same time, the target brightness difference of the light point to be calibrated is adjusted to the difference between the third target brightness and the second target brightness obtained after recalculation, thereby ensuring the timely update of the target brightness difference of the LED light point, and also ensuring the timely update of the brightness value of the LED light point in the calibration light point brightness matrix. The method of eliminating the influence of the camera curved surface in the light point image in this embodiment can effectively eliminate the influence of the camera curved surface on the brightness value of the LED light point in the light point image, solve the problem that the LED display screen in the light point image is bright at the edge and dark in the middle, and the screen edge is yellow, and thus can ensure the subsequent correction effect.

[0132] In one embodiment of the present invention, a method for calibrating an LED display screen is also provided. Figure 5 As shown, the method includes:

[0133] Step S201: Acquire a light point image;

[0134] Step S202: according to the above method for eliminating the influence of the camera curved surface in the light point image, calibrate the brightness value of the LED light point in the light point image to eliminate the influence of the camera curved surface on the light point image, and generate a target calibration light point brightness matrix;

[0135] Step S203: According to the target calibration lamp point brightness matrix and the preset lamp point brightness target value, the correction coefficient of each LED lamp point is obtained, and the correction coefficient is sent to the receiving card of the LED display screen to calibrate the LED display screen.

[0136] Specifically, in this embodiment, the target value of the light brightness is preset by a technician according to actual needs, and the present invention is not limited to this.

[0137] More specifically, according to the target calibration lamp point brightness matrix and the preset lamp point brightness target value, the correction coefficient of each LED lamp point is obtained as follows:

[0138] Identify the target calibration lamp point brightness matrix, obtain the brightness value of each LED lamp point on the target calibration lamp point brightness matrix, divide the preset lamp point brightness target value by the brightness value of each LED lamp point on the target calibration lamp point brightness matrix, and obtain the correction coefficient of each LED lamp point. Send the correction coefficient to the receiving card, and then use the correction coefficient of each LED lamp point to calibrate the brightness value of each LED lamp point.

[0139] The LED display screen correction method provided by the present invention can eliminate the influence of the camera curved surface on the brightness value of the LED lamp point in the lamp point image captured, solve the problem that the LED display screen in the lamp point image is bright at the edges and dark in the middle, and the screen edge is yellow, and the LED display screen correction processing is performed by using the target calibration lamp point brightness matrix that eliminates the influence of the camera curved surface, which can effectively improve the correction effect of the LED display screen.

[0140] The present invention also provides a device for eliminating the influence of camera curved surface in the light point image, such as Figure 6 As shown, the device includes a light point image acquisition module 601, an LED light point recognition module 602, a calibration light point brightness matrix generation module 603, a calibration judgment module 604 and a secondary calibration module 605, wherein:

[0141] The light point image acquisition module 601 is connected to the LED light point recognition module 602 and is used to acquire a light point image, where the light point image is an LED light point image of the LED display screen captured by a camera;

[0142] The LED light point recognition module 602 is connected to the calibration light point brightness matrix generation module 603 and is used to recognize the LED light points in the light point image and obtain the position coordinates and initial brightness of each LED light point;

[0143] The calibration light point brightness matrix generation module 603 is connected to the calibration judgment module 604 and is used to obtain the first target brightness of each LED light point according to the preset first target brightness-position coordinate correspondence relationship and the position coordinate of each LED light point, and generate the calibration light point brightness matrix according to the first target brightness and position coordinate of each LED light point;

[0144] The calibration judgment module 604 and the secondary calibration module 605 are used to calculate the difference between the first target brightness and the initial brightness of each LED light point, which is recorded as the target brightness difference of each LED light point, add the difference between the first target brightness and the initial brightness of each LED light point, which is recorded as sum(0), and judge whether sum(0) is less than the first preset threshold value. If so, the calibration is terminated, and the calibration light point brightness matrix is ​​used as the target calibration light point brightness matrix to eliminate the influence of the camera surface. Otherwise, the secondary calibration module is controlled to perform secondary calibration;

[0145] The secondary calibration module 605 is used to perform secondary calibration on the calibration light point brightness matrix, and use the calibration light point brightness matrix obtained after the secondary calibration as the target calibration light point brightness matrix for eliminating the influence of the camera curved surface.

[0146] By utilizing the device for eliminating the influence of the camera curved surface in the light point image provided by the present invention, the influence of the camera curved surface on the brightness value of the LED light point in the light point image can be eliminated, and the problem that the LED display screen in the light point image is bright at the edges and dark in the middle, and the edges of the screen are yellow can be effectively solved.

[0147] In another embodiment of the present invention, the position coordinates of each LED light point are expressed as (x, y), such as Figure 7 As shown, the device also includes a target brightness-position coordinate correspondence determination module;

[0148] The target brightness-position coordinate correspondence determination module 606 is connected to the calibration light point brightness matrix generation module 603 and is used to determine the preset first target brightness-position coordinate correspondence according to the preset surface equation. The surface equation expression is:

[0149] 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 target brightness, c 1 、c 2 、c 3 、c 4 、c 5 、c 6 、c 7 、c 8 are preset parameters.

[0150] In one embodiment of the present invention, the present invention also provides a LED display screen correction device, such as Figure 8 As shown, the device includes the above-mentioned device 801 for eliminating the influence of the camera surface in the light point image and the correction coefficient generating device 802, wherein:

[0151] The device 801 for eliminating the influence of the camera curved surface in the light point image is connected to the correction coefficient generating device 802, and is used to obtain the light point image, calibrate the light point brightness matrix of the light point image, so as to eliminate the influence of the camera curved surface on the light point image, and generate the target calibration light point brightness matrix;

[0152] The correction coefficient generating device 802 is used to obtain the correction coefficient of each LED lamp point according to the target calibration lamp point brightness matrix and the preset lamp point brightness target value, and send the correction coefficient to the receiving card of the LED display screen to calibrate the LED display screen.

[0153] like Fig. 9 As shown, the present invention further provides a computer device 9, including a processor 901 and a memory 902. The processor 901 and the memory 902 are interconnected and communicate with each other via a communication bus 903 and / or other forms of connection mechanisms (not shown). The memory 902 stores a computer program executable by the processor 901. When the computing device is running, the processor 901 executes the computer program to perform the above-mentioned method steps for eliminating the influence of the camera surface in the corrected image.

[0154] The method and device for eliminating the influence of the camera curved surface in the light point image provided by the present invention can effectively eliminate the influence of the camera curved surface on the brightness value of the LED light point of the light point image, and solve the problem that the LED display screen in the light point image is bright at the edges and dark in the middle, and the screen edges are yellow. After calibrating the light point image by using the method and device for eliminating the influence of the camera curved surface in the present invention on the correction image, a target calibration light point brightness matrix is ​​obtained, and the target calibration light point brightness matrix is ​​subsequently used to calibrate the LED display screen, which can improve the correction effect of the LED display screen.

[0155] The terms and expressions used in the specification of the present invention are for illustration only and are not meant to constitute limitations. The "first", "second" and "third" used in the claims and the specification of the present invention herein are only for the purpose of convenience of distinction, have no special meaning, and are not intended to limit the present invention. It should be understood by those skilled in the art that various changes may be made to the details in the above-mentioned embodiments without departing from the basic principles of the disclosed embodiments. Therefore, the scope of the present invention is determined only by the claims. In the claims, unless otherwise specified, all terms should be understood in the broadest and most reasonable sense.

Claims

1. A method for eliminating the influence of camera surface in a light point image, characterized in that: The method comprises: Acquire a light point image, wherein the light point image is an LED light point image of the LED display screen captured by a camera; Identify the LED light points in the light point image to obtain the position coordinates and initial brightness of each LED light point; According to the preset first target brightness-position coordinate correspondence relationship and the position coordinates of each LED light point, the first target brightness of each LED light point is obtained, and the calibration light point brightness matrix is ​​generated according to the first target brightness and position coordinates of each LED light point; Calculate the difference between the first target brightness and the initial brightness of each LED light point, and record it as the target brightness difference of each LED light point; Add the difference between the first target brightness and the initial brightness of each LED light point, denoted as sum(0); Determine whether sum(0) is less than a first preset threshold value. If so, end the calibration and use the calibration light point brightness matrix as the target calibration light point brightness matrix for eliminating the influence of the camera surface. Otherwise, perform a secondary calibration on the calibration light point brightness matrix and use the calibration light point brightness matrix obtained after the secondary calibration as the target calibration light point brightness matrix for eliminating the influence of the camera surface.

2. The method for eliminating the influence of camera curved surface in the light point image according to claim 1, characterized in that: The LED display screen is a COB display screen, the light point image is composed of a plurality of block areas, each block area contains an equal number of LED light points, and the secondary calibration process includes: Selecting a block area from the multiple block areas as the nth target block area, and randomly selecting an LED light point from the nth target block area as the light point to be calibrated, where the initial value of n is 1; Performing random number processing on the initial brightness of the lamp point to be calibrated to obtain a second target brightness of the lamp point to be calibrated, and adjusting the brightness value of the lamp point to be calibrated in the calibration lamp point brightness matrix to the second target brightness; Obtaining a third target brightness of the light point to be calibrated according to the position coordinates of the light point to be calibrated and a preset second target brightness-position coordinate correspondence relationship corresponding to the light point to be calibrated; Adjusting the target brightness difference of the light point to be calibrated to the difference between the third target brightness and the second target brightness of the light point to be calibrated; Add the target brightness difference of each LED light point in the light point image, denoted as sum(i), where the initial value of i is 1; Determine whether i is equal to a second preset threshold or sum(i) is less than the first preset threshold. If so, end the secondary calibration process, and use the calibration light point brightness matrix obtained after the secondary calibration process as the target calibration light point brightness matrix to eliminate the influence of the camera curved surface; Otherwise, determine whether sum(i) is less than sum(i-1). If so, set n=n+1, i=i+1. Otherwise, set n=n+2, i=i+1. Select a block area from the multiple block areas as the nth target block area and repeat the secondary calibration process.

3. The method for eliminating the influence of camera curved surface in light point image according to claim 2, characterized in that: The position coordinates of each LED light point are expressed as (x, y), and the method further includes: The preset first target brightness-position coordinate correspondence relationship and the preset second target brightness-position coordinate correspondence relationship corresponding to each light point to be calibrated are determined according to the preset surface equation. The expression of the surface equation is: ,in is the target brightness, c1, c2, c3, c4, c5, c6, c7, c8 are preset parameters.

4. The method for eliminating the influence of camera curved surface in light point image according to claim 2, characterized in that: The selecting a block region from the plurality of block regions as the nth target block region comprises: Randomly select any block area from multiple block areas as the nth target block area; Alternatively, a block region is selected from a plurality of block regions according to a preset order as the nth target block region.

5. The method for eliminating the influence of camera curved surface in light point image according to claim 1, characterized in that: The initial brightness is: the pixel value at the LED light point position in the light point image.

6. A method for calibrating an LED display screen, characterized in that: The method comprises: Get the light point image; According to the method for eliminating the influence of camera curved surface in a light point image according to any one of claims 1 to 5, the brightness value of the LED light point in the light point image is calibrated to eliminate the influence of the camera curved surface on the light point image, and a target calibration light point brightness matrix is ​​generated; According to the target calibration lamp point brightness matrix and the preset lamp point brightness target value, the correction coefficient of each LED lamp point is obtained, and the correction coefficient is sent to the receiving card of the LED display screen to calibrate the LED display screen.

7. A device for eliminating the influence of camera curved surface in a light point image, characterized in that: The device includes a light point image acquisition module, an LED light point recognition module, a calibration light point brightness matrix generation module, a calibration judgment module, and a secondary calibration module, wherein: The light point image acquisition module is connected to the LED light point recognition module and is used to acquire a light point image, wherein the light point image is an LED light point image of the LED display screen captured by a camera; The LED light point recognition module is connected to the calibration light point brightness matrix generation module, and is used to recognize the LED light points in the light point image and obtain the position coordinates and initial brightness of each LED light point; The calibration light point brightness matrix generation module is connected to the calibration judgment module and is used to obtain the first target brightness of each LED light point according to the preset first target brightness-position coordinate correspondence relationship and the position coordinate of each LED light point, and generate the calibration light point brightness matrix according to the first target brightness and position coordinate of each LED light point; The calibration judgment module is connected to the secondary calibration module, and is used to calculate the difference between the first target brightness and the initial brightness of each LED light point, which is recorded as the target brightness difference of each LED light point, add the difference between the first target brightness and the initial brightness of each LED light point, which is recorded as sum(0), and judge whether sum(0) is less than a first preset threshold value. If so, the calibration is terminated, and the calibration light point brightness matrix is ​​used as the target calibration light point brightness matrix to eliminate the influence of the camera surface. Otherwise, the secondary calibration module is controlled to perform secondary calibration processing; The secondary calibration module is used to perform secondary calibration on the calibration light point brightness matrix, and use the calibration light point brightness matrix obtained after the secondary calibration as the target calibration light point brightness matrix for eliminating the influence of the camera curved surface.

8. The device for eliminating the influence of camera curved surface in light point image according to claim 7, characterized in that: The position coordinates of each LED light point are expressed as (x, y), and the device also includes a target brightness-position coordinate correspondence determination module; The target brightness-position coordinate correspondence determination module is connected to the calibration light point brightness matrix generation module and is used to determine the preset first target brightness-position coordinate correspondence according to a preset surface equation. The surface equation expression is: ,in is the target brightness, c1, c2, c3, c4, c5, c6, c7, c8 are preset parameters.

9. An LED display screen calibration device, characterized in that: The device comprises the apparatus for eliminating the influence of camera curvature in a light point image as claimed in claim 7 or 8, wherein: The device for eliminating the influence of the camera curved surface in the light point image is connected to the correction coefficient generating device, and is used to obtain the light point image, calibrate the brightness value of the LED light point in the light point image, so as to eliminate the influence of the camera curved surface on the light point image, and generate a target calibration light point brightness matrix; The correction coefficient generating device is used to obtain the correction coefficient of each LED lamp point according to the target calibration lamp point brightness matrix and the preset lamp point brightness target value, and send the correction coefficient to the receiving card of the LED display screen to calibrate the LED display screen.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method steps for eliminating the influence of camera curved surface in a light point image according to any one of claims 1 to 5 when executing the computer program.