USPatent applicationPatented

Image dithering module

Granted 26 May 2015 · 3 office actions

Life of the application

16 dated events
⤢ drag to zoom20122014201620182020202220242026202820302032ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

An image dithering module is provided. The image dithering module includes a plurality of data processing channels. The data processing channels respectively process image data of each pixel or sub-pixel in an image frame. Each of the data processing channels includes a bit processing unit and a bit truncator unit. The bit processing unit mixes first pixel data with random data to generate second pixel data. The bit truncator unit truncates partial bits of the second pixel data to generate third pixel data.

Description

7 parts
›CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Taiwan application serial no. 100144377, filed on Dec. 2, 2011. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.

›BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates to an image processing module. Particularly, the invention relates to an image dithering module suitable for image processing.

2. Description of Related Art

Generally, due to characteristics of liquid crystal molecules, when the liquid crystal is driven, a display driving device generally uses a frame inversion technique to drive pixels on a display panel through voltages of positive and negative polarities, so that polarities of the liquid crystal molecules are frequently inverted. However, since the voltages of different polarities may have some offsets, tilt angles of the liquid crystal molecules are different, and a color shift phenomenon is occurred between pixels. Therefore, when a plurality of frames is sequentially displayed, the pixels of each frame are all driven by a voltage of the positive polarity or the negative polarity, and are alternately displayed, and now the image frame may have a flicker phenomenon. In order to mitigate the flicker phenomenon of the image frames, the conventional technique develops a line inversion mode and a dot inversion mode to drive the liquid crystal display (LCD) panel. In this way, the color viewed by human eyes is an average of the pixels of the positive polarity and the negative polarity, and the flicker phenomenon is not occurred when the frames are switched.

On the other hand, considering the cost, a bit number of a driving device of the LCD panel is probably smaller than a grayscale depth required to be performed by the image frame. Now, in order to reconstruct the grayscales, a frame rate control (FRC) technique is generally used to implement modulation of a time axis, or an approach of a spatial domain grayscale average is used for implementation. When the FRC technique is used, a cycle pattern capable of being regularly appeared on the time axis is required to be found, so that values of a part of the pixels are interpolated grayscale values. Moreover, during the interpolation, polarity driving relationship of the pixels is required to be noticed, so as to avoid abnormal phenomenon of the image frame such as rolling lines or the flicker phenomenon, etc. Moreover, when the approach of the spatial domain grayscale average is used to implement the FRC technique, if a fixed interpolation pattern is used, abnormity of the image frames is easy to be perceived by eyes.

›SUMMARY OF THE INVENTION

An image dithering module is disclosed, which can avoid frame abnormity generated under a frame rate control (FRC) technique.

An embodiment of the invention provides an image dithering module. The image dithering module includes a plurality of data processing channels. The data processing channels respectively process image data of each pixel or sub-pixel in an image frame. Each of the data processing channels includes a bit processing unit and a bit truncator unit. The bit processing unit mixes first pixel data with random data to generate second pixel data. The bit truncator unit truncates partial bits of the second pixel data to generate third pixel data.

In an embodiment of the invention, the bit processing unit adds the first pixel data with the random data to generate the second pixel data.

In an embodiment of the invention, the random data is added to a least significant bit of the first pixel data.

In an embodiment of the invention, a random value of the random data is within a specific range, and the specific range is determined according to a number of bits of the first pixel data.

In an embodiment of the invention, the bit truncator unit outputs partial bits of the second pixel data to serve as the third pixel data, and a number of bits of the third pixel data is less than a number of bits of the second pixel data.

In an embodiment of the invention, the bit truncator unit replaces values of the partial bits of the second pixel data with zero to generate the third pixel data.

In an embodiment of the invention, the partial bits of the second pixel data are least significant bits of the second pixel data.

In an embodiment of the invention, the image dithering module further includes at least one random generator unit. Each of the random generator units provides the random data to the bit processing unit of at least one of the data processing channels.

