Box linearity correction method, device, display screen and display control method
By storing the grayscale-brightness table and performing grayscale equalization and interpolation calculations, the problem of poor linearity of the LED box is solved, the storage requirements of the FPGA are reduced, and the display effect and performance are improved.
Patent Information
- Application Number
- CN202210472044.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-04-29
AI Technical Summary
The linearity of the existing LED cabinet is poor, causing the ratio of the brightness value to the gray scale value to change non-constantly, which affects the display effect. In addition, storing the target brightness value of each gray scale in the FPGA requires a lot of space, which may lead to insufficient storage space. question.
By storing the grayscale-brightness table, preselecting the grayscale and dividing the grayscale equally according to the number of division items, determining the dividing grayscale, adjusting the brightness value of the light point to correct the linearity, and using interpolation to calculate the undetermined brightness value, reducing the storage requirements of the FPGA.
It realizes the correction of the linearity of the LED box, reduces the storage space requirements of the FPGA, improves the performance and resource utilization, and ensures the optimization of the display effect.
Smart Images

Figure CN114783367B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of LED display screen correction, and in particular to a cabinet linearity correction method, device, display screen and display control method. Background Art
[0002] The linearity of the LED cabinet refers to whether the ratio between the brightness value tested by the light gun of the screen and the grayscale value (R / G / B) sent to the LED cabinet by the host computer software is constant. Figure 1 As shown, Figure 1 Only the grayscale value of 0-255 is shown. In fact, the grayscale of 0-255 can correspond to the grayscale of 0-65535 (2 to the 16th power, color depth 16 bits).
[0003] If the linearity of an LED cabinet is very good, the ratio of the LED cabinet is basically a constant. However, the ratio of some existing LED cabinets changes with the value of R / G / B, and is thus in a nonlinear state. The nonlinear state will affect the seam repair problem of the LED cabinet.
[0004] For nonlinear LED cabinets, the above ratio needs to be corrected and compensated to make the ratio a linear relationship. If each grayscale is compensated, the storage space required inside the FPGA is very huge for the Blook RAM of the FPGA. Assuming that the color depth of a common screen is 13-16 bits, 65536 (64K) * 3 (R / G / B) * 16 bits of storage space are required. If infibit (grayscale expansion) is used for processing, 16 bits become 22 bits, and the storage space used will be even larger. For the receiving card, there may be a problem of insufficient storage space. Therefore, those skilled in the art are in urgent need of finding a new solution to solve the above problem. Summary of the invention
[0005] In view of the above problems, the present invention provides a box linearity correction method, the method comprising:
[0006] A grayscale-brightness table corresponding to the LED cabinet is stored, wherein the grayscale-brightness table includes a plurality of pre-selected grayscales and a target brightness value corresponding to each pre-selected grayscale, and a first determination method of the pre-selected grayscale includes: obtaining a preset first division item number N, dividing the grayscale of the LED cabinet into N grayscale sub-items according to the first division item number N, and determining a boundary grayscale in each grayscale sub-item, and using the boundary grayscale in each grayscale sub-item as the pre-selected grayscale;
[0007] According to the grayscale-brightness table and the grayscale of each light point in the LED box, determine the target brightness value corresponding to each light point in the LED box;
[0008] Adjust the brightness value of each light point in the LED box to the corresponding target brightness value to correct the linearity of the LED box.
[0009] Furthermore, the second determination method of the pre-selected gray scale includes:
[0010] Divide the grayscale of the LED cabinet into low grayscale and high grayscale;
[0011] A preset second division item number M is obtained, and the high grayscale is equally divided into M grayscale sub-items according to the second division item number M, and a boundary grayscale in each grayscale sub-item is determined, and the boundary grayscale in each grayscale sub-item and each low grayscale are used as pre-selected grayscales.
[0012] Furthermore, a method for determining a target brightness value corresponding to each pre-selected grayscale includes:
[0013] The initial brightness values corresponding to the LED cabinet at each pre-selected grayscale are obtained, and the initial brightness values are gamma corrected to obtain the target brightness values.
[0014] Further, according to the grayscale-brightness table and the grayscale of each light point in the LED box, determining the target brightness value corresponding to each light point in the LED box includes:
[0015] For each light point, determine whether the grayscale of the light point is a pre-selected grayscale;
[0016] If yes, read the target brightness value corresponding to the grayscale of the light point from the grayscale-brightness table as the target brightness value corresponding to the light point;
[0017] Otherwise, the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the lamp point are read from the grayscale-brightness table, and the target brightness value corresponding to the light point is calculated by interpolation based on the two pre-selected grayscales adjacent to the grayscale of the lamp point and the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the lamp point.
[0018] Furthermore, according to the grayscale-brightness table and the grayscale of each light point in the LED box, determining the target brightness value corresponding to each light point in the LED box also includes:
[0019] Determine whether the grayscale brightness consistency in the grayscale-brightness table meets the preset standard;
[0020] If yes, after determining that the grayscale of the light point is not the pre-selected grayscale, randomly read the target brightness values corresponding to any two pre-selected grayscales in the grayscale-brightness table, and calculate the target brightness value corresponding to the light point by interpolation according to the selected any two pre-selected grayscales and the target brightness values corresponding to any two pre-selected grayscales;
[0021] Otherwise, after determining that the grayscale of the lamp point is not the pre-selected grayscale, the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the lamp point are read from the grayscale-brightness table, and the target brightness value corresponding to the two pre-selected grayscales adjacent to the grayscale of the lamp point and the two pre-selected grayscales adjacent to the grayscale of the lamp point are calculated by interpolation.
[0022] The present invention also provides a method for controlling a display of an LED display screen. For each LED box in the LED display screen, the method comprises:
[0023] Obtain the grayscale of each light point on the LED box, and use the above-mentioned box linearity correction method to determine the target brightness value of each light point on the LED box;
[0024] The correction coefficient of each light point on the LED box is obtained, and the correction coefficient is calculated according to the target brightness value and the current brightness value of each light point on the LED box; the brightness value of each light point on the LED box is adjusted to the corresponding target brightness value according to the correction coefficient to correct the linearity of the LED box.
[0025] The present invention also provides a cabinet linearity correction device, which includes a storage module, a target brightness value determination module, and an adjustment control module, wherein:
[0026] A storage module is connected to the target brightness value determination module and is used to store a grayscale-brightness table corresponding to the LED cabinet, wherein the grayscale-brightness table includes a plurality of pre-selected grayscales and a target brightness value corresponding to each pre-selected grayscale, and a first determination method of the pre-selected grayscale includes: obtaining a preset first division item number N, dividing the grayscale of the LED cabinet into N grayscale sub-items according to the first division item number N, and determining a boundary grayscale in each grayscale sub-item, and using the boundary grayscale in each grayscale sub-item as the pre-selected grayscale;
[0027] A target brightness value determination module is connected to the adjustment control module and is used to determine the target brightness value corresponding to each light point in the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box;
[0028] The adjustment control module is used to adjust the brightness value of each light point in the LED box to the corresponding target brightness value to correct the linearity of the LED box.
[0029] Furthermore, a second method for determining the preselected grayscale in the grayscale-brightness table stored in the storage module includes:
[0030] Divide the grayscale of the LED cabinet into low grayscale and high grayscale;
[0031] A preset second division item number M is obtained, and the high grayscale is equally divided into M grayscale sub-items according to the second division item number M, and a boundary grayscale in each grayscale sub-item is determined, and the boundary grayscale in each grayscale sub-item and each low grayscale are used as pre-selected grayscales.
[0032] Furthermore, the target brightness value determination module includes a judgment unit, a reading unit and an interpolation calculation unit, wherein:
[0033] A judgment unit connected to the reading unit and the interpolation calculation unit, and used for judging, for each light point, whether the grayscale of the light point is a preselected grayscale, and if so, sending a reading instruction to the reading unit, otherwise sending an interpolation calculation instruction to the interpolation calculation unit;
[0034] A reading unit, used for reading a target brightness value corresponding to the grayscale of the light point from the grayscale-brightness table according to a reading instruction as the target brightness value corresponding to the light point;
[0035] An interpolation calculation unit is used to read the target brightness values corresponding to two pre-selected grayscales adjacent to the grayscale of the lamp point from the grayscale-brightness table according to the interpolation calculation instruction, and calculate the target brightness value corresponding to the lamp point by interpolation according to the two pre-selected grayscales adjacent to the grayscale of the lamp point and the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the lamp point.
[0036] The present invention also provides an LED display screen, which includes a plurality of LED boxes and a plurality of receiving cards, and each LED box is connected to a corresponding receiving card;
[0037] The receiving card is used to calculate the target brightness value of each lamp point on the LED box connected to it according to the above-mentioned box linearity correction method, and obtain the correction coefficient of each lamp point on the LED box, the correction coefficient is calculated according to the target brightness value of each lamp point on the LED box and the current brightness value; according to the correction coefficient, the brightness value of each lamp point on the LED box is adjusted to the corresponding target brightness value.
[0038] The cabinet linearity correction method, device, display screen and display control method provided by the present invention have at least the following beneficial effects:
[0039] (1) By pre-selecting and storing the grayscale-brightness table in the receiving card, when correcting the linearity of the LED cabinet, the target brightness value of each light point on the LED cabinet is directly obtained according to the pre-stored grayscale-brightness table to realize the correction of the linearity of the LED cabinet. There is no need to store the target brightness value corresponding to each grayscale in the FPGA (receiving card), which will greatly reduce the storage space inside the FPGA (receiving card). For the performance and resources of the FPGA, it will be highly optimized. At the same time, the correction of the overall linearity of the cabinet can be realized, which meets the needs of cabinet seam repair and ensures the display effect.
[0040] (2) The grayscale of the LED box is divided into low grayscale and high grayscale. The grayscale-brightness table stores each low grayscale and its corresponding target brightness value, and stores the target brightness value of the boundary grayscale value in the high grayscale. This can further improve the display effect of the display screen at low grayscale after linearity correction. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] 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.
[0042] Figure 1 This is the 0-255 grayscale brightness nonlinear diagram before correction;
[0043] Figure 2 is a flow chart of a method for correcting box linearity in one embodiment of the present invention;
[0044] Figure 3 is a flow chart of a first determination method for preselecting a gray scale in an embodiment of the present invention;
[0045] Figure 4 is a flow chart of a second determination method for preselected grayscale in an embodiment of the present invention;
[0046] Figure 5 It is a schematic structural diagram of a box linearity correction device in one embodiment of the present invention;
[0047] Figure 6 A schematic diagram of the structure of a target brightness value determination module in one embodiment of the present invention;
[0048] Figure 7 This is a schematic diagram of an LED box and a receiving card in an embodiment of the present invention;
[0049] 501 - storage module, 502 - target brightness value determination module, 503 - adjustment control module, 5021 - judgment unit, 5022 - reading unit, 5023 interpolation calculation unit, 701 - LED box, 702 - receiving card. DETAILED DESCRIPTION
[0050] 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.
[0051] In one embodiment of the present invention, a cabinet linearity correction method is disclosed, which is applied in a receiving card, such as Figure 2 As shown, the method includes:
[0052] Step S101: storing the grayscale-brightness table corresponding to the LED box.
[0053] In this step, since each LED box is connected to a receiving card in the LED display screen, the grayscale-brightness table stored in this step is the grayscale-brightness table corresponding to the LED box connected to the receiving card.
[0054] Specifically, the grayscale-brightness table includes a plurality of pre-selected grayscales and a target brightness value corresponding to each pre-selected grayscale. That is, in the grayscale-brightness table, each pre-selected grayscale has a target brightness value associated therewith.
[0055] In the grayscale-brightness table, only the preselected grayscale and the target brightness value corresponding to each preselected grayscale are stored. For example, if all grayscales and their corresponding target brightness values are stored, 16 bits of storage space are required. In the present invention, in one implementation, only 10 bits of high data are stored, and the remaining 6 bits of low data are obtained by interpolation processing. This greatly saves storage space.
[0056] Among them, Figure 3 As shown, the first determination method of the preselected gray scale includes:
[0057] Step S201: Obtain a preset first division item number N.
[0058] The first number of division items N is determined to balance the performance and resources of FPGA (Field Programmable Gate Array). Specifically, 1, 2, 3, 4, 5, 6, 7, 8, etc. can be selected according to actual conditions. Different values each time will be equivalent to dividing the grayscale of the LED cabinet N times. In this step, the grayscale is divided into N grayscale sub-items. It should be understood that when the N value is larger, that is, the number of grayscale sub-items is more (that is, the fineness of the division is higher), the calculation result will be more accurate when the target brightness value corresponding to a grayscale is calculated by interpolation, and the correction effect on linearity will be better.
[0059] Step S202: Divide the grayscale of the LED cabinet into N grayscale sub-items according to the first division item number N, determine the boundary grayscale in each grayscale sub-item, and use the boundary grayscale in each grayscale sub-item as the pre-selected grayscale.
[0060] The grayscale boundary refers to the maximum grayscale value and the minimum grayscale value in each grayscale item.
[0061] After the 0-255 grayscale is expanded, taking the grayscale range of the current LED box as 0-65535 as an example, that is, the number of grayscales of the LED box is 65536, assuming that the number of the first division items N in step S201 is 4, then after steps S201 and S202, the grayscale items include [0, 16383], [16384, 32767], [32768, 49151], [49152, 65535], that is, the boundary grayscales are 0, 16383, 16384, 32767, 32768, 49151, 49152, 65535.
[0062] In addition, the method for determining the target brightness value corresponding to each pre-selected grayscale is to obtain the initial brightness value corresponding to each pre-selected grayscale of the LED cabinet, perform gamma correction on the initial brightness value, and obtain the target brightness value. Furthermore, the initial brightness value corresponding to each grayscale of the LED cabinet can be collected by a light gun. Furthermore, the initial brightness value is the average brightness value of the light points in a certain area of the LED cabinet.
[0063] Technicians can pre-set the corresponding gamma table according to the screen conditions and requirements. In the gamma table, each grayscale from 0 to 255 can correspond to a certain gamma value, which is used to adjust the display effect of the display, that is, to adjust the brightness of the light.
[0064] Step S102: Determine the target brightness value corresponding to each light point in the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box.
[0065] Specifically, for each light point, step S102 includes:
[0066] Step S1021: determine whether the grayscale of the light point is the pre-selected grayscale, if so, execute step S1022, otherwise execute step S1023;
[0067] Step S1022: reading the target brightness value corresponding to the grayscale of the light point from the grayscale-brightness table as the target brightness value corresponding to the light point;
[0068] Step S1023: Read the target brightness values corresponding to two pre-selected grayscales adjacent to the grayscale of the light point from the grayscale-brightness table, and calculate the target brightness value corresponding to the light point by interpolation based on the two pre-selected grayscales adjacent to the grayscale of the light point and the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the light point.
[0069] That is, in this step, if the grayscale of a certain lamp point on the LED box is the pre-selected grayscale, the target brightness value corresponding to the grayscale of the lamp point can be read from the grayscale-brightness table by directly looking up the table without performing any calculation. If the grayscale of a certain lamp point is not the pre-selected grayscale, it is necessary to perform an interpolation operation based on the pre-selected grayscale in the grayscale-brightness table and the brightness value corresponding to the pre-selected grayscale, so as to calculate the target brightness value corresponding to the lamp point.
[0070] To facilitate understanding, the following example is used to illustrate:
[0071] Assuming that the boundary grayscale is 0, 16383, 16384, 32767, 32768, 49151, 49152, 65535, and the grayscale of a certain light point of the LED box is 33123, the two boundary grayscales adjacent to the grayscale are 32768 and 49151 respectively. Assuming that the target brightness corresponding to 32768 is L1, and the target brightness corresponding to 49151 is L2, the interpolation method - linear interpolation is used to obtain the equation (L0-L1) / (L2-L1)=(33123-32768) / (49151-32768), and the target brightness value L0 corresponding to the light point is calculated.
[0072] Of course, the interpolation method is not limited to linear interpolation, and other interpolation methods can also be used for processing.
[0073] In another implementation, step S1023 may also be to use the nearest neighbor interpolation method, and use the target brightness value of the pre-selected grayscale with the smallest grayscale difference from the grayscale of the light point as the target brightness value of the light point. This method does not require calculation, and can improve the efficiency of determining the target brightness value. Of course, when there are enough pre-selected grayscales in the grayscale-brightness table, step S1023 may also use bicubic interpolation to calculate the target brightness value of the light point, and calculate the target brightness value of the light point by constructing a rectangular network based on the 16 pre-selected grayscales closest to the light point and the corresponding target brightness values.
[0074] Step S103: adjusting the brightness value of each light point in the LED box to a corresponding target brightness value to correct the linearity of the LED box.
[0075] Specifically, in this step, it is necessary to adjust the brightness value of each light point in the LED box to the corresponding target brightness value according to the correction coefficient corresponding to each light point. Among them, the correction coefficient corresponding to each light point is obtained by point-by-point correction by the correction system in the host computer. In step S102, after determining the target brightness value corresponding to each light point in the LED box, the host computer will read the target brightness value corresponding to each light point in the LED box, and calculate the correction coefficient of each LED light point according to the current brightness value of each light point in the LED box, and send the correction coefficient to the receiving card. After the receiving card obtains the correction coefficient of each light point in the LED box, it adjusts the brightness value of each light point to the corresponding target brightness value according to the correction coefficient.
[0076] By using the cabinet linearity correction method provided in this embodiment, by pre-selecting and storing the grayscale-brightness table in the receiving card, when correcting the linearity of the LED cabinet, the target brightness value of each light point on the LED cabinet is directly obtained according to the pre-stored grayscale-brightness table to realize the correction of the linearity of the LED cabinet. There is no need to store the target brightness value corresponding to each grayscale inside the FPGA (receiving card), thereby greatly reducing the storage space inside the FPGA (receiving card), and the performance and resources of the FPGA will be highly optimized. At the same time, the correction of the overall linearity of the cabinet can be realized, which meets the needs of cabinet seam repair and ensures the display effect.
[0077] In another embodiment of the present invention, the preselected grayscale in the grayscale-brightness table may also be determined by the following second determination method: Figure 4 As shown, the second determination method of the preselected gray scale includes:
[0078] Step S301: Divide the grayscale of the LED box into low grayscale and high grayscale;
[0079] Specifically, the division of low grayscale and high grayscale can be made by technicians according to actual conditions, and the present invention does not limit this. For example, the first 1024 (2 to the power of 10) grayscales, i.e. [0, 1023], can be divided as low grayscales, and the remaining grayscales can be divided as high grayscales.
[0080] Step S302: Obtain a preset second division item number M, divide the high grayscale into M grayscale sub-items according to the second division item number M, determine the boundary grayscale in each grayscale sub-item, and use the boundary grayscale in each grayscale sub-item and each low grayscale as pre-selected grayscales.
[0081] Since the display effect of low grayscale is more sensitive to the human eye, in this embodiment, all low grayscales are refined through gamma correction to adjust the brightness of the lamp points to ensure the display effect at each low grayscale. High grayscale has a higher tolerance for errors (the error between the actual ratio relationship and the linear ratio relationship). Therefore, in this embodiment, the high grayscale is divided into grayscale items, and the brightness values of the boundary grayscale values in the high grayscale are gamma-corrected and stored in the grayscale-brightness table. Other non-boundary grayscales in the high grayscale are calculated by interpolation in the subsequent process to obtain the target brightness values.
[0082] Compared with the first determination method using a preselected grayscale, the method provided in this embodiment can further improve the display effect of the display screen at a low grayscale after linearity correction.
[0083] In yet another embodiment of the present invention, step S102 further includes:
[0084] Step S1021: determine whether the grayscale of the light point is the pre-selected grayscale, if so, execute step S1022, otherwise execute step S1024;
[0085] Step S1022: reading the target brightness value corresponding to the grayscale of the light point from the grayscale-brightness table as the target brightness value corresponding to the light point;
[0086] Step S1024: Determine whether the grayscale brightness consistency in the grayscale-brightness table reaches a preset standard, if so, execute step S1025, otherwise, execute step S1023.
[0087] Among them, in this step, it is determined whether the grayscale brightness consistency in the grayscale-brightness table reaches the preset standard, that is, it is determined whether the linearity of the grayscale brightness in the grayscale-brightness table reaches the preset standard. Further, the linearity can be determined by the grayscale brightness curve in the grayscale-brightness table, that is, the linearity is determined by identifying the curve peaks in the grayscale brightness curve in the grayscale-brightness table. When the number of curve peaks is lower than the preset number standard, it can be considered that the preset standard is met, and vice versa.
[0088] Step S1023: Read the target brightness values corresponding to two pre-selected grayscales adjacent to the grayscale of the light point from the grayscale-brightness table, and calculate the target brightness value corresponding to the light point by interpolation based on the two pre-selected grayscales adjacent to the grayscale of the light point and the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the light point.
[0089] Step S1025: randomly read the target brightness values corresponding to any two pre-selected grayscales in the grayscale-brightness table, and calculate the target brightness value corresponding to the light point by interpolation based on the selected any two pre-selected grayscales and the target brightness values corresponding to any two pre-selected grayscales.
[0090] In this embodiment, if the grayscale brightness consistency in the grayscale-brightness table reaches the preset standard, when calculating the target brightness value of the light point by interpolation, it is not necessary to first determine the two adjacent pre-selected grayscales of the light point and then read the target brightness value of the boundary grayscale value. It is only necessary to randomly select two pre-selected grayscales and the corresponding target brightness value from the grayscale-brightness table, which simplifies the steps and improves the efficiency of determining the target brightness value. In turn, the linearity correction efficiency of the LED cabinet is improved.
[0091] In another implementation, in step S1025, the target brightness value corresponding to two pre-selected grayscales close to the grayscale of the light point can be read in the grayscale-brightness table, and the target brightness value corresponding to the light point can be calculated by interpolation based on the selected two pre-selected grayscales close to the grayscale of the light point and the two pre-selected grayscales close to the grayscale of the light point.
[0092] A preset grayscale difference range may be set, and two preselected grayscales are determined from the preselected grayscales whose grayscale difference with the grayscale of the light point is within the preset grayscale difference range for interpolation processing to calculate the target brightness value corresponding to the light point.
[0093] In one embodiment of the present invention, a method for controlling a display of an LED display screen is also provided. For each LED box in the LED display screen, the method comprises:
[0094] Obtain the grayscale of each light point on the LED box, and use the above-mentioned box linearity correction method to determine the target brightness value of each light point on the LED box;
[0095] Obtain the correction coefficient of each light point on the LED box, which is calculated based on the target brightness value and current brightness value of each light point on the LED box;
[0096] The brightness value of each light point on the LED box is adjusted to the corresponding target brightness value according to the correction coefficient to correct the linearity of the LED box.
[0097] In one embodiment of the present invention, a box linearity correction device is also provided. Figure 5 As shown, the device includes a storage module 501, a target brightness value determination module 502, and an adjustment control module 503, wherein:
[0098] The storage module 501 is connected to the target brightness value determination module 502 and is used to store a grayscale-brightness table corresponding to the LED cabinet, wherein the grayscale-brightness table includes a plurality of pre-selected grayscales and a target brightness value corresponding to each pre-selected grayscale, and a first determination method of the pre-selected grayscale includes: obtaining a preset first division item number N, dividing the grayscale of the LED cabinet into N grayscale sub-items according to the first division item number N, and determining a boundary grayscale in each grayscale sub-item, and using the boundary grayscale in each grayscale sub-item as the pre-selected grayscale;
[0099] The target brightness value determination module 502 is connected to the adjustment control module 503 and is used to determine the target brightness value corresponding to each light point in the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box;
[0100] The adjustment control module 503 is used to adjust the brightness value of each light point in the LED box to a corresponding target brightness value to correct the linearity of the LED box.
[0101] Furthermore, the second method for determining the preselected grayscale in the grayscale-brightness table stored in the storage module 501 includes:
[0102] Divide the grayscale of the LED cabinet into low grayscale and high grayscale;
[0103] A preset second division item number M is obtained, and the high grayscale is equally divided into M grayscale sub-items according to the second division item number M, and a boundary grayscale in each grayscale sub-item is determined, and the boundary grayscale in each grayscale sub-item and each low grayscale are used as pre-selected grayscales.
[0104] In another embodiment of the present invention, Figure 6 As shown, the target brightness value determination module 502 includes a judgment unit 5021, a reading unit 5022 and an interpolation calculation unit 5023, wherein:
[0105] The judging unit 5021 is connected to the reading unit 5022 and the interpolation calculation unit 5023, and is used to judge, for each light point, whether the grayscale of the light point is the pre-selected grayscale, and if so, send a reading instruction to the reading unit, otherwise send an interpolation calculation instruction to the interpolation calculation unit;
[0106] A reading unit 5022, configured to read a target brightness value corresponding to the grayscale of the light point from the grayscale-brightness table according to a reading instruction as the target brightness value corresponding to the light point;
[0107] The interpolation calculation unit 5023 is used to read the target brightness values corresponding to two pre-selected grayscales adjacent to the grayscale of the light point from the grayscale-brightness table according to the interpolation calculation instruction, and calculate the target brightness value corresponding to the light point by interpolation according to the two pre-selected grayscales adjacent to the grayscale of the light point and the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the light point.
[0108] The present invention also provides an LED display screen, which includes a plurality of LED boxes 701 and a plurality of receiving cards 702 ( Figure 7 Only one receiving card and one LED box are drawn for illustration), each LED box 701 is connected to a corresponding receiving card 702;
[0109] The receiving card 702 is used to calculate the target brightness value of each lamp point on the LED box connected thereto according to the above-mentioned box linearity correction method, and obtain the correction coefficient of each lamp point on the LED box, the correction coefficient being calculated based on the target brightness value of each lamp point on the LED box and the current brightness value; according to the correction coefficient, the brightness value of each lamp point on the LED box is adjusted to the corresponding target brightness value.
[0110] The cabinet linearity correction method, device, display screen and display control method provided by the present invention preselect and store a grayscale-brightness table in a receiving card. When correcting the linearity of an LED cabinet, the target brightness value of each light point on the LED cabinet is directly obtained according to the pre-stored grayscale-brightness table to realize the correction of the linearity of the LED cabinet. There is no need to store the target brightness value corresponding to each grayscale inside the FPGA (receiving card), thereby greatly reducing the storage space inside the FPGA (receiving card). The performance and resources of the FPGA will be highly optimized, and at the same time, the correction of the overall linearity of the cabinet can be realized, meeting the needs of cabinet seam repair and ensuring the display effect.
[0111] 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" and "second" 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 box linearity correction method, characterized in that: The method comprises: A grayscale-brightness table corresponding to an LED box is stored, wherein the grayscale-brightness table includes a plurality of preselected grayscales and a target brightness value corresponding to each preselected grayscale, wherein a first method for determining the preselected grayscale includes: obtaining a preset first division item number N, dividing the grayscale of the LED box into N grayscale sub-items according to the first division item number N, and determining a boundary grayscale in each grayscale sub-item, and using the boundary grayscale in each grayscale sub-item as the preselected grayscale; Determine the target brightness value corresponding to each light point in the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box; Adjusting the brightness value of each light point in the LED box to a corresponding target brightness value to correct the linearity of the LED box; The determining of the target brightness value corresponding to each light point in the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box comprises: for each light point, determining whether the grayscale of the light point is a preselected grayscale; if not, reading the target brightness values corresponding to two preselected grayscales adjacent to the grayscale of the light point from the grayscale-brightness table, and obtaining the target brightness value corresponding to the light point by interpolation according to the two preselected grayscales adjacent to the grayscale of the light point and the target brightness values corresponding to the two preselected grayscales adjacent to the grayscale of the light point; after determining that the grayscale of the light point is not the preselected grayscale, determining the target brightness value corresponding to the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box. The target brightness value corresponding to each light point in the body also includes: judging whether the grayscale brightness consistency in the grayscale-brightness table reaches a preset standard; if so, randomly reading the target brightness values corresponding to any two pre-selected grayscales in the grayscale-brightness table, and calculating the target brightness value corresponding to the light point by interpolation according to the selected any two pre-selected grayscales and the target brightness values corresponding to any two pre-selected grayscales; otherwise, reading the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the light point from the grayscale-brightness table, and calculating the target brightness value corresponding to the light point by interpolation according to the two pre-selected grayscales adjacent to the grayscale of the light point and the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the light point; Among them, judging whether the grayscale brightness consistency in the grayscale-brightness table reaches a preset standard includes: identifying the number of curve peaks in the grayscale brightness curve in the grayscale-brightness table, and if the number of curve peaks is lower than a preset number standard, determining that the grayscale brightness consistency reaches the preset standard.
2. The box linearity correction method according to claim 1, characterized in that: The second determination method of the preselected gray scale comprises: Divide the grayscale of the LED cabinet into low grayscale and high grayscale; Obtain a preset second division item number M, divide the high grayscale into M grayscale sub-items according to the second division item number M, determine the boundary grayscale in each grayscale sub-item, and use the boundary grayscale in each grayscale sub-item and each low grayscale as the pre-selected grayscale.
3. The box linearity correction method according to claim 1, characterized in that: The method for determining the target brightness value corresponding to each pre-selected grayscale includes: The initial brightness values corresponding to the LED box at each pre-selected grayscale are obtained, and gamma correction is performed on the initial brightness values to obtain the target brightness value.
4. The box linearity correction method according to claim 1, characterized in that: The step of determining the target brightness value corresponding to each light point in the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box further comprises: If the grayscale of the light point is the preselected grayscale, the target brightness value corresponding to the grayscale of the light point is read from the grayscale-brightness table as the target brightness value corresponding to the light point.
5. A method for controlling a LED display screen, characterized in that: For each LED box in the LED display screen, the method includes: Obtain the grayscale of each light point on the LED box, and determine the target brightness value of each light point on the LED box using the box linearity correction method described in any one of claims 1 to 4; Obtaining a correction coefficient for each light point on the LED box, wherein the correction coefficient is calculated based on a target brightness value and a current brightness value of each light point on the LED box; The brightness value of each light point on the LED box is adjusted to a corresponding target brightness value according to the correction coefficient to correct the linearity of the LED box.
6. A box linearity correction device, characterized in that: The device comprises a storage module, a target brightness value determination module, and an adjustment control module, wherein: The storage module is connected to the target brightness value determination module and is used to store a grayscale-brightness table corresponding to the LED box, wherein the grayscale-brightness table includes a plurality of pre-selected grayscales and a target brightness value corresponding to each pre-selected grayscale, and a first determination method of the pre-selected grayscale includes: obtaining a preset first division item number N, dividing the grayscale of the LED box into N grayscale sub-items according to the first division item number N, and determining a boundary grayscale in each grayscale sub-item, and using the boundary grayscale in each grayscale sub-item as the pre-selected grayscale; The target brightness value determination module is connected to the adjustment control module and is used to determine the target brightness value corresponding to each light point in the LED box according to the grayscale-brightness table and the grayscale of each light point in the LED box; The adjustment control module is used to adjust the brightness value of each light point in the LED box to a corresponding target brightness value to correct the linearity of the LED box; The target brightness value determination module includes a judgment unit and an interpolation calculation unit, wherein: the judgment unit is connected to the interpolation calculation unit, and is used to judge whether the grayscale of each light point is a pre-selected grayscale, and if not, an interpolation calculation instruction is sent to the interpolation calculation unit; the interpolation calculation unit is used to read the target brightness value corresponding to two pre-selected grayscales adjacent to the grayscale of the light point from the grayscale-brightness table according to the interpolation calculation instruction, and calculate the target brightness value corresponding to the light point by interpolation according to the two pre-selected grayscales adjacent to the grayscale of the light point and the target brightness value corresponding to the two pre-selected grayscales adjacent to the grayscale of the light point; after judging that the grayscale of the light point is not the pre-selected grayscale, the interpolation calculation unit is used to read the target brightness value corresponding to two pre-selected grayscales adjacent to the grayscale of the light point according to the grayscale-brightness table and the LED box The grayscale of each lamp point in the LED box body, determining the target brightness value corresponding to each lamp point in the LED box body also includes: judging whether the grayscale brightness consistency in the grayscale-brightness table reaches a preset standard; if so, randomly reading the target brightness values corresponding to any two pre-selected grayscales in the grayscale-brightness table, and calculating the target brightness value corresponding to the lamp point by interpolation according to the selected any two pre-selected grayscales and the target brightness values corresponding to any two pre-selected grayscales; otherwise, reading the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the lamp point from the grayscale-brightness table, and calculating the target brightness value corresponding to the lamp point by interpolation according to the two pre-selected grayscales adjacent to the grayscale of the lamp point and the target brightness values corresponding to the two pre-selected grayscales adjacent to the grayscale of the lamp point; Among them, judging whether the grayscale brightness consistency in the grayscale-brightness table reaches a preset standard includes: identifying the number of curve peaks in the grayscale brightness curve in the grayscale-brightness table, and if the number of curve peaks is lower than a preset number standard, determining that the grayscale brightness consistency reaches the preset standard.
7. The box linearity correction device according to claim 6, characterized in that: The second method for determining the preselected grayscale in the grayscale-brightness table stored in the storage module includes: Divide the grayscale of the LED cabinet into low grayscale and high grayscale; Obtain a preset second division item number M, divide the high grayscale into M grayscale sub-items according to the second division item number M, determine the boundary grayscale in each grayscale sub-item, and use the boundary grayscale in each grayscale sub-item and each low grayscale as the pre-selected grayscale.
8. The box linearity correction device according to claim 6, characterized in that: The target brightness value determination module also includes a reading unit, wherein: The judging unit is connected to the reading unit and is used to judge, for each light point, whether the grayscale of the light point is a pre-selected grayscale, and if so, send a reading instruction to the reading unit; The reading unit is used to read the target brightness value corresponding to the grayscale of the light point from the grayscale-brightness table according to the reading instruction as the target brightness value corresponding to the light point.
9. An LED display screen, characterized in that: The LED display screen includes a plurality of LED boxes and a plurality of receiving cards, and each LED box is connected to a corresponding receiving card; The receiving card is used to calculate the target brightness value of each lamp point on the LED box connected thereto according to the box linearity correction method according to any one of claims 1 to 4, and obtain the correction coefficient of each lamp point on the LED box, wherein the correction coefficient is calculated according to the target brightness value and current brightness value of each lamp point on the LED box; and according to the correction coefficient, the brightness value of each lamp point on the LED box is adjusted to the corresponding target brightness value.
