This relates generally to electronic devices, and, more particularly, to electronic devices with displays.
Electronic devices such as cellular telephones, computers, and wristwatch devices often include displays. For example, an electronic device may have an organic light-emitting diode display based on organic-light-emitting diode pixels or a liquid crystal display based on liquid crystal pixels. Conventional displays may have a rectangular shape with an outline that has right angles in each of its four corners. However, this type of shape may not match the desired aesthetic for the electronic device.
It would therefore be desirable to be able to provide improved displays for electronic devices.
A display may have an array of pixels. The display may be a liquid crystal display, may be an organic light-emitting diode display, or may be a display of other types.
In a display, the array of pixels may form an active area of the display. It may sometimes be desirable for the active area of the display to have curved edges. For example, the active area may have four sides that are connected by four rounded corners. Each rounded corner may be defined by a spline.
Pixels in the pixel array may be controlled so that the active area of the display has the desired curved edge shape. In one scheme, pixels that are within the spline will be turned on while pixels that are not within the spline will be turned off. However, this type of arrangement may result in the curved edge appearing jagged to the user. In order to maximize the apparent smoothness of the curved edge, the display may include circuitry that dims some of the pixels without turning them entirely off.
The display circuitry may include a multiplication circuit that receives image data as a first input and dimming factors from a gain table as a second input. The image data may include a brightness level for each pixel in the array of pixels. The gain table may include a dimming factor for each pixel in the array of pixels. The multiplication circuit may multiply the brightness level for each pixel by its respective dimming factor. This modified image data may then be supplied to the imaging pixels using display driver circuitry.
The dimming factor for each pixel may be a function of the distance of the pixel from the spline. The dimming factor for each pixel may also be a function of the linear velocity associated with the location of the pixel.
An illustrative electronic device of the type that may be provided with a display is shown in
As shown in
Input-output circuitry in device 10 such as input-output devices 12 may be used to allow data to be supplied to device 10 and to allow data to be provided from device 10 to external devices. Input-output devices 12 may include buttons, joysticks, scrolling wheels, touch pads, key pads, keyboards, microphones, speakers, tone generators, vibrators, cameras, sensors, light-emitting diodes and other status indicators, data ports, etc. A user can control the operation of device 10 by supplying commands through input-output devices 12 and may receive status information and other output from device 10 using the output resources of input-output devices 12.
Input-output devices 12 may include one or more displays such as display 14. Display 14 may be a touch screen display that includes a touch sensor for gathering touch input from a user or display 14 may be insensitive to touch. A touch sensor for display 14 may be based on an array of capacitive touch sensor electrodes, acoustic touch sensor structures, resistive touch components, force-based touch sensor structures, a light-based touch sensor, or other suitable touch sensor arrangements. A touch sensor for display 14 may be formed from electrodes formed on a common display substrate with the pixels of display 14 or may be formed from a separate touch sensor panel that overlaps the pixels of display 14. If desired, display 14 may be insensitive to touch (i.e., the touch sensor may be omitted).
Control circuitry 16 may be used to run software on device 10 such as operating system code and applications. During operation of device 10, the software running on control circuitry 16 may display images on display 14.
Display driver circuitry may be used to control the operation of pixels 32. The display driver circuitry may be formed from integrated circuits, thin-film transistor circuits, or other suitable circuitry formed in the inactive area of the display. The display driver circuitry may be able to communicate with system control circuitry (i.e., control circuitry 16). During operation, the control circuitry may supply circuitry such as a display driver integrated circuit with image data for images to be displayed on display 14. To display the images on pixels 32, the display driver circuitry may supply corresponding image data to data lines D and assert gate line signals on gate lines G in sequence, starting with the gate line signal G in the first row of pixels 32 in array 34. As each gate line is asserted, data from data lines D may be loaded into a corresponding row of pixels. In this way, the control circuitry may provide pixels 32 with signals that direct pixels 32 to display a desired image on display 14. Horizontal control lines G (sometimes referred to as gate lines, scan lines, emission control lines, etc.) may run horizontally through display 14 and be associated with respective rows of pixels 32, while data lines D may run vertically through display 14 and be associated with respective columns of pixels 32.
As shown in
First, it should be noted that each pixel 32 may contain three sub-pixels 32-1, 32-2, and 32-3. Sub-pixel 32-1 may be a red sub-pixel, sub-pixel 32-2 may be a green sub-pixel, and sub-pixel 32-3 may be a blue sub-pixel. Each pixel 32 may have red, green, and blue sub-pixels 32-1, 32-2, and 32-3 arranged as shown in
In order to prevent jaggedness in the edges of the display, the display pixel data may be modified by dimming factors.
Before being provided to display driver circuitry 50, the image data may be multiplied by dimming factors from gain table 28 in multiplication circuit 30 (sometimes referred to herein as a gain circuit). Each frame of image data 26 may include a representative brightness value for each pixel 32 in pixel array 34. Gain table 28 may include a dimming factor for each pixel (or sub-pixel) 32 in pixel array 34. The dimming factor may be associated with the location of the pixel relative to the spline edge of the display. Each pixel that is within the spline edge of the display may have a dimming factor of 1 (meaning that the brightness level for that pixel will not be modified). Pixels that are outside the spline edge of the display may have a dimming factor between 0 and 1. When the brightness level for a pixel is multiplied by a dimming factor less than 1 in gain circuit 30, the brightness of that particular pixel will be reduced (i.e. dimmed). Dimming the pixels outside the spline edge of the display may enable the edge of the display to appear smoother to the user.
After image data 26 is multiplied by the dimming factors from gain table 28, the modified image data may be provided to display driver circuitry 50. Display driver circuitry 50 will then provide the modified image data to the pixels in pixel array 34. Pixel array may then display the desired image with curved edges that do not appear jagged to the user.
Multiplication circuit 30, gain table 28, display driver circuitry 50, and pixel array 34 as shown in
A flowchart showing illustrative method steps for modifying image data to achieve a smoother display edge is shown in
The method steps shown in
The dimming factors used in gain table 28 may be determined in a variety of ways. In a first illustrative embodiment, a dimming factor may be associated with each sub-pixel in the pixel array (i.e., each pixel may have corresponding sub-pixels 32-1, 32-2, and 32-3 that all have respective dimming factors). The dimming factor may be based on the distance of the sub-pixel from the spline edge.
Sub-pixels that have a center outside of the spline edge may have a dimming factor less than 1. If a sub-pixel has a center outside of the spline edge, the dimming factor may be determined by the distance between the center of the sub-pixel and the spline edge. For example, sub-pixel 32-1 has a center 46-1 that is positioned outside of the spline edge. In order to determine the distance between center 46-1 and spline 42, a point on spline 42 must be selected as the relevant point for the measurement. This point is determined by drawing a line between the center of the sub-pixel and the center of the active area. This line is represented by line 48 in
As shown in
In order to use the distance between the sub-pixel and the spline to calculate a dimming factor, the distance may be normalized by dividing the distance by the size of a pixel. For example, each pixel in the array may have a width 62, as shown in
Modifying the image data based on the distance between sub-pixels and the spline may improve the apparent smoothness of the edges of the display. However, further improvements may be made by adjusting the dimming factor not only based on distance between the sub-pixel and the spline, but also the linear velocity of the spline. Information on obtaining the linear velocity of the spline is shown in
The linear velocity may be used to determine a linear velocity function (LVF). The linear velocity function may simply be the linear velocity adjusted by some constants to optimize smoothness in the display. The following equation may be used to determine the linear velocity function: LVF=(LV/a)+b. The constants ‘a’ and ‘b’ may be selected to achieve maximum smoothness of the display edges. Finally, the dimming factor for each pixel may be determined using a similar formula as previously described above. However, instead of determining the dimming factor solely as a function distance (as previously described), the dimming factor (DF) may be determined as a function of distance and linear velocity using the following formula: DF=1−(d/LVF). In this formula, ‘d’ is the normalized distance of the sub-pixel from the spline as previously described and LVF is the linear velocity function as previously described.
In
It should be noted that instead of precisely calculating the linear velocity for each and every sub-pixel, the linear velocity may instead be determined using a look-up table and interpolation. The point between each sub-pixel center and the active area center on the spline has an angle relative to the active area center (i.e., 0°, 10°, 40°, 90°, etc.). The linear velocity for certain angles (i.e., every whole degree) may be stored in a look-up table. Take an example where a given sub-pixel has a representative angle of 22.3°. The linear velocities associated with 22° and 23° may be obtained from the look-up table, and interpolation may be performed to approximate a linear velocity for 22.3°. Any desired type of interpolation may be performed (i.e., linear, polynomial, etc.).
At step 308, the linear velocity may be used to determine the linear velocity function (i.e., the linear velocity may be modified using known constants). Finally, at step 310, the dimming factor may be determined based on the normalized distance and the linear velocity function.
In various embodiments, an electronic device may include a display and control circuitry configured to provide image data to the display. The display may include an array of pixels that form an active area of the display, the active area of the display may have an edge that has at least one rounded corner, and the at least one rounded corner may be defined by a spline. The image data may include a brightness value for each pixel in the array of pixels, the control circuitry may include a multiplication circuit configured to modify the image data by multiplying the image data by dimming factors, each pixel in the array of pixels may have a respective dimming factor, and the dimming factor associated with each pixel may be a function of a linear velocity associated with a location of the respective pixel.
The multiplication circuit may be configured to modify the image data by multiplying the brightness value for each pixel in the array of pixels by the dimming factor associated with the pixel. The control circuitry may include display driver circuitry that provides the modified image data to the array of pixels, and the array of pixels may display an image based on the modified image data. The dimming factor associated with each pixel may also be a function of a distance of the respective pixel to the spline. The dimming factor for each pixel may decrease as the distance of the pixel to the spline increases. The distance of the pixel to the spline may be measured as the distance from a center of the pixel to the spline. The dimming factor for pixels that are within the spline may be 1. The dimming factor associated with each pixel may be a function of a normalized distance of the respective pixel to the spline. The dimming factor for pixels that are greater than one pixel width outside of the spline may be 0. The linear velocity associated with the location of each pixel may be determined by a contour of the spline at the location. The edge of the active area of the display may have four sides with four rounded corners.
In various embodiments, display circuitry may include an array of pixels configured to display images, a gain table that includes a dimming factor for each pixel in the array of pixels, and a multiplication circuit that is configured to receive image data. The image data may include a brightness value for each pixel in the array of pixels, the multiplication circuit may be configured to multiply the brightness value for each pixel by the dimming factor associated with the pixel to obtain modified image data, and the dimming factor for each pixel may be a function of a distance between the respective pixel and a spline. The display circuitry may also include display driver circuitry configured to provide the modified image data to the array of pixels.
In various embodiments, a method of operating a display that has a plurality of pixels and at least one curved edge defined by a spline may include providing image data to the display that includes brightness levels for each pixel in the plurality of pixels and modifying the image data based on dimming factors. Each pixel may have a respective dimming factor and the dimming factor for each pixel may be a function of a linear velocity that is associated with a location of the respective pixel. The method may also include displaying an image using the plurality of pixels based on the modified image data. The dimming factor for each pixel may also be a function of a normalized distance between the respective pixel and the spline.
In accordance with an embodiment, an electronic device is provided that includes a display that includes an array of pixels that form an active area of the display, the active area of the display has an edge that has at least one rounded corner, and the at least one rounded corner is defined by a spline, and control circuitry configured to provide image data to the display, the image data includes a brightness value for each pixel in the array of pixels, the control circuitry includes a multiplication circuit configured to modify the image data by multiplying the image data by dimming factors, each pixel in the array of pixels has a respective dimming factor, and the dimming factor associated with each pixel is a function of a linear velocity associated with a location of the respective pixel.
In accordance with another embodiment, the multiplication circuit is configured to modify the image data by multiplying the brightness value for each pixel in the array of pixels by the dimming factor associated with the pixel.
In accordance with another embodiment, the control circuitry includes display driver circuitry that provides the modified image data to the array of pixels, and the array of pixels displays an image based on the modified image data.
In accordance with another embodiment, the dimming factor associated with each pixel is also a function of a distance of the respective pixel to the spline.
In accordance with another embodiment, the dimming factor for each pixel decreases as the distance of the pixel to the spline increases.
In accordance with another embodiment, the distance of the pixel to the spline is measured as the distance from a center of the pixel to the spline.
In accordance with another embodiment, the dimming factor for pixels that are within the spline is 1.
In accordance with another embodiment, the dimming factor associated with each pixel is a function of a normalized distance of the respective pixel to the spline.
In accordance with another embodiment, the dimming factor for pixels that are greater than one pixel width outside of the spline is 0.
In accordance with another embodiment, the linear velocity associated with the location of each pixel is determined by a contour of the spline at the location.
In accordance with another embodiment, the edge of the active area of the display has four sides with four rounded corners.
In accordance with an embodiment, display circuitry is provided that includes an array of pixels configured to display images, a gain table that includes a dimming factor for each pixel in the array of pixels, a multiplication circuit that is configured to receive image data, the image data includes a brightness value for each pixel in the array of pixels, the multiplication circuit is configured to multiply the brightness value for each pixel by the dimming factor associated with the pixel to obtain modified image data, and the dimming factor for each pixel is a function of a distance between the respective pixel and a spline, and display driver circuitry configured to provide the modified image data to the array of pixels.
In accordance with another embodiment, the dimming factor for each pixel decreases as the distance between the pixel and the spline increases.
In accordance with another embodiment, the distance between each pixel and the spline is measured as the distance from a center of the respective pixel to the spline.
In accordance with another embodiment, the dimming factor for pixels that are within the spline is 1.
In accordance with another embodiment, the dimming factor associated with each pixel is a function of a normalized distance between the respective pixel and the spline.
In accordance with another embodiment, the dimming factor for pixels that are greater than one pixel width outside of the spline is 0.
In accordance with another embodiment, the dimming factor associated with each pixel is also a function of a linear velocity associated with a location of the respective pixel.
In accordance with an embodiment, a method of operating a display that has a plurality of pixels and at least one curved edge defined by a spline is provided that includes providing image data to the display, the image data includes brightness levels for each pixel in the plurality of pixels, modifying the image data based on dimming factors, each pixel has a respective dimming factor, and the dimming factor for each pixel is a function of a linear velocity that is associated with a location of the respective pixel and displaying an image using the plurality of pixels based on the modified image data.
In accordance with another embodiment, the dimming factor for each pixel is also a function of a normalized distance between the respective pixel and the spline.
In accordance with an embodiment, an electronic device is provided that includes a display that includes a plurality of pixels that form an active area of the display, wherein the active area of the display has at least one rounded corner along at least a portion of an edge of the active area of the display, and control circuitry configured to provide image data to the display, wherein the image data comprises a brightness value for each pixel, wherein the control circuitry comprises circuitry configured to modify the image data based on at least one dimming factor, wherein each pixel has a respective dimming factor, and wherein the dimming factor associated with each pixel is associated with at least a location of the respective pixel.
In accordance with another embodiment, the circuitry configured to modify the image data comprises a multiplication circuit configured to multiply the brightness value for each pixel by the dimming factor associated with the pixel.
In accordance with another embodiment, the control circuitry includes display driver circuitry that provides the modified image data to the plurality of pixels and the plurality of pixels displays an image based on the modified image data.
In accordance with another embodiment, the dimming factor associated with each pixel at least is associated with a linear velocity associated with the location of each pixel and the linear velocity is determined at least by a contour of a spline of the at least one rounded corner at the location.
In accordance with another embodiment, the dimming factor associated with each pixel is at least associated with a linear velocity associated with the location of the respective pixel and a distance of the respective pixel to a spline of the at least one rounded corner.
In accordance with another embodiment, the dimming factor for each pixel decreases as the distance of the pixel to the spline increases.
In accordance with another embodiment, the distance of the pixel to the spline is measured as a distance from a center of the pixel to the spline.
In accordance with another embodiment, the dimming factor for pixels that are within a predetermined distance to the spline is 1.
In accordance with another embodiment, the dimming factor for pixels that are greater than one pixel width outside of the spline is 0.
In accordance with another embodiment, the dimming factor associated with each pixel at least is associated with a normalized distance of the respective pixel to a spline of the at least one rounded corner.
In accordance with another embodiment, the display has four sides with four rounded corners.
In accordance with an embodiment display circuitry for a display is provided including a plurality of pixels configured to display images, a multiplication circuit that is configured to receive image data, wherein the image data includes a brightness value for each pixel of the plurality of pixels, wherein the multiplication circuit is configured at least to multiply the brightness value for each pixel by a dimming factor associated with the pixel to obtain modified image data, and wherein the dimming factor for each pixel at least is a function of a distance between the respective pixel and a spline of the display, and display driver circuitry configured to provide the modified image data to the plurality of pixels.
In accordance with another embodiment, the display circuitry also includes a gain table that includes the dimming factor for each pixel, wherein the dimming factor for each pixel decreases as the distance between the pixel and the spline increases.
In accordance with another embodiment, the distance between each pixel and the spline is measured as a distance from a center of the respective pixel to the spline.
In accordance with another embodiment, the dimming factor for pixels that are within a predetermined distance to the spline is 1.
In accordance with another embodiment, the dimming factor for pixels that are greater than one pixel width outside of the spline is 0.
In accordance with another embodiment, the dimming factor associated with each pixel at least is associated with a normalized distance between the respective pixel and the spline.
In accordance with another embodiment, the dimming factor associated with each pixel is also at least associated with a linear velocity associated with a location of the respective pixel.
In accordance with an embodiment, a method of operating a display that has a plurality of pixels and at least one curved edge is provided that includes providing image data to the display, wherein the image data comprises brightness levels for each pixel in the plurality of pixels, modifying the image data based on dimming factors, wherein each pixel has a respective dimming factor, and wherein the dimming factor for each pixel at least is associated with a location of the respective pixel, and displaying an image using the plurality of pixels based on the modified image data.
In accordance with another embodiment, the dimming factor for each pixel at least is associated with a linear velocity that is associated with the location of the respective pixel and the dimming factor for each pixel at least is associated with a normalized distance between the respective pixel and a spline of the at least one curved edge.
The foregoing is merely illustrative and various modifications can be made by those skilled in the art without departing from the scope and spirit of the described embodiments. The foregoing embodiments may be implemented individually or in any combination.
This application is a continuation of U.S. non-provisional patent application Ser. No. 15/767,637, filed on Apr. 11, 2018, which is a 371 of International Patent Application PCT/US2017/042437, filed on Jul. 17, 2017, which claims priority to U.S. provisional patent application No. 62/371,165, filed on Aug. 4, 2016, which are hereby incorporated by reference herein in their entireties.
Number | Date | Country | |
---|---|---|---|
62371165 | Aug 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15767637 | Apr 2018 | US |
Child | 16368394 | US |