In an embodiment of the invention, a number of the random generator units is equal to a number of the data processing channels, and each of the data processing channels exclusively corresponds to at least one of the random generator units.

In an embodiment of the invention, the number of the random generator units is less than the number of the data processing channels, and at least two of the channel processing channels share a same random generator unit.

In an embodiment of the invention, the image dithering module further includes at least one multiplexer. The multiplexer selects one of random data generated by at least two of the random generator units for providing to one of the data processing channels for utilization.

In an embodiment of the invention, the bit processing unit mixes the first pixel data with compensation data to generate the second pixel data. A value of the compensation data is determined according to a position of the first pixel data in the image frame.

In an embodiment of the invention, the image dithering module further includes a pattern generator unit. The pattern generator unit generates a pattern of the image frame. The pattern represents a compensation bit of each pixel or sub-pixel in the image frame.

In an embodiment of the invention, the image dithering module further includes at least one compensation determination unit. The compensation determination unit determines whether the bit processing unit mixes the compensation data.

In an embodiment of the invention, the pattern is a random pattern or a fixed pattern.

According to the above descriptions, the image dithering module can mix the random data with the image frame having more number of bits, and truncates the number of bits on the image frame after being mixed to generate pixel data. By this way, an image frame having a relatively high grayscale depth can be implemented by utilizing the pixel data with lower number of bits.

In order to make the aforementioned and other features and advantages of the invention comprehensible, several exemplary embodiments accompanied with figures are described in detail below.

›BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

FIG. 1 is a block schematic diagram of an image dithering module according to an embodiment of the invention.

FIG. 2 is a block schematic diagram of an image dithering module according to another embodiment of the invention.

FIG. 3 is a block schematic diagram of an image dithering module according to another embodiment of the invention.

FIG. 4 is a schematic diagram of a pattern generated by a pattern generator unit of FIG. 3 .

FIG. 5 is a flowchart illustrating a dithering algorithm method according to an embodiment of the invention.

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 1 of 3

FIG. 1 is a block schematic diagram of an image dithering module according to an embodiment of the invention. Referring to FIG. 1 , the image dithering module 100 of the present embodiment is adapted to perform a dithering algorithm processing, which is a kind of image processing procedure. The image dithering module can be implemented in the front-end of or within a timing controller of display device, within a source driver, or in the back-end of following an image scaler. The location that the image dithering module being configured in the image display device is not limited in the invention.

In the present embodiment, the image dithering module 100 includes three data processing channels 110 R, 110 G and 110 B and three random generator units 120 R, 120 G and 120 B. In an image frame, for red, green and blue sub-pixels are processed by the data processing channels 110 R, 110 G and 110 B, respectively. Random data are provided to the data processing channels 110 R, 110 G and 110 B by the random generator units 120 R, 120 G and 120 B, respectively.

In other words, the number of the random generator units 120 R, 120 G and 120 B is equal to the number of the data processing channels 110 R, 110 G and 110 B, so that each of the data processing channels exclusively corresponds one random generator unit. Namely, the image dithering module 100 processes image data based on sub-pixels, so as to reduce correlation between the sub-pixels, which has at least one advantage that pixel particles in the image frame perceived by human eyes become finer. However, the invention is not limited thereto. For example, in other embodiments, the image dithering module 100 can also process image data based on pixels, i.e. the three data processing channels 110 R, 110 G and 110 B share a same random generator unit.

In detail, taking the data processing channel 110 R as an example, it is used to process image data SR1 for a red pixel in the image frame and receive random data NR provided by the random generator unit 120 R. In the present embodiment, the data processing channel 110 R includes a bit processing unit 112 R and a bit truncator unit 114 R.

