Electronic apparatus with image stabilization

An electronic apparatus is provided. The electronic apparatus includes a display device, a sensor, and a processor. The display device receives an image data. The display device includes a display panel and displays an image related to the image data on the display panel. A reference image point of the image is displayed on a first location on the display panel. The sensor detects a movement status of the electronic apparatus when the electronic apparatus shakes to generate at least one movement parameter. The processor calculates compensation data according to the at least one movement parameter and size information of the display panel. When the display device receives the compensation data, the display device displays the image by shifting the reference image point of the image from the first location to a second location on the display panel to display according to the compensation data.

BACKGROUND OF THE INVENTION

Field of the Invention

The invention relates to an electronic apparatus, and more particularly, to an electronic apparatus with image stabilization.

Description of the Related Art

An electronic apparatus with an image display function is widely used in human life. In particular, a mobile electronic apparatus is more commonly used by modern people, for example, a smart phone, a smart watch, a digital camera, an automotive displayer, a satellite navigation device, and any electronic apparatus with a displayer. However, as shown inFIG. 1, when the electronic apparatus or the object carrying the electronic apparatus moves suddenly, its display panel1may shake in response to the movement. Due to the persistence of vision of the eyes of the human eyes, when the user stares at the displayer, the user see unclear scenes which are formed by a lot of images displayed on the shaking display panel1.

BRIEF SUMMARY OF THE INVENTION

An exemplary embodiment of an electronic apparatus is provided. The electronic apparatus receives an image data related to an image and comprises a display device, a sensor, and a processor. The display device comprises a display panel which displays the image. The display panel comprises a plurality of pixels arranged in an array. The sensor detects a movement status of the electronic apparatus when the electronic apparatus shakes to generate at least one movement parameter. The processor receives the least one movement parameter and calculates compensation data according to the at least one movement parameter and size information of the display panel to indicate a location of a reference image point of the image on the display panel. The display device receives the image data and the compensation data and generates display data according to the image data and the compensation data. The display device displays the image according to the display data.

An exemplary embodiment of an electronic apparatus is provided. The electronic apparatus comprises a display device, a sensor, and a processor. The display device comprises a display panel and receives an image data. The display device displays an image related to the image data on the display panel. A reference image point of the image is displayed on a first location on the display panel. The sensor detects a movement status of the electronic apparatus when the electronic apparatus shakes to generate at least one movement parameter. The processor receives the least one movement parameter and calculates compensation data according to the at least one movement parameter and size information of the display panel. When the display device receives the compensation data, the display device displays the image by shifting the reference image point of the image from the first location to a second location on the display panel to display according to the compensation data.

In an exemplary embodiment, the display device further comprises a controller, a timing controller, a scan driver, and a data driver. The controller receives the image data and maps a reference image element which is obtained from the image data to the first location. Then, the controller generates display data according to the mapping and further generates a timing control signal. The reference image point of the image corresponds to the reference image element. The timing controller is controlled by the timing control signal to generate a first timing signal and a second timing signal. The scan driver receives the first timing signal and generates driving signals to the display panel according to the first timing signal to drive the plurality of pixels. The data driver receives the display data and the second timing signal, generates image signals according to the display data, and provides the image signals to the driven pixels according to the second timing signal. The display panel is controlled by the scan driver and the data driver to display the image. When the controller receives the compensation data, the controller re-maps the reference image element of the image data to the second location instead of the first location according to the compensation data and modifies the display data according to the re-mapping. The data driver generates the image signals according to the modified display data, so that the display panel displays the image by using the second location to display the reference image point of the image instead of the first location.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 2shows an exemplary embodiment of an electronic apparatus with image stabilization. Referring toFIG. 2, an electronic apparatus2comprises a sensor21, a memory22, a processor23, and a display device24. The electronic apparatus2is a mobile apparatus. In the embodiment, the electronic apparatus2may be a mobile phone, an automotive displayer (such as head up displayer), a tablet, a smart watch, or a mobile electronic apparatus with a displayer. The display device24may be a liquid crystal display device, an LED (light-emitting diode) display device, an OLED (organic light-emitting diode) display device, or any display device which can display images according to image data DIN. In an embodiment, as shown inFIG. 3, the display device24comprises a controller30, a timing controller (TC)31, a data driver32, a scan driver33, and a display panel34. The display panel34comprises a plurality of pixels320which are arranged on rows and columns to form an array. The controller30receives the image data DIN and generates display data D30and a timing control signal S30according to the content of the image data DIN and the display parameters of the display panel34. The display parameters may comprise the resolution, the dot pitch, the scan frequency, the refresh rate, the color parameters, brightness parameter, and so on. In order to show an image related to the image data DIN on the display panel34, the controller30processes the image data DIN according to the image data DIN and the display para333meters to obtain a plurality of image elements and further determines corresponding locations on the display panel34where the image elements are shown respectively. In other words, the controller30maps each of the image elements to one location on the display panel34and generates the display data D30and the timing control signal S30according to the result of the mapping. In the embodiment, a location on the display panel34corresponds to one pixel or several adjacent pixels.

The controller30provides the timing control signal S30to the timing controller31. The timing controller31is controlled by the timing control signal S30to generate timing signals S31A and S31B for the data driver32and the scan driver33respectively. The scan driver33receives the timing signal S31B and generates driving signals S32to drive the pixels320according to the timing signal S31B. In an embodiment, each driving signal S33is enabled to drive the pixels arrange on one row at the same time, and the driving signals S33are enabled successively. The data driver33receives the display data D30from the controller30and generates image signals S32according to the display data D30. The data driver33further receives the timing control signal S31A and provides the image signals S32to the driven pixels320on the timing indicated by the timing control signal S31A. According to the control of the data driver32and the scan driver33, the display panel34can display the image related to the image data DIN through the pixels320. In an embodiment, the controller30may be an image composer, a Surface Flinger, an image overlay processor, a graphics processing unit (GPU), or a scaler. In another embodiment, the controller30and the timing controller31can be combines to form a timing controller which performs the operations of the controller30and the timing controller31described in the embodiments of the present invention.

For the image stabilization, when the electronic apparatus2shakes by a direction, the sensor21operates to detect the movement status of the electronic apparatus2to generate at least one movement parameter. The detected movement status will be applied to generate compensation data for the display device24to modify the display data, so that the display panel can display a new image which is related to the image data and shifted from the original image. The detail of the image stabilization using the movement status of the electronic apparatus2will be described in the following paragraphs.

In the embodiment, the movement status may comprise the movement direction and the movement speed of the electronic apparatus2. The sensor21detects the movement direction of the electronic apparatus2and generates a direction parameter D21A according to the movement direction. Moreover, the sensor21detects the movement speed (such as an average speed) in the period when the electronic apparatus2shakes and calculates the movement distance of the electronic apparatus2according to the movement speed and the length of the period to generate a distance parameter D21B.

The memory22stores size information of the display panel34of the display panel24. The size information may comprise the size of the display panel34, the resolution of the display panel34, a distance between adjacent two pixels of the display panel34, and the number of pixels per inch on the display panel34. The processor23receives the direction parameter D21A and the distance parameter D21B from the sensor21and further receives the size information D22from the memory22. In response to the shaking of the electronic apparatus2, the processor23calculates compensation data D23according to the parameters D21A and D21B and the size information D22for the display device34. In the compensation data D23comprises the information about image shifting, such as the number of pixels for shifting an image or the distance on the display panel34for shifting an image.

For example, as shown inFIG. 4A, the controller30generates the display data D30and the timing control signal S30according to the image data DIN and the display parameters of the display panel34, and the display panel34displays an image40in response to the control of the display data D30and the timing control signal S30. The controller30defines a reference image element among the image elements obtained from the image data DIN, and the controller30maps the reference image element to a location340on the display panel34. Thus, a reference image point C40of the image40corresponding to the reference image element is shown on the location340. In the embodiment, the location340on the display panel34may corresponds to on one pixel or several adjacent pixels. When the electronic apparatus2shakes toward the direction41(for example, the left direction) in a period as shown inFIG. 4B, the sensor21detects the movement direction41to generate the direction parameter D21A and further calculates the movement distance42of the electronic apparatus2to generate the distance parameter D21B. As described above, the processor23calculates the compensation data D23according to the parameters D21A and D21B and the size information D22. When the controller30of the display device24receives the compensation data D23, the controller30modifies or adjusts the display parameters and performs the mapping between the image elements obtained from the image data DIN and locations on the display panel34according to the modified or adjusted display parameters. As shown inFIG. 4B, the controller30re-maps the reference image element to another location340′ on the display panel34according to the compensation data D23, and thus, the reference image point C40is displayed on the location340′. In the embodiment, according to the information about the image shifting indicated by the compensation data D23, a portion of the image elements are not mapped to any locations on the display panel34. For example, the image elements related to the right portion401of the image40are not mapped to any locations on the display panel34. Thus, these image elements are omitted, in other words, the right portion401of the image40is cut off. In order to fit the size of the display panel34, the controller30further generates predetermined image elements in response to the omitted image elements and maps the predetermined image elements to locations on the display panel34. The controller30modifies the display data D30according to the re-mapping result of the image elements obtained from the image data DIN and the mapping result of the predetermined image elements to generate another display data D30′. Then, the data driver33receives the display data D30′ and generates image signals S32′ according to the display data D30. The display panel34displays a modified image40′ in response to the control of the image signals S32′ from the data driver32and the driving signals S33from the scan driver33. As shown inFIG. 4B, the locations corresponding to the predetermined image elements are on the left side of the display panel34to show a left portion401′ of the image40′ which is used to compensate for the cut-off right portion401. In the embodiment, the predetermined image elements are applied to show a block or white frame. Due to the insertion of the block or white frame, the size of each of the images40and40′ fits the size of the size of the display panel34.

Referring toFIGS. 4A-4C, the direction43by which the location340′ is shifted from the location340is inverse to the movement direction41of the electronic apparatus2, and the movement distance between the locations340and340′ is equal to the movement distance42of the electronic apparatus2. Thus, the direction from the user's eyes E40to the reference image point C40and the visual angle of the user which occur before the shaking of the electronic apparatus2are the same those which occur when the electronic apparatus2shakes. For the user's view, the image is stabilized during the shaking of the electronic apparatus2through the inverse compensation for the movement. Thus, according to the embodiment of the invention, even if the electronic apparatus2is shaking, the user can see clear images on the display panel34.

In an embodiment, the electronic apparatus2is a mobile phone, and the sensor21comprises a Gyro meter and a G-sensor. When the electronic apparatus2shakes, the sensor21detects the movement direction and the movement speed of the electronic apparatus2through the Gyro meter and the G-sensor and calculates the movement distance of the electronic apparatus2for generating the direction parameter D21A and the distance parameter D21B. The processor23calculates compensation data D23according to the parameters D21and D21B and the number of pixels per inch on the display panel34(the size information of the display panel34stored in the memory22).

In another embodiment, the electronic apparatus2is an automotive displayer, and the sensor21comprises a G-sensor and a GPS. When the electronic apparatus2shakes, the sensor21detects the movement direction and the movement speed of the electronic apparatus2through the G-sensor and the GPS and calculates the movement distance of the electronic apparatus2for generating the direction parameter D21A and the distance parameter D21B. The processor23calculates compensation data D23according to the parameters D21and D21B and the size and resolution of the display panel34(the size information of the display panel34stored in the memory22).

In another embodiment, the electronic apparatus2is a tablet, and the sensor21comprises a G-sensor. When the electronic apparatus2shakes, the sensor21detects the movement direction and the movement speed of the electronic apparatus2through the G-sensor and calculates the movement distance of the electronic apparatus2for generating the direction parameter D21A and the distance parameter D21B. The processor23calculates compensation data D23according to the parameters D21and D21B and the distance between adjacent two pixels of the display panel34(the size information of the display panel34stored in the memory22).