This application claims priority of No. 097128732 filed in Taiwan R.O.C. on Jul. 30, 2008 under 35 USC 119, the entire content of which is hereby incorporated by reference.
1. Field of Invention
The invention relates to a flat panel display driver, and more particularly to a method for applying the same dithering table to different display panels.
2. Related Art
The development of the opto-electronic and semiconductor technology drives the flourishing development of the flat panel display. Among many flat panel displays, a liquid crystal display (LCD) has become the mainstream in the market because it has the superior properties, such as the high spatial utilization efficiency, the low power consumption, no radiation and the low electromagnetic interference. Thus, the LCD has been widely used in electronic products, such as the liquid crystal display of a notebook computer or a desktop computer and the display of a liquid crystal display television (LCD TV), relevant to the life. The driving circuit of the LCD panel is the key component, which influences the quality and the cost of the LCD.
In addition, the gray scale levels that can be displayed by the low-cost panel are only equal to 6 bits and are thus equal to 64 gray scale levels in the present driver of the LCD panel. So, the dithering algorithms are often used in the driver, wherein the dithering algorithms are divided into the time dithering algorithm and the spatial dithering algorithm. The spatial dithering algorithm is to simulate 256 gray scale levels using four pixels of 64 gray scale levels. For example, when the gray-scale data is 201, four pixels respectively display 50, 50, 50 and 51 to simulate the gray scale level, which has the brightness of 201 when being viewed by the human eyes. The time dithering algorithm is to divide the time into four sectors and to simulate the 256 gray scale levels using one pixel with 64 gray scale levels. For example, when the gray-scale data is 201, the gray scale levels of 50, 50, 50 and 51 are respectively displayed during the first time sector, the second time sector, the third time sector and the fourth time sector to simulate the gray scale level, which has the brightness of 201 when being viewed by the human eyes.
No matter which dithering algorithm is used, a dithering table is built in the LCD panel driver according to the present technology. Generally speaking, the dithering table is a M×N matrix having elements each serving as a dithering operator. In order to briefly describe the operating principle of the dithering table applied to the LCD panel driver, it is assumed that the dithering table is a 3×3 matrix and that the LCD panel to be driven is a parallel matrix LCD panel. When the LCD panel is to be driven, the first row of RGB sub-pixels is substituted into the first row of the dithering table, the second row of RGB sub-pixels is substituted into the second row of the dithering table, and the third row of RGB pixels is substituted into the third row of the dithering table. Next, the first row of second set of RGB sub-pixels is substituted into the first row of the dithering table, the second row of second set of RGB sub-pixels is substituted into the second row of the dithering table, the third row of second set of RGB sub-pixels is substituted into the third row of the dithering table, and so on. The color data is substituted into the dithering table according to the order of driving the pixels so that the driving values are obtained, and then the LCD panel is driven according to the driving values.
Next, as shown in
However, the economic effectiveness cannot be satisfied if the LCD panel driving circuit is modified only for the purpose of the applications to different panels. Thus, it is necessary to provide the method for applying the same dithering table to different display panels and the method for sharing the same dithering table.
It is therefore an objective of the invention to provide a method for applying the same dithering table and a display panel driving method so that a dithering table built in a display driving circuit may be applied to at least two display panels.
To achieve the above-identified or other objectives, the invention provides a method for applying the same dithering table to a first display panel and a second display panel. The first display panel includes a plurality of pixels, which includes K colors numbered as 1 to K. The second display panel includes a plurality of pixels, which includes K colors numbered as 1 to K. The dithering table includes M×N dithering operators. The pixels in each of rows of each of the first display panel and the second display panel are arranged in a cyclic order of the first color pixel→the second color pixel→, . . . the Kth color pixel→the first color pixel . . . , and the colors of the ith row of the first pixels of the first display panel are different from the colors of the ith row of the first pixels of the second display panel. The method for applying the same dithering table includes the steps of: providing a dot count p, wherein the dot count p is an absolute value of a difference between the color number of the ith row, jth column of pixel of the first display panel and the color number of the ith row, jth column of pixel of the second display panel; and substituting the first 1 to (M−p)th pixels into the (p+1)th to Mth dithering operators of the qth row of the dithering table, and then substituting the (r×M−p+1)th to the ((r+1)×M−p)th pixels into the first to Mth dithering operators of the qth row of the dithering table when the ith row of pixel data of the second display panel is dithered, wherein K, M, N, i, j, p and r are natural numbers, and 0<p<M, 0<q≦N, r>0 and M≧K.
The invention also discloses a display panel driving method adapted to a first display panel and a second display panel. The first display panel includes a plurality of pixels, which includes K colors numbered as 1 to K. The second display panel includes a plurality of pixels, which includes K colors numbered as 1 to K. The pixels in each of rows of each of the first display panel and the second display panel are arranged in a cyclic order of the first color pixel→the second color pixel→ . . . the Kth color pixel→the first color pixel . . . , and the colors of the ith row of the first pixels of the first display panel are different from the colors of the ith row of the first pixels of the second display panel. The display panel driving method includes the steps of: providing a dithering table, which comprises M×N dithering operators; providing a dot count p, wherein the dot count p is an absolute value of a difference between the color number of the ith row, jth column of pixel of the first display panel and the color number of the jth row, jth column of pixel of the second display panel; substituting the first 1 to (M−p)th pixels into the (p+1)th to Mth dithering operators of the qth row of the dithering table, and then substituting the (r×M−p+1)th to the ((r+1)×M−p)th pixels into first to Mth dithering operators of the qth row of the dithering table when the ith row of pixel data of the second display panel is dithered; and converting the pixel data, obtained after the above-mentioned step, into an analog driving signal to drive the second display panel, wherein K, M, N, i, j, p and r are natural numbers, 0<p<M, 0<q≦N, r>0, and M≧K.
In the method for applying the same dithering table for different flat panels and a display panel driving method using the same, the first display panel is a parallel matrix LCD panel, the second display panel is a Delta matrix LCD panel, and each of the first display panel and the second display panel includes three colors of pixels, which are respectively red, green and blue colors of pixels, and the red, green and blue colors are respectively numbered as 1, 2 and 3.
The spirit of the invention is to set different dot counts between different panels on the rows, in which pixels are shifted, so that the display data of scan lines, in which the pixels are shifted, is shifted by the dot counts when the display data is substituted into the dithering table. Thus, even if different display panels use the same dithering table, the display entropy can be uniformly distributed. Also, even if the panel structures are different from each other, the same display panel driving circuit may be shared without additionally designing the driving circuits for different display panels by the manufacturer.
Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.
The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention.
The present invention will be apparent from the following detailed description, which proceeds with reference to the accompanying drawings, wherein the same references relate to the same elements.
In addition, it is further assumed that the dithering table 503 is mainly designed according to the LCD panel 501. Thus, when the dithering table 503 is applied to the driving of the LCD panel 501, its corresponding display data only has to be substituted into the dithering table 503 according to the order. In this method, one dot counter is utilized in the design of the driving circuit to accumulate a dot count. When the number is accumulated by 1, one piece of pixel data is substituted into the table. When the dot count is 0, the data R1 of the first scan line S01 is substituted into the operator E1;→when the dot count is 1, the data G1 is substituted into the operator E2;→when the dot count is 2, the data B1 is substituted into the operator E3; →when the dot count is 3, the data R2 is substituted into the operator E4;→when the dot count is 0, the data G2 is substituted into the operator E1;→ . . . , and so one. Next, when the dot count is 0, the data R1 of the second scan line S02 is substituted into the operator E5;→when the dot count is 1, the data G1 is substituted into the operator E6;→when the dot count is 2, the data B1 is substituted into the operator E7;→when the dot count is 3, the data R2 is substituted into the operator E8;→when the dot count is 0, the data G2 is substituted into the operator E5;→ . . . , and the so on. Similarly, when the dot count is 0, the data R1 of the third scan line S03 is substituted into the operator E9;→when the dot count is 1, the data G1 is substituted into the operator EA;→when the dot count is 2, the data B1 is substituted into the operator EB;→when the dot count is 3, the data R2 is substituted into the operator EC;→when the dot count is 0, the data G2 is substituted into the operator E9;→ . . . , and so on.
However, when the dithering table 503 is applied to the driving of the LCD panel 502, the dithering table 503 has to be theoretically modified into a new dithering table 504. However, the dithering table 503 needs not to be modified in this embodiment. The color arranging orders of the even numbered scan lines of the LCD panel 502 and the even numbered scan lines of the LCD panel 501 are the same except that the initial pixel colors are different. According to the color numbers defined hereinabove, the differences between the color numbers of the pixels of the even numbered scan lines on the LCD panel 502 and the LCD panel 501 are equal to 1. For example, the first pixel of the even numbered scan lines on the LCD panel 502 is the green (G) pixel and is numbered as 2, and the first pixel of the even numbered scan lines on the LCD panel 501 is the red (R) pixel numbered as 1. So, the absolute value of the difference of the color numbers is equal to 1. Thus, when being substituted into the even numbered scan lines, it is only necessary to set the initial value of the dot count to be the above-mentioned difference.
Taking the second scan line L02 of the LCD panel 502 as an example, the order of substituting is changed as follows because the initial value of the dot count is set to be 1: G1 is substituted into the operator E6;→when the dot count is 2, the data B1 is substituted into the operator E7;→when the dot count is 3, the data R2 is substituted into the operator E8;→when the dot count is reset to 0, the data G2 is substituted into the operator E5;→when the dot count is 1, the data B2 is substituted into the operator E6;→ . . . , and so one. Similarly, taking the fourth scan line L04 of the LCD panel 502 as an example, the order of substituting is changed as follows because the initial value of the dot count is set to be 1: G1 is substituted into the operator E2;→when the dot count is 2, the data B1 is substituted into the operator E3;→when the dot count is 3, the data R2 is substituted into the operator E4;→when the dot count is reset to 0, the data G2 is substituted into the operator E1;→when the dot count is 1, the data B2 is substituted into the operator E2;→ . . . , and so on. Thus, the same dithering table 503 can be shared without being modified. In addition, the conventional striped fine noise can be eliminated.
A display panel driving method may be concluded according to the above-mentioned embodiment. This method may drive the first display panel and the second display panel. The pixels in each row of each of first display panel and the second display panel are arranged in the cyclic order of the first color of pixel→the second color of pixel→ . . . the Kth color of pixel→the first color of pixel, and the color of the first pixel of the ith row of the first display panel is different from the color of the first pixel of the ith row of the second display panel.
In step S601, the method starts.
In step S602, a dithering table including M×N dithering operators is provided.
In step S603, a dot count p is provided. The dot count p is an absolute value of a difference between the color number of the ith row, jth column of pixel of the first display panel and the color number of the ith row, jth column of pixel of the second display panel. In the above-mentioned embodiment, the difference between the color number of the first pixel R of the second row of the LCD panel 501 and the color number of the first pixel G of the second row of the LCD panel 502 is illustrated as an example. However, one of ordinary skill in the art may understand that the differences between the color numbers of the same row, the same column of pixel should be the same.
In step S604, when the ith row of pixel data of the second display panel is being dithered, the first 1 to (M−p)th pixels are substituted into the (p+1)th to Mth dithering operators of the qth row of the dithering table, and then the (r×M−p+1)th to the ((r+1)×M−p)th pixels are substituted into the first to Mth dithering operators of the qth row of the dithering table, wherein K, M, N, i, j, p and r are natural numbers, and 0<p<M, 0<q≦N. r>0, and M≧K. In the above-mentioned embodiment, M is equal to 4, p is equal to 1, and the result of the above-mentioned embodiment may be obtained after being substituted into the above-mentioned step.
In step S605, the pixel data, obtained after the above-mentioned step, is converted into an analog driving signal to drive the second display panel.
In step S606, the method ends.
In summary, the spirit of the invention is to set different dot counts between different panels on the rows, in which pixels are shifted, so that the display data of scan lines, in which the pixels are shifted, is shifted by the dot counts when the display data is substituted into the dithering table. Thus, even if different display panels use the same dithering table, the display entropy can be uniformly distributed. Also, even if the panel structures are different from each other, the same display panel driving circuit may be shared without additionally designing the driving circuits for different display panels by the manufacturer.
While the invention has been described by way of examples and in terms of preferred embodiments, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications.
Number | Date | Country | Kind |
---|---|---|---|
097128732 | Jul 2008 | TW | national |