The bit processing unit 112 R mixes the first pixel data S R1 with the random data N R to generate second pixel data S R2 . Then, the bit truncator unit 114 R truncates partial bits of the second pixel data S R2 to generate third pixel data S R3 after obtaining the second pixel data S R2 . Detailed structure and operation flow of the bit processing unit 112 R and the bit truncator unit 114 R are described below.

In FIG. 1 , a detailed structure of the bit processing unit 112 R is illustrated. As shown in FIG. 1 , the bit processing unit 112 R includes a bit mapping and selector unit 113 R and an adder unit 115 R. The bit mapping and selector unit 113 R receives the random data N R , and selects partial or all bits of the random data N R , and then maps the partial or all bits to a random value in a specific range. Then, the adder unit 115 R adds the mapped random value to the first pixel data S R1 , for example, adds the mapped random value to a least significant bit of the first pixel data S R1 to generate the second pixel data S R2 . Namely, in the present embodiment, when the bit processing unit 112 R performs the mixing step, the bit processing unit 112 R uses the adder unit 115 R to add the first pixel data S R1 with the random data N R to generate the second pixel data S R2 .

For example, as shown in a following table, the bit mapping and selector unit 113 R, for example, selects two least significant bits in the random data N R . Bit combinations of the two least significant bits include 00, 01, 10 and 11, and the specific range is, for example, random values from −2 to +1, wherein the bit combinations 00, 01, 10 and 11 respectively correspond to the random values +0, +1, −2 and −1, for example.

Therefore, when the bit mapping and selector unit 113 R selects the bit combination 00 from the random data N R , the bit mapping and selector unit 113 R maps the bit combination 00 to the random value +0, and then the bit processing unit 112 R uses the adder unit 115 R to add the random value +0 to the least significant bit of the first pixel data S R1 , so as to generate the second pixel data S R2 . Deduced by analogy, when the selected bit combination is 01, 10 or 11, similar method can be used to obtain the corresponding second pixel data S R2 .

It should be noted that the aforementioned mapping relationship, the specific range of the random values, the number of the selected bits of the random data, and the manner to mix the random value and the first pixel data, are not limited by the invention, and the disclosure of the present embodiment is only used as an example. In other embodiments, the mapped random values can be random integers between a specific range of −1 and +1, and any two of the bit combinations probably correspond to a same random integer in the specific range of −1 to +1. Moreover, the selected bits of the random data can be three least significant bits, and the mapped random value can be a random integer between a specific range of −4 and +3, or −3 and +3, for example.

On the other hand, the number of the selected bits of the random data can be adjusted according to an actual design requirement. For example, the number of bits being selected in the random data can be increased with the number of bits of the first pixel data, so as to increase diversity of the random data. Therefore, the random values represented by the random data are within a specific range, which can be determined by the number of bits of the first pixel data.

On the other hand, after the second pixel data S R2 is obtained, the bit truncator unit 114 R truncates partial bits in the second pixel data S R2 to generate the third pixel data S R3 . Various truncating method can be used. In an embodiment, the bit truncator unit 114 R truncates the least significant bits of the second pixel data S R2 to directly output the third pixel data S R3 with fewer bits. For example, the second pixel data S R2 , for example, has 8 bits, and the bit truncator unit 114 R converts it into the third pixel data S R3 with 6 bits. Alternatively, in another embodiment, the bit truncator unit 114 R can also replace values of the partial bits, for example, the least significant bits of the second pixel data with zero to generate the third pixel data S R3 .

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 2 of 3

The dithering algorithm of the present embodiment can be used to provide an 8 to 6-bit dithering function for a 6-bit source driver used for controlling the thin-film transistors of the liquid crystal panel. The dithering function can use a concept of average to enable human eyes to perceive a resolution of 4 times, i.e. a memory amount of 6-bit 64-color can be used to imitate a 8-bit 256-color display effect. Moreover, in the present embodiment, although the dithering operation of converting 8 bits to 6 bits is taken as an example for descriptions, conversion of other number of bits, for example, a conversion from 10 bits to 8 bits, a conversion from 8 bits to 6 bits and a conversion from 6 bits to 4 bits can also be performed to implement the dithering operation.

