CN114582280B - Display screen contrast improving method and device based on odd-even display and electronic equipment - Google Patents

Display screen contrast improving method and device based on odd-even display and electronic equipment Download PDF

Info

Publication number
CN114582280B
CN114582280B CN202210480272.0A CN202210480272A CN114582280B CN 114582280 B CN114582280 B CN 114582280B CN 202210480272 A CN202210480272 A CN 202210480272A CN 114582280 B CN114582280 B CN 114582280B
Authority
CN
China
Prior art keywords
array
matrix
sum
block
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210480272.0A
Other languages
Chinese (zh)
Other versions
CN114582280A (en
Inventor
何志民
王利文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210480272.0A priority Critical patent/CN114582280B/en
Publication of CN114582280A publication Critical patent/CN114582280A/en
Application granted granted Critical
Publication of CN114582280B publication Critical patent/CN114582280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]

Abstract

The invention discloses a display screen contrast improving method and device based on odd-even display and electronic equipment, wherein the method comprises the following steps: determining a gray value to be displayed according to the ith frame of a picture to be displayed, expanding and processing to obtain an integer part Pi and a decimal part Pj; sum is carried out on the decimal part Pj of the lamp points in the block area to obtain block.sum; and selecting part of light points from the matrix X array and the matrix B array to display according to the parity of the i, the summation information block of each block area, the matrix X array and the matrix B array so as to improve the contrast of the LED display screen corresponding to the picture to be displayed in the ith frame. Different parts of lamp points can be selected to be displayed according to odd frames and even frames of the picture to be displayed, the display law of the odd and even frames is utilized, the transition of color bars of the displayed picture is more uniform and fine, the condition of low gray scale ash jump is repaired, the problems of excessive poor color bars, jitter, ash jump and the like of the LED display screen are effectively solved, and the contrast and the picture display effect of the LED display screen are improved.

Description

Display screen contrast improving method and device based on odd-even display and electronic equipment
Technical Field
The invention relates to the technical field of LED display screen contrast, in particular to a display screen contrast improving method and device based on odd-even display and electronic equipment.
Background
The LED display screen has the advantages of high brightness, long service life, simple and convenient use and maintenance and the like as a large display device, and is widely applied to stations, ports, outdoor advertisements, large-scale cultural and sports activities and other places because the LED display screen can show rich display effects. At present, with the continuous development of display technology, people have higher and higher requirements on the display effect of the LED display screen, and factors influencing the display effect of the LED display screen are various, wherein on one hand, what is important is the color depth capability (gray scale) that the LED display screen can exhibit, generally, the deeper the color depth (the higher the gray scale), the more colorful the displayed picture is, the more gorgeous the exhibited effect is, and the more fine and smooth the picture is. In the prior art, because the LED display screen is influenced by the characteristics of the light-emitting chip, the gray brightness of the screen is too high, generally 0.2cd/m2, and the brightness cannot meet the requirements of customers. In addition, the gray scale precision of the LED display screen is insufficient at present, so that the low gray scale ash jumping repair difficulty of the LED display screen is high.
At present, a person in the art usually adopts a method for improving the grayscale accuracy of an LED display screen to deal with the problem, but after the grayscale accuracy of the display screen is improved, the LED display screen will have phenomena of excessively poor color bars, jitter, ash jump and the like, which causes poor contrast of the LED display screen, and especially, the poor display effect between display pictures with different frame numbers is more obvious. Therefore, there is a need to find a new technical solution to solve the above problems.
Disclosure of Invention
In order to overcome the problems in the related art, the invention discloses a display screen contrast improving method and device based on odd-even display and electronic equipment.
According to a first aspect of the disclosed embodiments of the present invention, there is provided a display screen contrast improving method based on odd-even display, where an LED display screen includes a preset number of square areas, and each square area is composed of 8 × 8 light points, the method including:
determining a gray value to be displayed of each lamp point on the LED display screen according to the ith frame of picture to be displayed;
expanding the gray value to be displayed of each lamp point according to a preset expansion multiple n, and acquiring an integer part Pi and a decimal part Pj of the gray value to be displayed of each lamp point after expansion;
sum is carried out on the decimal part Pj of each lamp point in all the square areas to obtain sum information block.sum of each square area;
sorting the light points in the odd rows in each square area from large to small according to the gray value to be displayed to form a matrix xA array, and sorting the light points in the even rows in each square area from large to small according to the gray value to be displayed to form a matrix xB array;
and selecting part of light points from the matrix X array and the matrix B array to display according to the parity of the i, the summation information block of each block area, the matrix X array and the matrix B array so as to improve the contrast of the LED display screen corresponding to the picture to be displayed in the ith frame.
Optionally, selecting a part of the light points from the matrix xa array and the matrix xb array according to the parity of i, the summation information block.sum of each block area, the matrix xa array, and the matrix xb array, and displaying the part of the light points so as to improve the contrast of the LED display screen corresponding to the ith frame to be displayed, including:
if i is an odd number, block.sum/n > 0, and the number a of the lamp points in the matrix xA array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points from the matrix xA array according to gray values from large to small for display, and randomly selecting n1 lamp points from the matrix xB array for display, wherein n1 is the number of the preset lamp points;
if i is an odd number, block.sum/n > 0, and the number a of the lamp points in the matrix xA array is less than block.sum/n, displaying all the lamp points in the matrix xA array, randomly selecting n1 lamp points in the matrix xB array, and displaying for (block.sum/n-a)/n 1 times;
if i is an even number, block.sum/n is greater than 0, and the number b of the lamp points in the matrix B array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points from large to small according to the gray value in the matrix B array for display, and randomly selecting n1 lamp points in the matrix xA array for display;
if i is an even number, block.sum/n > 0, and the number of the lamp points in the matrix B array is less than block.sum/n, displaying all the lamp points in the matrix B array, randomly selecting n1 lamp points in the matrix xA array, and displaying for (block.sum/n-b)/n 1 times.
Optionally, the step of obtaining the number of the preset lamp points includes:
determining a maximum value n2 in a numerical range of [ block.sum/64-10, 0] through a max function;
and determining a minimum value n1 within the numerical value interval of [ n2, 5] through a min function, wherein n1 is the preset number of lamp points.
Optionally, for the selected lamp point to be displayed, determining whether the decimal part Pj of the lamp point is greater than-n, if so, making the integer part Pi of the lamp point equal to the original integer part Pi plus 1, and making the decimal part Pj of the lamp point equal to the original decimal part Pj minus n.
Optionally, the method further includes:
and if all the light points in one block area are selected for display, summing the decimal part Pj of each light point in the block area to obtain summation information block.
Optionally, the expanding the to-be-displayed gray scale value of each lamp point according to the preset expansion multiple n to obtain an integer part Pi and a fractional part Pj of each to-be-displayed gray scale value after the expanding process includes:
dividing the gray value to be displayed by the expansion multiple n, and taking the obtained quotient as an integer part Pi of the lamp point;
obtaining a remainder obtained by dividing the gray value to be displayed by the expansion multiple n, and adding any random number in a preset numerical value range to the remainder to obtain a decimal part Pj of the lamp point;
and judging whether the decimal part Pj of the lamp point is less than 0 and the integer part Pi is greater than 0, if so, making the integer part Pi of the lamp point equal to the original integer part Pi minus 1, and making the decimal part Pj of the lamp point equal to the original decimal part Pj plus n.
Optionally, the preset numerical range is [ -8,8 ].
According to a second aspect of the disclosed embodiments of the present invention, there is provided a display screen contrast improving apparatus based on odd-even display, wherein an LED display screen includes a predetermined number of square areas, each square area is composed of 8 × 8 light points, the apparatus includes:
the gray value acquisition module is used for determining the gray value to be displayed of each lamp point on the LED display screen according to the ith frame of picture to be displayed;
the gray scale expansion module is connected with the gray scale value acquisition module, and is used for expanding the gray scale value to be displayed of each lamp point according to a preset expansion multiple n to acquire an integer part Pi and a decimal part Pj of the gray scale value to be displayed of each lamp point after expansion;
sum module, which is connected with the gray expansion module and sums the decimal part Pj of each light point in all the square areas to obtain the sum information block.sum of each square area;
the array determining module is connected with the summing module, and is used for sorting the light points of the odd-numbered rows in each square area from large to small according to the gray value to be displayed to form a matrix xA array, and sorting the light points of the even-numbered rows in each square area from large to small according to the gray value to be displayed to form a matrix xB array;
and the display module is connected with the array determining module, and selects part of light points from the matrix xA array and the matrix xB array to display according to the parity of the i, the summation information block of each square area, the matrix xA array and the matrix xB array so as to improve the contrast of the LED display screen corresponding to the ith frame to-be-displayed picture.
Optionally, the display module includes:
if i is an odd number, block.sum/n is greater than 0, and the number a of the lamp points in the matrix xA array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points in the matrix xA array from large to small according to the gray value for display, and randomly selecting n1 lamp points in the matrix xB array for display, wherein n1 is the preset number of the lamp points;
the second odd display unit is connected with the first odd display unit, if i is an odd number, block.sum/n is greater than 0, and the number a of the lamp points in the matrix xA array is less than block.sum/n, all the lamp points in the matrix xA array are displayed, and n1 lamp points are randomly selected from the matrix xB array and are displayed for (block.sum/n-a)/n 1 times;
if i is an even number, block.sum/n is greater than 0, and the number b of the lamp points in the matrix B array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points in the matrix B array from large to small according to the gray value for display, and randomly selecting n1 lamp points in the matrix xA array for display;
and the second even number display unit is connected with the first even number display unit, if i is an even number, block.sum/n is greater than 0, and the number of the lamp points in the matrix B array is less than block.sum/n, all the lamp points in the matrix B array are displayed, and n1 lamp points are randomly selected from the matrix xA array and are displayed for (block.sum/n-b)/n 1 times.
According to a third aspect of the disclosed embodiments of the present invention, there is provided an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing processor-executable instructions;
and the processor is used for realizing the steps of the display screen contrast improvement method based on the odd-even display in the first aspect of the disclosed embodiment of the invention when the instructions stored in the memory are executed.
In summary, the present disclosure relates to a display screen contrast improving method and apparatus based on odd-even display, and an electronic device, where the method includes: determining a gray value to be displayed according to the ith frame of a picture to be displayed, expanding and processing to obtain an integer part Pi and a decimal part Pj; sum is carried out on the decimal part Pj of the lamp points in the block area to obtain block.sum; and selecting part of light points from the matrix X array and the matrix B array to display according to the parity of the i, the summation information block of each block area, the matrix X array and the matrix B array so as to improve the contrast of the LED display screen corresponding to the picture to be displayed in the ith frame.
Different parts of lamp points can be selected to be displayed according to odd frames and even frames of the picture to be displayed, the display law of the odd and even frames is utilized, the transition of color bars of the displayed picture is more uniform and fine, the condition of low gray scale ash jump is repaired, the problems of excessive poor color bars, jitter, ash jump and the like of the LED display screen are effectively solved, and the contrast and the picture display effect of the LED display screen are improved.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow diagram illustrating a method for parity-based display screen contrast boosting according to an exemplary embodiment;
FIG. 2 is a schematic diagram of a square area and a grid area on an LED display screen;
FIG. 3 is a flow diagram of an expansion processing method according to the one shown in FIG. 1;
FIG. 4 is a flow chart of a method of displaying light points according to the method shown in FIG. 1;
FIG. 5 is a block diagram illustrating a structure of a display screen contrast ratio enhancement device based on an odd-even display according to an exemplary embodiment;
FIG. 6 is a block diagram of a display module according to FIG. 5;
fig. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
Detailed Description
The following detailed description of the disclosed embodiments will be made in conjunction with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart illustrating a display screen contrast lifting method based on an odd-even display according to an exemplary embodiment, where the method includes:
in step 101, the gray value to be displayed of each lamp point on the LED display screen is determined according to the ith frame of the picture to be displayed.
Illustratively, as shown in fig. 2, a preset number of block areas (blocks) are included on the LED display screen, each block area is composed of 8 × 8 light points, each block area includes 4 grid areas (grid), each grid area is composed of 4 × 4 light points, each light point is represented by P, and the light points in each block area or grid area may be divided into odd-numbered light points and even-numbered light points.
In the embodiment of the disclosure, a signal source of an ith frame to-be-displayed picture is obtained, and the signal source comprises a gray value to be displayed of each lamp point. The data range of the gray-scale value to be displayed (original gray-scale value) included in the signal source information may be 0 to 255 or 0 to 65535, which is related to the gray-scale precision of the LED display screen, and in the embodiment of the present disclosure, the numerical range of the gray-scale value to be displayed is illustrated as 0 to 255.
In step 102, expanding the gray value to be displayed of each lamp point according to a preset expansion multiple n, and obtaining an integer part Pi and a decimal part Pj of the gray value to be displayed of each lamp point after the expanding processing.
Illustratively, in the embodiment disclosed in the present invention, bit expansion is performed on a numerical range of 0 to 255, that is, the gray value to be displayed of each lamp point is expanded, bit is expanded to 6bit, and the original gray value is expanded to 64 times (2 times) 6 Multiple), the gray scale precision of the LED display screen is improved by 64 times, so that the display effect of the picture is improved, and the gray scale value of each lamp point P is divided into an integer part Pi and a decimal part Pj after expansion.
Specifically, fig. 3 is a flowchart of an expansion processing method shown in fig. 1, and as shown in fig. 3, the step 102 includes:
in step 1021, the gray value to be displayed is divided by the expansion factor n, and the obtained quotient is used as the integer part Pi of the lamp point.
Illustratively, in the embodiment of the disclosure, the gray scale precision of the LED display screen is improved by 64 times, so the expansion multiple n is 64, the gray scale value to be displayed of each lamp point is divided by 64 to obtain a quotient and a remainder, and the integer part and the decimal part of each lamp point after gray scale expansion are determined according to the quotient and the remainder.
For example, table 1 shows the gray-scale values to be displayed of 16 lamp points in a grid region, where the gray-scale values to be displayed are the original gray-scale values obtained according to the signal source of the picture to be displayed, and the numerical range is 0 to 255.
TABLE 1
65 14 127 22
108 46 86 235
74 139 123 183
233 251 221 68
Dividing the original gray value of each lamp point by the expansion multiple 64 to obtain a quotient which is an integer part Pi, wherein it should be noted that, since the expanded decimal part and the expanded integer part of each lamp point need to be processed in the subsequent steps, the values of Pi and Pj also change correspondingly.
Table 2 shows the numerical values of the integer part corresponding to each of the lamp points in table 1 after the gray scale value to be displayed is expanded.
TABLE 2
Pi=1 Pi=0 Pi=1 Pi=0
Pi=1 Pi=0 Pi=1 Pi=3
Pi=1 Pi=2 Pi=1 Pi=2
Pi=3 Pi=3 Pi=3 Pi=1
In step 1022, a remainder obtained by dividing the gray value to be displayed by the expansion multiple n is obtained, and the remainder is added to any random number within a preset numerical range to obtain a decimal part Pj of the lamp point, where the preset numerical range is [ -8,8 ].
Illustratively, the obtained remainder is subjected to random number processing, that is, a random number is randomly selected from a preset numerical range [ -8,8], and the random number and the remainder obtained by dividing the gray value to be displayed by the expansion multiple 64 are added to obtain the decimal part Pj of each lamp point.
Table 3 shows the numerical values (remainder + random number) of the corresponding fractional part of each lamp dot in table 1 after the gray scale value to be displayed is expanded.
TABLE 3
Pj=1+(-7)=-6 Pj=14+0=14 Pj=63+8=71 Pj=22+4=26
Pj=44+(-4)=40 Pj=18+(-8)=10 Pj=22+3=25 Pj=43+(-2)=41
Pj=10+5=15 Pj=11+(-6)=5 Pj=59+7=66 Pj=55+(-5)=50
Pj=41+7=48 Pj=59+8=67 Pj=29+(-8)=21 Pj=4+(-7)=-3
In step 1023, it is determined whether the fraction Pj of the lamp point is less than 0 and the integer Pi is greater than 0, if so, the integer Pi of the lamp point is equal to the original integer Pi minus 1, and the fraction Pj of the lamp point is equal to the original fraction Pj plus n.
Illustratively, after the integer part Pi and the fractional part Pj of each lamp point are acquired according to the above steps 1021 and 1022, the integer part Pi and the fractional part Pj are subjected to a negative number processing. The negative number processing method comprises the following specific steps: if the conditions, such as two lamp points Pi =1, Pj = -6 and Pi =1, Pj = -3 in the above tables 2 and 3, are simultaneously satisfied, the lamp points Pi = Pi +1, Pj = Pj +64, i.e., Pi is equal to the original integer part Pi minus 1, and Pj is equal to the original decimal part Pj plus 64, are determined whether the decimal part Pj is less than 0 and the integer part Pi is greater than 0. As described above in table 2 and table 3, when Pi =1, Pj = -6, and Pi =1, Pj = -3 are added to the integer part of the two lamp points by subtracting 1 and adding 64 to the fractional part, two lamp points Pi =0, Pj =58, Pi =0, and Pj =61 are obtained, respectively.
Sum is performed on the decimal part Pj of each light point in all the block areas to obtain sum information block.
Sum is performed on the fractional parts Pj of all the lamp points (64 lamp points) in one block area, to obtain the sum information block. It is understood that the decimal part of each lamp point when performing the summation operation is the decimal part Pj finally obtained after the steps 1021 to 1023.
In step 104, the light points in the odd-numbered rows in each block region are sorted from large to small according to the gray value to be displayed to form a matrix xa array, and the light points in the even-numbered rows in each block region are sorted from large to small according to the gray value to be displayed to form a matrix xb array.
For example, the odd-numbered light points in a block area are divided into matrix xA arrays, and the even-numbered light points are divided into matrix xB arrays, as shown in FIG. 2, in a block area containing 64 light points, 32 light points are contained in the matrix xA arrays and the matrix xB arrays. In addition, if the expansion multiple is changed, the number of light points in each block area is also changed, that is, the number of light points in the matrix xa array and the matrix xb array is also changed. In the embodiment disclosed in the present invention, the matrix xa array and the matrix xb array each include 32 light points for explanation.
In addition, when the matrix xa array and the matrix xb array are constructed, all the lamp points in each array are sorted from large to small according to the gray value to be displayed, so that the screening of the lamp points can be performed according to the gray value to be displayed when the matrix xa array and the matrix xb array select some lamp points to be lit in the following steps 1051 to 1054. Similarly, the light points in the matrix xA array and the matrix xB array may be sorted from large to small according to the pixel values of the light points.
In step 105, according to the parity of i, the summation information block of each block region, the matrix a array and the matrix b array, selecting a part of light points from the matrix a array and the matrix b array for display, so as to improve the contrast of the LED display screen corresponding to the ith frame to-be-displayed picture.
In the embodiment of the disclosure, the to-be-displayed picture is divided into an odd frame to-be-displayed picture and an even frame to-be-displayed picture, an odd frame display mode and an even frame display mode are set, and different light points in a matrix x array and a matrix x b array are selected to be displayed in different display modes.
The displaying of the lamp points refers to that an integer part Pi and a decimal part Pj of the lamp points are re-assigned after the selected lamp points are lightened (the integer part Pi can be displayed completely), whether the decimal part Pj of the lamp points is larger than-n or not is judged aiming at the selected lamp points to be displayed, if yes, the integer part Pi of the lamp points is equal to the original integer part Pi plus 1, and the decimal part Pj of the lamp points is equal to the original decimal part Pj minus n.
In addition, if all the light points in one block area are selected for display, summing information block.sum obtained by summing the decimal part Pj of each light point in the block area is equal to the original block.sum minus n.
Specifically, fig. 4 is a flowchart of a lamp point display method shown in fig. 1, and as shown in fig. 5, the step 105 includes:
and judging whether the picture to be displayed of the ith frame is an odd frame or an even frame under the condition that block.sum/n is greater than 0.
If i is an odd number, determining whether the number a of the light points in the matrix xa array is greater than or equal to block.
In step 1051, selecting (block.sum/n-n 1) light points in the matrix xa array from large to small according to the gray scale value, and randomly selecting n1 light points in the matrix xb array for display, wherein n1 is the number of preset light points.
Wherein, the step of obtaining this preset lamp point quantity includes: determining a maximum value n2 in a numerical range of [ block.sum/64-10, 0] through a max function; the min function determines a minimum value n1 within the value range of n2, 5, where n1 is the preset number of lamp points. In addition, the above steps can also be expressed by the following formula: n1= min [ max (block. sum/64-10, 0), 5 ].
For example, when i is an odd number and lock.sum/n > 0, it is further required to determine whether the number of light points in the matrix xa array is sufficient, that is, determine whether the number a of light points is greater than or equal to block.sum/n, and if the number a of light points in the matrix xa array is sufficient, directly select (block.sum/n-n 1) light points in the matrix xa array for display. For example, if block.sum is 1024 and the value of n is 64, block.sum/n = 16. In the embodiment disclosed in the present invention, the matrix xa array includes 32 light points, that is, a =32, and at this time, the number of light points in the matrix xa array is greater than block.sum/n, then (block.sum/n-n 1) light points are directly selected from the matrix xa array for display, and n1 light points are selected from the matrix xb array for display. Where n1 is the number of preset lamp points, and is calculated by calculating n1= min [ max (block. sum/64-10, 0), 5], it can be seen that n1 is a value between [0, 5 ]. For example, when the value of n1 is 3, block.sum/n-n1=16-3=13 light points are selected from the matrix xa array for display, and n1=3 light points are selected from the matrix xb array for display.
In addition, it should be noted that, because the number of the lamp points in the matrix x array is greater than the number of the lamp points actually selected for display, some lamp points may be selected in the matrix x array according to a certain rule. When part of the lamp points are selected in the matrix b array to be lit, n1 lamp points can be selected according to the same rule, or n1 lamp points can be randomly selected in the matrix b array to be displayed.
In the embodiment of the present disclosure, in addition to selecting some light points according to the gray scale value for display, the pixel values of the light points may be used as a reference, for example, all light points are sorted according to the pixel value of each light point in the matrix a array, and (block.sum/n-n 1) light points with the largest pixel value are selected for display.
In step 1052, all the light points in the matrix x array are displayed, and n1 light points are randomly selected from the matrix b array and displayed in (block.sum/n-a)/n 1 times.
For example, if all the light points in the matrix x array are smaller than block.sum/n, for example, only 32 light points in the matrix x array, but the value of block.sum/n is 82, the number of light points in the matrix x array is not enough, so that only all the light points in the matrix x array can be displayed, and the rest of the light points are displayed in the matrix x b array.
It should be noted that when the remaining lamp points are displayed in the matrix b array, n1 lamp points are randomly selected first, and the remaining (block.sum/n-a) lamp points are divided into (block.sum/n-a)/n 1 times for display.
Sum/n is 82, only 32 light points in the matrix a array, and n1 is 5, for example, displaying all 32 light points in the matrix a array, and the remaining 50 light points in the matrix b array. In addition, when a lamp point is selected in the matrix b array for display, 5 lamp points are selected, and the 5 lamp points are divided into 50/5=10 times for display.
If i is an even number, judging whether the number b of the lamp points in the matrix B array is greater than or equal to block.
In step 1053, the (block.sum/n-n 1) light points are selected from the matrix b array according to the gray scale value from large to small for display, and the n1 light points are randomly selected from the matrix xa array for display.
In step 1054, all the light points in the matrix b array are displayed, and n1 light points are randomly selected from the matrix a array and displayed in (block.sum/n-b)/n 1 times.
For example, when i is an even number, a part of light points on the LED display screen are selected for display according to a preset even frame display mode, that is, the matrix xa array and the matrix xb array in the above steps 1051 and 1053 are replaced.
Specifically, under the condition that i is an even number and block.sum/n > 0, whether the number b of the lamp points in the matrix B array is larger than or equal to block.sum/n is judged, and if yes, the (block.sum/n-n 1) lamp points are selected from the matrix B array to be displayed. Similarly, when selecting the light points in the matrix x b array, the light points may be selected from the gray scale value to be displayed from large to small, or from the pixel value from large to small, and then, n1 light points are randomly selected from the matrix x array to be lit. And if b is less than block.sum/n, displaying all the light points in the matrix B array, randomly selecting n1 light points in the matrix xA array, and displaying the light points in (block.sum/n-b)/n 1 times.
Fig. 5 is a block diagram illustrating a structure of a contrast improving apparatus for a display screen based on an odd-even display according to an exemplary embodiment, where, as shown in fig. 5, the LED display screen includes a predetermined number of square areas, and each square area is composed of 8 × 8 light points, the apparatus 500 includes:
the gray value obtaining module 510 determines the gray value to be displayed of each lamp point on the LED display screen according to the ith frame of the picture to be displayed;
a gray scale expanding module 520, connected to the gray scale value obtaining module 510, for expanding the gray scale value to be displayed of each lamp point according to a preset expansion multiple n, and obtaining an integer part Pi and a decimal part Pj of the gray scale value to be displayed of each lamp point after the expansion;
a summation module 530, connected to the gray scale expanding module 520, for summing the decimal part Pj of each light point in all the block regions to obtain summation information block.sum of each block region;
the array determining module 540 is connected with the summing module 530, and is used for sorting the light points in the odd rows in each square area from large to small according to the gray value to be displayed to form a matrix xA array, and sorting the light points in the even rows in each square area from large to small according to the gray value to be displayed to form a matrix xB array;
and the display module 550 is connected to the array determining module 540, and selects part of the light points from the matrix xa array and the matrix xb array to display according to the parity of i, the summation information block.sum of each block region, the matrix xa array, and the matrix xb array, so as to improve the contrast of the LED display screen corresponding to the ith frame to-be-displayed picture.
Fig. 6 is a block diagram illustrating a structure of a display module according to fig. 5, and as shown in fig. 6, the display module 550 includes:
if i is an odd number, block.sum/n > 0, and the number a of the light points in the matrix x array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) light points in the matrix x array from large to small according to the gray value for display, and randomly selecting n1 light points in the matrix b array for display, wherein n1 is the preset number of the light points;
a second odd display unit 552, connected to the first odd display unit, for displaying all the light points in the matrix xa array if i is odd, block.sum/n > 0, and the number a of the light points in the matrix xa array is less than block.sum/n, and randomly selecting n1 light points in the matrix xb array and displaying the light points in (block.sum/n-a)/n 1 times;
if i is an even number, block.sum/n > 0, and the number b of the lamp points in the matrix b array is greater than or equal to block.sum/n, the first even number display unit 553 selects (block.sum/n-n 1) lamp points in the matrix b array from large to small according to the gray value to display, and randomly selects n1 lamp points in the matrix xa array to display;
and a second even number display unit 554 connected to the first even number display unit, wherein if i is an even number, block.sum/n > 0, and the number of light points in the matrix b array is less than block.sum/n, all light points in the matrix b array are displayed, and n1 light points are randomly selected from the matrix xa array and displayed in (block.sum/n-b)/n 1 times.
Fig. 7 is a schematic diagram illustrating a structure of an electronic device according to an exemplary embodiment, as shown in fig. 7, including a processor 001, a communication interface 002, a memory 003 and a communication bus 004, wherein the processor 001, the communication interface 002, and the memory 003 are configured to communicate with each other via the communication bus 004,
a memory 003 for storing a computer program;
the processor 001 is configured to implement the method for improving the contrast of the display screen based on the odd-even display when executing the program stored in the memory 003, and the method includes:
determining a gray value to be displayed of each lamp point on the LED display screen according to the ith frame of picture to be displayed;
expanding the gray value to be displayed of each lamp point according to a preset expansion multiple n, and acquiring an integer part Pi and a decimal part Pj of the gray value to be displayed of each lamp point after expansion;
sum is carried out on the decimal part Pj of each lamp point in all the square areas to obtain sum information block.sum of each square area;
sorting the light points in the odd rows in each square area from large to small according to the gray value to be displayed to form a matrix xA array, and sorting the light points in the even rows in each square area from large to small according to the gray value to be displayed to form a matrix xB array;
sum, the sum information block of each block area, the number a of the light points in the matrix xA array and the number b of the light points in the matrix xB array are used for selecting part of the light points in the matrix xA array and the matrix xB array to be displayed so as to improve the contrast of the LED display screen corresponding to the picture to be displayed in the ith frame.
In summary, according to the technical scheme disclosed by the invention, different parts of light points can be selected for display according to odd frames and even frames of the picture to be displayed, the display rule of the odd and even frames is utilized, so that the transition of color bars of the displayed picture is more uniform and fine, the condition of low gray scale ash jump is repaired, the problems of excessive poor color bars, jitter, ash jump and the like of the LED display screen are effectively solved, and the contrast and the picture display effect of the LED display screen are improved.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A display screen contrast improvement method based on odd-even display is characterized in that an LED display screen comprises a preset number of square areas, and each square area is composed of 8 x 8 light points, and the method comprises the following steps:
determining a gray value to be displayed of each lamp point on the LED display screen according to the ith frame of picture to be displayed;
expanding the gray value to be displayed of each lamp point according to a preset expansion multiple n, and acquiring an integer part Pi and a decimal part Pj of the gray value to be displayed of each lamp point after expansion;
sum is carried out on the decimal parts Pj of all the lamp points in each square area to obtain sum information block.sum of each square area;
sorting the light points in the odd rows in each square area from large to small according to the gray value to be displayed to form a matrix xA array, and sorting the light points in the even rows in each square area from large to small according to the gray value to be displayed to form a matrix xB array;
and selecting part of light points from the matrix X array and the matrix B array to display according to the parity of the i, the summation information block of each block area, the matrix X array and the matrix B array so as to improve the contrast of the LED display screen corresponding to the picture to be displayed in the ith frame.
2. The method for improving the contrast of the display screen based on the odd-even display of claim 1, wherein according to the odd-even property of i, the summation information block.sum of each square region, the matrix a array and the matrix b array, a part of light points are selected from the matrix a array and the matrix b array for displaying so as to improve the contrast of the LED display screen corresponding to the picture to be displayed in the ith frame, the method comprises the following steps:
if i is an odd number, block.sum/n > 0, and the number a of the lamp points in the matrix X array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points in the matrix X array from large to small according to the gray value for display, and randomly selecting n1 lamp points in the matrix B array for display, wherein n1 is the preset number of the lamp points;
if i is an odd number, block.sum/n > 0, and the number a of the lamp points in the matrix xA array is less than block.sum/n, displaying all the lamp points in the matrix xA array, randomly selecting n1 lamp points in the matrix xB array, and displaying for (block.sum/n-a)/n 1 times;
if i is an even number, block.sum/n is greater than 0, and the number b of the lamp points in the matrix B array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points from large to small according to the gray value in the matrix B array for display, and randomly selecting n1 lamp points in the matrix xA array for display;
if i is an even number, block.sum/n > 0, and the number of the lamp points in the matrix B array is less than block.sum/n, displaying all the lamp points in the matrix B array, randomly selecting n1 lamp points in the matrix xA array, and displaying for (block.sum/n-b)/n 1 times.
3. The method for improving the contrast of the display screen based on the odd-even display as claimed in claim 2, wherein the step of obtaining the preset number of the light points comprises:
determining a maximum value n2 in a numerical range of [ block.sum/64-10, 0] through a max function;
and determining a minimum value n1 within the numerical value interval of [ n2, 5] through a min function, wherein n1 is the preset number of lamp points.
4. The method as claimed in claim 2, wherein the fractional part Pj of the lamp point is determined to be greater than-n, if yes, the integer part Pi of the lamp point is equal to the original integer part Pi plus 1, and the fractional part Pj of the lamp point is equal to the original fractional part Pj minus n.
5. The method of claim 4, wherein the method further comprises:
and if all the light points in one block area are selected for display, summing the decimal part Pj of each light point in the block area to obtain summation information block.
6. The method for improving the contrast of the display screen based on the odd-even display according to claim 1, wherein the expanding the gray-scale value to be displayed of each lamp point according to the preset expansion multiple n to obtain the integer part Pi and the fractional part Pj of each gray-scale value to be displayed after the expanding process comprises:
dividing the gray value to be displayed by the expansion multiple n, and taking the obtained quotient as an integer part Pi of the lamp point;
obtaining a remainder obtained by dividing the gray value to be displayed by the expansion multiple n, and adding any random number in a preset numerical value range to the remainder to obtain a decimal part Pj of the lamp point;
and judging whether the decimal part Pj of the lamp point is less than 0 and the integer part Pi is greater than 0, if so, making the integer part Pi of the lamp point equal to the original integer part Pi minus 1, and making the decimal part Pj of the lamp point equal to the original decimal part Pj plus n.
7. The method for improving the contrast ratio of a display screen based on an odd-even display as claimed in claim 6, wherein the preset value range is [ -8,8 ].
8. A display screen contrast lifting device based on odd-even display, characterized in that, the LED display screen contains a predetermined number of square areas, each square area is composed of 8 x 8 light points, the device includes:
the gray value acquisition module is used for determining the gray value to be displayed of each lamp point on the LED display screen according to the ith frame of picture to be displayed;
the gray scale expansion module is connected with the gray scale value acquisition module, and is used for expanding the gray scale value to be displayed of each lamp point according to a preset expansion multiple n to acquire an integer part Pi and a decimal part Pj of the gray scale value to be displayed of each lamp point after expansion;
sum module, which is connected with the gray expansion module and sums the decimal part Pj of all the lamp points in each square area to obtain the sum information block.sum of each square area;
the array determining module is connected with the summing module, and is used for sorting the light points of the odd-numbered rows in each square area from large to small according to the gray value to be displayed to form a matrix xA array, and sorting the light points of the even-numbered rows in each square area from large to small according to the gray value to be displayed to form a matrix xB array;
and the display module is connected with the array determining module, and selects part of light points from the matrix xA array and the matrix xB array to display according to the parity of the i, the summation information block of each square area, the matrix xA array and the matrix xB array so as to improve the contrast of the LED display screen corresponding to the ith frame to-be-displayed picture.
9. The display screen contrast enhancement device based on odd-even display of claim 8, wherein the display module comprises:
if i is an odd number, block.sum/n is greater than 0, and the number a of the lamp points in the matrix xA array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points in the matrix xA array from large to small according to the gray value for display, and randomly selecting n1 lamp points in the matrix xB array for display, wherein n1 is the preset number of the lamp points;
the second odd display unit is connected with the first odd display unit, if i is an odd number, block.sum/n is greater than 0, and the number a of the lamp points in the matrix xA array is less than block.sum/n, all the lamp points in the matrix xA array are displayed, and n1 lamp points are randomly selected from the matrix xB array and are displayed for (block.sum/n-a)/n 1 times;
if i is an even number, block.sum/n is greater than 0, and the number b of the lamp points in the matrix B array is greater than or equal to block.sum/n, selecting (block.sum/n-n 1) lamp points in the matrix B array from large to small according to the gray value for display, and randomly selecting n1 lamp points in the matrix xA array for display;
and the second even number display unit is connected with the first even number display unit, if i is an even number, block.sum/n is greater than 0, and the number of the lamp points in the matrix B array is less than block.sum/n, all the lamp points in the matrix B array are displayed, and n1 lamp points are randomly selected from the matrix xA array and are displayed for (block.sum/n-b)/n 1 times.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing processor-executable instructions;
a processor for implementing the display screen contrast improvement method steps based on odd-even display according to any one of claims 1 to 7 when executing the instructions stored in the memory.
CN202210480272.0A 2022-05-05 2022-05-05 Display screen contrast improving method and device based on odd-even display and electronic equipment Active CN114582280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210480272.0A CN114582280B (en) 2022-05-05 2022-05-05 Display screen contrast improving method and device based on odd-even display and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210480272.0A CN114582280B (en) 2022-05-05 2022-05-05 Display screen contrast improving method and device based on odd-even display and electronic equipment

Publications (2)

Publication Number Publication Date
CN114582280A CN114582280A (en) 2022-06-03
CN114582280B true CN114582280B (en) 2022-08-05

Family

ID=81784982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210480272.0A Active CN114582280B (en) 2022-05-05 2022-05-05 Display screen contrast improving method and device based on odd-even display and electronic equipment

Country Status (1)

Country Link
CN (1) CN114582280B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012068680A (en) * 2011-12-22 2012-04-05 Sharp Corp Image processing method and liquid crystal display device employing the same
CN105096821A (en) * 2015-05-21 2015-11-25 杭州士兰控股有限公司 Gray scale display driving method and gray scale display drive unit
CN105632424A (en) * 2014-10-29 2016-06-01 新相微电子(开曼)有限公司 Color enhancement algorithm and control enhancement control device for expanding number of displayed gray scales
CN112233615A (en) * 2020-12-09 2021-01-15 卡莱特(深圳)云科技有限公司 Method and device for improving display effect of LED display screen
CN112967207A (en) * 2021-04-23 2021-06-15 北京恒安嘉新安全技术有限公司 Image processing method and device, electronic equipment and storage medium
CN113327545A (en) * 2021-08-04 2021-08-31 卡莱特云科技股份有限公司 Method and device for improving picture contrast of LED display screen
CN113327544A (en) * 2021-08-04 2021-08-31 卡莱特云科技股份有限公司 LED display screen contrast improving method based on diagonal display and LED display screen
CN113611244A (en) * 2021-08-04 2021-11-05 卡莱特云科技股份有限公司 LED display screen contrast improving method and LED display screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8502758B2 (en) * 2009-12-10 2013-08-06 Young Electric Sign Company Apparatus and method for mapping virtual pixels to physical light elements of a display

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012068680A (en) * 2011-12-22 2012-04-05 Sharp Corp Image processing method and liquid crystal display device employing the same
CN105632424A (en) * 2014-10-29 2016-06-01 新相微电子(开曼)有限公司 Color enhancement algorithm and control enhancement control device for expanding number of displayed gray scales
CN105096821A (en) * 2015-05-21 2015-11-25 杭州士兰控股有限公司 Gray scale display driving method and gray scale display drive unit
CN112233615A (en) * 2020-12-09 2021-01-15 卡莱特(深圳)云科技有限公司 Method and device for improving display effect of LED display screen
CN112967207A (en) * 2021-04-23 2021-06-15 北京恒安嘉新安全技术有限公司 Image processing method and device, electronic equipment and storage medium
CN113327545A (en) * 2021-08-04 2021-08-31 卡莱特云科技股份有限公司 Method and device for improving picture contrast of LED display screen
CN113327544A (en) * 2021-08-04 2021-08-31 卡莱特云科技股份有限公司 LED display screen contrast improving method based on diagonal display and LED display screen
CN113611244A (en) * 2021-08-04 2021-11-05 卡莱特云科技股份有限公司 LED display screen contrast improving method and LED display screen

Also Published As

Publication number Publication date
CN114582280A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN108447449B (en) Signal processing method and display device
CN101996597B (en) Display device, correction system, forming device, determining device and method
CN107016955A (en) LED display and its driving method
JP2007129600A (en) Image data processor
CN112185313B (en) Pixel structure driving method and display device
CN109192133B (en) Optimization method based on SPWM
CN105096821A (en) Gray scale display driving method and gray scale display drive unit
CN105632407B (en) A kind of display adjusting method and mobile terminal of AMOLED display screens
US7271828B2 (en) Display screen burn-in prevention device and burn-in prevention method
CN113611244B (en) LED display screen contrast improving method and LED display screen
CN107808642B (en) Backlight driving method and related product
CN113327544B (en) LED display screen contrast improving method based on diagonal display and LED display screen
CN113326016B (en) Method and device for improving contrast of LED display screen and computer equipment
CN113327545B (en) Method and device for improving picture contrast of LED display screen
CN114582280B (en) Display screen contrast improving method and device based on odd-even display and electronic equipment
US20090284461A1 (en) Method for displaying image
US20040263539A1 (en) Signal processor for multiple gradations
US8125436B2 (en) Pixel dithering driving method and timing controller using the same
CN100594529C (en) Image display apparatus
CN114582292B (en) Liquid crystal display and apparatus and method for controlling liquid crystal panel and backlight panel
CN114927086A (en) Gamma debugging method, device, equipment and storage medium for display panel
CN100362551C (en) Adaptive brightness logical control waveform generating method for AC plasma display panel
CN114822342A (en) Gamma debugging method and device for display panel
JP2003302944A (en) Liquid crystal display controller and pattern forming method of liquid crystal display controller
JP2005099598A (en) Display device

Legal Events

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