Gray scale dithering method, display driving apparatus, display panel, display device
By constructing a minimum balancing unit with polarity balance and adjusting the row and column distribution, the problem of diagonal stripes, horizontal stripes, vertical stripes, and noise in the grayscale dithering process of LCD displays is solved, thereby improving the display effect and computing efficiency.
Patent Information
- Application Number
- CN202510580435.6
- 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 technologies are prone to problems such as diagonal lines, horizontal lines, vertical lines and noise during grayscale dithering in LCD displays, especially in 6-bit FRC data transmission, where poor dithering schemes result in poor display effects.
By constructing a minimum balancing unit, determining the number of target entry points and the minimum periodic unit per frame, grayscale jitter is performed according to the polarity balance principle, including the interchange and polarity adjustment of the minimum balancing units in row and column distribution, to ensure the balance of the number of entry points in different columns and reduce abnormal phenomena during the jitter process.
It effectively reduces diagonal, horizontal, and vertical stripes and noise issues during grayscale jittering, while simplifying the frame rate control calculation process, improving grayscale jittering efficiency, and reducing hardware requirements.
Smart Images

Figure CN120089110B_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 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 arranged in a row-column distribution and is polarity balanced; constructing dithering gray scale number of first minimum balance units 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 and meets a preset condition; the preset condition is at least that the number of positive polarity carry points of different columns is the same, and the number of negative polarity carry points of different columns is the same; superimposing the dithering gray scale number 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 plurality of second distribution units; splitting each second distribution unit according to the number of target carry points to obtain dithering gray scale number of second minimum balance units; wherein each second minimum balance unit is different from each other; selecting a second minimum balance unit meeting the preset condition from all dithering gray scale number of second minimum balance units to construct a minimum period unit; and performing gray scale dithering according to the minimum period unit.
[0006] Wherein, constructing dithering gray scale number of first minimum balance units according to the number of target carry points and the size of the minimum balance unit comprises: in response to the number of target carry points being less than a first threshold, obtaining dithering gray scale number 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, obtaining dithering gray scale number of first minimum balance units corresponding to a first number of carry points and dithering gray scale number of first minimum balance units corresponding to a second number of carry points from the preset set, and superimposing dithering gray scale number 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 number of target carry points being equal to or greater than the second threshold, obtaining dithering gray scale number of first minimum balance units corresponding to a third number of carry points and / or dithering gray scale number of first minimum balance units corresponding to a fourth number of carry points from the preset set, superimposing and negating to obtain dithering gray scale number of first minimum balance units corresponding to the number of target carry points.
[0007] Wherein, in response to the number of dithering gray scales being 4bit, the preset set respectively includes first minimum balance units with a number of carry points of 1, 2, 3 and 4, wherein each number of carry 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 unit comprises: constructing a number of distribution patterns required by 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; setting the polarity of the current frame distribution pattern according to the first polarity mode and performing gray scale dithering in response to the current polarity being set according to the vertical direction and the current frame distribution pattern being an odd frame; setting the polarity of the current frame distribution pattern according to the second polarity mode and performing gray scale dithering in response to the current polarity being set according to the vertical direction and the current frame distribution pattern being an even frame; wherein the polarity distribution corresponding to the even frame is opposite to the polarity distribution corresponding to the odd frame.
[0010] The method further comprises: setting the polarity of the current frame distribution pattern according to the third polarity mode and performing gray scale dithering in response to the current polarity being set according to the horizontal direction and the current frame distribution pattern being an odd frame; setting the polarity of the current frame distribution pattern according to the fourth polarity mode and performing gray scale dithering in response to the current polarity being set according to the horizontal direction and the current frame distribution pattern being an even frame; wherein the polarity distribution corresponding to the third polarity mode is obtained by transposing the polarity distribution corresponding to the first polarity mode; and the polarity distribution corresponding to the fourth polarity mode is obtained by transposing the polarity distribution corresponding to the second polarity mode.
[0011] The polarity mode comprises dot inversion and 1+2 line.
[0012] The preset condition further comprises: in response to the target carry-in point number being odd, the difference between the number of positive polarities and the number of negative polarities of the carry-in points in the same column is 1; and in response to the target carry-in point number being even, the number of positive polarities and the number of negative polarities of the carry-in points in the same column are the same.
[0013] In a second aspect, the present application provides 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 provided in the first aspect.
[0014] In a third aspect, the present application provides a display panel, comprising the display driving device provided in the second aspect.
[0015] In a fourth aspect, the present application provides a display device, comprising 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 controlled by the frame frequency; 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 and meets the preset condition; the preset condition is at least: the number of positive polarities of carry points in different columns is the same, and the number of negative polarities of carry points in different columns is the same; a first distribution unit is obtained by superimposing a dithering gray scale number of first minimum balance units; a plurality of second distribution units are obtained by exchanging in the row direction and / or exchanging in the column direction of the first distribution unit; 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 selecting the second minimum balance unit meeting the preset condition from all the dithering gray scale number of second minimum balance units; according to the minimum period unit, the gray scale dithering can not only reduce the occurrence of problems such as diagonal lines, horizontal lines, vertical lines and noise points in the dithering process, but also select the second minimum balance unit meeting the preset condition from all the dithering gray scale number of second minimum balance units to construct the minimum period unit, so as to solve the polarity balance problem in subsequent gray scale dithering, simplify the calculation process and calculation amount in the frame frequency control process, improve the efficiency of gray scale dithering, reduce the hardware requirements for participating in the frame frequency control calculation, and have 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. 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 creating any inventive labor. 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 when generating left lower right upper diagonal lines according to the present application;
[0023] Figure 6 is a schematic diagram of a minimum balance unit when generating noise according to the present application;
[0024] Figure 7 is a gray scale distribution diagram of an embodiment of the minimum balance unit according to the present application;
[0025] Figure 8 is a schematic diagram of a minimum period unit according to the present application;
[0026] Figure 9 is a schematic diagram of a cycle driving of the minimum period unit according to the present application;
[0027] Figure 10 is a schematic diagram of an embodiment of the minimum balance unit corresponding to the carry-in point 1 according to the present application;
[0028] Figure 11 is a schematic diagram of another embodiment of the minimum balance unit corresponding to the carry-in point 1 according to the present application;
[0029] Figure 12 is a flowchart of an embodiment of the gray scale dithering method according to the present application;
[0030] Figure 13 is a schematic diagram of the minimum balance unit corresponding to the carry-in point 1 and the corresponding polarity distribution according to the present application;
[0031] Figure 14 is a schematic diagram of a first distribution unit after superposition of the minimum balance unit according to the present application;
[0032] Figure 15 is a second distribution unit after column transposition of Figure 14 ;
[0033] Figure 16 is a second minimum balance unit formed by splitting the second distribution unit of Figure 14 ;
[0034] Figure 17 is an embodiment diagram of the minimum period unit or the first distribution pattern A according to the present application;
[0035] Figure 18 is another embodiment diagram of the minimum period unit according to the present application;
[0036] Figure 19 is a flowchart of an embodiment of step 17 in Figure 12 ;
[0037] Figure 20is a schematic diagram of an embodiment of the second distribution pattern B provided in the present application;
[0038] Figure 21 is a schematic diagram of an embodiment of the third distribution pattern C provided in the present application;
[0039] Figure 22 is a schematic diagram of an embodiment of the fourth distribution pattern D provided in the present application;
[0040] Figure 23 is a schematic diagram of an embodiment of the fifth distribution pattern E provided in the present application;
[0041] Figure 24 is a schematic diagram of an embodiment of the sixth distribution pattern F provided in the present application;
[0042] Figure 25 is a schematic diagram of an embodiment of the seventh distribution pattern G provided in the present application;
[0043] Figure 26 is a schematic diagram of an embodiment of the eighth distribution pattern H provided in the present application;
[0044] Figure 27 is a schematic diagram of an embodiment of the ninth distribution pattern I provided in the present application;
[0045] Figure 28 is a schematic diagram of an embodiment of the tenth distribution pattern J provided in the present application;
[0046] Figure 29 is a schematic diagram of an embodiment of the eleventh distribution pattern K provided in the present application;
[0047] Figure 30 is a schematic diagram of an embodiment of the twelfth distribution pattern L provided in the present application;
[0048] Figure 31 is a schematic diagram of an embodiment of the thirteenth distribution pattern M provided in the present application;
[0049] Figure 32 is a schematic diagram of an embodiment of the fourteenth distribution pattern N provided in the present application;
[0050] Figure 33 is a schematic diagram of an embodiment of the fifteenth distribution pattern O provided in the present application;
[0051] Figure 34 is a schematic diagram of an embodiment of the sixteenth distribution pattern P provided in the present application;
[0052] Figure 35 is a schematic diagram of a minimum balance unit, a first distribution unit and a corresponding polar distribution provided in the present application, in which the number of carry-in points is 4;
[0053] Figure 36is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 1 carry point number;
[0054] Figure 37 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 2 carry point number;
[0055] Figure 38 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 3 carry point number;
[0056] Figure 39 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 5 carry point number;
[0057] Figure 40 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 6 carry point number;
[0058] Figure 41 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 7 carry point number;
[0059] Figure 42 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 8 carry point number;
[0060] Figure 43 is a minimum balance unit, a first distribution unit and a corresponding polar distribution diagram provided by the present application with 12 carry point number;
[0061] Figure 44 is a first distribution unit and a second distribution unit provided by the present application with 4 carry point number;
[0062] Figure 45 is a minimum cycle unit provided by the present application with 4 carry point number;
[0063] Figure 46 is a minimum cycle unit provided by the present application with 3 carry point number;
[0064] Figure 47 is a negative polarity diagram of a minimum cycle unit provided by the present application after periodic driving;
[0065] Figure 48 is a positive polarity diagram of a minimum cycle unit provided by the present application after periodic driving;
[0066] Figure 49is a minimum balance unit corresponding to carry-in point 1, 2, 3, 4 and a first distribution unit schematic diagram provided by the present application;
[0067] Figure 50 is a minimum balance unit corresponding to carry-in point 1 and a polar distribution schematic diagram provided by the present application;
[0068] Figure 51 is a minimum balance unit schematic diagram corresponding to carry-in point 1 provided by the present application;
[0069] Figure 52 is a minimum balance unit corresponding to carry-in point 1 and a polar distribution schematic diagram provided by the present application;
[0070] Figure 53 is another minimum balance unit corresponding to carry-in point 1 and a polar distribution schematic diagram provided by the present application;
[0071] Figure 54 is Figure 52 polar statistical schematic diagram after periodic driving;
[0072] Figure 55 is Figure 53 polar statistical schematic diagram after periodic driving;
[0073] Figure 56 is a minimum balance unit corresponding to carry-in point 3 and a polar distribution schematic diagram provided by the present application;
[0074] Figure 57 is a minimum balance unit corresponding to carry-in point 4 and a polar distribution schematic diagram provided by the present application;
[0075] Figure 58 is a vertical direction 1+2 line polar distribution schematic diagram provided by the present application;
[0076] Figure 59 is a horizontal direction 1+2 line polar distribution schematic diagram provided by the present application;
[0077] Figure 60 is a structure schematic diagram of an embodiment of a display driving device provided by the present application;
[0078] Figure 61 is a structure schematic diagram of an embodiment of a display panel provided by the present application;
[0079] Figure 62 is a structure schematic diagram of an embodiment of a display device provided by the present application. DETAILED DESCRIPTION
[0080] 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.
[0081] 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 an embodiment" in various places in the specification are not necessarily 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 literally combined or otherwise combined with other embodiments to produce further embodiments including development or revision of previously known structures and functions.
[0082] 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, the weight of liquid crystal display is much lighter than that of traditional display 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).
[0083] 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.
[0084] 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.
[0085] 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.
[0086] In actual use, the arrangement of gray scale A sub-pixel and gray scale A+1 sub-pixel in space and time is very important, and improper arrangement can easily cause abnormalities.
[0087] Dithering abnormalities are related to the polarity distribution of sub-pixels. This article only takes the 1+2 line (+--++--) in the column direction and the dot inversion (+-+-+) in the row direction as an example, and other inversion modes are similar.
[0088] The reasons for vertical lines, horizontal lines, diagonal lines, and noise points are as follows:
[0089] Vertical lines: as shown in Figure 3As shown, the picture is displayed in a cycle (referred to as 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 points of carry-in points (A+1). A represents the gray scale of a non-carry-in point.
[0090] Horizontal stripes, the principle is the same as that of vertical stripes, only the direction is changed to row.
[0091] 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 within each frame (or most frames within a cycle), diagonal stripes in this direction appear, as shown in Figure 4 , which is left-up and right-down diagonal stripes, as shown in Figure 5 , which is left-down and right-up diagonal stripes.
[0092] 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.
[0093] 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, 6 bits, the total number of gray scales is 64 (including 0~63 gray scales), then how to display the effect of 10 bits (total 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 .
[0094] For the FRC algorithm, the polarity balance problem is a very difficult problem to solve, and the present application is specially developed to solve this problem. As shown in Figure 8 Because the minimum unit of a frame, 16*16 pixels, is obtained by column exchange of four 4*4 gold samples, the remaining frames are as shown in Figure 9 , Figure 9 are Figure 8According to the red line one by one, if the 4*4 gold sample polarity imbalance, there will be 16 frames in the carry point polarity and column direction polarity imbalance problem (column direction exchange will not affect the line on the carry point, but the column direction carry point exchange after the column direction because of the change in position will exist imbalance risk).
[0095] For example Figure 10 Balance, Figure 11 Will not balance.
[0096] Therefore, the present application proposes any one of the following technical solutions to solve the above at least one technical problem.
[0097] Reference Figure 12 , Figure 12 is a flowchart of an embodiment of the gray scale dithering method provided by the present application. The method comprises:
[0098] Step 11: Determine the size of the minimum balance unit, the number of target carry points and the minimum period unit per frame according to the dithering gray scale number corresponding to the frame frequency control.
[0099] Among them, the minimum balance unit is in row-column distribution, and the polarity is balanced.
[0100] In some embodiments, the size of the minimum balance unit is determined according to the dithering gray scale number. For example, in response to the dithering gray scale number 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 dithering gray scale number corresponding to the frame frequency control is 4bit, and the size of the minimum balance unit is 2 raised to the power of 4. That is, the minimum balance unit can be 4*4 in size, consisting of 16 squares. That is, the shape of the minimum balance unit should be a square.
[0101] In some embodiments, the carry point corresponds to the square in the minimum balance unit. The square identified as the carry point is increased by 1 in the corresponding pixel gray scale when dithering. The remaining squares not identified as the carry point remain unchanged in the corresponding pixel gray scale when dithering.
[0102] In some embodiments, low N-bit data of the original data is acquired, and the target carry point quantity is determined according to the low N-bit data. For example, if the number of dithering gray levels corresponding to the frame frequency control is 4 bits, the low 4-bit data of the original data is acquired. The target carry point quantity is determined according to the low 4-bit data. For example, if the low 4-bit data is “0000”, the target carry point quantity is 0. If the low 4-bit data is “0001”, the target carry point quantity is 1. If the low 4-bit data is “0010”, the target carry point quantity is 2. If the low 4-bit data is “0011”, the target carry point quantity is 3. If the low 4-bit data is “0100”, the target carry point quantity is 4. If the low 4-bit data is “0000”, the target carry point quantity is 0. That is, the low 4-bit data can determine the carry point quantity in the interval of 0-15.
[0103] Step 12: constructing a number of first minimum balance units of dithering gray levels according to the target carry point quantity and the size of the minimum balance unit; wherein each first minimum balance unit is different from each other and meets a preset condition.
[0104] In some embodiments, the preset condition is at least that the number of positive polarities of carry points in different columns is the same, and the number of negative polarities of carry points in different columns is the same.
[0105] The above-mentioned preset condition that the number of positive polarities of carry points in different columns is the same refers to counting the polarities of carry points in columns according to the number of first minimum balance units of dithering gray levels. For example, if there are four first minimum balance units of 4*4, the polarities of carry points in four first columns, the polarities of carry points in four second columns, the polarities of carry points in four third columns, and the polarities of carry points in four fourth columns are counted. Figure 13 As shown in the table, the number of positive polarities of carry points in the first column is 0, the number of positive polarities of carry points in the second column is 0, the number of positive polarities of carry points in the third column is 0, the number of positive polarities of carry points in the fourth column is 0, the number of negative polarities of carry points in the first column is 1, the number of negative polarities of carry points in the second column is 1, the number of negative polarities of carry points in the third column is 1, and the number of negative polarities of carry points in the fourth column is 1.
[0106] In some embodiments, if the number of dithering gray levels is 2 bits, two first minimum balance units are constructed according to the target carry point quantity and the size of the minimum balance unit.
[0107] In some embodiments, if the number of dithering gray levels is 4 bits, four first minimum balance units are constructed according to the target carry point quantity and the size of the minimum balance unit.
[0108] In some embodiments, in response to the target carry point quantity being less than a first threshold, a number of first minimum balance units of dithering gray levels are acquired from a preset set.
[0109] In some embodiments, in response to the target carry-in point number being equal to or greater than the first threshold value and less than the second threshold value, a first minimum balance unit corresponding to a number of dithering gray levels of the first carry-in point number and a first minimum balance unit corresponding to a number of dithering gray levels of the second carry-in point number are obtained from the preset set, and a number of dithering gray levels of the first minimum balance unit corresponding to the target carry-in point number is superimposed.
[0110] In some embodiments, in response to the target carry-in point number being equal to or greater than the second threshold value, a first minimum balance unit corresponding to a number of dithering gray levels of the third carry-in point number and / or a first minimum balance unit corresponding to a number of dithering gray levels of the fourth carry-in point number are obtained from the preset set, superimposed and inverted to obtain a number of dithering gray levels of the first minimum balance unit corresponding to the target carry-in point number.
[0111] In some embodiments, in response to the number of dithering gray levels being 4 bits, the first minimum balance unit with the 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. That is, when the target carry-in point number is 1, 2, 3 and 4, 4 first minimum balance units corresponding to the target carry-in point number can be directly obtained from the preset set.
[0112] In some embodiments, in response to the target carry-in point number being 5, 8 first minimum balance units with the carry-in point number of 1 and the carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with the carry-in point number of 5 are superimposed according to the 8 first minimum balance units.
[0113] In some embodiments, in response to the target carry-in point number being 6, 8 first minimum balance units with the carry-in point number of 2 and the carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with the carry-in point number of 6 are superimposed according to the 8 first minimum balance units.
[0114] In some embodiments, in response to the target carry-in point number being 7, 8 first minimum balance units with the carry-in point number of 3 and the carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with the carry-in point number of 7 are superimposed according to the 8 first minimum balance units.
[0115] In some embodiments, in response to the target carry-in point number being 8, 8 first minimum balance units with the carry-in point number of 4 are obtained from the preset set, and 4 first minimum balance units with the carry-in point number of 8 are superimposed according to the 8 first minimum balance units.
[0116] 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 obtained by superimposing and negating the 8 first minimum balance units.
[0117] 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 obtained by superimposing and negating the 8 first minimum balance units.
[0118] 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 obtained by superimposing and negating the 8 first minimum balance units.
[0119] 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 obtained by superimposing and negating the 4 first minimum balance units.
[0120] 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 obtained by superimposing and negating the 4 first minimum balance units.
[0121] 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 obtained by superimposing and negating the 4 first minimum balance units.
[0122] 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 obtained by superimposing and negating the 4 first minimum balance units.
[0123] It can be understood that the first minimum balance units determined for each number of carry-in points in the above manner are different from each other and satisfy the preset condition.
[0124] Step 13: superimposing the first minimum balance units with the number of dithering gray scales to obtain a first distribution unit.
[0125] 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 superimposing.
[0126] Take 4 bits and 1 as an example:
[0127] As shown in Figure 14 , 4 first minimum balance units different from each other are superimposed to obtain a first distribution unit. Superimposition here refers to superimposing the carry-in points in all the first minimum balance units in the same first minimum balance unit according to the positional relationship to obtain the first distribution unit.
[0128] Step 14: Perform row direction exchange and / or column direction exchange on the first distribution unit to obtain a plurality of second distribution units.
[0129] It will be explained in combination with Figure 15 : As the first distribution unit in Figure 14 is exchanged in the row direction and / or the column direction, the second distribution unit a, the second distribution unit b, and the second distribution unit c are obtained. As the first column and the second column of the first distribution unit in Figure 14 are exchanged, and the third column and the fourth column are exchanged, the second distribution unit a in Figure 15 is obtained. The first column and the third column of the first distribution unit in Figure 14 are exchanged, and the second column and the fourth column are exchanged to obtain the second distribution unit b in Figure 15 , and the first column and the fourth column of the first distribution unit in Figure 14 are exchanged, and the second column and the third column are exchanged to obtain the second distribution unit c in Figure 15 .
[0130] Step 15: Split each second distribution unit according to the target number of carry-in points to obtain a number of second minimum balance units corresponding to the number of dithering gray scales; wherein each second minimum balance unit is different from each other.
[0131] It will be explained in combination with Figure 16 :
[0132] As the second distribution unit a in Figure 15 is split into Figure 16 second minimum balance unit a1, second minimum balance unit a2, second minimum balance unit a3, and second minimum balance unit a4 in . Among them, the second minimum balance unit a1, the second minimum balance unit a2, the second minimum balance unit a3, and the second minimum balance unit a4 meet the preset condition.
[0133] Figure 15 As the second distribution unit b in Figure 16 is split intoThe second minimum balancing unit b1, second minimum balancing unit b2, second minimum balancing unit b3, and second minimum balancing unit b4 are defined. Among them, the second minimum balancing unit b1, second minimum balancing unit b2, second minimum balancing unit b3, and second minimum balancing unit b4 meet the preset conditions.
[0134] For example, Figure 15 The second distribution unit c in the middle is split into Figure 16 The second minimum balancing unit c1, second minimum balancing unit c2, second minimum balancing unit c3, and second minimum balancing unit c4 are defined. Among them, the second minimum balancing unit c1, second minimum balancing unit c2, second minimum balancing unit c3, and second minimum balancing unit c4 meet the preset conditions.
[0135] In other embodiments, the processing can be performed according to the number of carry points. For example, in a 4-bit FRC, the number of carry points can be any number from 1 to 15.
[0136] Step 16: Select the second minimum balancing unit that meets the preset conditions from all the second minimum balancing units of the jitter grayscale number to construct the minimum periodic unit.
[0137] Among them, the preset conditions are at least as follows: in the number of second minimum balance units corresponding to the second distribution unit, the number of positive polarities of the entry points in different columns is the same, and the number of negative polarities of the entry points in different columns is the same.
[0138] In some embodiments, the minimum periodic unit can be composed of several minimum balancing units. For example, in 4-bit systems, if the minimum balancing unit consists of 16 squares, then the minimum periodic unit can be composed of 16 minimum balancing units. Similarly, a 4x4 square can be formed. In 2-bit systems, if the minimum balancing unit consists of 4 squares, then the minimum periodic unit can be composed of 4 minimum balancing units. Similarly, a 2x2 square can be formed. In 6-bit systems, if the minimum balancing unit consists of 64 squares, then the minimum periodic unit can be composed of 64 minimum balancing units. Similarly, an 8x8 square can be formed.
[0139] In some embodiments, the first minimum balancing unit and all second minimum balancing units can be concatenated and sorted along the row direction to form a minimum periodic unit. A minimum periodic unit can consist of 16 minimum balancing units, such as... Figure 17 The smallest periodic unit shown is 4x4. Figure 17 In this diagram, 1-16 represent a 4x4 grid area, which is a minimum balancing unit. This is achieved by stitching together the first minimum balancing units (using the number of dithered grayscale levels) and all the second minimum balancing units, forming the minimum periodic unit. In some embodiments, the minimum balancing units 1-16 are all different. For example, they can be used...Figure 14 and Figure 16 the minimum balance units of Figure 17 .
[0140] In some embodiments, the first minimum balance unit and all the second minimum balance units can be sorted in the column direction to form a minimum period unit. The minimum period unit can be composed of 16 minimum balance units, such as a 4*4 minimum period unit as shown in Figure 18 . Figure 14 and Figure 16 the minimum balance units of Figure 18 .
[0141] Step 17: gray scale dithering according to the minimum period unit.
[0142] In some embodiments, referring to Figure 19 , step 17 can be the following flow:
[0143] Step 171: according to the serial number of the minimum balance unit, construct the number of distribution patterns required by the minimum period unit; wherein the serial number of the first minimum balance unit in all distribution patterns is different, and the serial number of all minimum balance units in each distribution pattern is continuous.
[0144] In some embodiments, 16 minimum balance units are required to construct 16 distribution patterns, then sort the 16 minimum balance units to obtain the minimum balance units with serial numbers 1-16.
[0145] Based on this, the minimum balance units in the first distribution pattern A are distributed according to the serial numbers 1-16, as shown in Figure 17 .
[0146] The minimum balance units in the second distribution pattern B are distributed according to the serial numbers 2-16, 1, as shown in Figure 20 .
[0147] The minimum balance units in the third distribution pattern C are distributed according to the serial numbers 3-16, 1-2, as shown in Figure 21 .
[0148] The minimum balance units in the fourth distribution pattern D are distributed according to the serial numbers 4-16, 1-3, as shown in Figure 22 .
[0149] The minimum balance units in the fifth distribution pattern E are distributed according to the serial numbers 5-16, 1-4, as shown in Figure 23 .
[0150] The minimum balance units in the sixth distribution pattern F are distributed according to the serial numbers 6-16, 1-5, as shown in Figure 24 .
[0151] The minimum balance units in the seventh distribution pattern G are distributed according to the sequence numbers 7-16, 1-6, as shown in Figure 25
[0152] The minimum balance units in the eighth distribution pattern H are distributed according to the sequence numbers 8-16, 1-7, as shown in Figure 26
[0153] The minimum balance units in the ninth distribution pattern I are distributed according to the sequence numbers 9-16, 1-8, as shown in Figure 27
[0154] The minimum balance units in the tenth distribution pattern J are distributed according to the sequence numbers 10-16, 1-9, as shown in Figure 28
[0155] The minimum balance units in the eleventh distribution pattern K are distributed according to the sequence numbers 11-16, 1-10, as shown in Figure 29
[0156] The minimum balance units in the twelfth distribution pattern L are distributed according to the sequence numbers 12-16, 1-11, as shown in Figure 30
[0157] 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 31
[0158] 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 32
[0159] 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 33
[0160] The minimum balance units in the sixteenth distribution pattern P are distributed according to the sequence numbers 16, 1-15, as shown in Figure 34
[0161] Step 172: in response to the target number of carry-in points being even, performing gray scale dithering according to the number of required minimum period units and distribution patterns within the first preset cycle period.
[0162] 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.
[0163] 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.
[0164] 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 in the minimum cycle unit within a second preset cycle period; the second preset cycle period is an even multiple of the first preset cycle period.
[0165] If 16 frames correspond to the first preset cycle period, the second preset cycle period can be 32 frames, 64 frames, or 96 frames.
[0166] In some embodiments, when the second preset cycle period is twice the first preset cycle period, in response to the target number of carry-in points being odd, gray scale dithering is performed according to the sequence numbers of the distribution patterns within a preset number of frames at the beginning of the second preset cycle period; and the sequence numbers of all the distribution patterns are exchanged and reordered in an odd-even manner and gray scale dithering is performed according to the reordered sequence numbers of the distribution patterns within a preset number of frames at the end of the second preset cycle period. If 16 frames correspond to the first preset cycle period, the second preset cycle period can be 32 frames, and the first 16 frames are subjected to 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 are subjected to gray scale dithering according to the reordered sequence numbers of the distribution patterns obtained by exchanging and reordering the sequence numbers of the first 16 frames in an odd-even manner.
[0167] In some embodiments, the exchange and reordering in an odd-even manner means that the sequence numbers of the distribution patterns that have been previously reordered are exchanged and reordered in an odd-even manner, i.e., the sequence numbers of the distribution patterns with odd numbers are set to even numbers, and the sequence numbers of the distribution patterns with even numbers are set to odd numbers. 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 the exchange and reordering in an odd-even manner, the new 1-16 correspond to the distribution patterns B, A, D, C, F, E, H, G, J, I, L, K, N, M, P, and O in sequence.
[0168] In an application scenario, 4bit FRC is taken as an example for illustration, and other analogies can be made.
[0169] The first four gold samples (minimum balance unit) before each carry-in are as follows:
[0170] In 4bit FRC, the number 4 of carry-in points is the most important distribution point, and therefore the minimum cycle unit of the carry-in point 4 should be confirmed first. For the carry-in point 4, Figure 35 , it is divided into three parts, the front part is the minimum balance unit (frame carry-in point distribution), the middle part is the gold frame (first distribution unit), and the rear part is the positive and negative polarity distribution (frame carry-in point positive and negative polarity distribution), which needs to satisfy the following conditions:
[0171] 1), because 4 is even, the minimum balance unit corresponding to each frame minimum cycle unit "±" balance (i.e. the same number of + and- in a frame).
[0172] 2), gold frame 4*4 table each position carry 1.
[0173] 3), the polarity of the two adjacent carry points in a frame is different, preferably the first frame is far apart and the second frame is close, so as to cross.
[0174] As Figure 36 , Figure 36 is the minimum balance unit, the first distribution unit and the corresponding polarity distribution diagram provided by the present application, the number of carry points is 1. For carry point 1, the following conditions need to be met:
[0175] Because 1 is odd, 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 overlap.
[0176] As Figure 37 , Figure 37 is the minimum balance unit, the first distribution unit and the corresponding polarity distribution diagram provided by the present application, the number of carry points is 2. For carry point 2, the following conditions need to be met:
[0177] A, because 2 is even, the minimum balance unit corresponding to each frame minimum cycle unit "±" balance (i.e. the same number of + and- in a frame).
[0178] B, gold frame 4*4 table each position carry 1 / 0 cross.
[0179] C, the two carry points in a frame are preferably far apart in the first frame and close in the second frame (cannot be both near or far, all the same distance is also available) so as to cross.
[0180] D, and the carry point 4 can be spliced to form 4 gold samples without overlap.
[0181] As Figure 38 , Figure 38 is the minimum balance unit, the first distribution unit and the corresponding polarity distribution diagram provided by the present application, the number of carry points is 3. For carry point 3, the following conditions need to be met:
[0182] A, because 3 is odd, for carry point 3, each gold sample needs 3 carry points, and each frame needs + and-.
[0183] B, gold frame 4*4 table will have 12 carry points, need to be missing in each column each row 1, in particular, its graphics is exactly the same as the carry 1 carry gold frame graphics.
[0184] C, and carry point 4 can splice out 4 gold sample no overlap.
[0185] As Figure 39 , Figure 39 is the smallest balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application, the number of carry points is 5. For carry point 5, it is the combination of carry 4+1 (because 4 and 1 do not overlap, so it can).
[0186] In particular, when the gold sample 1 of 4 and the gold sample 1 of 1 overlap, replace the gold sample 1 of 4 and the gold sample 2 of 1 superimposed……Find OK graphics in turn.
[0187] As Figure 40 , Figure 40 is the smallest balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application, the number of carry points is 6. For carry point 6, it is the combination of carry 4+2 (because 4 and 2 do not overlap, so it can);
[0188] In particular, when the gold sample 1 of 4 and the gold sample 1 of 2 overlap, replace the gold sample 1 of 4 and the gold sample 2 of 2 superimposed……Find OK graphics in turn.
[0189] As Figure 41 , Figure 41 is the smallest balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application, the number of carry points is 7. For carry point 7, it is the combination of carry 4+3 (because 4 and 3 do not overlap, so it can).
[0190] In particular, when the gold sample 1 of 4 and the gold sample 1 of 3 overlap, replace the gold sample 1 of 4 and the gold sample 2 of 3 superimposed……Find OK graphics in turn.
[0191] As Figure 42 , Figure 42 is the smallest balance unit, the first distribution unit and the corresponding polar distribution diagram provided by the present application, the number of carry points is 8. For carry point 8, it is the combination of carry 4+4 (because the gold frame of 4 is 1, so it can).
[0192] In particular, when the gold sample 1 of 4 and the gold sample 1 of 4 are overlapped, the gold sample 1 of 4 and the gold sample 2 of 4 are overlapped, and so on, until the OK pattern is found.
[0193] After the carry point 9, it is negated, containing 9 / 11 / 12 / 13 / 14 / 15, and the object of negation and the carry relationship is m+n=16, m is the current carry number, and n is the reference carry number of negation; for example Figure 43 , Figure 43 is the smallest balance unit and the first distribution unit schematic diagram provided by the present application, and the number of carry points is 12. For the carry point 12, its inverse is the carry 4; 12+4=16.
[0194] Each 12 gold samples after the carry are as follows:
[0195] At this time, each carry has a corresponding gold frame, and each gold frame corresponds to 4 gold samples; by making column / row interchanging of the gold frame, that is, interchanging the first column and the second column / the third column and the fourth column, the second group of gold frame 2 is obtained; interchanging the first column and the third column / the second column and the fourth column, the third group of gold frame 3 is obtained; interchanging the first column and the fourth column / the second column and the third column, the fourth group of gold frame 4 is obtained; as shown in Figure 44 (the gold frame of the carry 4 is taken as an example).
[0196] It can be known that 3 new gold frames can be obtained, and the total number of gold samples (n) (actually, it is also the column interchanging of the original gold sample) is 3*4=12, which is added to the original one to be 12+4=16, which is exactly equal to the total number of carry points 16 from 0 to 15.
[0197] The 16 gold samples of each carry are composed into a 16*16 square, such as Figure 45 (taking the carry 4 as an example), the smallest unit of each frame of the carry 4 is obtained.
[0198] Because the gold sample of the carry 4 itself is balanced, the square obtained by column interchanging is also balanced, so there is no imbalance problem in the space (within a frame), such as Figure 46 is the smallest period unit space carry point balance problem of the carry 3 in a frame, and Figure 46 It can be known that according to the smallest period unit obtained by the theory, the carry of each row is 3, and the carry of each column is also 3.
[0199] In order to ensure that the number of each position carry is the same, it is necessary to add the time domain on the basis of the space domain, that is, define 16 gold samples in turn as A / B / C…O / P. It is known that the minimum carry is 1, and at least 16 frames are required to ensure that each point has a carry. The first frame AA minimum square is arranged as A→B→C…O→P; the second frame AB is arranged as B→C…O→P→A; until the AP frame P→A→B…N→O; complete all carry problems.
[0200] For the application of odd number of carries, after 16 frames, the polarity of each position carry point will be asymmetric (such as Figure 47 and Figure 48 Although the total number of positive and negative polarities is the same at each position, they are not the same after all); At this time, a cycle needs to be added on the basis of the original, which is frame rotation, that is, add a cycle, AB→AA→AD→AC…→AP→AO.
[0201] As can be seen above, because 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 15 carries*16=240), and the risk of imbalance is reduced.
[0202] In some city examples, the jitter mode is as follows: according to the serial number of the minimum balance unit, construct the required number of distribution patterns of the minimum cycle unit; wherein the serial number of the first minimum balance unit in all distribution patterns is different, and the serial number of all minimum balance units in each distribution pattern is continuous; in response to the current polarity being set in the vertical direction, and the current frame distribution pattern being an odd frame, the polarity of the current frame distribution pattern is set according to the first polarity mode, and gray scale jitter is performed; in response to the current polarity being set in the vertical direction, and the current frame distribution pattern being an even frame, the polarity of the current frame distribution pattern is set according to the second polarity mode, and gray scale jitter is performed; wherein the polarity distribution corresponding to the even frame is opposite to the polarity distribution corresponding to the odd frame.
[0203] Further, considering that different displays are set in different polarities, such as horizontal direction setting, vertical direction setting. In response to the current polarity being set in the horizontal direction, and the current frame distribution pattern being an odd frame, the polarity of the current frame distribution pattern is set according to a third polarity mode, and gray scale dithering is performed; in response to the current polarity being set in the horizontal direction, and the current frame distribution pattern being an even frame, the polarity of the current frame distribution pattern is set according to a fourth polarity mode, and gray scale dithering is performed; wherein the polarity distribution corresponding to the third polarity mode is obtained by transposing the polarity distribution corresponding to the first polarity mode; the polarity distribution corresponding to the fourth polarity mode is obtained by transposing the polarity distribution corresponding to the second polarity mode. That is, only one polarity setting mode can be set in the dithering algorithm, and the corresponding polarity setting mode is obtained by transposition when actual dithering does not correspond.
[0204] Wherein, the polarity mode includes dot inversion and 1+2 line.
[0205] In another application scenario, because the current FRC application mainly appears abnormality in 4bit FRC, the present application only takes this as an example, and others are similar.
[0206] For 1+2 line polarity in the vertical direction:
[0207] 1. The specific problem is summarized as: according to the 1 / 2 / 3 / 4 carry four gold samples composed of Figure 8 , whether any arrangement of gold 1~4 can meet the balance principle. Figure 49
[0208] 2. Taking the number of carry points as 1 for example, the first four 4*4 are divided into a total of * * combination, whether each combination meets the balance principle.
[0209] 3. For the mode of Figure 8 , taking the gold 1~4 arrangement as an example, such as Figure 50 , because gold 1~4 has time domain movement in addition to the spatial distribution of the current frame; the polarity corresponding to gold 1 corresponds to frame 1; the polarity corresponding to gold 2 in the original position of gold 1 corresponds to frame 2; the polarity corresponding to gold 3 in the original position of gold 1 corresponds to frame 3, and the polarity corresponding to gold 4 in the original position of gold 1 corresponds to frame 4.
[0210] 4、 Figure 50 composed of spatial domain such as Figure 51 , are all obtained by transposing the corresponding first group of gold sample by column, because the carry-in points in the transposed way do not "disappear" in the row, so as long as the gold frame composed of the gold sample is balanced, and in the column direction it is possible to "disappear", such as the first group of 4*16 and the second group of 4*16, the carry-in points on the first column disappear to the second column.
[0211] 5, this determines that once the arrangement polarity of gold1~4 is uneven in the column direction (the movement in the row direction is balanced in the process of transposition and movement, so as long as the number of carry-in points is balanced when gold1~4 is spliced into a gold frame), then the way of Figure 8 will lead to uneven polarity distribution in the column direction.
[0212] 6, as Figure 52 can be known, the "±" polarity of each column obtained by 4 columns is different, which belongs to imbalance, and after the movement of Figure 8 , the column polarity imbalance will appear.
[0213] And as Figure 53 , the "±" polarity of each column obtained by 4 columns is the same, which belongs to balance, and after the movement of Figure 8 , it will be balanced; Figure 54 is Figure 52 the data of the column direction polarity distribution after 16 frames of data, Figure 55 is Figure 53 the data of the column direction polarity distribution after 16 frames of data, it can be known that Figure 52 is imbalance, and Figure 53 is balance.
[0214] 7, for other carry-in points, there must be "+" and "-" in the same gold, and the same column direction of odd carry-in points can be "+" "-" not equal (the data difference maintains 1), but different columns must "+" = "+" and "-" = "-", such as Figure 56 indicates that the "+" of carry-in 3 = 2 and the "-" = 1.
[0215] 8, even carry-in points require to be the same, such as carry-in 4, "+" = 2 = "-" as Figure 57 .
[0216] For 1+2 lines in the horizontal direction, see the polarity change as Figure 58 and Figure 59 , it can be known that the 1+2 lines in the horizontal direction is the transpose of the 1+2 line matrix in the vertical direction, so the corresponding 16 frames of data of the 1+2 line in the vertical direction can be transposed to the horizontal direction for use.
[0217] For point inversion, 1+2 line design in the vertical direction can be used, and only the inversion mode of frames 1-4 needs to be changed from 1+2 line to point inversion.
[0218] Thus, the polarity distribution balance problem is solved.
[0219] Referring to Figure 60 , Figure 60 is a structural schematic diagram of an embodiment of a display driving apparatus provided by the present application. The display driving apparatus 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:
[0220] The size of the minimum balance unit, the number of target carry-in points, and the minimum period unit per frame are determined according to the number of dithering gray scales corresponding to the frame frequency control. The minimum balance unit is arranged in a row-column distribution and is polarity-balanced. A number of first minimum balance units are constructed according to the number of target carry-in points and the size of the minimum balance unit. Each first minimum balance unit is different from each other and satisfies a preset condition. The preset condition is at least that the number of positive polarities of carry-in points in different columns is the same, and the number of negative polarities of carry-in points in different columns is the same. A first distribution unit is obtained by superimposing the number of first minimum balance units. The first distribution unit is exchanged in the row direction and / or the column direction to obtain a number of second distribution units. Each second distribution unit is split according to the number of target carry-in points to obtain a number of second minimum balance units. Each second minimum balance unit is different from each other. The minimum period unit is constructed by selecting second minimum balance units that satisfy the preset condition from all the number of second minimum balance units. Gray scale dithering is performed according to the minimum period unit.
[0221] It can be understood that, 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 method of any one of the above embodiments.
[0222] Referring to Figure 61 , Figure 61 is a structural schematic diagram of an embodiment of a display panel provided by the present application. The display panel 400 includes the display driving apparatus 300. The display driving apparatus 300 can be the display driving apparatus 300 described above.
[0223] Referring to Figure 62 , Figure 62 is a structural schematic diagram of an embodiment of a display device provided by the present application. The display device 500 includes the display panel 400. The display panel 400 can be the display panel 400 described above.
[0224] In summary, the gray scale dithering method, display driving device 300, display panel 400 and display device 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 polarity balanced; a number of 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 and satisfies a preset condition; the preset condition is at least that the number of positive polarities of carry-in points in different columns is the same, and the number of negative polarities of carry-in points in different columns is the same; a number of first distribution units are obtained by superimposing a number of first minimum balance units; a number of second distribution units are obtained by exchanging in the row direction and / or exchanging in the column direction of the first distribution units; a number of second minimum balance units are obtained by splitting each second distribution unit according to the number of target carry-in points; wherein each second minimum balance unit is different from each other; the minimum period unit is constructed by selecting a second minimum balance unit that satisfies the preset condition from a number of second minimum balance units; and 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 in the dithering process, but also can select a second minimum balance unit that satisfies the preset condition from a number of second minimum balance units to construct the minimum period unit, so as to solve the polarity balance problem in subsequent gray scale dithering, simplify the calculation process and calculation amount in the frame frequency control process, improve the efficiency of gray scale dithering, reduce the hardware requirements for participating in the frame frequency control calculation, and have stronger applicability.
[0225] In several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the above-described device embodiments are only illustrative, and for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, 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.
[0226] The integrated units in the above other embodiments, if implemented 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 other words, the part that contributes to the prior art or the whole 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 to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0227] The above is only the embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which is made by using the content of the specification and drawings of the present application, is 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 the frame frequency control being N, the size of the minimum balance unit being 2 raised to the power of N; Obtaining low-N-bit data of the original data, and determining the number of target carry points and the minimum period unit according to the low-N-bit data; wherein the minimum balance unit is arranged in rows and columns, is polarity balanced, is composed of 2 raised to the power of N squares, and has a square shape; the minimum period 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 first minimum balance unit is different from each other and meets a preset condition; the preset condition is at least that the number of positive polarities of carry points in different columns is the same, and the number of negative polarities of carry points in different columns is the same; the number of target carry points of squares need to carry in each first minimum balance unit, and when dithering, the pixel gray scale corresponding to the square corresponding to 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 plurality of second distribution units; Splitting each second distribution unit according to the number of target carry points to obtain the number of dithering gray scales of second minimum balance units; wherein each second minimum balance unit is different from each other; Selecting second minimum balance units meeting the preset condition from all the number of dithering gray scales of second minimum balance units to construct the minimum period unit; According to the serial number of the minimum balance unit, constructing the number of distribution patterns required by the minimum period unit; wherein the serial number of the first minimum balance unit in all the distribution patterns is different, and the serial numbers of all the minimum balance units in each distribution pattern are continuous; In response to the current polarity being set according to the vertical direction and the current frame distribution pattern being an odd frame, setting the polarity of the current frame distribution pattern according to a first polarity mode and performing gray scale dithering; In response to the current polarity being set according to the vertical direction and the current frame distribution pattern being an even frame, setting the polarity of the current frame distribution pattern according to a second polarity mode and performing gray scale dithering; wherein the polarity distribution corresponding to the even frame is opposite to the polarity distribution corresponding to the odd frame.
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, obtaining the number of dithering gray scales of first minimum balance units from a preset set; in response to the target carry-in point number being equal to or greater than the first threshold value and less than a second threshold value, obtaining, from a preset set, a first minimum balance unit corresponding to a first carry-in point number and a first minimum balance unit corresponding to a second carry-in point number, and superimposing the first minimum balance units to obtain a first minimum balance unit corresponding to the target carry-in point number; wherein a sum of the first carry-in point number and the second carry-in point number is equal to the target carry-in point number; in response to the target carry-in point number being equal to or greater than the second threshold value, obtaining, from a preset set, a first minimum balance unit corresponding to a third carry-in point number and / or a first minimum balance unit corresponding to a fourth carry-in point number, superimposing and inverting to obtain 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 dithering gray scale number 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 four 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, obtaining, from a preset set, eight first minimum balance units with a carry-in point number of 1 and eight first minimum balance units with a carry-in point number of 4, and superimposing the eight first minimum balance units to obtain four first minimum balance units with the target carry-in point number of 5; in response to the target carry-in point number being 6, obtaining, from a preset set, eight first minimum balance units with a carry-in point number of 2 and eight first minimum balance units with a carry-in point number of 4, and superimposing the eight first minimum balance units to obtain four first minimum balance units with the target carry-in point number of 6; in response to the target carry-in point number being 7, obtaining, from a preset set, eight first minimum balance units with a carry-in point number of 3 and eight first minimum balance units with a carry-in point number of 4, and superimposing the eight first minimum balance units to obtain four first minimum balance units with the target carry-in point number of 7; in response to the target carry-in point number being 8, obtaining, from a preset set, eight first minimum balance units with a carry-in point number of 4, and superimposing the eight first minimum balance units to obtain four first minimum balance units with the target carry-in point number of 8; in response to the target carry-in point number being 9, obtaining, from a preset set, eight first minimum balance units with a carry-in point number of 3 and eight first minimum balance units with a carry-in point number of 4, superimposing the eight first minimum balance units, and inverting to obtain four first minimum balance units with the target carry-in point number of 9; in response to the target carry-in point number being 10, obtaining, from a preset set, eight first minimum balance units with a carry-in point number of 2 and eight first minimum balance units with a carry-in point number of 4, superimposing the eight first minimum balance units, and inverting to obtain four first minimum balance units with the target carry-in point number of 10; in response to the target carry-in point number being 11, obtaining 8 first minimum balance units with a carry-in point number of 1 and a carry-in point number of 4 from a preset set, superimposing and negating the 8 first minimum balance units to obtain 4 first minimum balance units with the carry-in point number of 11; in response to the target carry-in point number being 12, obtaining 4 first minimum balance units with a carry-in point number of 4 from the preset set, superimposing and negating the 4 first minimum balance units to obtain 4 first minimum balance units with the carry-in point number of 12; in response to the target carry-in point number being 13, obtaining 4 first minimum balance units with a carry-in point number of 3 from the preset set, superimposing and negating the 4 first minimum balance units to obtain 4 first minimum balance units with the carry-in point number of 13; in response to the target carry-in point number being 14, obtaining 4 first minimum balance units with a carry-in point number of 2 from the preset set, superimposing and negating the 4 first minimum balance units to obtain 4 first minimum balance units with the carry-in point number of 14; in response to the target carry-in point number being 15, obtaining 4 first minimum balance units with a carry-in point number of 1 from the preset set, superimposing and negating the 4 first minimum balance units to obtain 4 first minimum balance units with the carry-in point number of 15.
5. The gray scale dithering method of claim 1, wherein, The method further comprises: in response to the current polarity being set in a horizontal direction and the current frame distribution pattern being an odd frame, setting a polarity of the current frame distribution pattern according to a third polarity mode and performing gray scale dithering; in response to the current polarity being set in a horizontal direction and the current frame distribution pattern being an even frame, setting a polarity of the current frame distribution pattern according to a fourth polarity mode and performing gray scale dithering; wherein the polarity distribution corresponding to the third polarity mode is obtained by transposing the polarity distribution corresponding to the first polarity mode; and the polarity distribution corresponding to the fourth polarity mode is obtained by transposing the polarity distribution corresponding to the second polarity mode.
6. The gray scale dithering method of claim 1, wherein, The polarity mode comprises point inversion and 1+2 line.
7. The gray scale dithering method of claim 1, wherein, The preset condition further comprises: in response to the target carry-in point number being odd, a difference between a number of positive polarities and a number of negative polarities of carry-in points in a same column being 1; in response to the target carry-in point number being even, the number of positive polarities and the number of negative polarities of the carry-in points in the same column being the same.
8. A display driving device, characterized by comprising: A device comprising a processing chip and a memory, the memory storing at least one computer program, which, when loaded and executed by the processing chip, is configured to implement the method according to any one of claims 1-7.
9. A display panel, characterized by, A display driving apparatus according to claim 8.
10. A display device, characterized by comprising: A display panel according to claim 9.
Citation Information
Patent Citations
Method for dithering display panel and relevant device
CN102760420A
Image processing method and device, readable storage medium and computer program product
CN118447803A