As described above, the data processing channel 110 R is used to process image data of the red sub-pixel in the image frame. The bit processing unit 112 R adds the random data N R to the least significant bit of the first pixel data S R1 to generate the second pixel data S R2 . The bit truncator unit 114 R truncates the least significant bit of the second pixel data S R2 to generate the third pixel data S R3 . Similarly, the data processing channel 110 G is used to process image data of the green sub-pixel in the image frame. A bit processing unit 112 G adds random data N G to a least significant bit of first pixel data S G1 to generate second pixel data S G2 . A bit truncator unit 114 G truncates a least significant bit of the second pixel data S G2 to generate third pixel data S G3 . The data processing channel 110 B is used to process image data of the blue sub-pixel in the image frame. A bit processing unit 112 B adds random data N B to a least significant bit of first pixel data S B1 to generate second pixel data S B2 . A bit truncator unit 114 B truncates a least significant bit of the second pixel data S B2 to generate third pixel data S B3 . Moreover, regarding structures and operation details of the data processing channels 110 G and 110 B, those skilled in the art can learn enough instructions and recommendations from related descriptions of the data processing channel 110 R, so that detailed descriptions thereof are not repeated.

FIG. 2 is a block schematic diagram of an image dithering module according to another embodiment of the invention. Referring to FIG. 1 and FIG. 2 , the image dithering module 200 of the present embodiment is similar to the image dithering module 100 of FIG. 1 , and a main difference there between is that the image dithering module 200 further includes two multiplexers 230 a and 230 b . Each of the multiplexers is used to select one of random data generated by at least two of the random generator units (two of the random generator units are taken as an example) for providing to one of the data processing channels for utilization.

In detail, the multiplexer 230 a selects one of the random data N R and N G respectively generated by the random generator units 220 R and 220 G, in order for the data processing channel 210 R to utilize. The multiplexer 230 b selects one of the random data N G and N B respectively generated by the random generator units 220 G and 220 B, in order for the data processing channel 210 B to utilize. Namely, at least two of the data processing channels of the present embodiment selectively share a same random generator unit. It should be noticed that the image dithering module 200 may also include at least one multiplexer to achieve the effect that the data processing channels share the random data. Therefore, the number of the multiplexers of the present embodiment is not limited to two.

Moreover, it should be noted that in other embodiments, when the number of the random generator units is less than the number of the number of the data processing channels, at least two of the channel processing channels can share a same random generator unit, and one or more multiplexers can be used according to an actual need. For example, the image dithering module 200 may only include a single random generator unit, and the channel processing channels 210 R, 210 G and 210 B can share the same random data. Now, the multiplexers are not configured in the image dithering module 200 . In brief, the number of the random generator units can be equal to or less than the number of the data processing channels, or one to a plurality of multiplexers can be used such that at least two of the data processing channels share a same random generator unit.

FIG. 3 is a block schematic diagram of an image dithering module according to another embodiment of the invention. Referring to FIG. 2 and FIG. 3 , the image dithering module 300 of the present embodiment is similar to the image dithering module 200 of FIG. 2 , and a main difference there between is that the image dithering module 300 further includes a pattern generator unit 340 and three compensation determination units 350 R, 350 G and 350 B. In the present embodiment, bit processing units 312 R, 312 G and 312 B respectively mix the first pixel data S R1 , S G1 and S B1 with compensation data to generate second pixel data S R2 , S G2 and S B2 , where a value of the compensation data can be determined according to positions of the first pixel data S R1 , S G1 and S B1 in the image frame.

In detail, the pattern generator unit 340 generates a pattern of the image frame. The pattern is a random pattern or a fixed pattern, which represents a compensation bit of each pixel or sub-pixel in the image frame. The compensation determination units 350 R, 350 G and 350 B are respectively disposed between bit mapping and selector units 313 R, 313 G and 313 B and adder units 315 R, 315 G and 315 B of the data processing channels 310 R, 310 G and 310 B, as that shown in FIG. 3 . The compensation determination units 350 R, 350 G and 350 B can respectively determine whether the bit processing unit 312 R, 312 G and 312 B mix the compensation data according to a compensation bit, which can be represented by a position of the currently processed pixel or sub-pixel in the pattern.

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 3 of 3

FIG. 4 is a schematic diagram of a pattern generated by the pattern generator unit of FIG. 3 . Referring to FIG. 4 , the pattern generated by the pattern generator unit 340 of the present embodiment is, for example, a fixed pattern, which presents the compensation bit of each of the sub-pixels in the image frame. The black color represents that the compensation is required, as indicated by compensation bit “1,” for example. On the other hand, the white color represents that the compensation is not required, i.e. the compensation bit is 0. Taking the data processing channel 310 R as an example, after the determination of the compensation determination unit 350 R, if it is determined to compensate the first pixel data S R1 of the sub-pixel, besides adding the mapped random value to the least significant bit of the first pixel data S R1 , the adder unit 315 R further adds the compensation bit represented by the sub-pixel shown in the fixed pattern of FIG. 4 to the first pixel data S R1 , so as to generate the second pixel data S R2 . Now, a magnitude of the random value mixed in the second pixel data S R2 is changed due to the compensation bit, so that pixel particles in the image frame perceived by human eyes become finer, and an influence of the mixed random value on the image frame perceived by human eyes can be reduced.

In another embodiment, the pattern generated by the pattern generator unit 340 is, for example, a random pattern. Besides the advantages of mixing the fixed pattern to the first pixel data S R1 , the random pattern can further increase variation diversity of the mixed random values.

FIG. 5 is a flowchart illustrating a dithering algorithm method according to an embodiment of the invention. Referring to FIG. 1 and FIG. 5 , the dithering algorithm method of the present embodiment is, for example, executed on the image dithering module 100 of FIG. 1 , which includes following steps. First, in step S 500 , a plurality of random data is generated. In step S 502 , based on the sub-pixels, the random data is added to the first pixel data of each of the data processing channels to generate the corresponding second pixel data. It should be noted that as described above, such a step can be implemented based on pixels. In step S 504 , the least significant bit of the second pixel data is truncated to generate the third pixel data. Moreover, regarding details of the steps of the dithering algorithm method of the present embodiment, those skilled in the art can learn enough instructions and recommendations from related descriptions of the embodiments of FIG. 1-FIG . 4 , so that detailed descriptions thereof are not repeated.

In summary, the image dithering module mixes the random data with the image frame having more number of bits, and truncates the number of bits on the image frame after being mixed to generate pixel data. By this way, an image frame having a relatively high grayscale depth can be implemented by utilizing the pixel data with lower number of bits. By mixing the random data, frame abnormity generated under the frame rate control technique can be avoided. Moreover, according to the method, the strength of the random data can be controlled with an usage of a random or fixed pattern, so that pixel particles in the image frame perceived by human eyes are finer.

It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.

›Tables in the description — 1
Least significant bit (LSB)Random value
00+0
01+1
10−2
11−1

Claims as granted

10 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section G — Physics
  • G09G5/02
  • G09G3/20
  • G09G3/36
USPC · US Patent Classification
345/596

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2012Jan 2013Jul 2013Jan 2014Jul 2014Jan 2015Jul 2015USPTOApplicantNon-final rejectionResponse after non-finalApplicant-initiated interviewResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
3.1 y
1,134 days filing → grant
Office actions
3
non-final + final
Responses
3
1 RCE
Interviews
2
examiner interview summaries
Examiner
Antonio A Caschera
art unit 2612 · TC 2600
Citations: 11 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20122014201620182020202220242026202820302032Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock