Gray scale dithering method, display driving apparatus, display panel, display device
By constructing a minimum balancing unit with polarity balance and interchanging the row and column directions, the problems of diagonal stripes, horizontal stripes, vertical stripes, and noise in grayscale jitter of LCD displays are solved, simplifying the calculation process, reducing hardware requirements, and improving grayscale jitter efficiency.
Patent Information
- Application Number
- CN202510580434.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2045-05-07
AI Technical Summary
Existing grayscale dithering methods for LCD displays result in diagonal, horizontal, and vertical stripes and noise issues, and also involve large computational loads, complex calculation processes, and high hardware requirements.
By constructing a minimum balanced unit with polarity balance, determining the number of target entry points and the minimum periodic unit based on frame rate control, grayscale jitter is performed, including swapping and splitting in the row and column directions, and superimposing and inverting the minimum balanced units, thus simplifying the calculation process.
It reduces the problems of diagonal stripes, horizontal stripes, vertical stripes and noise in the grayscale jittering process, simplifies the calculation process, reduces hardware requirements, and improves grayscale jittering efficiency.
Smart Images

Figure CN120089109B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display panel, in particular to a gray scale dithering method, a display driving device, a display panel and a display device. BACKGROUND
[0002] A big advantage of liquid crystal television compared with traditional CRT (Cathode Ray Tube) display and plasma display is power saving. Liquid crystal has only half of the power consumption of CRT of the same size, and is much lower than plasma. Liquid crystal also performs better in environmental protection compared with traditional CRT. This is because there is no high-voltage component in the liquid crystal display, so it is not prone to the situation of exceeding the standard of radioactive rays caused by high voltage. The display area of the liquid crystal display itself has no radiation at all. Only a small amount of electromagnetic waves come from the driving circuit. As long as the shell is strictly sealed, EMI (Electromagnetic Interference) can be reduced. Therefore, the radiation index is generally lower than that of CRT. The liquid crystal display has a large visible area. The liquid crystal display controls the state of liquid crystal molecules through electrodes on the display screen to achieve the purpose of display. Even if the screen is enlarged, its volume will not increase in proportion (only the size is increased, not the thickness, so many products provide a wall hanging function to save space for users). Moreover, the weight of the liquid crystal display is much lighter than that of the traditional display of the same display area. The weight of the liquid crystal television is about 1 / 3 of that of the traditional television. Therefore, the liquid crystal display is also called a cold display or an environmentally friendly display. At present, LCD (Liquid Crystal Display) displays are developing towards higher resolution, higher display quality and larger size. When the TFT-LCD is driven, the driving mode is Line-by-Line (Line-by-Line scanning). As shown in Figure 1 , when the Gn signal is high (25V), the TFT of the current line is opened (On), and the data in the column direction can be written into the pixel, such as V1+, V2-, and V3+ written into the corresponding pixel. When the Gn-1 signal and the Gn+1 signal are low (-5V), the TFT of the current line is closed (Off).
[0003] The related technology is 256 gray scales, and 8 bits of data transmission are required, which is not conducive to transmission. In the new 6bit FRC data transmission, because the dithering scheme is not good, the occurrence of problems such as diagonal lines, horizontal lines, vertical lines, and noise points is caused. SUMMARY
[0004] The present application provides a gray scale dithering method, a display driving device, a display panel and a display device, which can reduce the occurrence of problems such as diagonal lines, horizontal lines, vertical lines and noise points in the dithering process.
[0005] In a first aspect, the application provides a gray scale dithering method, which comprises: determining the size of a minimum balance unit, the number of target carry-in points, and a minimum period unit per frame according to the number of dithering gray scales corresponding to a frame frequency control; wherein the minimum balance unit is arranged in a row-column distribution and is polarity-balanced; constructing a number of dithering gray scales of first minimum balance units according to the number of target carry-in points and the size of the minimum balance unit; wherein each first minimum balance unit is different from each other; superimposing the number of dithering gray scales of first minimum balance units to obtain a first distribution unit; performing row direction exchange and / or column direction exchange on the first distribution unit to obtain a first number of second distribution units; the first number is equal to the number of dithering gray scales minus one; splitting each second distribution unit according to the number of target carry-in points to obtain a number of dithering gray scales of second minimum balance units; wherein each second minimum balance unit is different from each other; constructing a minimum period unit by using the number of dithering gray scales of first minimum balance units and all second minimum balance units; and performing gray scale dithering according to the minimum period unit.
[0006] In the method, constructing the number of dithering gray scales of first minimum balance units according to the number of target carry-in points and the size of the minimum balance unit comprises: in response to the number of target carry-in points being less than a first threshold, obtaining the number of dithering gray scales of first minimum balance units from a preset set; in response to the number of target carry-in points being equal to or greater than the first threshold and less than a second threshold, obtaining the number of dithering gray scales of first minimum balance units corresponding to a first number of carry-in points and the number of dithering gray scales of first minimum balance units corresponding to a second number of carry-in points from the preset set, and superimposing the number of dithering gray scales of first minimum balance units corresponding to the target number of carry-in points; wherein the sum of the first number of carry-in points and the second number of carry-in points is equal to the number of target carry-in points; and in response to the number of target carry-in points being equal to or greater than the second threshold, obtaining the number of dithering gray scales of first minimum balance units corresponding to a third number of carry-in points and / or the number of dithering gray scales of first minimum balance units corresponding to a fourth number of carry-in points from the preset set, superimposing and negating to obtain the number of dithering gray scales of first minimum balance units corresponding to the target number of carry-in points.
[0007] In the method, in response to the number of dithering gray scales being 4 bits, the preset set respectively includes first minimum balance units with a number of carry-in points of 1, 2, 3, and 4, wherein each number of carry-in points includes 4 first minimum balance units.
[0008] wherein, in response to the target number of carry-in points being 5, 8 first minimum balanced units of the number of carry-in points being 1 and the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 5 are superimposed according to the 8 first minimum balanced units; in response to the target number of carry-in points being 6, 8 first minimum balanced units of the number of carry-in points being 2 and the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 6 are superimposed according to the 8 first minimum balanced units; in response to the target number of carry-in points being 7, 8 first minimum balanced units of the number of carry-in points being 3 and the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 7 are superimposed according to the 8 first minimum balanced units; in response to the target number of carry-in points being 8, 8 first minimum balanced units of the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 8 are superimposed according to the 8 first minimum balanced units; in response to the target number of carry-in points being 9, 8 first minimum balanced units of the number of carry-in points being 3 and the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 9 are superimposed and inverted; in response to the target number of carry-in points being 10, 8 first minimum balanced units of the number of carry-in points being 2 and the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 10 are superimposed and inverted; in response to the target number of carry-in points being 11, 8 first minimum balanced units of the number of carry-in points being 1 and the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 11 are superimposed and inverted; in response to the target number of carry-in points being 12, 4 first minimum balanced units of the number of carry-in points being 4 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 12 are superimposed and inverted; in response to the target number of carry-in points being 13, 4 first minimum balanced units of the number of carry-in points being 3 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 13 are superimposed and inverted; in response to the target number of carry-in points being 14, 4 first minimum balanced units of the number of carry-in points being 2 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 14 are superimposed and inverted; in response to the target number of carry-in points being 15, 4 first minimum balanced units of the number of carry-in points being 1 are obtained from the preset set, 4 first minimum balanced units of the number of carry-in points being 15 are superimposed and inverted;
[0009] The gray scale dithering according to the minimum period units includes: constructing a number of distribution patterns required by the minimum period units according to the serial numbers of the minimum balance units; wherein the serial numbers of the first minimum balance units in all the distribution patterns are different, and the serial numbers of all the minimum balance units in each distribution pattern are continuous; in response to the target carry-in point number being even, performing the gray scale dithering according to the number of distribution patterns required by the minimum period units within a first preset cycle period; in response to the target carry-in point number being odd, performing the gray scale dithering according to the number of distribution patterns required by the minimum period units within a second preset cycle period; the second preset cycle period is an even multiple of the first preset cycle period.
[0010] The gray scale dithering according to the number of distribution patterns required by the minimum period units within the first preset cycle period in response to the target carry-in point number being even includes: performing the gray scale dithering according to the serial numbers of the distribution patterns within the first preset cycle period in response to the target carry-in point number being even.
[0011] The gray scale dithering according to the number of distribution patterns required by the minimum period units within the second preset cycle period in response to the target carry-in point number being odd includes: performing the gray scale dithering according to the serial numbers of the distribution patterns within a preset number of frames in the second preset cycle period in response to the target carry-in point number being odd; performing the gray scale dithering according to the serial numbers of the distribution patterns after performing the odd-even exchange reordering of the serial numbers of all the distribution patterns within a preset number of frames in the second preset cycle period.
[0012] The size of the minimum balance unit and the carry-in point number are determined according to the number of dithering gray scales corresponding to the frame frequency control, including: in response to the number of dithering gray scales corresponding to the frame frequency control being N, the size of the minimum balance unit is 2 raised to the power of N; and obtaining low N-bit data of the original data, and determining the carry-in point number according to the low N-bit data.
[0013] In a second aspect, the present application provides a display driving device, including a processing chip and a memory, the memory storing at least one computer program, when the at least one computer program is loaded and executed by the processing chip, the at least one computer program is used to implement the method provided in the first aspect.
[0014] In a third aspect, the present application provides a display panel, including the display driving device provided in the second aspect.
[0015] In a fourth aspect, the present application provides a display device, including the display panel provided in the third aspect.
[0016] The beneficial effects of the present application are: different from the prior art, the gray scale dithering method, display driving device, display panel and display device provided by the present application determine the size of the minimum balance unit, the number of target carry points and the minimum period unit of each frame according to the corresponding dithering gray scale number of frame frequency control; wherein the minimum balance unit is distributed in rows and columns, and the polarity is balanced; a dithering gray scale number of first minimum balance units are constructed according to the number of target carry points and the size of the minimum balance unit; wherein each first minimum balance unit is different from each other; a first distribution unit is obtained by superimposing a dithering gray scale number of first minimum balance units; the first distribution unit is exchanged in the row direction and / or the column direction to obtain a first number of second distribution units; the first number is equal to the dithering gray scale number minus one; a dithering gray scale number of second minimum balance units are obtained by splitting each second distribution unit according to the number of target carry points; wherein each second minimum balance unit is different from each other; the minimum period unit is constructed by using a dithering gray scale number of first minimum balance units and all second minimum balance units; gray scale dithering is performed according to the minimum period unit, which not only can reduce the occurrence of problems such as diagonal lines, horizontal lines, vertical lines, noise points and the like in the dithering process, but also can exchange the first distribution unit after superposition in the row direction and / or the column direction to obtain a first number of second distribution units, and split each second distribution unit to obtain a dithering gray scale number of second minimum balance units, thereby simplifying the calculation process and the amount of calculation in the frame frequency control process, improving the efficiency of gray scale dithering, reducing the hardware requirements for participating in the frame frequency control calculation, and having stronger applicability. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort. Among them:
[0018] Figure 1 is a schematic diagram of the TFT-LCD driving method provided by the present application;
[0019] Figure 2 is a schematic diagram of frame frequency control provided by the present application;
[0020] Figure 3 is a schematic diagram of the minimum balance unit when vertical lines are generated;
[0021] Figure 4 is a schematic diagram of the minimum balance unit when left-up and right-down diagonal lines are generated;
[0022] Figure 5is a schematic diagram of a minimum balance unit provided by the present application when diagonal lines from the lower left to the upper right are generated;
[0023] Figure 6 is a schematic diagram of a minimum balance unit provided by the present application when noise points are generated;
[0024] Figure 7 is a schematic diagram of a gray scale distribution of an embodiment of the minimum balance unit provided by the present application;
[0025] Figure 8 is a schematic diagram of a flow of an embodiment of the gray scale dithering method provided by the present application;
[0026] Figure 9 is a schematic diagram of a first distribution unit after superposition of the minimum balance unit provided by the present application;
[0027] Figure 10 is a schematic diagram of a second distribution unit after column transposition of Figure 9 ;
[0028] Figure 11 is a schematic diagram of a second minimum balance unit formed by splitting the second distribution unit of Figure 10 ;
[0029] Figure 12 is a schematic diagram of an embodiment of the minimum period unit or the first distribution pattern A provided by the present application;
[0030] Figure 13 is a schematic diagram of another embodiment of the minimum period unit provided by the present application;
[0031] Figure 14 is a schematic diagram of an embodiment of step 17 in Figure 8 ;
[0032] Figure 15 is a schematic diagram of an embodiment of the second distribution pattern B provided by the present application;
[0033] Figure 16 is a schematic diagram of an embodiment of the third distribution pattern C provided by the present application;
[0034] Figure 17 is a schematic diagram of an embodiment of the fourth distribution pattern D provided by the present application;
[0035] Figure 18 is a schematic diagram of an embodiment of the fifth distribution pattern E provided by the present application;
[0036] Figure 19 is a schematic diagram of an embodiment of the sixth distribution pattern F provided by the present application;
[0037] Figure 20 is a schematic diagram of an embodiment of the seventh distribution pattern G provided by the present application;
[0038] Figure 21 is an embodiment schematic diagram of the eighth distribution pattern H provided in the present application;
[0039] Figure 22 is an embodiment schematic diagram of the ninth distribution pattern I provided in the present application;
[0040] Figure 23 is an embodiment schematic diagram of the tenth distribution pattern J provided in the present application;
[0041] Figure 24 is an embodiment schematic diagram of the eleventh distribution pattern K provided in the present application;
[0042] Figure 25 is an embodiment schematic diagram of the twelfth distribution pattern L provided in the present application;
[0043] Figure 26 is an embodiment schematic diagram of the thirteenth distribution pattern M provided in the present application;
[0044] Figure 27 is an embodiment schematic diagram of the fourteenth distribution pattern N provided in the present application;
[0045] Figure 28 is an embodiment schematic diagram of the fifteenth distribution pattern O provided in the present application;
[0046] Figure 29 is an embodiment schematic diagram of the sixteenth distribution pattern P provided in the present application;
[0047] Figure 30 is a minimum balance unit, a first distribution unit and a corresponding polar distribution schematic diagram with 4 carry points provided in the present application;
[0048] Figure 31 is a minimum balance unit, a first distribution unit and a corresponding polar distribution schematic diagram with 1 carry point provided in the present application;
[0049] Figure 32 is a minimum balance unit, a first distribution unit and a corresponding polar distribution schematic diagram with 2 carry points provided in the present application;
[0050] Figure 33 is a minimum balance unit, a first distribution unit and a corresponding polar distribution schematic diagram with 3 carry points provided in the present application;
[0051] Figure 34 is a minimum balance unit, a first distribution unit and a corresponding polar distribution schematic diagram with 5 carry points provided in the present application;
[0052] Figure 35is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 6 carry points;
[0053] Figure 36 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 7 carry points;
[0054] Figure 37 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 8 carry points;
[0055] Figure 38 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 12 carry points;
[0056] Figure 39 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points;
[0057] Figure 40 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points;
[0058] Figure 41 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points;
[0059] Figure 42 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points;
[0060] Figure 43 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points;
[0061] Figure 44 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points.
[0062] Figure 45 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points.
[0063] Figure 46 is a first distribution unit and a second distribution unit provided by the present application with 4 carry points. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present application will be described clearly and completely in the specification of the present application in conjunction with the drawings in the embodiments of the present application. It can be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only the parts related to the present application are shown in the drawings, but not all the structures. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work are within the scope of the present application.
[0065] Reference to "an embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. It is expressly understood that the embodiments described herein are merely examples from a multitude of possible embodiments, which can be claimed.
[0066] A big advantage of liquid crystal television compared with traditional CRT (Cathode Ray Tube) display and plasma display is power saving. Liquid crystal has only half of the power consumption of CRT of the same size, and is much lower than plasma. Liquid crystal also performs better in environmental protection compared with traditional CRT. This is because there is no high-voltage component inside the liquid crystal display, so it is not prone to the situation of exceeding the standard of radioactive rays caused by high voltage. The display area of the liquid crystal display itself has no radiation at all, only a small amount of electromagnetic waves from the driving circuit. As long as the shell is strictly sealed, EMI (Electromagnetic Interference) can be reduced, so the radiation index is generally lower than that of CRT. Liquid crystal display has a large visible area. Liquid crystal display controls the state of liquid crystal molecules through electrodes on the display screen to achieve the purpose of display. Even if the screen is enlarged, its volume will not increase in proportion (only the size is increased, not the thickness, so many products provide a wall hanging function to save space for users). Moreover, it is much lighter than traditional displays of the same display area. The weight of liquid crystal television is about 1 / 3 of that of traditional television. Therefore, liquid crystal display is also called cold display or environmentally friendly display. At present, LCD (Liquid Crystal Display) display is developing towards higher resolution, higher display quality and larger size. When TFT-LCD is driven, the driving mode is Line-by-Line (Line-by-Line scanning), which is specifically as follows Figure 1As shown, when the Gn signal is high (25V), the corresponding row TFT is turned on (On), and the data in the column direction can be written to the pixel, such as V1+, V2-, and V3+ being written to the corresponding pixel. When the Gn-1 signal and the Gn+1 signal are low (-5V), the corresponding row TFT is turned off (Off).
[0067] The related art is 256 gray scales, and data transmission requires 8 bits, which is not conducive to transmission. In the new 6bit FRC data transmission, because the dithering scheme is not good, it causes the occurrence of problems such as diagonal lines, horizontal lines, vertical lines, and noise points.
[0068] As shown in Figure 2 Temporal Dithering (temporal dithering) and Spatial Dithering (spatial dithering); for example, 6bit displays 8bit, where temporal dithering is to display the first frame (F1) as 6bit A gray scale in time accumulation, display 6bit A+1 gray scale in the second frame (F2), display 6bit A gray scale in the third frame (F3), and display 6bit A+1 gray scale in the fourth frame (F4), so that the visual effect displays B gray scale which is brighter than A and darker than A+1. The driver only needs to process A and A+1 data to get the extra B gray scale, because the effect is close to 8bit, and the data processing module is reduced, the driver cost is reduced.
[0069] Spatial dithering is to have A and A+1 in the same frame, and then B gray scale effect can also be dithered, which has the same meaning as temporal dithering.
[0070] In actual use, the arrangement of gray scale A sub-pixel and gray scale A+1 sub-pixel in space and time domain is very important, and improper arrangement will easily cause abnormalities.
[0071] Dithering abnormalities are related to the polarity distribution of sub-pixels. This article only takes the column direction 1+2 line (+--++--), and the row direction dot inversion (+-+-+-) as an example, and other inversion modes are similar.
[0072] The reasons for vertical lines, horizontal lines, diagonal lines, and noise points are as follows:
[0073] Vertical lines: as shown in Figure 3As shown, the picture is displayed in a cycle of 1→2→3→4→1…, because the carry-in points (gray points) of each frame are all "+" in the first column, all "+" in the second column, all "-" in the third column, and all "-" in the fourth column, then under the time domain carry-in, the first two columns are all "+" and the last two columns are all "-", which easily causes the uneven brightness of the first two columns and the last two columns, thereby causing vertical stripes; in general, it is uneven in the column direction, and the unevenness can be the imbalance of "+" and "-" or the imbalance of the number of carry-in points (A+1). A represents the gray scale of a non-carry-in point.
[0074] Horizontal stripes, the principle is the same as that of vertical stripes, only the direction changes to the row.
[0075] Diagonal stripes, the principle is as shown in Figure 4 and Figure 5 As shown, although the row direction and the column direction are balanced, because the carry-in points (A+1) move in one direction in each frame (or in most frames in one cycle), diagonal stripes in this direction appear, as shown in Figure 4 which is left-up right-down diagonal stripes, and as shown in Figure 5 which is left-down right-up diagonal stripes.
[0076] Noise, the principle is as shown in Figure 6 If the last "-" in the first row of the first frame does not successfully carry in, this place will be darker than other positions, thereby appearing dark noise. In the related art, the generation of carry-in points basically only takes into account the noise item, thereby easily causing other problems.
[0077] In some embodiments, carry-in 0 is to keep a low gray scale, and carry-in 1 is to keep a high gray scale. For example, for 6 bits, the total number of gray scales is 64 (including 0~63 gray scales), then how to display the effect of 10 bits (a total of 0~1023 gray scales) with false 15 gray scales, real 1 gray scale of 6 bits appears 15 times in a 4*4 grid, and another one appears once, which is real 0 gray scale; the real 1 gray scale is carry-in, as shown in Figure 7 .
[0078] As known from the above introduction, the FRC dither pattern designs two concepts: 1, polarity balance; 2, uniform distribution; two elements are added together, and 4-bit FRC needs 16 frames, each frame needs 16*16 minimum units to design, then it is known that 16*16*16 design samples are needed, if a specific algorithm is not added, not only is it extremely easy to occur, but also the calculation amount is too large, in view of this, the present application proposes any one of the following technical solutions to solve the at least one technical problem.
[0079] Referring to Figure 8 ,Figure 8 is a flowchart of an embodiment of the gray scale dithering method provided by the present application. The method comprises:
[0080] Step 11: determining the size of the minimum balance unit, the number of target carry-in points, and the minimum periodic unit per frame according to the number of dithering gray scales corresponding to the frame frequency control.
[0081] The minimum balance unit is arranged in a row-column distribution and is polar balanced.
[0082] In some embodiments, the size of the minimum balance unit is determined according to the number of dithering gray scales. For example, in response to the number of dithering gray scales corresponding to the frame frequency control being N, the size of the minimum balance unit is 2 raised to the power of N. For example, the number of dithering gray scales corresponding to the frame frequency control is 4 bits, and the size of the minimum balance unit is 2 raised to the power of 4. That is, the minimum balance unit can have a size of 4*4 and be composed of 16 squares. That is, the shape of the minimum balance unit should be a square.
[0083] In some embodiments, the carry-in points correspond to the squares in the minimum balance unit. The squares identified as carry-in points have their corresponding pixel gray scales increased by 1 when dithering. The remaining squares that are not identified as carry-in points have their corresponding pixel gray scales remain unchanged when dithering.
[0084] In some embodiments, the low N-bit data of the original data is obtained, and the number of target carry-in points is determined according to the low N-bit data. For example, if the number of dithering gray scales corresponding to the frame frequency control is 4 bits, the low 4-bit data of the original data is obtained. The number of target carry-in points is determined according to the low 4-bit data. For example, if the low 4-bit data is "0000", the number of target carry-in points is 0. If the low 4-bit data is "0001", the number of target carry-in points is 1. If the low 4-bit data is "0010", the number of target carry-in points is 2. If the low 4-bit data is "0011", the number of target carry-in points is 3. If the low 4-bit data is "0100", the number of target carry-in points is 4. If the low 4-bit data is "0000", the number of target carry-in points is 0. That is, the low 4-bit data can determine the number of carry-in points in the range of 0-15.
[0085] Step 12: constructing a number of first minimum balance units according to the number of target carry-in points and the size of the minimum balance unit; wherein each first minimum balance unit is different from each other.
[0086] In some embodiments, the number of dithering gray scales is 2 bits, and two first minimum balance units are constructed according to the number of target carry-in points and the size of the minimum balance unit.
[0087] In some embodiments, the number of dithering gray scales is 4 bits, and four first minimum balance units are constructed according to the number of target carry-in points and the size of the minimum balance unit.
[0088] In some embodiments, in response to the target carry-in point number being less than the first threshold, a number of first minimum balance units corresponding to a dithering gray scale is obtained from the preset set.
[0089] In some embodiments, in response to the target carry-in point number being equal to or greater than the first threshold and less than the second threshold, a number of first minimum balance units corresponding to a dithering gray scale of the target carry-in point number is obtained by superimposing a number of first minimum balance units corresponding to a dithering gray scale of a first carry-in point number and a number of first minimum balance units corresponding to a dithering gray scale of a second carry-in point number, and then taking the inverse; wherein the sum of the first carry-in point number and the second carry-in point number is equal to the target carry-in point number.
[0090] In some embodiments, in response to the target carry-in point number being equal to or greater than the second threshold, a number of first minimum balance units corresponding to a dithering gray scale of a third carry-in point number and / or a number of first minimum balance units corresponding to a dithering gray scale of a fourth carry-in point number is obtained from the preset set, superimposed and inverted to obtain a number of first minimum balance units corresponding to a dithering gray scale of the target carry-in point number.
[0091] In some embodiments, in response to the dithering gray scale being 4 bits, the preset set includes first minimum balance units with carry-in point numbers of 1, 2, 3 and 4, respectively, wherein each carry-in point number includes 4 first minimum balance units. That is, when the target carry-in point number is 1, 2, 3 or 4, 4 first minimum balance units corresponding to the target carry-in point number can be directly obtained from the preset set.
[0092] In some embodiments, in response to the target carry-in point number being 5, 8 first minimum balance units with a carry-in point number of 1 and 8 first minimum balance units with a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 5 are superimposed according to the 8 first minimum balance units with a carry-in point number of 1 and the 8 first minimum balance units with a carry-in point number of 4.
[0093] In some embodiments, in response to the target carry-in point number being 6, 8 first minimum balance units with a carry-in point number of 2 and 8 first minimum balance units with a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 6 are superimposed according to the 8 first minimum balance units with a carry-in point number of 2 and the 8 first minimum balance units with a carry-in point number of 4.
[0094] In some embodiments, in response to the target carry-in point number being 7, 8 first minimum balance units with a carry-in point number of 3 and 8 first minimum balance units with a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 7 are superimposed according to the 8 first minimum balance units with a carry-in point number of 3 and the 8 first minimum balance units with a carry-in point number of 4.
[0095] In some embodiments, in response to the target number of carry-in points being 8, 8 first minimum balance units with a number of carry-in points of 4 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 8 are superimposed according to the 8 first minimum balance units.
[0096] In some embodiments, in response to the target number of carry-in points being 9, 8 first minimum balance units with a number of carry-in points of 3 and a number of carry-in points of 4 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 9 are superimposed and negated according to the 8 first minimum balance units.
[0097] In some embodiments, in response to the target number of carry-in points being 10, 8 first minimum balance units with a number of carry-in points of 2 and a number of carry-in points of 4 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 10 are superimposed and negated according to the 8 first minimum balance units.
[0098] In some embodiments, in response to the target number of carry-in points being 11, 8 first minimum balance units with a number of carry-in points of 1 and a number of carry-in points of 4 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 11 are superimposed and negated according to the 8 first minimum balance units.
[0099] In some embodiments, in response to the target number of carry-in points being 12, 4 first minimum balance units with a number of carry-in points of 4 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 12 are superimposed and negated.
[0100] In some embodiments, in response to the target number of carry-in points being 13, 4 first minimum balance units with a number of carry-in points of 3 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 13 are superimposed and negated.
[0101] In some embodiments, in response to the target number of carry-in points being 14, 4 first minimum balance units with a number of carry-in points of 2 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 14 are superimposed and negated.
[0102] In some embodiments, in response to the target number of carry-in points being 15, 4 first minimum balance units with a number of carry-in points of 1 are obtained from the preset set, and 4 first minimum balance units with a number of carry-in points of 15 are superimposed and negated.
[0103] Step 13: superimpose the dithered number of first minimum balance units to obtain a first distribution unit.
[0104] In some embodiments, since the size of each first minimum balance unit is the same, the position of the carry-in point may be different, and therefore the first distribution unit is obtained by superimposition.
[0105] Let's take a 4-bit dataset with a carry count of 1 as an example:
[0106] like Figure 9 As shown, four distinct first minimum equilibrium units are superimposed to obtain a first distribution unit. Here, superposition refers to combining the carry points from all the first minimum equilibrium units into the same first minimum equilibrium unit according to their positional relationships to obtain the first distribution unit.
[0107] Step 14: Swap the first distribution units in the row direction and / or column direction to obtain a first number of second distribution units; the first number is equal to the number of dithered gray levels minus one.
[0108] Combination Figure 10 Explanation: For example, regarding Figure 9 The first distribution unit is swapped in the row direction and / or column direction to obtain the second distribution unit a, the second distribution unit b, and the second distribution unit c. For example, for Figure 9 The first and second columns of the first distribution unit are interchanged, as are the third and fourth columns, to obtain... Figure 10 The second distribution unit a in the [database]. For Figure 9 By swapping the first and third columns of the first distribution unit, and swapping the second and fourth columns, we obtain... Figure 10 The second distribution unit b in the middle, for Figure 9 By swapping the first and fourth columns of the first distribution unit, and swapping the second and third columns, we obtain... Figure 10 The second distribution unit c in the middle.
[0109] Step 15: Divide each second distribution unit according to the number of target entry points to obtain the number of second minimum balance units of the number of jitter gray levels; wherein each second minimum balance unit is different from the others.
[0110] Combination Figure 11 Explanation:
[0111] For example, Figure 10 The second distribution unit a is split into two parts: the second minimum equilibrium unit a1, the second minimum equilibrium unit a2, the second minimum equilibrium unit a3, and the second minimum equilibrium unit a4.
[0112] For example, Figure 10 The second distribution unit b is split into two parts: the second minimum equilibrium unit b1, the second minimum equilibrium unit b2, the second minimum equilibrium unit b3, and the second minimum equilibrium unit b4.
[0113] For example, Figure 10The second distribution unit c in the second distribution unit c splits each second distribution unit into a second minimum balance unit c1, a second minimum balance unit c2, a second minimum balance unit c3, and a second minimum balance unit c4.
[0114] Step 16: constructing a minimum period unit by using the first minimum balance unit with the number of dithering gray levels and all the second minimum balance units.
[0115] In some embodiments, the minimum period unit can be composed of a plurality of minimum balance units. For example, a minimum balance unit is composed of 16 squares, and then the minimum period unit can be composed of 16 minimum balance units. Similarly, a 4*4 square can be formed. For example, a minimum balance unit is composed of 4 squares, and then the minimum period unit can be composed of 4 minimum balance units. Similarly, a 2*2 square can be formed. For example, a minimum balance unit is composed of 64 squares, and then the minimum period unit can be composed of 64 minimum balance units. Similarly, an 8*8 square can be formed.
[0116] In some embodiments, the first minimum balance unit and all the second minimum balance units can be spliced and sorted in the row direction to form a minimum period unit. For example, the minimum period unit can be composed of 16 minimum balance units, as shown in the 4*4 minimum period unit in Figure 12 . Figure 12 1-16 in the figure represents a 4*4 square region, that is, a minimum balance unit. That is, the first minimum balance unit with the number of dithering gray levels and all the second minimum balance units are spliced and sorted to form a minimum period unit. In some embodiments, the minimum balance units 1-16 are different from each other.
[0117] In some embodiments, the first minimum balance unit and all the second minimum balance units can be spliced and sorted in the column direction to form a minimum period unit. For example, the minimum period unit can be composed of 16 minimum balance units, as shown in the 4*4 minimum period unit in Figure 13 .
[0118] Step 17: gray level dithering according to the minimum period unit.
[0119] In some embodiments, referring to Figure 14 , step 17 can be the following flow:
[0120] Step 171: constructing a number of distribution patterns required for the minimum period unit according to the serial numbers of the minimum balance units; wherein the serial numbers of the first minimum balance units in all the distribution patterns are different, and the serial numbers of all the minimum balance units in each distribution pattern are continuous.
[0121] In some embodiments, 16 minimum balance units are needed to build 16 distribution patterns, and the 16 minimum balance units are sorted to obtain minimum balance units with serial numbers 1-16.
[0122] Based on this, the minimum balance units in the first distribution pattern A are distributed according to serial numbers 1-16, as shown in Figure 12 .
[0123] The minimum balance units in the second distribution pattern B are distributed according to serial numbers 2-16, 1, as shown in Figure 15 .
[0124] The minimum balance units in the third distribution pattern C are distributed according to serial numbers 3-16, 1-2, as shown in Figure 16 .
[0125] The minimum balance units in the fourth distribution pattern D are distributed according to serial numbers 4-16, 1-3, as shown in Figure 17 .
[0126] The minimum balance units in the fifth distribution pattern E are distributed according to serial numbers 5-16, 1-4, as shown in Figure 18 .
[0127] The minimum balance units in the sixth distribution pattern F are distributed according to serial numbers 6-16, 1-5, as shown in Figure 19 .
[0128] The minimum balance units in the seventh distribution pattern G are distributed according to serial numbers 7-16, 1-6, as shown in Figure 20 .
[0129] The minimum balance units in the eighth distribution pattern H are distributed according to serial numbers 8-16, 1-7, as shown in Figure 21 .
[0130] The minimum balance units in the ninth distribution pattern I are distributed according to serial numbers 9-16, 1-8, as shown in Figure 22 .
[0131] The minimum balance units in the tenth distribution pattern J are distributed according to serial numbers 10-16, 1-9, as shown in Figure 23 .
[0132] The minimum balance units in the eleventh distribution pattern K are distributed according to serial numbers 11-16, 1-10, as shown in Figure 24 .
[0133] The minimum balance units in the twelfth distribution pattern L are distributed according to serial numbers 12-16, 1-11, as shown in Figure 25 .
[0134] The minimum balance units in the thirteenth distribution pattern M are distributed according to the sequence numbers 13-16, 1-12, as shown in Figure 26
[0135] The minimum balance units in the fourteenth distribution pattern N are distributed according to the sequence numbers 14-16, 1-13, as shown in Figure 27
[0136] The minimum balance units in the fifteenth distribution pattern O are distributed according to the sequence numbers 15-16, 1-14, as shown in Figure 28
[0137] The minimum balance units in the sixteenth distribution pattern P are distributed according to the sequence numbers 16, 1-15, as shown in Figure 29
[0138] Step 172: in response to the target number of carry-in points being even, performing gray scale dithering according to the required number of distribution patterns of the minimum period unit within the first preset cycle period.
[0139] In some embodiments, in response to the target number of carry-in points being even, the gray scale dithering is performed according to the sequence numbers of the distribution patterns within the first preset cycle period.
[0140] That is, each distribution pattern is sequenced, such as sequencing A-P as described above. Based on this, the gray scale dithering can be performed in the following order within the first preset cycle period: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P.
[0141] Step 173: in response to the target number of carry-in points being odd, performing gray scale dithering according to the required number of distribution patterns of the minimum period unit within the second preset cycle period; the second preset cycle period is an even multiple of the first preset cycle period.
[0142] If 16 frames correspond to the first preset cycle period, the second preset cycle period can be 32 frames, 64 frames, 96 frames.
[0143] In some embodiments, when the second preset cycle period is twice the first preset cycle period, and the target number of carry-in points is odd, in the first preset number of frames in the second preset cycle period, the gray scale dithering is performed according to the sequence numbers of the distribution patterns; in the second preset number of frames in the second preset cycle period, the sequence numbers of all the distribution patterns are reordered by odd-even exchange, and the gray scale dithering is performed according to the reordered sequence numbers of the distribution patterns. If the first preset cycle period corresponds to 16 frames, the second preset cycle period can be 32 frames, the first 16 frames perform gray scale dithering according to the distribution patterns A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, and P, and the last 16 frames perform gray scale dithering according to the reordered sequence numbers of the distribution patterns by odd-even exchange of the sequence numbers of the distribution patterns in the first 16 frames.
[0144] In some embodiments, the odd-even exchange reordering refers to reordering the sequence numbers of the distribution patterns that have been previously reordered. For example, the sequence numbers of the distribution patterns A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, and P are 1-16. After odd-even exchange reordering, the new sequence numbers of the distribution patterns are 1-16, which correspond to the distribution patterns B, A, D, C, F, E, H, G, J, I, L, K, N, M, P, and O in sequence.
[0145] In an application scenario, 4-bit FRC is taken as an example for illustration, and other analogies can be made.
[0146] The first four gold samples (minimum balance units) before each carry-in are as follows:
[0147] In 4-bit FRC, the number 4 of carry-in points is the most important distribution point, so when confirming the minimum cycle unit, the minimum cycle unit of the carry-in point 4 should be confirmed first. For the carry-in point 4, there are three parts, the front is the minimum balance unit (frame carry-in point distribution), the middle is the gold frame (first distribution unit), and the back is the positive and negative polarity distribution (frame carry-in point positive and negative polarity distribution), which need to meet the following conditions: Figure 30
[0148] 1) Because 4 is an even number, the minimum balance unit corresponds to “±” balance in each frame minimum cycle unit (i.e., the number of + and - in one frame is the same).
[0149] 2) The carry-in of each position in the 4*4 table of the gold frame is 1.
[0150] 3) The polarity of the two adjacent carry-in points in one frame is different, and it is better to be far apart in the first frame and close in the second frame to cross.
[0151] For example,Figure 31 , Figure 31 is the minimum balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the application, the number of carry points is 1. For carry point 1, the following conditions need to be met:
[0152] Because 1 is an odd number, for carry point 1, each gold sample has only one carry point; the gold frame 4*4 table will have only 4 carry points, which need to have one in each column and each row; and the carry point 4 can be spliced to form 4 gold samples without overlapping.
[0153] As Figure 32 , Figure 32 is the minimum balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the application, the number of carry points is 2. For carry point 2, the following conditions need to be met:
[0154] A, because 2 is an even number, the minimum balance unit corresponds to the balance of "±" in each frame of the minimum period unit (i.e. the number of + and - in a frame is the same).
[0155] B, the gold frame 4*4 table has a 1 / 0 cross at each position.
[0156] C, the two carry points in a frame are preferably far apart in the first frame and close in the second frame (they cannot be close or far apart, and the same distance is also acceptable) so that they can be crossed.
[0157] D, and the carry point 4 can be spliced to form 4 gold samples without overlapping.
[0158] As Figure 33 , Figure 33 is the minimum balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the application, the number of carry points is 3. For carry point 3, the following conditions need to be met:
[0159] A, because 3 is an odd number, for carry point 3, each gold sample needs 3 carry points, and each frame needs to have + and -.
[0160] B, the gold frame 4*4 table will have 12 carry points, which need to lack 1 in each column and each row, especially, its pattern is exactly the same as the carry 1 carry gold frame pattern.
[0161] C, and the carry point 4 can be spliced to form 4 gold samples without overlapping.
[0162] As Figure 34 , Figure 34is the minimum balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application with 5 carry-in points. For carry-in point 5, it is the combination of carry-in 4+1 (because 4 and 1 do not overlap, so it can be).
[0163] In particular, when 4 gold sample1 and 1 gold sample1 overlap, replace 4 gold sample1 and 1 gold sample2 overlap… Find OK pattern in turn.
[0164] As Figure 35 , Figure 35 is the minimum balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application with 6 carry-in points. For carry-in point 6, it is the combination of carry-in 4+2 (because 4 and 2 do not overlap, so it can be);
[0165] In particular, when 4 gold sample1 and 2 gold sample1 overlap, replace 4 gold sample1 and 2 gold sample2 overlap… Find OK pattern in turn.
[0166] As Figure 36 , Figure 36 is the minimum balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application with 7 carry-in points. For carry-in point 7, it is the combination of carry-in 4+3 (because 4 and 3 do not overlap, so it can be).
[0167] In particular, when 4 gold sample1 and 3 gold sample1 overlap, replace 4 gold sample1 and 3 gold sample2 overlap… Find OK pattern in turn.
[0168] As Figure 37 , Figure 37 is the minimum balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application with 8 carry-in points. For carry-in point 8, it is the combination of carry-in 4+4 (because the gold frame of 4 is 1 for each carry-in, so it can be).
[0169] In particular, when 4 gold sample1 and 4 gold sample1 overlap, replace 4 gold sample1 and 4 gold sample2 overlap… Find OK pattern in turn.
[0170] After the carry point 9 is negated, containing 9 / 11 / 12 / 13 / 14 / 15, the relationship between the negated object and the carry is m+n=16, m is the current carry number, n is the reference carry number of negation; for example Figure 38 , Figure 38 is the minimum balance unit and the first distribution unit schematic diagram provided by the present application, the number of carry points is 12. For the carry point 12, its inverse is carry 4; 12+4=16.
[0171] Each carry 12 gold sample is as follows:
[0172] At this time, each carry has a corresponding gold frame, and each gold frame corresponds to 4 gold samples; by doing column / row interchanging of the gold frame, i.e., interchanging the first column and the second column / the third column and the fourth column, a second group of gold frame 2 is obtained; interchanging the first column and the third column / the second column and the fourth column, a third group of gold frame 3 is obtained; interchanging the first column and the fourth column / the second column and the third column, a fourth group of gold frame 4 is obtained; as shown in Figure 39 (taking the gold frame of carry 4 as an example).
[0173] It can be seen that 3 new gold frames can be obtained, and the total number of gold sample(n) (which is actually the column interchanged original gold sample) is 3*4=12, plus the original one is 12+4=16, which is exactly equal to the total number of 0~15 carry points 16.
[0174] The 16 gold samples of each carry are combined into a 16*16 square, such as Figure 40 (taking carry 4 as an example), the minimum unit of each frame of carry 4 is obtained.
[0175] Because the gold sample of carry 4 itself is balanced, the square obtained by column interchanging is also balanced, so there is no imbalance problem in the spatial domain (within a frame), such as Figure 41 is the minimum period unit spatial domain carry point balance problem of carry 3, and Figure 41 , it can be seen that according to the minimum period unit obtained by this theory, the carry of each row is 3, and the carry of each column is also 3.
[0176] In order to ensure the same number of carries in each position, the time domain is added on the basis of the space domain, that is, 16 gold samples are defined in sequence as A / B / C…O / P. Since the minimum carry is 1, at least 16 frames are required to ensure that each point has a carry. The first frame AA is arranged as A→B→C…O→P, the second frame AB is arranged as B→C…O→P→A, and so on until the AP frame P→A→B…N→O. All carry problems are completed.
[0177] For the application of odd number of carries, after 16 frames, the polarity of each position carry point will be asymmetric (such as Figure 42 and Figure 43 Although the total number of positive and negative polarities is the same in each position, they are not the same. At this time, a cycle needs to be added on the basis of the original, which is frame rotation, that is, AB→AA→AD→AC…→AP→AO.
[0178] As can be seen above, since only 16 gold samples of carries 1 / 2 / 3 / 4 need to be defined, the number of gold samples is greatly reduced (total number of carries 15*16=240), and the risk of imbalance is reduced.
[0179] Referring to Figure 44 , Figure 44 is a structural schematic diagram of an embodiment of the display driving device provided in the present application. The display driving device 300 includes a processing chip 301 and a memory 302. The memory 302 stores at least one computer program. When the at least one computer program is loaded and executed by the processing chip 301, the at least one computer program is used to implement the following method:
[0180] The size of the minimum balance unit, the number of target carry points, and the minimum period unit per frame are determined according to the number of dithering gray levels corresponding to the frame frequency control. The minimum balance unit is arranged in rows and columns, and the polarity is balanced. A dithering gray level number of first minimum balance units is constructed according to the number of target carry points and the size of the minimum balance unit. Each first minimum balance unit is different from each other. The dithering gray level number of first minimum balance units is superimposed to obtain a first distribution unit. The first distribution unit is exchanged in the row direction and / or the column direction to obtain a first number of second distribution units. The first number is equal to the dithering gray level number minus one. Each second distribution unit is split according to the number of target carry points to obtain a dithering gray level number of second minimum balance units. Each second minimum balance unit is different from each other. The minimum period unit is constructed by using the dithering gray level number of first minimum balance units and all second minimum balance units. The gray level dithering is performed according to the minimum period unit.
[0181] It can be understood that at least one computer program is loaded and executed by the processing chip 301 to implement the method of any of the above embodiments.
[0182] Referring to Figure 45 , Figure 45 is a structural schematic diagram of an embodiment of a display panel provided by the present application. The display panel 400 comprises the display driving apparatus 300. The display driving apparatus 300 can be the display driving apparatus 300 described above.
[0183] Referring to Figure 46 , Figure 46 is a structural schematic diagram of an embodiment of a display apparatus provided by the present application. The display apparatus 500 comprises the display panel 400. The display panel 400 can be the display panel 400 described above.
[0184] In summary, the gray scale dithering method, the display driving apparatus 300, the display panel 400, and the display apparatus 500 provided by the present application determine the size of the minimum balance unit, the number of target carry-in points, and the minimum period unit of each frame according to the number of dithering gray scales corresponding to the frame frequency control; wherein the minimum balance unit is distributed in rows and columns and is polar balanced; the number of dithering gray scales first minimum balance units are constructed according to the number of target carry-in points and the size of the minimum balance unit; wherein each first minimum balance unit is different from each other; the first distribution unit is obtained by superimposing the number of dithering gray scales first minimum balance units; the first number of second distribution units are obtained by performing row direction exchange and / or column direction exchange on the first distribution unit; the first number is equal to the number of dithering gray scales minus one; each second distribution unit is split according to the number of target carry-in points to obtain the number of dithering gray scales second minimum balance units; wherein each second minimum balance unit is different from each other; the minimum period unit is constructed by using the number of dithering gray scales first minimum balance units and all second minimum balance units; and the gray scale dithering is performed according to the minimum period unit, which not only can reduce the occurrence of problems such as diagonal lines, horizontal lines, vertical lines, and noise points in the dithering process, but also can obtain the first number of second distribution units by performing row direction exchange and / or column direction exchange on the superimposed row and column balanced first distribution unit, and split each second distribution unit to obtain the number of dithering gray scales second minimum balance units, thereby simplifying the calculation process and the amount of calculation in the frame frequency control process, improving the efficiency of gray scale dithering, reducing the hardware requirements for participating in the frame frequency control calculation, and being more suitable.
[0185] In several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other manners. For example, the embodiments of the device described above are merely schematic. For example, the division of the modules or units is merely logical function division. There can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings between different units, or the displayed or discussed direct couplings between different units, can be indirect couplings or other couplings through some interfaces, devices or units.
[0186] The integrated units in the other embodiments described above, if realized in the form of software function units and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, essentially or in part, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and various other media that can store program codes.
[0187] The above description is merely some embodiments of the present application, and is not intended to limit the patent scope of the present application. Any equivalent structure or equivalent flow transformation made by using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A gray scale dithering method, characterized by, The method comprises: in response to the number of dithering gray scales corresponding to frame frequency control being N, the size of the minimum balance unit being 2 raised to the power of N; acquiring low N-bit data of original data, determining the number of target carry points and the minimum cycle unit according to the low N-bit data; wherein the minimum balance unit is in row-column distribution and polarity balance, is composed of 2 raised to the power of N squares, and is in the shape of a square; the minimum cycle unit is composed of 2 raised to the power of N minimum balance units; constructing the number of dithering gray scales of first minimum balance units according to the number of target carry points and the size of the minimum balance unit; wherein each of the first minimum balance units is different from each other; each of the first minimum balance units includes the number of target carry points of squares that need to carry, and when dithering, the pixel gray scale corresponding to the square of the carry point is added by 1; superimposing the number of dithering gray scales of first minimum balance units to obtain a first distribution unit; interchanging in the row direction and / or interchanging in the column direction of the first distribution unit to obtain a first number of second distribution units; the first number is equal to the number of dithering gray scales minus one; splitting each of the second distribution units according to the number of target carry points to obtain the number of dithering gray scales of second minimum balance units; wherein each of the second minimum balance units is different from each other; constructing the minimum cycle unit by using the number of dithering gray scales of first minimum balance units and all the second minimum balance units; constructing the number of distribution patterns required by the minimum cycle unit according to the serial numbers of the minimum balance units; wherein the serial numbers of the first minimum balance units in all the distribution patterns are different, and the serial numbers of all the minimum balance units in each of the distribution patterns are continuous; in response to the number of target carry points being even, performing gray scale dithering according to the number of distribution patterns required by the minimum cycle unit in a first preset cycle period; wherein one of the distribution patterns is dithered per frame; in response to the number of target carry points being odd, performing gray scale dithering according to the number of distribution patterns required by the minimum cycle unit in a second preset cycle period; the second preset cycle period is an even multiple of the first preset cycle period.
2. The gray scale dithering method of claim 1, wherein, The method comprises: in response to the number of target carry points being less than a first threshold, acquiring the number of dithering gray scales of first minimum balance units from a preset set; in response to the number of target carry points being equal to or greater than the first threshold and less than a second threshold, acquiring the number of dithering gray scales of first minimum balance units corresponding to a first number of carry points and the number of dithering gray scales of first minimum balance units corresponding to a second number of carry points from a preset set, and superimposing the number of dithering gray scales of first minimum balance units corresponding to the number of target carry points; wherein the sum of the first number of carry points and the second number of carry points is equal to the number of target carry points. In response to the target carry-in point number being equal to or greater than the second threshold, a third carry-in point number corresponding to the number of dithering gray levels of the first minimum balance unit and / or a fourth carry-in point number corresponding to the number of dithering gray levels of the first minimum balance unit are obtained from a preset set, superimposed and negated to obtain the number of dithering gray levels of the first minimum balance unit corresponding to the target carry-in point number.
3. The gray scale dithering method of claim 2, wherein, In response to the number of dithering gray levels being 4 bits, the first minimum balance unit with a carry-in point number of 1, 2, 3 and 4 is included in the preset set respectively, wherein each carry-in point number includes 4 first minimum balance units.
4. The gray scale dithering method of claim 3, wherein, In response to the target carry-in point number being 5, 8 first minimum balance units with a carry-in point number of 1 and a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 5 are superimposed according to the 8 first minimum balance units; In response to the target carry-in point number being 6, 8 first minimum balance units with a carry-in point number of 2 and a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 6 are superimposed according to the 8 first minimum balance units; In response to the target carry-in point number being 7, 8 first minimum balance units with a carry-in point number of 3 and a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 7 are superimposed according to the 8 first minimum balance units; In response to the target carry-in point number being 8, 8 first minimum balance units with a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 8 are superimposed according to the 8 first minimum balance units; In response to the target carry-in point number being 9, 8 first minimum balance units with a carry-in point number of 3 and a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 9 are superimposed and negated according to the 8 first minimum balance units; In response to the target carry-in point number being 10, 8 first minimum balance units with a carry-in point number of 2 and a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 10 are superimposed and negated according to the 8 first minimum balance units; In response to the target carry-in point number being 11, 8 first minimum balance units with a carry-in point number of 1 and a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 11 are superimposed and negated according to the 8 first minimum balance units; In response to the target carry-in point number being 12, 4 first minimum balance units with a carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 12 are superimposed and negated; In response to the target carry-in point number being 13, 4 first minimum balance units with a carry-in point number of 3 are obtained from the preset set, and 4 first minimum balance units with a carry-in point number of 13 are superimposed and negated; in response to the target number of carry-in points being 14, obtaining 4 first minimum balance units with a number of carry-in points of 2 from a preset set, superimposing and taking inverse to obtain 4 first minimum balance units with a number of carry-in points of 14; in response to the target number of carry-in points being 15, obtaining 4 first minimum balance units with a number of carry-in points of 1 from a preset set, superimposing and taking inverse to obtain 4 first minimum balance units with a number of carry-in points of 15.
5. The gray scale dithering method of claim 1, wherein, in response to the target number of carry-in points being even, in a first preset cycle period, performing gray scale dithering according to a number of distribution patterns required by the minimum cycle unit, comprising: in response to the target number of carry-in points being even, in the first preset cycle period, performing gray scale dithering according to the serial numbers of the distribution patterns.
6. The gray scale dithering method of claim 1, wherein, in response to the target number of carry-in points being odd, in a second preset cycle period, performing gray scale dithering according to a number of distribution patterns required by the minimum cycle unit, comprising: in response to the target number of carry-in points being odd, in a first preset number of frames in the second preset cycle period, performing gray scale dithering according to the serial numbers of the distribution patterns; in a second preset number of frames in the second preset cycle period, performing odd-even exchange and reordering of the serial numbers of all the distribution patterns, and performing gray scale dithering according to the serial numbers of the reordered distribution patterns.
7. A display driving device, characterized by comprising: a display driving device, comprising a processing chip and a memory, wherein the memory stores at least one computer program, and when the at least one computer program is loaded and executed by the processing chip, the at least one computer program is used to implement the method according to any one of claims 1-6.
8. A display panel, characterized by, a display driving device according to claim 7.
9. A display device, characterized by comprising: a display panel according to claim 8.
Citation Information
Patent Citations
Time and space color mixing method for pixel array
CN104795047A
Display panel, driving method and device thereof and computer readable storage medium
CN119889253A