CN114783367A - Box linearity correction method and device, display screen and display control method - Google Patents

Box linearity correction method and device, display screen and display control method Download PDF

Info

Publication number
CN114783367A
CN114783367A CN202210472044.9A CN202210472044A CN114783367A CN 114783367 A CN114783367 A CN 114783367A CN 202210472044 A CN202210472044 A CN 202210472044A CN 114783367 A CN114783367 A CN 114783367A
Authority
CN
China
Prior art keywords
gray scale
box body
brightness value
gray
preselected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210472044.9A
Other languages
Chinese (zh)
Inventor
周锦志
汪安春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Colorlight Cloud Technology Co Ltd filed Critical Colorlight Cloud Technology Co Ltd
Priority to CN202210472044.9A priority Critical patent/CN114783367A/en
Publication of CN114783367A publication Critical patent/CN114783367A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of El Displays (AREA)

Abstract

The invention discloses a box linearity correction method, a device, a display screen and a display control method, wherein the method comprises the following steps: the method comprises the following steps of storing a gray scale-brightness table corresponding to an LED box body, wherein the gray scale-brightness table comprises a plurality of preselected gray scales and a target brightness value corresponding to each preselected gray scale, and the first determination method of the preselected gray scales comprises the following steps: acquiring a preset first division item number N, equally dividing the gray scale of the LED box body into N gray scale items according to the first division item number N, determining a boundary gray scale in each gray scale item, and taking the boundary gray scale in each gray scale item as a preselected gray scale; determining a target brightness value corresponding to each lamp point in the LED box body according to the gray scale-brightness table and the gray scale of each lamp point in the LED box body; and adjusting the brightness value of each lamp point in the LED box body to be a corresponding target brightness value so as to correct the linearity of the LED box body. The correction method, the correction device, the display screen and the display control method reduce the internal storage space of the FPGA, and enable the performance and resources of the FPGA to be optimized.

Description

