The present disclosure relates generally to an electronic display, and more particularly, to dithering based at least in part on a refresh rate used by the electronic display.
This section is intended to introduce the reader to various aspects of art that may be related to various aspects of the present techniques, which are described and/or claimed below. This discussion is believed to be helpful in providing the reader with background information to facilitate a better understanding of the various aspects of the present disclosure. Accordingly, it should be understood that these statements are to be read in this light, and not as admissions of prior art.
Generally, an electronic display may display a visual representation of images. In some embodiments, the properties with which images are displayed may affect the quality of the displayed image and/or operational properties of the electronic display. For example, adjusting the refresh rate of an electronic device may affect the power consumption by the electronic display. More specifically, when the refresh rate is higher, the power consumption may also be higher. On the other hand, when the refresh rate is lower, the power consumption may also be lower. However, when the refresh rate is lower, the quality of the displayed image may be affected, for example, by increasing the possibility of flickering and/or artifacts distorting the displayed image.
Accordingly, it would be beneficial to improve displayed image quality even when the electronic display utilizes a lower refresh rate, for example, by reducing the possibility that flickering and/or artifacts distort the image.
A summary of certain embodiments disclosed herein is set forth below. It should be understood that these aspects are presented merely to provide the reader with a brief summary of these certain embodiments and that these aspects are not intended to limit the scope of this disclosure. Indeed, this disclosure may encompass a variety of aspects that may not be set forth below.
The present disclosure generally relates to improving quality of images displayed on an electronic display. In some embodiments, the refresh rate of the electronic display may be adjustable to adjust power consumption by the electronic display.
Accordingly, in some embodiments, image dither may vary depending on a refresh rate to avoid flickering and/or artifacts that might otherwise occur at low refresh rates. Namely, when the refresh rate is reduced below the threshold refresh rate, a temporal dithering component may be stopped to reduce the possibility of flickering in the displayed image. For example, a timing controller (TCON) in the electronic device may switch off the temporal portion of a spatio-temporal dithering component or switch to a separate spatial dithering component. In other words, the timing controller may employ spatial dithering without any temporal dithering to reduce the possibility of flickering.
Additionally, in some embodiments, an image may be analyzed for risk of artifacts before displaying the image at a refresh rate below the threshold refresh rate. For example, portions of the image may be analyzed successively by generating local histograms and comparing them with artifact histograms. More specifically, a local histogram may be generated for a portion (e.g., window) of the image to describe the number of pixels in the portion of the image at different grayscales displayable by the electronic display. The local histogram may then be compared with one or more artifact histograms, which describe pixel grayscale distributions that are likely to cause an artifact. In other words, based on the amount of overlap between the local histogram and the one or more artifact histograms, the risk of an artifact being displayed in that portion of the image may be determined. As such, the risk of artifacts may be determined for different portions of the image as well as for each color (e.g., red, green, and blue) used by the electronic display to produce the image.
Various aspects of this disclosure may be better understood upon reading the following detailed description and upon reference to the drawings in which:
One or more specific embodiments of the present disclosure will be described below. These described embodiments are only examples of the presently disclosed techniques. Additionally, in an effort to provide a concise description of these embodiments, all features of an actual implementation may not be described in the specification. It should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another. Moreover, it should be appreciated that such a development effort might be complex and time consuming, but may nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure.
When introducing elements of various embodiments of the present disclosure, the articles “a,” “an,” and “the” are intended to mean that there are one or more of the elements. The terms “comprising,” “including,” and “having” are intended to be inclusive and mean that there may be additional elements other than the listed elements. Additionally, it should be understood that references to “one embodiment” or “an embodiment” of the present disclosure are not intended to be interpreted as excluding the existence of additional embodiments that also incorporate the recited features.
As mentioned above, the refresh rate of an electronic display may be adjustable. As used herein, “refresh rate” is intended to describe the number of times that an electronic display writes an image or frame of video to the screen. Accordingly, in some embodiments, reducing the refresh rate may lower the power consumption by the electronic display because the electronic display writes an image less often.
However, as the refresh rate is reduced, the quality of an image may suffer. More specifically, an image viewed on an electronic display may in fact be made up of a number of images successively displayed. In other words, to view the image, a viewer's eyes may average together the successively displayed images. Accordingly, in some embodiments, taking advantage of this fact, the successively displayed images may have slight variations. Thus, when the refresh rate is high enough, the variations may be unperceivable to the viewer and the viewer's eyes may average in the variations. However, as the refresh rate is reduced, the variations between the successively displayed images may become more noticeable. In fact, in some embodiments, the variations may otherwise cause flickering to be perceived in the displayed image.
Accordingly, one embodiment of the present disclosure describes an electronic display that determines when a desired refresh rate of the electronic display is below a threshold refresh rate. As used herein, a “threshold refresh rate” is intended to describe a refresh rate at or below which flickering and/or artifacts may noticeably distort a displayed image. As will be described in more detail below, the threshold refresh rate may vary depending properties of the electronic display, such as the type of display and the resolution of the display, and/or the particular person viewing the electronic display. More specifically, when the desired refresh rate is below the threshold refresh rate, the electronic display may disable a temporal dithering component, which may reduce the possibility of flickering. In some embodiments, as will be described in more detail below, the temporal dithering component may be disabled by disabling a temporal portion of a spatio-temporal dithering component or switching to an error-diffusion (e.g., spatial) dithering component. In some embodiments, when the temporal dithering component is disabled, the electronic display may display images using only spatial dithering.
In fact, in some embodiments, an image may be spatially dithered by an image source (e.g., graphics card or application) and again spatially dithered by the electronic display. More specifically, the image source may also perform a spatial dithering because different spatial dithering algorithms may be implemented by the source as compared to the electronic display. However, when two spatial dithering components are used on an image, artifacts may distort the image. For example, in some embodiments, an artifact may otherwise occur and cause portions of the image to be perceived inaccurately, for example, in the wrong color.
Accordingly, one embodiment of the present disclosure describes an electronic display that, when the temporal component is disabled, determines whether a portion of the image is at risk of being displayed with an artifact by comparing a local histogram with an artifact histogram. More specifically, the local histogram may describe the number of pixels in the portion of the image at different grayscale levels displayable by the display device and the artifact histogram may describe the distribution of pixels across the grayscale levels that will cause an artifact to be displayed. As such, in some embodiments, the amount of overlap between the local histogram and the artifact histogram may predict the likelihood that an artifact will distort the image.
Thus, based on the comparison, the refresh rate with which to display the image may also be determined. More specifically, in some embodiments, an image may first be displayed at a refresh rate above the threshold refresh rate and if it is determined that the image can be displayed below the threshold refresh rate with little risk of artifacts, the refresh rate may be reduced accordingly. In other embodiments, before the image is displayed, it may be determined whether the image may be displayed at a desired refresh rate below the threshold refresh rate with little risk of artifacts and if it can, the image may be displayed at the desired refresh rate. On the other hand, if the image is at risk for being displayed with artifacts, the image may be displayed at a refresh rate above the threshold refresh rate.
In other words, as will be described in more detail below, the techniques described herein may enable images to be displayed at varying refresh rates, even below the threshold refresh rate, while reducing the risk of the image being distorted, for example, by flickering or artifacts. To help illustrate, a computing device 10 that utilizes an electronic display 12 to display images is described in
Accordingly, as depicted, the computing device 10 includes the display 12, input structures 14, input/output (I/O) ports 16, one or more processor(s) 18, memory 20, nonvolatile storage 22, a network interface 24, and a power source 26, and image processing circuitry 27. The various components described in
As depicted, the processor 18 and/or image processing circuitry 27 are operably coupled with memory 20 and/or nonvolatile storage device 22. More specifically, the processor 18 and/or image processing circuitry 27 may execute instruction stored in memory 20 and/or non-volatile storage device 22 to perform operations in the computing device 10, such as dithering an image. As such, the processor 18 and/or image processing circuitry 27 may include one or more general purpose microprocessors, one or more application specific processors (ASICs), one or more field programmable logic arrays (FPGAs), or any combination thereof. Additionally, memory 20 and/or non volatile storage device 22 may be a tangible, non-transitory, computer-readable medium that stores instructions executable by and data to be processed by the processor 18 and/or image processing circuitry 27. In other words, the memory 20 may include random access memory (RAM) and the non-volatile storage device 22 may include read only memory (ROM), rewritable flash memory, hard drives, optical discs, and the like. By way of example, a computer program product containing the instructions may include an operating system (e.g., OS X® or iOS by Apple Inc.) or an application program (e.g., iBooks® by Apple Inc.).
Additionally, as depicted, the processor 18 is operably coupled with the network interface 24 to communicatively couple the computing device 10 to a network. For example, the network interface 24 may connect the computing device 10 to a personal area network (PAN), such as a Bluetooth network, a local area network (LAN), such as an 802.11x Wi-Fi network, and/or a wide area network (WAN), such as a 4G or LTE cellular network. Furthermore, as depicted, the processor 18 is operably coupled to the power source 26, which provides power to the various components in the computing device 10. As such, the power source 26 may includes any suitable source of energy, such as a rechargeable lithium polymer (Li-poly) battery and/or an alternating current (AC) power converter.
As depicted, the processor 18 is also operably coupled with I/O ports 16, which may enable the computing device 10 to interface with various other electronic devices, and input structures 14, which may enable a user to interact with the computing device 10. Accordingly, the inputs structures 14 may include buttons, keyboards, mice, trackpads, and the like. Additionally, in some embodiments, the display 12 may include touch sensitive components. For example, the electronic display 12 may be a MultiTouch™ display that can detect multiple touches at once.
In addition to enabling user inputs, the display 12 may display images. In some embodiments, the images displayed may be a graphical user interface (GUI) for an operating system, an application interface, a still image, or a video. As depicted, the display is operably coupled to the processor 18 and the image processing circuitry 27. Accordingly, the images displayed by the display 12 may be based on image data received from the processor 18 and/or the image processing circuitry 27.
More specifically, the processor 18 and/or the image processing circuitry 27 may generate and process image data to create a digital representation of the image to be displayed. In other words, the image data is generated such that the image view on the display 12 accurately represents the intended image. To facilitate generating image data that accurately represents the image, the processor 18 and/or image processing circuitry 27 may perform various image processing steps, such as spatial dithering, temporal dithering, pixel color-space conversion, luminance determination, luminance optimization, image scaling operations, and the like. For example, in some embodiments, the image data may be spatially dithered by adding color noise so that the viewed image includes less banding and less flat areas.
As will be described in more detail below, once the display 12 receives the image data, additional processing may be performed on the image data to further improve the accuracy of the viewed image. For example, the display 12 may again spatially dither the image data. Additionally or alternatively, the display may temporally dither the image data by modifying pixels in successively displayed images so that the user's eye will blend together the pixels from the successive images and view an intermediate color. For example, a pixel in a first image may be blue and a corresponding pixel in the second image may be red. Thus, when the two images are rapidly displayed successively, a viewer's eye may see a purple pixel.
As described above, the computing device 10 may be any suitable electronic device. To help illustrate, one example of a handheld device 10A is described in
As depicted, the handheld device 10A includes an enclosure 28, which may protect interior components from physical damage and to shield them from electromagnetic interference. The enclosure 28 may surround the display 12, which, in the depicted embodiment, displays a graphical user interface (GUI) 30 having an array of icons 32. By way of example, when an icon 32 is selected either by an input structure 14 or a touch sensing component of the display, an application program, such as iBooks® made by Apple Inc., may launch.
Additionally, as depicted, input structure 14 may open through the enclosure 28. As described above, the input structures 14 may enable a user to interact with the handheld device 10A. For example, the input structures 14 may activate or deactivate the handheld device 10A, navigate a user interface to a home screen, navigate a user interface to a user-configurable application screen, activate a voice-recognition feature, provide volume control, and toggle between vibrate and ring modes. Furthermore, as depicted, the I/O ports 16 open through the enclosure 28. In some embodiments, the I/O ports 16 may include, for example, an audio jack and/or a Lightning® port from Apple Inc. to connect to external devices.
To further illustrate a suitable computing device 10, a tablet device 10B is described in
As described above, the display 12 may display images based on image data received from the processor 18 and/or the image processing circuitry 27. More specifically, the image data may be processed by any combination of the processor 18, the image processing circuitry 27, and the display 12 itself. To help illustrate, a portion 34 of the computing device 10 that processes and communicates image data is described in
As depicted, the portion 34 of the computing device 10 includes a source 36, a timing controller (TCON) 38, and a display panel 40. More specifically, the source 36 may generate the image data. Accordingly, in some embodiments, the source 36 may be the processor 18 and/or the image processing circuitry 27. As described above, the processor 18 and/or the image processing circuitry 27 may processes image data so that an image is accurately viewed. Thus, as depicted, the source 36 includes a source dithering component 42. In some embodiments, the source dithering component 42 may spatially dither the image data by adding color noise into the image data.
As described above, the image data generated and processed by the source 36 may then be transmitted to the display 12. In some embodiments, the timing controller 38 and the display panel 40 may be included in the display 12. More specifically, the timing controller 38 may receive the image data from the source 36 and perform additional processing to further improve accuracy of the viewed image. For example, the timing controller 38 may perform additional dithering on the image data received. Accordingly, as depicted, the timing controller 38 includes a TCON dithering component 44. In some embodiments, the TCON dithering component 44 may perform spatial dithering, temporal dithering, spatio-temporal dithering, error-diffusion dithering, or the like.
To facilitate processing the image data, the timing controller 38 may include a timing controller processor 46 and memory 48. In some embodiments, the timing controller processor 46 may be included in the processor 18 and/or the image processing circuitry 27. In other embodiments, the timing controller processor 18 may be a separate processing module in the display 12. Additionally, in some embodiments, the timing controller memory 48 may be part of memory 20. In other embodiments, the timing controller memory 48 may be a separate memory module in the display 12. However, in any embodiment, the timing controller memory 48 may be a tangible, non-transitory, computer-readable medium that stores instructions executable by the timing controller processor 46, for example, to perform dithering on the image data.
The processed image data may then be transmitted from the timing controller 38 to the display panel 40 for display. More specifically, the display panel 40 may display images by setting each pixel grayscale value according to the image data. For example, when the image data is in an 8-bit format, the image data may instruct the display panel 40 to set a red pixel at [0, 0] to a grayscale level between 0 and 255.
Additionally, as described above, the image data may be dithered using various techniques to improve visual accuracy of the image. In other words, the grayscale levels for each pixel of the display panel 40 may be set to implement the dithering. To help illustrate, examples of dithering techniques that may be utilized by the source dithering component 42 and/or the TCON dithering component 44 are described below. It should be appreciated that the following dithering techniques are only meant to be illustrative and that any other suitable dithering technique may be used by either the source dithering component 42 and/or the TCON dithering component 44.
By way of example,
In some embodiments, to introduce color noise, dithering patterns 54 may be applied to the source image 50. More specifically, applying the dithering patterns 54 may spatially distribute the colors and luminance of the source image 50 so as to enable the display of the source image 50 at a lower pixel depth while significantly preserving the perceived image quality.
In some embodiments, the source image 50 may be decomposed by color channel before applying the dithering patterns 54. For example, a red source image, which describes red grayscale levels for each pixel, a green source image, which describes green grayscale levels for each pixel, and a blue source image, which describes blue grayscale levels for each pixel, may be generated. Additionally, in some embodiments, the source image 50 may be subdivided into multiple source image groups (e.g., windows) corresponding to different areas of the image. In one example, a group is sized as 4×4 pixel group having a total of 16 pixels.
As depicted, the source image 50 may then be used to create a corresponding LSB group 58 and MSB group 56. More specifically, the LSB group 58 and the MSB group 56 may be created by dividing the pixel depth information of each pixel into two values, a LSB value and a MSB value. The LSB values of the pixels in the source image 50 may then be used to create the LSB group 58 and the MSB values of the pixels in the source image 50 may then be used to create the MSB group 56.
More specifically, the pixel's grayscale value may be provided in, or converted to, a binary value, which is then divided into the LSB value and the MSB value. The most significant bits equal to the pixel depth (e.g., 6 bits) of the display 12 are selected as the MSB value and the remainder bits are selected as the LSB value. For example, suppose that the original image is stored at a 9-bit pixel depth and the display 12 is a 6-bit pixel depth display. If the original pixel color channel has a decimal grayscale level of forty-four, the resulting binary number is “000101100.” As such, the six most significant bits are “000101” and the three remaining bits are “100.” The dither patterns 54 to apply may be selected based on the LSB value and used to create a modification matrix 60, which may be mathematically added (e.g., through matrix addition) to the MSB group 56 to generate the dithered image data 52.
To help illustrate, in the depicted embodiment, the source image data 50 may include values as follows A=“010001101,” B=“110011011,” C=“000101100,” and D=“111100000.” The most significant bits (e.g., six bits) of the source image grayscale levels A, B, C, and D, may then be used to derive the values M1=“010001,” M2=“110011,” M3=“000101,” M4=“111100,” of a first row of the MSB group 56. The remaining three bits of the of the source image values A, B, C, D, may then be used to derive the values L1=“101,” L2=“011,” L3=“100,” L=“000,” of a first row of the LSB group 58.
As described above, the dither patterns 54 (e.g., individual dither patterns 62, 64, 66, 68, 70, 72, 74, and 76) may then be selected and used to create the modification matrix 60 based on the LSB group 58. More specifically, the magnitude or value of the 3-bit binary number stored in each cell of the LSB group 58 may be used to select one of the eight illustrated dither patterns 54. For example, in the depicted embodiment, cell L4 may have the value of “0,” which corresponds to the first of eight possible values (e.g., 0 to 7). Accordingly, the first dither pattern 62 may be selected. Similarly, since the cell L3 contains the value “4,” the fifth dither pattern 70 may be selected. Additionally, since the cell L2 contains the value “3,” the fourth dither pattern 68 may be selected. Furthermore, since the L1 cell contains the value “5,” the sixth dither pattern 72 may be selected. In this way, the first row of the LSB group 58 may each map to one of the dither patterns 54. All other cells of the LSB group 58 may be mapped to one of the dither patterns 54 in a similar manner.
Once the dither patterns 54 are selected, the LSB group 58 may be used to select one of the cells in each of the selected dither patterns 54 for use in the modification matrix 60. To make such a selection, the position of each cell in the LSB group 58 is used to identify the same position in the selected dither pattern 54. For example, in the depicted embodiment, L3 may first be used to select the dither pattern 70 and then L3's cell position may be used to select the first row, third column cell in the dither pattern 70. The value in this first row, third column cell (i.e., “1”) of the dither pattern 70 may then be used to fill the cell at the same position (i.e., first row, third column) in the modification matrix 60. Similarly, cells L1, L2, and L4 may be used to fill in the first row of the modification matrix 60.
The modification matrix 60 may then be added to the MSB group 56, for example, using matrix addition. That is, each cell in the MSB group 56 may be added to the corresponding cell in the modification matrix 60. The result of the addition operation is the dithered image data 52. For example, using the values in the depicted embodiment, the decimal values for the first row of the dithered image data 52 is A1=“17”+“1”=“18,” B1=“51”+“0”=“51,” C1=“5”+“1”=“6,” and D1=“60”+“0”=“60.” The remaining rows of the dithered image data may be similarly computed.
By way of further example,
In some embodiments, temporal dithering techniques may be combined with spatial dithering techniques into a spatio-temporal dithering technique. For example, spatial dithering techniques may be combined with temporal dithering techniques by temporally dithering the spatial dithering patterns 54 as described in
By way of example, each row in the depicted embodiment represents a temporal frame at times T0, T1, and T2. More specifically, a first row shows an example of an initial condition (e.g., position of the zero and ones) of the dithering patterns 62, 70, 66, and 74 at T0. In other words, the depicted dithering patterns may be used to generate the modification matrix 60 used to spatially dither at T0.
Similarly, a second row shows a condition of the dithering patterns 62, 70, 66, and 74 at T1. As depicted, the dithering patterns are temporally shifted at T1 from their positions at T0, for example, via a clockwise rotation of the bits. More specifically, in the depicted embodiment, each dithering pattern is divided into groups of four bits. In other words, each dithering pattern may be divided into a top left quadrant 78, a top right quadrant 80, a bottom right quadrant 82, and a bottom left quadrant 84. As such, each quadrant may have the bits rotated in a clockwise direction as depicted. For example, the top row (e.g., top two bits) of the top left quadrant 78 has shifted from storing the bits “1” and “0” at time T0 to storing the bits “0” and “1” at time T1. Additionally, the bottom row (e.g., bottom two bits) of top let quadrant 78 has shifted from storing the bits “0” and “1” at time T0 to storing the bits “1” and “0” at time T1. As described above, the shifted dithering patterns at T1 may then be used to create the modification matrix 60 and spatially dither the image.
Additionally, a third row shows a condition of the dithering patterns 62, 70, 66, and 74 at T2. The dithering patterns may similarly be generated by temporally shifting the dithering patterns at T2, for example, via a clockwise rotation of the bits. Accordingly, as depicted, the top row of the top left quadrant 78 has shifted from storing the bits “0” and “1” at time T1 to storing the bits “1” and “0” at time T2. Additionally, the bottom row of the quadrant 78 has shifted from storing the bits “1” and “0” at time T1 to storing the bits “0” and “1” at time T2. The other quadrants 80, 82, and 84 may similarly be temporally shifted and used to spatially dither the source image data 50. Accordingly, temporally dithering the spatial dithering patterns 54 may enable the display 12 to display image data such that the viewed image is perceived as having a higher visual quality because the human eye may perceive the multiple frames displayed sequentially in time as a single frame having an improved image quality.
However, as the refresh rate is decreased some dithering techniques may actually decrease image quality, for example, by causing flickering. More specifically, in some embodiments, since pixel color may vary between successively displayed images, the variations may be more noticeable and be viewed as flickering. For example, if the refresh rate is reduced to 1 Hz, each image will be displayed for 1 second. At such speeds, a viewer's eye may not combine pixel colors from successively displayed images and instead be able to distinguish between varying pixel colors, which may cause a flicker to appear on the viewed image.
In some embodiments, a flicker may begin be noticeable when the refresh rate is lowered below a threshold refresh rate. As used herein, a “threshold refresh rate” is intended to describe a refresh rate at or below which flickering may be noticed in a displayed image. In some embodiments, the threshold refresh rate may be 35-38 Hz. Additionally in some embodiments, the threshold refresh rate may be adjustable, for example, based on a specific user's tolerance of artifacts, a user's desire to save power, the type of images being displayed, and the like. For instance, in a more conservative approach, the threshold refresh rate may be increased above 38 Hz and, in a more aggressive approach, the threshold refresh rate may be decreased below 35 Hz.
Accordingly, it may desirable to disable temporal dithering when the refresh rate is lowered below a threshold refresh rate. One embodiment of a process 77 for determining when to disable temporal dithering is described in
Accordingly, in some embodiments, the timing controller 38 may determine the desired refresh rate (process block 79). More specifically, in some embodiments, the timing controller 38 may determine the desired refresh rate when a user manually inputs a desired refresh rate, for example, via input structures 14. Additionally or alternatively, the desired refresh rate may be automatically determined by the computing device 10. For example, as described above, the refresh rate of the display 12 may be reduced to decrease power usage by the computing device 10. As such, the computing device 10 may automatically or in response to a user input conserve battery power by automatically determining a desired refresh rate. In any embodiment, the timing controller 38 may receive the desired refresh rate from the processor 18 and/or the image processing circuitry 17.
The timing controller 38 may then determine whether the desired refresh rate is lower than a threshold refresh rate (decision block 81). As can be appreciated, the threshold refresh rate may vary depending on characteristics of the display 12, such as the type of display 12 (e.g., LCD or OLED), the resolution of the display 12, pixel depth of the display 12, and the like. Accordingly, in some embodiments, the threshold refresh rate may previously be determined, for example by the display manufacturer, and stored in the timing controller memory 48. As such, the timing controller 38 may retrieve the threshold refresh rate from memory 48 and compare the desired refresh rate to the threshold refresh rate.
When the desired refresh rate is higher than the threshold refresh rate, the timing controller 38 may perform temporal dithering on received image data because flickering should not be visible (process block 83). For example, in some embodiments, the timing controller 38 may utilize the spatio-temporal dithering technique described above. In other words, more generally, the timing controller 38 may process received image data using any suitable dithering technique including temporal dithering and/or spatio-temporal dithering.
On the other hand, when the desired refresh rate is lower than the threshold refresh rate, the timing controller 38 may cease temporal dithering on received image data because temporal dithering may cause flickering (process block 85). In some embodiments, the timing controller 38 may utilize other dithering techniques on the received image data. For example, the timing controller 38 may spatially dither the received image data. In some embodiments, the timing controller 38 may perform spatial dithering by disabling the temporal portion of the spatio-temporal dither technique described above. In other words, the timing controller 38 may use the same spatial dithering patterns 54 for each time step. In other embodiments, the timing controller 38 may switch to a separate spatial dithering component. For example, the timing controller 38 may switch to an error-diffusion (e.g., spatial) dithering component to process the image data. More specifically, the error-diffusion dithering component may spatially dither the image data and improve viewed image quality by distributing error (e.g., color noise) to surrounding pixels.
Accordingly, quality of an image displayed at a refresh rate below the threshold refresh rate may be improved by ceasing temporal dithering. More specifically, once temporal dithering is ceased, successively displayed images may not contain pixel colors that are intended to be viewed as blended together. As such, the possibility of the image being distorted by flickering may be reduced. In other words, when the refresh rate is reduced from above to below the threshold refresh rate, temporal dithering may be ceased. On the other hand, when the refresh rate is increased from below to above the threshold refresh rate, temporal dithering may resume.
Additionally, even though the refresh rate may be reduced and the temporally dithering may cease, the view image quality may be generally maintained by using other dithering techniques, such as spatial dithering. In fact, in some embodiments, the source 36 may spatially dither the image data using the source dithering component 42 and the timing controller 38 may again spatially dither the image data using the TCON dithering component 44. In such an embodiment, the image data may be successively spatially dithered. However, in some embodiments, the image displayed using image data successively spatially dithered (e.g., by the source dithering component 42 and the TCON dithering component 44) may contain artifacts, which distort image quality.
As described above, the risk of an image being distorted by artifacts may be reduced by analyzing the image using artifact histograms. As will be described in more detail below, an “artifact histogram” is intended to describe a distribution of pixel grayscale values, which if displayed will contain an artifact. To help illustrate, one embodiment of a process 86 for reducing the risk of artifacts is described in
Accordingly, in some embodiments, determining the size/shape of a minimum visible artifact (process block 88) and/or determining one or more artifact histograms (process block 90) may be performed off-line, for example, by a manufacturer of the display 12 or a manufacturer of the source 36. Generally, any suitable techniques for determining the one or more artifact histograms may be used. As described above, an artifact histogram describes a distribution of pixel grayscale values, which when displayed by display 12, may cause artifacts to be perceived by users. To help illustrate, assuming that a display 12 has 6-bit pixel depth (e.g., capable of displaying 64 varying grayscale levels), examples of artifact histograms are described in
A first artifact histogram 100 is described in
Similarly, a second artifact histogram 102 is described in
In other words, the closer grayscale distribution in a displayed image is to the first artifact histogram 100 and the second artifact histogram 102, the more likely a perceivable artifact will be displayed. Accordingly, as will be described in more detail below, the artifact histograms 100 and 102 along with any number of additional histograms may be used to determine the likelihood that an artifact will be displayed. It should be noted that although two artifact histograms 100 and 102 are described, any number of artifact histograms may be used.
Additionally, as used herein, the minimum visible artifact describes the smallest artifact that is likely to be perceivable by a user's eye. Generally, any suitable technique for determining the minimum visible artifact may be used. For example, in some embodiments, a display manufacturer may display varying sized artifacts on the display and test the size and/or shape of an artifact when the artifact becomes perceivable to users. As will be described in more detail below, the size/shape of the minimum visible artifact and the one or more artifact histograms may be used online to reduce possibility of artifacts. Accordingly, they may be stored in the timing controller memory 48.
As such, in some embodiments, the timing controller 38 may retrieve the size/shape of the minimum visible artifact and the one or more artifact histograms from memory 48 and use them to reduce possibility of artifacts online, for example, when image data is received from the source 36. More specifically, the timing controller 38 may identify a window (e.g., a portion) of the image to be displayed based at least in part on the size/shape of the minimum visible artifact (process block 92). To help illustrate, an image 104 with windows identified is described in
As depicted, a first window 106 located in the top left corner of the image 104 is identified. More specifically, the size and/or shape of the first window 106 may be based at least in part on the size and/or shape of the minimum visible artifact. For example, in some embodiments, the first window 106 may be substantially the same size and shape of the minimum visible artifact because it may be assumed that a smaller artifact should not be perceivable. For example, if the minimum visible artifact is a ten pixel by ten pixel square, the first window 106 may also be a ten pixel by ten pixel square. In a more conservative approach, the size and/or shape of the first window 106 may be slightly smaller than the size and/or shape of the minimum visible artifact, for example, an eight pixel by eight pixel square.
Once a window (e.g., first window 106) has been identified, the timing controller 38 may analyze the window for risk of an artifact being displayed in the window. In some embodiments, to determine risk of an artifact, the timing controller 38 may generate a local histogram for the window (process block 108) and compare overlap of the local histogram with the one or more artifact histograms (process block 110). More specifically, the timing controller 38 may generate a local histogram that describes pixel grayscale distribution of the window. In other words, a local histogram may describe the number of pixels in the window at various grayscale levels displayable by the display 12. In some embodiments, a separate local histogram may be generated for each color used by the display 12. For example, a red local histogram, a blue histogram, and a green histogram may be generated. However, to simplify the following discussion, only one local histogram for each window is described.
To help illustrate, a first local histogram 112, which describes pixel grayscale distribution of the first window 106, is depicted in
The timing controller 38 may then compare the local histogram to the one or more artifact histograms (process block 110). To help illustrate, the first local histogram 112 is compared to the first artifact histogram 100 (dashed) in
More specifically, in comparing the first local histogram 112 and the first artifact histogram 100, the timing controller 38 may determine the amount of overlap between the two. As depicted in
Similarly, in comparing the first local histogram 112 and the second artifact histogram 102, the timing controller may determine the amount of overlap between the two. As depicted in
As described above, the amount of overlap may indicate the likelihood that a perceivable artifact is displayed. Accordingly, the timing controller 38 may determine whether a perceivable artifact is likely to be displayed based on the amount of overlap between the first local histogram 112 with the first artifact histogram 100 and/or the second artifact histogram 102 (process block 96). Generally, any suitable algorithm for evaluating the amount of overlap may be utilized. For example, in some embodiments, an overlap threshold may be utilized for each artifact histogram and the timing controller 38 may determine that a perceivable artifact will likely be displayed when the overlap threshold for any of the artifact histograms is surpassed. In other words, an overlap threshold may be set such that when the amount of overlap is greater than the overlap threshold a perceivable artifact will likely be displayed.
To help illustrate, in the described embodiment, the overlap threshold for the first artifact histogram 100 may be fifty pixels. In other words, if the amount of overlap is greater than fifty pixels, an artifact is likely to be perceivable. Thus, since the overlap amount is three pixels (e.g., less than overlap threshold), the timing controller 38 may determine that the particular artifact(s) described by the first artifact histogram 100 will not be perceivable when the first window 106 is displayed. Additionally, in the described embodiment, the overlap threshold for the second artifact histogram 102 may be sixty pixels. Thus, since the amount of overlap is sixteen pixels (e.g., less than overlap threshold), the timing controller 38 may determine that the particular artifact(s) described by the second artifact histogram 102 also will not be perceivable when the first window 106 is displayed.
In other embodiments, a combined overlap threshold may be used. In other words, the amount of overlap between a local histogram and each of the artifact histograms may be looked at collectively to determine whether an artifact is likely to be perceivable. More specifically, the amount of overlap between the first local histogram 112 and the first artifact histogram 100 may be added to the amount of overlap between the first local histogram 112 and the second artifact histogram 102, for example, in a weighted or an unweighted manner. For instance, continuing with the above example, the combined overlap of nineteen pixels (e.g., three pixels and sixteen pixels) may be compared with a combined overlap threshold. Accordingly, the timing controller 38 may determine that a perceivable artifact will likely be displayed when the combined overlap threshold is surpassed.
As described above, separate local histograms may be generated for each color utilized by the display 12. Accordingly, in such embodiments, a color based overlap threshold may be utilized. More specifically, the color based overlap threshold may be used in relation to any number of the color based local histograms. For example, the color based overlap threshold may be compared with the amount of overlap between a red local histogram and one or more artifact histograms, a green local histogram and the one or more artifact histograms, and/or a blue local histogram and one or more artifact histograms.
In some such embodiments, a conservative approach may be taken and the maximum amount of overlap between any one of the colored local histograms and the one or more artifact histograms may be compared with the color based overlap threshold. More specifically, when the maximum overlap is less than the color based overlap threshold, the timing controller 38 may determine that a perceivable artifact is not likely to be displayed. In a more aggressive approach, the minimum amount of overlap between any one of the colored local histograms may be compared with the color based overlap threshold. More specifically, when the minimum overlap is less than the color based overlap threshold, the timing controller 38 may determine that the risk of displaying a perceivable artifact is acceptably small.
Using any of suitable technique, if the timing controller 38 determines that it is not likely that a perceivable artifact will be displayed in the first window 106, the timing controller 38 may identify a second window 114 as described in
Accordingly, the identification of each window, including the amount of overlap between multiple windows, may be based at least in part on the acceptability of artifacts. For example on either extreme, if no perceivable artifacts are tolerable, the timing controller 38 may merely shift the second window 114 one pixel in relation to the first window 106. On the other extreme, if a few artifacts are tolerable, the timing controller 38 may shift the second window 114 such that there is no overlap with the first window 106. As can be appreciated, the number of windows analyzed may also affect processing requirements, power usage, and heat generated by the timing controller 38. In other words, the location of each window may be based on balancing such factors.
As with the first window 106, the second window 114 may then be analyzed by the timing controller 38 to determine risk of an artifact being displayed in the window. As described above, the timing controller 38 may generate a local histogram for the second window 114 and compare overlap of the local histogram with the one or more artifact histograms. More specifically, the timing controller 38 may generate a second local histogram 118 that describes pixel grayscale distribution of the second window 114 as depicted in
The timing controller 38 may then compare the second local histogram 118 to the first artifact histogram 100 (dashed) and determine the amount of overlap as described in
In some embodiments, when the timing controller 38 determines that one of the windows of an image is likely to be displayed with a visible artifact, the display 12 may display the image at a refresh rate above the threshold refresh rate. In other words, the timing controller 38 may utilized the amount of overlap between a local histogram and one or more artifact histograms to determine the refresh rate at which to display an image.
To help illustrate, one embodiment of a process 120 for determining the refresh rate is described in
Accordingly, in some embodiments, the timing controller 38 may determine the amount of overlap between a local histogram and one or more artifact histograms (process block 122). More specifically, the amount of overlap may be determined using the techniques described above. In other words, in some embodiments, the timing controller 38 may determine the amount of overlap between the local histogram and each of the one or more artifact histograms. Additionally, in some embodiment, the timing controller 38 may determine the combined amount of overlap between the local histogram and the one or more artifacts.
The timing controller 38 may then compare the determined amount of overlap with an overlap threshold (decision block 124). As described above, the amount of overlap may be compared with the overlap threshold to determine whether a perceivable artifact is likely to be displayed. Additionally, as described above, various suitable techniques may be utilized to compare the amount of overlap and the overlap threshold. For example, the amount of overlap between the local histogram and an artifact histogram may be compared with an overlap threshold for the artifact histogram. Additionally or alternatively, the combined amount of overlap between the local histogram and the one or more artifacts may be compared with a combined overlap threshold, for example, in a weighted or unweighted manner. Furthermore, a color specific local histogram may be compared with a color based overlap threshold.
Using any of the various suitable techniques, when the timing controller 38 determines that the amount of overlap is not greater than the overlap threshold, the timing controller 38 may instruct the display 12 to display an image at the desired refresh rate (process block 126). More specifically, the image may be displayed at the desired refresh rate, which may be less than the threshold refresh rate, because the timing controller 38 has determined that the displayed image will not likely contain perceivable artifacts. In fact, in some embodiments, the display 12 may display the image at a refresh rate above the threshold refresh rate even before the amount of overlap is determined and reduce the refresh rate when if it is determined that artifacts will not be present to reduce power usage by the display 12.
On the other hand, when the timing controller 38 determines that the amount of overlap is greater than the overlap threshold, the timing controller 38 may instruct the display 12 to display an image at a specific refresh rate above the threshold refresh rate (process block 128). In some embodiments, the specific refresh rate may be previously determined, for example by a manufacturer of the display 12, and stored in memory 48. More specifically, as described above, when the image is displayed at a refresh rate above the threshold refresh rate, temporal dithering techniques may be utilized on the image data. As such, the possibility of artifacts caused by having two successive spatial dithering components may be reduced.
Accordingly, the technical effects of the present disclosure include improving image quality displayed by an electronic display particularly when the electronic display uses a lower refresh rate (e.g., less than a threshold refresh rate). More specifically, in some embodiments, the likelihood that flickering is perceivable may be reduced by disabling a temporal dither used on image data. Additionally, in some embodiments, the likelihood that an artifact is perceivable may be determined by comparing local histograms, which describe grayscale distribution in at least a portion of an image to be displayed, with one or more artifact histograms, which describe grayscale distribution that will cause an artifact when displayed. More specifically, the amount of overlap may be used to determine the likelihood a perceivable artifact will be displayed, which may then be used to determine a refresh rate at which to display the image.
The specific embodiments described above have been shown by way of example, and it should be understood that these embodiments may be susceptible to various modifications and alternative forms. It should be further understood that the claims are not intended to be limited to the particular forms disclosed, but rather to cover all modifications, equivalents, and alternatives falling within the spirit and scope of this disclosure.
Under 35 U.S.C. §120, this application is a continuation of U.S. patent application Ser. No. 14/319,963 filed on Jun. 30, 2014, which is incorporated by reference herein in its entirety for all purposes.
Number | Date | Country | |
---|---|---|---|
Parent | 14319963 | Jun 2014 | US |
Child | 15203654 | US |