Box linearity correction method and device, display screen and display control method
Technical Field
The invention relates to the field of LED display screen correction, in particular to a box linearity correction method and device, a display screen and a display control method.
Background
The linearity of the LED box is to determine whether the ratio between the brightness value of the light gun test of the screen and the gray scale value (R/G/B) sent to the LED box by the upper computer software is constant, as shown in fig. 1, only 0-255 gray scale values are shown in fig. 1, and actually 0-255 gray scales can correspond to 0-65535 gray scales (16 power of 2, color depth 16 bit).
If the linearity of one LED box body is good, the ratio of the LED box body is basically constant, but the ratio of the existing part of the LED box body changes along with the change of the R/G/B value, and then is in a nonlinear state, and the problem of seam repair of the LED box body can be influenced in the nonlinear state.
For a nonlinear LED box, the above ratio needs to be corrected and compensated to make the ratio have a linear relationship, if each gray scale performs compensation, the storage space required inside the FPGA is very huge for the Blook RAM of the FPGA, assuming that the common color depth of the screen is 13-16 bits, the storage space of 65536(64K) × 3(R/G/B) × 16 bits is required, and if infiit (gray scale expansion) is used for processing, after 16 bits are changed into 22 bits, the used storage space is larger, and for the receiving card, there may be a problem of insufficient storage space. Therefore, there is a need to find a new solution to solve the above problems.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for correcting box linearity, which comprises:
the method comprises the following steps of storing a gray scale-brightness table corresponding to an LED box body, wherein the gray scale-brightness table comprises a plurality of preselected gray scales and a target brightness value corresponding to each preselected gray scale, and the first determination method of the preselected gray scales comprises the following steps: acquiring a preset first division item number N, equally dividing the gray scale of the LED box body into N gray scale items according to the first division item number N, determining a boundary gray scale in each gray scale item, and taking the boundary gray scale in each gray scale item as a preselected gray scale;
determining a target brightness value corresponding to each lamp point in the LED box body according to the gray scale-brightness table and the gray scale of each lamp point in the LED box body;
and adjusting the brightness value of each lamp point in the LED box body to be a corresponding target brightness value so as to correct the linearity of the LED box body.
Further, the second determination method of the preselected gray level includes:
dividing the gray scale of the LED box body into a low gray scale and a high gray scale;
and acquiring a preset second division item number M, equally dividing the high gray scale into M gray scale items according to the second division item number M, determining a boundary gray scale in each gray scale item, and taking the boundary gray scale and each low gray scale in each gray scale item as preselected gray scales.
Further, the method for determining the target brightness value corresponding to each preselected gray level comprises the following steps:
and acquiring initial brightness values corresponding to the LED box body under each pre-selected gray scale, and performing gamma correction on the initial brightness values to obtain target brightness values.
Further, determining a target brightness value corresponding to each lamp point in the LED box according to the gray scale-brightness table and the gray scale of each lamp point in the LED box includes:
for each lamp point, judging whether the gray scale of the lamp point is a preselected gray scale;
if so, reading a target brightness value corresponding to the gray scale of the lamp point from the gray scale-brightness table as a target brightness value corresponding to the lamp point;
otherwise, reading target brightness values corresponding to two preselected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table, and calculating to obtain the target brightness value corresponding to the lamp point in an interpolation mode according to the two preselected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two preselected gray scales adjacent to the gray scale of the lamp point.
Further, determining a target brightness value corresponding to each lamp point in the LED box according to the gray scale-brightness table and the gray scale of each lamp point in the LED box further includes:
judging whether the gray scale brightness consistency in the gray scale-brightness table reaches a preset standard or not;
if yes, after the gray scale of the lamp point is determined not to be the preselected gray scale, randomly reading target brightness values corresponding to any two preselected gray scales in a gray scale-brightness table, and calculating to obtain target brightness values corresponding to the lamp point in an interpolation mode according to the selected any two preselected gray scales and the target brightness values corresponding to any two preselected gray scales;
otherwise, after the gray scale of the lamp point is determined not to be the preselected gray scale, reading target brightness values corresponding to two preselected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table, and calculating to obtain the target brightness value corresponding to the lamp point in an interpolation mode according to the two preselected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two preselected gray scales adjacent to the gray scale of the lamp point.
The invention also provides a display control method of the LED display screen, and for each LED box body in the LED display screen, the method comprises the following steps:
acquiring gray scales of each lamp point on the LED box body, and determining a target brightness value of each lamp point on the LED box body by using the box body linearity correction method;
acquiring a correction coefficient of each lamp point on the LED box body, wherein the correction coefficient is obtained by calculation according to a target brightness value and a current brightness value of each lamp point on the LED box body; and adjusting the brightness value of each lamp point on the LED box body to a corresponding target brightness value according to the correction coefficient so as to correct the linearity of the LED box body.
The invention also provides a box linearity correction device, which comprises a storage module, a target brightness value determining module and an adjusting control module, wherein:
the storage module is connected with the target brightness value determination module and used for storing a gray scale-brightness table corresponding to the LED box body, the gray scale-brightness table comprises a plurality of preselected gray scales and target brightness values corresponding to the preselected gray scales, and the first determination method of the preselected gray scales comprises the following steps: acquiring a preset first division item number N, equally dividing the gray scale of the LED box body into N gray scale items according to the first division item number N, determining a boundary gray scale in each gray scale item, and taking the boundary gray scale in each gray scale item as a preselected gray scale;
the target brightness value determining module is connected with the adjusting control module and used for determining a target brightness value corresponding to each lamp point in the LED box body according to the gray scale-brightness table and the gray scale of each lamp point in the LED box body;
and the adjusting control module is used for adjusting the brightness value of each lamp point in the LED box body to a corresponding target brightness value so as to correct the linearity of the LED box body.
Further, the second determination method of the preselected gray level in the gray level-brightness table stored in the storage module includes:
dividing the gray scale of the LED box body into a low gray scale and a high gray scale;
and acquiring a preset second division item number M, equally dividing the high gray scale into M gray scale sub-items according to the second division item number M, determining a demarcation gray scale in each gray scale sub-item, and taking the demarcation gray scale and each low gray scale in each gray scale sub-item as preselected gray scales.
Further, the target brightness value determination module includes a determination unit, a reading unit, and an interpolation calculation unit, wherein:
the judgment unit is connected with the reading unit and the interpolation calculation unit and is used for judging whether the gray scale of each lamp point is a preselected gray scale or not, if so, sending a reading instruction to the reading unit, and otherwise, sending an interpolation calculation instruction to the interpolation calculation unit;
the reading unit is used for reading a target brightness value corresponding to the gray scale of the lamp point from the gray scale-brightness table according to the reading instruction, and the target brightness value is used as a target brightness value corresponding to the lamp point;
and the interpolation calculation unit is used for reading target brightness values corresponding to two preselected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table according to the interpolation calculation instruction, and calculating the target brightness values corresponding to the lamp point in an interpolation mode according to the two preselected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two preselected gray scales adjacent to the gray scale of the lamp point.
The invention also provides an LED display screen which comprises a plurality of LED box bodies and a plurality of receiving cards, wherein each LED box body is correspondingly connected with one receiving card;
the receiving card is used for calculating and obtaining a target brightness value of each lamp point on the LED box body connected with the receiving card according to the box body linearity correction method, and obtaining a correction coefficient of each lamp point on the LED box body, wherein the correction coefficient is obtained by calculation according to the target brightness value and the current brightness value of each lamp point on the LED box body; and adjusting the brightness value of each lamp point on the LED box body to be a corresponding target brightness value according to the correction coefficient.
The invention provides a box linearity correction method, a device, a display screen and a display control method, which at least have the following beneficial effects:
(1) through preselecting and storing the gray scale-brightness table in the receiving card, when the linearity of the LED box body is corrected, the target brightness value of each lamp point on the LED box body is directly obtained according to the pre-stored gray scale-brightness table, so that the linearity of the LED box body is corrected, the target brightness value corresponding to each gray scale is not required to be stored in the FPGA (receiving card), the storage space in the FPGA (receiving card) is greatly reduced, the performance and resources of the FPGA are highly optimized, the whole linearity of the box body can be corrected, the requirement of repairing seams of the box body is met, and the display effect is ensured.
(2) The gray scale of the LED box body is divided into a low gray scale and a high gray scale, each low gray scale and a corresponding target brightness value are stored in the gray scale-brightness table, and the target brightness value of the middle-boundary gray scale value in the high gray scale is stored, so that the display effect of the display screen after linearity correction in the low gray scale can be further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a non-linear plot of 0-255 gray scale luminance before correction;
FIG. 2 is a flow chart of a method for box linearity correction in an embodiment of the present invention;
FIG. 3 is a flow chart of a first method for determining preselected gray levels in accordance with one embodiment of the present invention;
FIG. 4 is a flow chart of a second method for determining preselected gray levels in accordance with one embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a linearity correction device of a box body according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating a target luminance value determination module according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an LED housing and a receiving card in an embodiment of the invention;
501-a storage module, 502-a target brightness value determining module, 503-an adjustment control module, 5021-a judging unit, 5022-a reading unit, 5023 an interpolation computing unit, 701-an LED box body and 702-a receiving card.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment of the present invention, a method for modifying box linearity is disclosed, which is applied in a receiving card, as shown in fig. 2, the method includes:
step S101: and storing the gray scale-brightness table corresponding to the LED box body.
In this step, because each LED box is connected to one receiving card in the LED display screen, the stored grayscale-luminance table is the grayscale-luminance table corresponding to the LED box to which the receiving card is connected.
Specifically, the gray scale-brightness table includes a plurality of preselected gray scales and a target brightness value corresponding to each preselected gray scale. That is, in the gray-to-brightness table, there is a target brightness value associated with each preselected gray level.
In the gray scale-brightness table, only the preselected gray scales and the target brightness value corresponding to each preselected gray scale are stored, for example, if all the gray scales and the target brightness values corresponding to the gray scales are stored, a storage space of 16 bits is needed. Because storage space is greatly saved.
As shown in fig. 3, the first method for determining the preselected gray level includes:
step S201: and acquiring a preset first division item number N.
The first division number N is determined to balance performance and resources of an FPGA (Field Programmable Gate Array), and may specifically be selected from 1, 2, 3, 4, 5, 6, 7, 8, and the like according to an actual situation, and each time the value is different, the division number N corresponds to performing N equal divisions on the gray scale of the LED box. In this step, the gray scale is divided into N gray scale sub-items, and it should be understood that when the N value is larger, that is, the number of gray scale sub-items is larger (that is, the dividing fineness is higher), when a target brightness value corresponding to a certain gray scale is calculated by interpolation subsequently, the calculation result is more accurate, and the linearity correction effect is better.
Step S202: and equally dividing the gray scale of the LED box body into N gray scale sub-items according to the first division item number N, determining the boundary gray scale in each gray scale sub-item, and taking the boundary gray scale in each gray scale sub-item as a preselected gray scale.
The demarcation gray level refers to the maximum gray level value and the minimum gray level value in each gray level sub-item.
After the gray levels of 0 to 255 are expanded, taking the gray level range of the current LED box as 0 to 65535, that is, the gray level number of the LED box is 65536, and assuming that the number N of the first division item in step S201 is 4, the gray level items include [0, 16383], [16384, 32767], [32768, 49151], [49152, 65535], that is, the demarcation gray levels are 0, 16383, 16384, 32767, 32768, 49151, 49152, 65535 through steps S201 and S202.
In addition, the method for determining the target brightness value corresponding to each preselected gray scale comprises the steps of obtaining initial brightness values corresponding to the LED box body under each preselected gray scale, and performing gamma correction on the initial brightness values to obtain the target brightness values. Furthermore, the initial brightness values of the LED box body corresponding to the gray scales can be collected through the light gun. Furthermore, the initial brightness value is the average brightness value of a certain area of lamp points in the LED box body.
A technician can preset a corresponding gamma table according to the screen condition and the requirement, and each gray scale from 0 to 255 in the gamma table can correspondingly have a determined gamma value for adjusting the display effect of the display screen, namely adjusting the brightness of the lamp point.
Step S102: and determining a target brightness value corresponding to each lamp point in the LED box body according to the gray scale-brightness table and the gray scale of each lamp point in the LED box body.
Specifically, for each lamp point, step S102 includes:
step S1021: judging whether the gray scale of the lamp point is a preselected gray scale, if so, executing step S1022, otherwise, executing step S1023;
step S1022: reading a target brightness value corresponding to the gray scale of the lamp point from the gray scale-brightness table to serve as the target brightness value corresponding to the lamp point;
step S1023: and reading target brightness values corresponding to two pre-selected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table, and calculating to obtain the target brightness value corresponding to the lamp point in an interpolation mode according to the two pre-selected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two pre-selected gray scales adjacent to the gray scale of the lamp point.
That is, in this step, if the gray scale of a certain lamp point on the LED box is the preselected gray scale, the target brightness value corresponding to the gray scale of the lamp point may be read from the gray scale-brightness table in the form of direct table lookup without calculation, and if the gray scale of a certain lamp point is not the preselected gray scale, interpolation operation is performed according to the preselected gray scale and the brightness value corresponding to the preselected gray scale in the gray scale-brightness table, so as to obtain the target brightness value corresponding to the lamp point.
For ease of understanding, the following examples are set forth:
assuming that the dividing gray scales are 0, 16383, 16384, 32767, 32768, 49151, 49152 and 65535, and the gray scale of a certain light point of the LED box is 33123, two dividing gray scales adjacent to the gray scales are 32768 and 49151 respectively, assuming that the target brightness corresponding to 32768 is L1 and the target brightness corresponding to 49151 is L2, obtaining an equation (L0-L1)/(L2-L1) (33123 + 32768)/(49151 + 32768) by interpolation-linear interpolation, and calculating the target brightness value L0 corresponding to the light point.
Of course, the interpolation method is not limited to linear interpolation, and other interpolation methods may be used for the processing.
In another implementation manner, in step S1023, a target brightness value of a preselected gray scale having a smallest gray scale difference with the lamp point gray scale may be used as the target brightness value of the lamp point by using a nearest neighbor interpolation method. The method does not need calculation, and can improve the determination efficiency of the target brightness value. Of course, when the preselected gray scales in the gray scale-brightness table are sufficiently large, step S1023 may also calculate the target brightness value of the light point by using a bicubic interpolation method, and calculate the target brightness value of the light point according to the 16 preselected gray scales nearest to the light point and the corresponding target brightness values by constructing a rectangular network.
Step S103: and adjusting the brightness value of each lamp point in the LED box body to be a corresponding target brightness value so as to correct the linearity of the LED box body.
Specifically, in this step, the brightness value of each lamp point in the LED box needs to be adjusted to a corresponding target brightness value according to the corresponding correction coefficient of each lamp point. In step S102, after determining a target brightness value corresponding to each light point in the LED box, the upper computer may read the target brightness value corresponding to each light point in the LED box, calculate a correction coefficient for each LED light point according to a 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 body, the brightness value of each light point is adjusted to be the corresponding target brightness value according to the correction coefficient.
By utilizing the box linearity correction method provided by the embodiment, the gray scale-brightness table is pre-selected and stored in the receiving card, when the linearity of the LED box is corrected, the target brightness value of each lamp point on the LED box is directly obtained according to the pre-stored gray scale-brightness table, so that the linearity of the LED box is corrected, the target brightness value corresponding to each gray scale is not required to be stored in the FPGA (receiving card), the storage space in the FPGA (receiving card) is greatly reduced, the performance and resources of the FPGA are highly optimized, the whole linearity of the box can be corrected, the requirement of box seam repair is met, and the display effect is ensured.
In another embodiment of the present invention, the preselected gray levels in the gray level-brightness table may be determined by a second determination method as follows, and as shown in fig. 4, the second determination method for the preselected gray levels includes:
step S301: dividing the gray scale of the LED box body into a low gray scale and a high gray scale;
specifically, the division of the low gray scale and the high gray scale may be performed by a skilled person according to actual situations, and the present invention is not limited thereto. For example, the first 1024 (power of 10 of 2) grayscales, that is, [0,1023], may be divided as low grayscales, and the remaining grayscales may be divided as high grayscales.
Step S302: and acquiring a preset second division item number M, equally dividing the high gray scale into M gray scale sub-items according to the second division item number M, determining a demarcation gray scale in each gray scale sub-item, and taking the demarcation gray scale and each low gray scale in each gray scale sub-item as preselected gray scales.
Since the display effect of the low gray scale is more sensitive to human eyes, the embodiment refines the brightness of the lamp point of the low gray scale by gamma correction, ensures the display effect of each low gray scale, and has higher tolerance of the high gray scale to errors (errors between actual ratio relations and linear ratio relations), so that the embodiment performs gray scale division on the high gray scale, performs gamma correction on the brightness value of the boundary gray scale value in the high gray scale, and stores the brightness value in the gray scale-brightness table, and calculates other non-boundary gray scales in the high gray scale by adopting an interpolation method in the subsequent process to obtain the target brightness value.
Compared with the first determination method adopting the preselected gray scale, the method provided by the embodiment can further improve the display effect of the display screen after the linearity correction in the low gray scale.
In another embodiment of the present invention, step S102 further includes:
step S1021: judging whether the gray scale of the lamp point is a preselected gray scale, if so, executing a step S1022, otherwise, executing a step S1024;
step S1022: reading a target brightness value corresponding to the gray scale of the lamp point from the gray scale-brightness table to serve as the target brightness value corresponding to the lamp point;
step S1024: and judging whether the gray scale brightness consistency in the gray scale-brightness table reaches a preset standard, if so, executing the step S1025, otherwise, executing the step S1023.
In the step, it is determined whether the gray scale brightness consistency in the gray scale-brightness table reaches a preset standard, that is, it is determined whether the linearity of the gray scale brightness in the gray scale-brightness table reaches the preset standard, and further, it is determined whether the linearity is determined by identifying a curve peak value in the gray scale brightness curve in the gray scale-brightness table, and when the number of the curve peak value is lower than a preset number standard, it is determined that the linearity reaches the preset standard, and vice versa.
Step S1023: and reading target brightness values corresponding to two pre-selected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table, and calculating to obtain the target brightness value corresponding to the lamp point in an interpolation mode according to the two pre-selected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two pre-selected gray scales adjacent to the gray scale of the lamp point.
Step S1025: and randomly reading target brightness values corresponding to any two preselected gray scales in the gray scale-brightness table, and calculating to obtain target brightness values corresponding to the lamp points in an interpolation mode according to the selected target brightness values corresponding to any two preselected gray scales and any two preselected gray scales.
In this embodiment, when the gray-scale brightness consistency in the gray-scale-brightness table reaches the preset standard, the target brightness value of the lamp point may be calculated by interpolation, and only two preselected gray scales and corresponding target brightness values may be randomly selected from the gray-scale-brightness table without determining two adjacent preselected gray scales of the lamp point and reading the target brightness value of the boundary gray-scale value, thereby simplifying the steps and improving the determination efficiency of the target brightness value. And then the linearity correction efficiency of the LED box body is improved.
In another implementation manner, in step S1025, the target brightness values corresponding to the two gray scales close to the preselected gray scale of the light point gray scale may be read from the gray scale-brightness table, and the target brightness values corresponding to the light point may be calculated by an interpolation method according to the preselected gray scale of the two selected gray scales close to the light point gray scale and the target brightness values corresponding to the preselected gray scale of the two selected gray scales close to the light point gray scale.
The preset gray scale difference range can be set, two preselected gray scales are determined from the preselected gray scales of the gray scale difference of the lamp point in the preset gray scale difference range for interpolation processing, and the target brightness value corresponding to the lamp point is obtained through calculation.
In an embodiment of the present invention, there is also provided a display control method for an LED display screen, where for each LED box in the LED display screen, the method includes:
acquiring gray scales of each lamp point on the LED box body, and determining a target brightness value of each lamp point on the LED box body by using the box body linearity correction method;
acquiring a correction coefficient of each lamp point on the LED box body, wherein the correction coefficient is obtained by calculation according to a target brightness value and a current brightness value of each lamp point on the LED box body;
and adjusting the brightness value of each lamp point on the LED box body to a corresponding target brightness value according to the correction coefficient so as to correct the linearity of the LED box body.
In an embodiment of the present invention, there is further provided a box linearity modifying apparatus, as shown in fig. 5, the apparatus includes a storage module 501, a target brightness value determining module 502, and an adjustment control module 503, where:
the storage module 501 is connected to the target brightness value determination module 502, and is configured to store a gray scale-brightness table corresponding to the LED box, where the gray scale-brightness table includes a plurality of preselected gray scales and a target brightness value corresponding to each preselected gray scale, and the first determination method for the preselected gray scales includes: acquiring a preset first division item number N, equally dividing the gray scale of the LED box body into N gray scale items according to the first division item number N, determining a demarcation gray scale in each gray scale item, and taking the demarcation gray scale in each gray scale item as a preselected gray scale;
the target brightness value determining module 502 is connected with the adjusting control module 503 and is configured to determine a target brightness value corresponding to each lamp point in the LED box according to the gray scale-brightness table and the gray scale of each lamp point in the LED box;
the adjusting and controlling module 503 is configured to adjust the brightness value of each light point in the LED box to a corresponding target brightness value, so as to correct the linearity of the LED box.
Further, the second determination method for the preselected gray level in the gray level-brightness table stored in the storage module 501 includes:
dividing the gray scale of the LED box body into a low gray scale and a high gray scale;
and acquiring a preset second division item number M, equally dividing the high gray scale into M gray scale items according to the second division item number M, determining a boundary gray scale in each gray scale item, and taking the boundary gray scale and each low gray scale in each gray scale item as preselected gray scales.
In still another embodiment of the present invention, as shown in fig. 6, the target brightness value determination module 502 includes a judgment unit 5021, a reading unit 5022 and an interpolation calculation unit 5023, wherein:
a determining unit 5021, connected to the reading unit 5022 and the interpolation calculating unit 5023, for determining whether the gray scale of each lamp point is a preselected gray scale, if yes, sending a reading instruction to the reading unit, otherwise, sending an interpolation calculating instruction to the interpolation calculating unit;
a reading unit 5022, configured to read a target brightness value corresponding to the gray scale of the lamp point from the gray scale-brightness table according to the reading instruction, as a target brightness value corresponding to the lamp point;
the interpolation calculation unit 5023 is configured to read target brightness values corresponding to two pre-selected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table according to an interpolation calculation instruction, and calculate a target brightness value corresponding to the lamp point through an interpolation method according to the two pre-selected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two pre-selected gray scales adjacent to the gray scale of the lamp point.
The invention also provides an LED display screen, which includes a plurality of LED boxes 701 and a plurality of receiving cards 702 (only one receiving card and one LED box are shown in fig. 7 for illustration), each LED box 701 is correspondingly connected with one receiving card 702;
the receiving card 702 is configured to calculate a target brightness value of each light point on the LED box connected to the receiving card according to the box linearity correction method, and obtain a correction coefficient of each light point on the LED box, where the correction coefficient is calculated according to the target brightness value and the current brightness value of each light point on the LED box; and adjusting the brightness value of each lamp point on the LED box body to a corresponding target brightness value according to the correction coefficient.
According to the box linearity correction method, the device, the display screen and the display control method, the gray scale-brightness table is pre-selected and stored in the receiving card, when the linearity of the LED box is corrected, the target brightness value of each lamp point on the LED box is directly obtained according to the pre-stored gray scale-brightness table, so that the linearity of the LED box is corrected, the target brightness value corresponding to each gray scale does not need to be stored in the FPGA (receiving card), the storage space in the FPGA (receiving card) is greatly reduced, the performance and resources of the FPGA are optimized, the whole linearity of the box can be corrected, the box seam correction requirement is met, and the display effect is guaranteed.
The terms and expressions used in the specification of the present invention have been set forth for illustrative purposes only and are not meant to be limiting. The terms "first" and "second" used herein in the claims and the description of the present invention are used for the purpose of distinction only, have no special meaning, and are not intended to limit the present invention. It will be appreciated by those skilled in the art that changes could be made to the details of the above-described embodiments without departing from the underlying principles thereof. The scope of the invention is, therefore, indicated by the appended claims, in which all terms are intended to be interpreted in their broadest reasonable sense unless otherwise indicated.

Claims (10)

1. A method for correcting linearity of a box, the method comprising:
the method comprises the following steps of storing a gray scale-brightness table corresponding to an LED box body, wherein the gray scale-brightness table comprises a plurality of preselected gray scales and a target brightness value corresponding to each preselected gray scale, and the first determination method of the preselected gray scales comprises the following steps: acquiring a preset first division item number N, equally dividing the gray scale of the LED box body into N gray scale items according to the first division item number N, determining a boundary gray scale in each gray scale item, and taking the boundary gray scale in each gray scale item as the preselected gray scale;
determining a target brightness value corresponding to each lamp point in the LED box body according to the gray scale-brightness table and the gray scale of each lamp point in the LED box body;
and adjusting the brightness value of each lamp point in the LED box body to be a corresponding target brightness value so as to correct the linearity of the LED box body.
2. A method of modifying linearity of a cabinet as set forth in claim 1, wherein said second method of determining a preselected gray level comprises:
dividing the gray scale of the LED box body into a low gray scale and a high gray scale;
and acquiring a preset second division item number M, equally dividing the high gray scale into M gray scale sub-items according to the second division item number M, determining a demarcation gray scale in each gray scale sub-item, and taking the demarcation gray scale and each low gray scale in each gray scale sub-item as the preselected gray scale.
3. The linearity correction method for a cabinet according to claim 1, wherein the method for determining the target brightness value corresponding to each preselected gray level comprises:
and acquiring initial brightness values respectively corresponding to the LED box body under each preselected gray scale, and performing gamma correction on the initial brightness values to obtain target brightness values.
4. The box linearity correction method of claim 1, wherein the determining a target brightness value corresponding to each lamp point in the LED box according to the gray-to-brightness table and the gray scale of each lamp point in the LED box comprises:
judging whether the gray scale of each lamp point is a preselected gray scale or not;
if so, reading a target brightness value corresponding to the gray scale of the lamp point from the gray scale-brightness table to serve as the target brightness value corresponding to the lamp point;
otherwise, reading target brightness values corresponding to two preselected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table, and calculating to obtain the target brightness value corresponding to the lamp point in an interpolation mode according to the two preselected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two preselected gray scales adjacent to the gray scale of the lamp point.
5. The method as claimed in claim 4, wherein after determining the gray level of the light point is not a preselected gray level, the determining the target brightness value corresponding to each light point in the LED box according to the gray level-brightness table and the gray level of each light point in the LED box further comprises:
judging whether the gray scale brightness consistency in the gray scale-brightness table reaches a preset standard or not;
if yes, randomly reading target brightness values corresponding to any two preselected gray scales in the gray scale-brightness table, and calculating to obtain target brightness values corresponding to the lamp points in an interpolation mode according to the selected any two preselected gray scales and the target brightness values corresponding to any two preselected gray scales;
otherwise, reading target brightness values corresponding to two preselected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table, and calculating to obtain the target brightness value corresponding to the lamp point in an interpolation mode according to the two preselected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two preselected gray scales adjacent to the gray scale of the lamp point.
6. The display control method of the LED display screen is characterized in that for each LED box body in the LED display screen, the method comprises the following steps:
acquiring gray scales of each lamp point on the LED box body, and determining a target brightness value of each lamp point on the LED box body by using the box body linearity correction method of any one of claims 1 to 5;
acquiring a correction coefficient of each lamp point on the LED box body, wherein the correction coefficient is obtained by calculation according to a target brightness value and a current brightness value of each lamp point on the LED box body;
and adjusting the brightness value of each lamp point on the LED box body to a corresponding target brightness value according to the correction coefficient so as to correct the linearity of the LED box body.
7. The box linearity correction device is characterized by comprising a storage module, a target brightness value determining module and an adjusting control module, wherein:
the storage module is connected with the target brightness value determination module and used for storing a gray scale-brightness table corresponding to the LED box body, the gray scale-brightness table comprises a plurality of preselected gray scales and a target brightness value corresponding to each preselected gray scale, and the first determination method of the preselected gray scales comprises the following steps: acquiring a preset first division item number N, equally dividing the gray scale of the LED box body into N gray scale items according to the first division item number N, determining a boundary gray scale in each gray scale item, and taking the boundary gray scale in each gray scale item as the preselected gray scale;
the target brightness value determining module is connected with the adjusting control module and is used for determining a target brightness value corresponding to each lamp point in the LED box body according to the gray scale-brightness table and the gray scale of each lamp point in the LED box body;
and the adjusting control module is used for adjusting the brightness value of each lamp point in the LED box body to a corresponding target brightness value so as to correct the linearity of the LED box body.
8. The apparatus for modifying linearity of a cabinet according to claim 7, wherein the second method for determining the preselected gray level in the gray level-brightness table stored in the storage module comprises:
dividing the gray scale of the LED box body into a low gray scale and a high gray scale;
and acquiring a preset second division item number M, equally dividing the high gray scale into M gray scale sub-items according to the second division item number M, determining a demarcation gray scale in each gray scale sub-item, and taking the demarcation gray scale and each low gray scale in each gray scale sub-item as the preselected gray scale.
9. The box linearity correction device of claim 7, wherein the target brightness value determination module comprises a judgment unit, a reading unit and an interpolation calculation unit, wherein:
the judging unit is connected with the reading unit and the interpolation calculating unit and is used for judging whether the gray scale of each lamp point is a preselected gray scale or not, if so, sending a reading instruction to the reading unit, and otherwise, sending an interpolation calculating instruction to the interpolation calculating unit;
the reading unit is used for reading a target brightness value corresponding to the gray scale of the lamp point from the gray scale-brightness table according to the reading instruction, and the target brightness value is used as a target brightness value corresponding to the lamp point;
and the interpolation calculation unit is used for reading target brightness values corresponding to two preselected gray scales adjacent to the gray scale of the lamp point from the gray scale-brightness table according to the interpolation calculation instruction, and calculating the target brightness value corresponding to the lamp point in an interpolation mode according to the two preselected gray scales adjacent to the gray scale of the lamp point and the target brightness values corresponding to the two preselected gray scales adjacent to the gray scale of the lamp point.
10. The LED display screen is characterized by comprising a plurality of LED box bodies and a plurality of receiving cards, wherein each LED box body is correspondingly connected with one receiving card;
the receiving card is used for calculating and obtaining a target brightness value of each lamp point on the LED box body connected with the receiving card according to the box body linearity correction method of any one of claims 1 to 5, and obtaining a correction coefficient of each lamp point on the LED box body, wherein the correction coefficient is calculated and obtained according to the target brightness value and the current brightness value of each lamp point on the LED box body; and adjusting the brightness value of each lamp point on the LED box body to a corresponding target brightness value according to the correction coefficient.
CN202210472044.9A 2022-04-29 2022-04-29 Box linearity correction method and device, display screen and display control method Pending CN114783367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210472044.9A CN114783367A (en) 2022-04-29 2022-04-29 Box linearity correction method and device, display screen and display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210472044.9A CN114783367A (en) 2022-04-29 2022-04-29 Box linearity correction method and device, display screen and display control method

Publications (1)

Publication Number Publication Date
CN114783367A true CN114783367A (en) 2022-07-22

Family

ID=82435619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210472044.9A Pending CN114783367A (en) 2022-04-29 2022-04-29 Box linearity correction method and device, display screen and display control method

Country Status (1)

Country Link
CN (1) CN114783367A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5329614A (en) * 1991-02-07 1994-07-12 Unisys Corporation Method and apparatus for enlarging gray scale images
JPH08297739A (en) * 1995-04-26 1996-11-12 Canon Inc Picture processor and method therefor
JP2005215612A (en) * 2004-02-02 2005-08-11 Seiko Epson Corp Gradation correcting circuit, image display device and image processing method
JP2012073362A (en) * 2010-09-28 2012-04-12 Canon Inc Display device and control method thereof
CN104064156A (en) * 2014-06-23 2014-09-24 深圳市华星光电技术有限公司 Display panel grayscale correction method
CN106782283A (en) * 2017-02-27 2017-05-31 京东方科技集团股份有限公司 The gamma curve correcting method and display device of a kind of display device
CN106846273A (en) * 2017-01-23 2017-06-13 上海兴芯微电子科技有限公司 A kind of method and device of Gamma corrections
JP2019095711A (en) * 2017-11-27 2019-06-20 シャープ株式会社 Correction data generation device, display device, correction data generation method, and program
CN112447134A (en) * 2019-09-02 2021-03-05 上海和辉光电有限公司 Gray scale correction method and system for display panel
CN112863421A (en) * 2021-02-09 2021-05-28 武汉天马微电子有限公司 Gamma adjusting method and device, driving chip and display device
CN113228152A (en) * 2019-05-17 2021-08-06 华为技术有限公司 Device and method for controlling screen brightness

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5329614A (en) * 1991-02-07 1994-07-12 Unisys Corporation Method and apparatus for enlarging gray scale images
JPH08297739A (en) * 1995-04-26 1996-11-12 Canon Inc Picture processor and method therefor
JP2005215612A (en) * 2004-02-02 2005-08-11 Seiko Epson Corp Gradation correcting circuit, image display device and image processing method
JP2012073362A (en) * 2010-09-28 2012-04-12 Canon Inc Display device and control method thereof
CN104064156A (en) * 2014-06-23 2014-09-24 深圳市华星光电技术有限公司 Display panel grayscale correction method
CN106846273A (en) * 2017-01-23 2017-06-13 上海兴芯微电子科技有限公司 A kind of method and device of Gamma corrections
CN106782283A (en) * 2017-02-27 2017-05-31 京东方科技集团股份有限公司 The gamma curve correcting method and display device of a kind of display device
JP2019095711A (en) * 2017-11-27 2019-06-20 シャープ株式会社 Correction data generation device, display device, correction data generation method, and program
CN113228152A (en) * 2019-05-17 2021-08-06 华为技术有限公司 Device and method for controlling screen brightness
CN112447134A (en) * 2019-09-02 2021-03-05 上海和辉光电有限公司 Gray scale correction method and system for display panel
CN112863421A (en) * 2021-02-09 2021-05-28 武汉天马微电子有限公司 Gamma adjusting method and device, driving chip and display device

Similar Documents

Publication Publication Date Title
US10460701B2 (en) Display mura correction method, apparatus, and system
CN109036333B (en) Display parameter correction method and device of display, terminal equipment and storage medium
CN107068044B (en) Image gamma revision method, scanning card and display system
KR20130142748A (en) Image processing apparatus and method
JP4745107B2 (en) Gamma correction device and display device
CN112562585A (en) Brightness compensation method and device of display panel
KR20120139451A (en) Liquid crystal display device and driving method thereof
CN109584792B (en) Method for quickly adjusting gray scale gamma of O L ED screen
CN114203087B (en) Configuration of compensation lookup table, compensation method, device, equipment and storage medium
CN102142224A (en) Display device, uneven brightness correction method, correction data making device and correction data making method
CN109616080B (en) Special-shaped screen contour compensation method and terminal
CN111754946A (en) Image quality optimization method, display device and computer readable storage medium
CN107862671A (en) A kind of processing method of image, device and television set
US10037307B2 (en) Device for average calculating of non-linear data
CN114981873A (en) Gamma correction method and device, electronic device and readable storage medium
KR20220077553A (en) Mura Compensation Device and Data Processing Circuit for Mura compensation
CN114005404B (en) Segmented correction method and device for processing seam repair hidden line and computer equipment
CN111462260A (en) Mura compensation method and device of display panel and electronic equipment
CN115552506A (en) Display screen brightness adjusting method and device
CN109215614A (en) A kind of image quality adjusting method, regulating device and terminal device
CN109308874B (en) Display screen brightness adjusting method and device
CN114783367A (en) Box linearity correction method and device, display screen and display control method
CN105513558A (en) Superhigh bit width image enhancement display device and method for medical professional display
US11645965B2 (en) Image processing method and device
CN106960419A (en) A kind of image gamma correction method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination