TW201517011A - Electronic device, image adjusting system and method thereof - Google Patents

Electronic device, image adjusting system and method thereof Download PDF

Info

Publication number
TW201517011A
TW201517011A TW102136991A TW102136991A TW201517011A TW 201517011 A TW201517011 A TW 201517011A TW 102136991 A TW102136991 A TW 102136991A TW 102136991 A TW102136991 A TW 102136991A TW 201517011 A TW201517011 A TW 201517011A
Authority
TW
Taiwan
Prior art keywords
electronic device
module
angular velocity
screen
angle
Prior art date
Application number
TW102136991A
Other languages
Chinese (zh)
Inventor
Jun Huang
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102136991A priority Critical patent/TW201517011A/en
Publication of TW201517011A publication Critical patent/TW201517011A/en

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides an electronic device, which includes a display, a processing unit, a horizontal detecting unit, and an angle velocity detecting unit. The horizontal detecting unit is used to detect an angle between the electronic device and a horizontal surface. The angle velocity detecting unit is used to detect an angle velocity of the electronic device with respect to the horizontal surface. The processing unit includes a first detecting module to determine if the electronic device according to the angle provided by the horizontal detecting unit, a second detecting module to obtain the angle velocity of the electronic device when the electronic device is determined to be horizontal, a calculation module to calculate a rotating angle of the electronic according to the angle velocity, and an adjusting module to adjust an image displayed on the display.

Description

電子裝置、畫面調整系統及畫面調整方法Electronic device, screen adjustment system, and screen adjustment method

本發明涉及一種電子裝置以及應用於該電子裝置的畫面調整系統和畫面調整方法。The present invention relates to an electronic device and a screen adjustment system and a screen adjustment method applied to the electronic device.

目前,市場上的各類可擕式電子裝置,如平板電腦、手機、數碼相機等大多都帶有重力感應器,重力感應器能夠感應到載體的重力加速度。通過重力感應器,電子裝置可以偵測到顯示幕旋轉的方向和角度,根據電子裝置的放置狀態使畫面在橫屏顯示與豎屏顯示之間的自動切換,方便用戶觀看畫面。At present, most portable electronic devices on the market, such as tablet computers, mobile phones, digital cameras, etc., all have a gravity sensor, and the gravity sensor can sense the gravity acceleration of the carrier. Through the gravity sensor, the electronic device can detect the direction and angle of the rotation of the display screen, and automatically switch the screen between the horizontal screen display and the vertical screen display according to the placement state of the electronic device, so that the user can view the picture.

但是當電子裝置的顯示幕水準放置,即顯示幕所在平面與重力方向垂直的情況下,如將電子裝置放置在桌面上時,電子裝置將無法通過重力感應器感應到的重力加速度而偵測到顯示幕旋轉的方向和角度。因此在這種情況下,無論用戶怎樣旋轉顯示幕,都無法實現畫面在橫屏顯示與豎屏顯示之間的自動切換,這給用戶帶來不好的體驗。However, when the display screen of the electronic device is placed at a level, that is, when the plane of the display screen is perpendicular to the direction of gravity, if the electronic device is placed on the desktop, the electronic device cannot be detected by the gravity acceleration sensed by the gravity sensor. Shows the direction and angle of rotation of the curtain. Therefore, in this case, no matter how the user rotates the display screen, automatic switching between the horizontal screen display and the vertical screen display cannot be realized, which brings a bad experience to the user.

鑒於以上內容,有必要提供一種電子裝置及應用於該電子裝孩子的畫面調整方法和畫面調整系統,可以在顯示幕水準放置的情況下,根據顯示幕旋轉的方向和角度旋轉畫面,從而實現畫面在橫屏顯示與豎屏顯示之間的自動切換。In view of the above, it is necessary to provide an electronic device and a screen adjustment method and a screen adjustment system applied to the electronic device, and the screen can be rotated according to the direction and angle of the rotation of the display screen when the display level is placed. Automatic switching between horizontal and vertical display.

本發明提供一種電子裝置,包括一顯示幕及一處理單元,該顯示幕用於顯示一畫面,該電子裝置還包括一水準偵測單元及一角速度偵測單元,該水準偵測單元用於測量電子裝置所在平面與水平面的夾角,該角速度偵測單元用於以固定間隔時間段T偵測電子裝置相對在水平面上轉動的角速度,該處理單元包括:第一偵測模組,用於獲取水準偵測單元測量電子裝置所在平面與水平面的夾角;判定模組,用於根據第一偵測模組測量的夾角來判定該電子裝置是否處在水準放置;第二偵測模組,用於在判定該電子裝置處在水準放置時獲取角速度偵測單元測量的電子裝置相對在水平面上轉動的角速度;計算模組,用於根據第二偵測模組測量的角速度計算該電子裝置的旋轉角度;以及畫面調整模組,用於根據計算得到的旋轉角度調整顯示畫面,進而方便使用者觀看該顯示畫面。The present invention provides an electronic device including a display screen and a processing unit for displaying a picture. The electronic device further includes a level detecting unit and an angular velocity detecting unit, wherein the level detecting unit is configured to measure The angle between the plane of the electronic device and the horizontal plane, and the angular velocity detecting unit is configured to detect the angular velocity of the electronic device relative to the horizontal plane at a fixed interval T The processing unit includes: a first detecting module, configured to acquire an angle between a plane where the electronic detecting device is located and a horizontal plane; and a determining module configured to determine the electronic component according to the angle measured by the first detecting module Whether the device is at a level; the second detecting module is configured to obtain an angular velocity of the electronic device measured by the angular velocity detecting unit relative to the horizontal plane when determining that the electronic device is placed at the level a calculation module for measuring angular velocity according to the second detection module Calculating the rotation angle of the electronic device And a picture adjustment module for calculating the rotation angle Adjust the display screen to make it easier for the user to view the display.

本發明還提供一種畫面調整系統,其應用於一電子裝置上,該電子裝置包括一顯示幕、一水準偵測單元、一角速度偵測單元及一處理單元,該顯示幕用於顯示一畫面,該水準偵測單元用於測量電子裝置所在平面與水平面的夾角,該角速度偵測單元用於偵測電子裝置相對在水平面上轉動的角速度,該處理單元用於運行該畫面調整系統,其中,該畫面調整系統包括:第一偵測模組,用於獲取水準偵測單元測量電子裝置所在平面與水平面的夾角;判定模組,用於根據第一偵測模組測量的夾角來判定該電子裝置是否處在水準放置;第二偵測模組,用於在判定該電子裝置處在水準放置時獲取角速度偵測單元測量的電子裝置相對在水平面上轉動的角速度;計算模組,用於根據第二偵測模組測量的角速度計算該電子裝置的旋轉角度;畫面調整模組,用於根據計算得到的旋轉角度調整顯示畫面,進而方便使用者觀看該顯示畫面。The present invention also provides a screen adjustment system for use in an electronic device. The electronic device includes a display screen, a level detecting unit, an angular velocity detecting unit, and a processing unit for displaying a screen. The level detecting unit is configured to measure an angle between a plane where the electronic device is located and a horizontal plane, wherein the angular velocity detecting unit is configured to detect an angular velocity of the electronic device relative to a horizontal plane, and the processing unit is configured to run the screen adjusting system, wherein the The screen adjustment system includes: a first detecting module, configured to acquire an angle between a plane where the electronic detecting device is located and a horizontal plane; and a determining module configured to determine the electronic device according to the angle measured by the first detecting module Whether it is at a level; the second detecting module is configured to obtain an angular velocity of the electronic device measured by the angular velocity detecting unit relative to the horizontal plane when determining that the electronic device is placed at the level a calculation module for measuring angular velocity according to the second detection module Calculating the rotation angle of the electronic device ; picture adjustment module for the calculated rotation angle Adjust the display screen to make it easier for the user to view the display.

本發明還提供一種畫面調整方法,應用於一電子裝置上,該電子裝置一顯示幕、一水準偵測單元及一角速度偵測單元,該水準偵測單元用於測量電子裝置所在平面與水平面的夾角,該角速度偵測單元用於偵測電子裝置相對在水平面上轉動的角速度,該畫面調整方法包括:獲取水準偵測單元測量電子裝置所在平面與水平面的夾角;根據獲取的夾角來判定該電子裝置是否處在水準放置;在判定該電子裝置處在水準放置時控制角速度偵測單元測量電子裝置相對在水平面上轉動的角速度;根據測量的角速度計算該電子裝置相對在水平面上的旋轉角度;根據計算得到的旋轉角度調整顯示幕顯示的畫面。相較於現有技術,所述顯示幕畫面調整方法及系統,可以在顯示幕水準放置的情況下,根據顯示幕旋轉的方向和角度旋轉畫面,從而實現畫面在橫屏顯示與豎屏顯示之間的自動切換。The invention also provides a screen adjustment method, which is applied to an electronic device, the display device, a level detecting unit and an angular velocity detecting unit, wherein the level detecting unit is configured to measure the plane and the horizontal plane of the electronic device. An angle detecting unit is configured to detect an angular velocity of the electronic device relative to a horizontal plane. The image adjusting method comprises: acquiring a level detecting unit to measure an angle between a plane where the electronic device is located and a horizontal plane; determining the electron according to the obtained angle Whether the device is at a level; controlling the angular velocity detecting unit to measure the angular velocity of the electronic device relative to the horizontal plane when determining that the electronic device is at the level; and calculating the rotation angle of the electronic device relative to the horizontal surface according to the measured angular velocity; The calculated rotation angle adjusts the screen displayed on the display screen. Compared with the prior art, the display screen adjustment method and system can rotate the screen according to the direction and angle of the rotation of the display screen when the display level is placed, thereby realizing the screen between the horizontal screen display and the vertical screen display. Automatic switching.

圖1係本發明一較佳實施方式電子裝置和畫面調整系統的功能模組圖。1 is a functional block diagram of an electronic device and a screen adjustment system according to a preferred embodiment of the present invention.

圖2和圖3係圖1所示電子裝置畫面調整時的示意圖。FIG. 2 and FIG. 3 are schematic diagrams showing the screen adjustment of the electronic device shown in FIG. 1.

圖4係本發明畫面調整方法一較佳實施例的流程圖。4 is a flow chart of a preferred embodiment of the screen adjustment method of the present invention.

圖1為本發明一較佳實施方式畫面調整系統20所應用於的一電子裝置10的硬體結構圖。該電子裝置10包括一顯示幕11、一水準偵測單元12、一角速度偵測單元13以及一處理單元14。該顯示幕11用於播放顯示一畫面。該水準偵測單元12用於測量電子裝置10所在平面與水平面的夾角。該角速度偵測單元13用於以固定間隔時間段T持續地偵測電子裝置10相對在水平面上轉動的角速度。該處理單元14用於運行一畫面調整系統20。該電子裝置10可以是,但不限於,平板電腦、PDA、手機、數碼相機等可擕式移動設備。1 is a hardware structural diagram of an electronic device 10 to which a screen adjustment system 20 according to a preferred embodiment of the present invention is applied. The electronic device 10 includes a display screen 11, a level detecting unit 12, an angular velocity detecting unit 13, and a processing unit 14. The display screen 11 is used for playing and displaying a picture. The level detecting unit 12 is configured to measure an angle between a plane where the electronic device 10 is located and a horizontal plane. The angular velocity detecting unit 13 is configured to continuously detect the angular velocity of the electronic device 10 rotating relative to the horizontal plane at a fixed interval period T. The processing unit 14 is operative to run a picture adjustment system 20. The electronic device 10 can be, but is not limited to, a portable mobile device such as a tablet computer, a PDA, a mobile phone, or a digital camera.

該畫面調整系統20包括第一偵測模組21、判定模組22、第二偵測模組23、計算模組24及畫面調整模組25。其中,該畫面調整系統20的各個模組為固化於該處理單元14中的可程式化模組。The screen adjustment system 20 includes a first detection module 21, a determination module 22, a second detection module 23, a calculation module 24, and a screen adjustment module 25. The modules of the screen adjustment system 20 are programmable modules that are solidified in the processing unit 14 .

該第一偵測模組21用於獲取該水準偵測單元12所測量的電子裝置10所在平面與水平面的夾角。The first detecting module 21 is configured to acquire an angle between a plane where the electronic device 10 is measured and the horizontal plane measured by the level detecting unit 12.

該判定模組22用於根據第一偵測模組21獲取的電子裝置10所在平面與水平面的夾角來判定該電子裝置10是否處在水準放置。具體地,當顯示幕11所在平面與水平面的夾角等於或小於一個特定的角度值,例如5度時,即可以判定該電子裝置10處在水準放置。其中,該電子裝置10所在平面指的是該電子裝置10的顯示幕11表面所在的平面,當該電子裝置10的顯示幕11表面與水平面的夾角等於或小於特定的角度值時,則該判定模組22判定該電子裝置10處在水準放置。The determining module 22 is configured to determine whether the electronic device 10 is at a level according to the angle between the plane of the electronic device 10 and the horizontal plane acquired by the first detecting module 21 . Specifically, when the angle between the plane of the display screen 11 and the horizontal plane is equal to or smaller than a specific angle value, for example, 5 degrees, it can be determined that the electronic device 10 is at a level. Wherein, the plane of the electronic device 10 refers to the plane of the surface of the display screen 11 of the electronic device 10, and when the angle between the surface of the display screen 11 of the electronic device 10 and the horizontal plane is equal to or smaller than a specific angle value, the determination is The module 22 determines that the electronic device 10 is at a level.

第二偵測模組23用於在判定該電子裝置10處在水準放置時獲取角速度偵測單元13所測量電子裝置10相對在水平面上轉動的角速度The second detecting module 23 is configured to obtain an angular velocity of the electronic device 10 measured by the angular velocity detecting unit 13 relative to the horizontal plane when determining that the electronic device 10 is at the level of placement. .

該計算模組24用於根據第二偵測模組23獲取的角速度計算該電子裝置10的旋轉角度The calculation module 24 is configured to acquire an angular velocity according to the second detection module 23 Calculating the rotation angle of the electronic device 10 .

在本實施方式當中,該計算模組24根據該第二偵測模組23獲取的角速度首先分別確定該電子裝置10旋轉開始時間點t1和旋轉停止時間t2。具體的,當計算模組24判斷該第二偵測模組23獲取的由小於一預設值變化為大於該預設值時,則可以判定該電子裝置10開始旋轉而記錄旋轉開始時間點t1。反之,當計算模組24判斷該第二偵測模組23獲取的由大於該預設角速度值變化至小於該預設值,則可以判定該電子裝置10停止旋轉而記錄旋轉停止時間點t2。該計算模組24然後根據時間點t1、t2以及該第二偵測模組23在時間段t1至t2內獲取的角速度以及公式來計算該電子裝置10相對在水平面上的旋轉角度In the embodiment, the calculation module 24 obtains an angular velocity according to the second detection module 23 First, the rotation start time point t1 and the rotation stop time t2 of the electronic device 10 are separately determined. Specifically, when the computing module 24 determines that the second detecting module 23 acquires When it is changed from less than a predetermined value to be greater than the preset value, it can be determined that the electronic device 10 starts rotating and the rotation start time point t1 is recorded. On the contrary, when the calculation module 24 determines that the second detection module 23 acquires When it is changed from the preset angular velocity value to less than the preset value, it can be determined that the electronic device 10 stops rotating and the rotation stop time point t2 is recorded. The calculation module 24 then obtains the angular velocity according to the time points t1 and t2 and the second detection module 23 during the time period t1 to t2. And formula To calculate the rotation angle of the electronic device 10 relative to the horizontal plane .

該畫面調整模組25用於根據計算得到的旋轉角度來調整顯示幕顯示的畫面。具體的,當旋轉角度達到一預設角度值(例如45度)時,該畫面調整模組25控制顯示幕11顯示的畫面沿著與電子裝置的旋轉方向相反的方向整體旋轉一相應角度以及調整該顯示畫面中部分內容的尺寸來適應該顯示幕11,具體可參考圖2和圖3。例如,圖2顯示電子裝置10正在顯示一圖片或影像P供用戶流覽。當電子裝置10如圖3中旋轉時,上述計算模組24通過計算得到的旋轉角度達到45度時,該畫面調整模組25控制顯示幕11顯示的畫面沿著與電子裝置的旋轉方向相反的方向整體旋轉90度並調整正在顯示的圖片的尺寸使得該圖片或影像能夠以原有的長寬比再次填充整個顯示幕11,進而使得該電子裝置10能夠在保證圖片或影像不失真的前提下以最大的尺寸在顯示幕11上顯示該圖片。反之,當計算得到的旋轉角度小於45度時,該畫面調整模組25則不執行其功能。The picture adjustment module 25 is configured to calculate a rotation angle according to the calculation To adjust the screen displayed on the display. Specifically, when the rotation angle reaches a preset angle value (for example, 45 degrees), the screen adjustment module 25 controls the screen displayed by the display screen 11 to rotate integrally with a corresponding angle and adjust in a direction opposite to the rotation direction of the electronic device. The size of the content in the display screen is adapted to the display screen 11. For details, refer to FIG. 2 and FIG. For example, FIG. 2 shows that the electronic device 10 is displaying a picture or image P for the user to browse. When the electronic device 10 rotates as shown in FIG. 3, when the calculation module 24 obtains a rotation angle of 45 degrees, the screen adjustment module 25 controls the screen displayed by the display screen 11 to be opposite to the rotation direction of the electronic device. The direction of the whole is rotated by 90 degrees and the size of the picture being displayed is adjusted so that the picture or image can refill the entire display screen 11 with the original aspect ratio, thereby enabling the electronic device 10 to ensure that the picture or image is not distorted. The picture is displayed on the display screen 11 in the largest size. Conversely, when the calculated rotation angle is less than 45 degrees, the picture adjustment module 25 does not perform its function.

圖4為本發明畫面調整方法一較佳實施例的流程圖。該畫面調整方法具體包括以下步驟:4 is a flow chart of a preferred embodiment of a picture adjustment method according to the present invention. The screen adjustment method specifically includes the following steps:

步驟S401:第一偵測模組21獲取水準偵測單元12測量電子裝置10所在平面與水平面的夾角。Step S401: The first detecting module 21 acquires the angle between the plane where the electronic device 10 is located and the horizontal plane.

步驟S402:判定模組22根據第一偵測模組21獲取的電子裝置10所在平面與水平面的夾角來判定該電子裝置10是否水準放置。當顯示幕11所在平面與水平面的夾角等於或小於一個特定的角度值,例如5度時,可以判定該電子裝置10處在水準放置。當判定該電子裝置10處在水準放置,則執行步驟S403;若判定該電子裝置10不處在水準放置時,則結束整個流程。Step S402: The determining module 22 determines whether the electronic device 10 is levelly placed according to the angle between the plane of the electronic device 10 and the horizontal plane acquired by the first detecting module 21. When the angle between the plane of the display screen 11 and the horizontal plane is equal to or smaller than a specific angle value, for example, 5 degrees, it can be determined that the electronic device 10 is at a level. When it is determined that the electronic device 10 is at a level, step S403 is performed; if it is determined that the electronic device 10 is not at a level, the entire flow is ended.

步驟S403:第二偵測模組23獲取角速度偵測單元13測量的電子裝置相對在水平面上轉動的角速度Step S403: The second detecting module 23 acquires the angular velocity of the electronic device measured by the angular velocity detecting unit 13 relative to the horizontal plane. .

步驟S404:計算模組24根據第二偵測模組23獲取的角速度計算該電子裝置10相對在水平面上的旋轉角度。具體地,該計算模組24首先確定該電子裝置10旋轉開始時間點t1和旋轉停止時間t2,然後根據時間點t1、t2以及該第二偵測模組23在時間段t1至t2內持續獲取的角速度以及公式來計算該電子裝置10相對在水平面上的旋轉角度Step S404: The angular velocity obtained by the calculation module 24 according to the second detection module 23 Calculating the rotation angle of the electronic device 10 relative to the horizontal plane . Specifically, the computing module 24 first determines the rotation start time point t1 and the rotation stop time t2 of the electronic device 10, and then continuously acquires the time according to the time points t1 and t2 and the second detection module 23 during the time period t1 to t2. Angular velocity And formula To calculate the rotation angle of the electronic device 10 relative to the horizontal plane .

步驟S405:畫面調整模組25根據計算得到的旋轉角度來調整顯示幕11顯示的畫面。Step S405: the rotation angle of the screen adjustment module 25 according to the calculation To adjust the screen displayed on the display screen 11.

以上實施例僅用以說明本發明的技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和範圍。The above embodiments are only used to illustrate the technical solutions of the present invention, and the present invention is not limited thereto. The present invention will be described in detail with reference to the preferred embodiments, and those skilled in the art should understand that the technical solutions of the present invention may be modified or substituted. Without departing from the spirit and scope of the technical solutions of the present invention.

10‧‧‧電子裝置10‧‧‧Electronic devices

11‧‧‧顯示幕11‧‧‧ display screen

12‧‧‧水準偵測單元12‧‧‧Level detection unit

13‧‧‧角速度偵測單元13‧‧‧Angle speed detection unit

14‧‧‧處理單元14‧‧‧Processing unit

20‧‧‧畫面調整系統20‧‧‧ Picture Adjustment System

21‧‧‧第一偵測模組21‧‧‧First detection module

22‧‧‧判定模組22‧‧‧Determining module

23‧‧‧第二偵測模組23‧‧‧Second detection module

24‧‧‧計算模組24‧‧‧Computation Module

25‧‧‧畫面調整模組25‧‧‧ Picture Adjustment Module

no

10‧‧‧電子裝置 10‧‧‧Electronic devices

11‧‧‧顯示幕 11‧‧‧ display screen

12‧‧‧水準偵測單元 12‧‧‧Level detection unit

13‧‧‧角速度偵測單元 13‧‧‧Angle speed detection unit

14‧‧‧處理單元 14‧‧‧Processing unit

20‧‧‧畫面調整系統 20‧‧‧ Picture Adjustment System

21‧‧‧第一偵測模組 21‧‧‧First detection module

22‧‧‧判定模組 22‧‧‧Determining module

23‧‧‧第二偵測模組 23‧‧‧Second detection module

24‧‧‧計算模組 24‧‧‧Computation Module

25‧‧‧畫面調整模組 25‧‧‧ Picture Adjustment Module

Claims (10)

一種電子裝置,包括一顯示幕及一處理單元,該顯示幕用於顯示一畫面,其改良在於,該電子裝置還包括一水準偵測單元及一角速度偵測單元,該水準偵測單元用於測量電子裝置所在平面與水平面的夾角,該角速度偵測單元用於以固定間隔時間段T偵測電子裝置相對在水平面上轉動的角速度,該處理單元包括:
第一偵測模組,用於獲取水準偵測單元測量電子裝置所在平面與水平面的夾角;
判定模組,用於根據第一偵測模組測量的夾角來判定該電子裝置是否處在水準放置;
第二偵測模組,用於在判定該電子裝置處在水準放置時獲取角速度偵測單元測量的電子裝置相對在水平面上轉動的角速度
計算模組,用於根據第二偵測模組測量的角速度計算該電子裝置的旋轉角度;以及
畫面調整模組,用於根據計算得到的旋轉角度調整顯示畫面,進而方便使用者觀看該顯示畫面。
An electronic device includes a display screen and a processing unit for displaying a picture. The improvement is that the electronic device further includes a level detecting unit and an angular speed detecting unit, wherein the level detecting unit is used for Measuring an angle between a plane where the electronic device is located and a horizontal plane, wherein the angular velocity detecting unit is configured to detect an angular velocity of the electronic device relative to the horizontal plane at a fixed interval T The processing unit includes:
The first detecting module is configured to obtain an angle between a plane where the electronic detecting device is located and a horizontal plane;
a determining module, configured to determine, according to an angle measured by the first detecting module, whether the electronic device is at a level;
a second detecting module, configured to obtain an angular velocity of the electronic device measured by the angular velocity detecting unit relative to the horizontal plane when determining that the electronic device is at a leveling position ;
a calculation module for measuring angular velocity according to the second detection module Calculating the rotation angle of the electronic device And a picture adjustment module for calculating the rotation angle Adjust the display screen to make it easier for the user to view the display.
如申請專利範圍第1項所述之電子裝置,其中:當計算模組計算得到的旋轉角度達到一預設值時,該畫面調整模組控制顯示幕顯示的畫面沿著與電子裝置的旋轉方向相反的方向整體旋轉一相應角度。The electronic device of claim 1, wherein: when the rotation angle calculated by the calculation module reaches a preset value, the screen adjustment module controls the screen displayed by the display screen along the rotation direction of the electronic device. The opposite direction is rotated overall by a corresponding angle. 如申請專利范圍第2項所述之電子裝置,其中:當計算模組計算得到旋轉角度達到預設值時,該畫面調整模組還調整該顯示畫面中部分內容的尺寸來適應該顯示幕。The electronic device of claim 2, wherein: when the calculation module calculates that the rotation angle reaches a preset value, the screen adjustment module further adjusts a size of a part of the content in the display screen to adapt to the display screen. 如申請專利範圍第1項所述之電子裝置,其中:該計算模組首先確定該電子裝置旋轉開始時間點t1和旋轉停止時間t2,然後根據時間點t1、t2以及該第二偵測模組在時間段t1至t2內持續獲取的角速度以及公式來計算該電子裝置相對在水平面上的旋轉角度The electronic device of claim 1, wherein the computing module first determines the electronic device rotation start time point t1 and the rotation stop time t2, and then according to the time points t1, t2 and the second detection module. Angular velocity continuously acquired during time period t1 to t2 And formula To calculate the rotation angle of the electronic device relative to the horizontal plane . 一種畫面調整系統,其應用於一電子裝置上,該電子裝置包括一顯示幕、一水準偵測單元、一角速度偵測單元及一處理單元,該顯示幕用於顯示一畫面,該水準偵測單元用於測量電子裝置所在平面與水平面的夾角,該角速度偵測單元用於偵測電子裝置相對在水平面上轉動的角速度,該處理單元用於運行該畫面調整系統,其改良在於,該畫面調整系統包括:
第一偵測模組,用於獲取水準偵測單元測量電子裝置所在平面與水平面的夾角;
判定模組,用於根據第一偵測模組測量的夾角來判定該電子裝置是否處在水準放置;
第二偵測模組,用於在判定該電子裝置處在水準放置時獲取角速度偵測單元測量的電子裝置相對在水平面上轉動的角速度
計算模組,用於根據第二偵測模組測量的角速度計算該電子裝置的旋轉角度
畫面調整模組,用於根據計算得到的旋轉角度調整顯示畫面,進而方便使用者觀看該顯示畫面。
A screen adjustment system is applied to an electronic device. The electronic device includes a display screen, a level detecting unit, an angular velocity detecting unit and a processing unit. The display screen is used for displaying a picture, and the level detecting is performed. The unit is configured to measure an angle between a plane where the electronic device is located and a horizontal plane, and the angular velocity detecting unit is configured to detect an angular velocity of the electronic device relative to a horizontal plane. The processing unit is configured to run the screen adjustment system, and the improvement is that the screen is adjusted. The system includes:
The first detecting module is configured to obtain an angle between a plane where the electronic detecting device is located and a horizontal plane;
a determining module, configured to determine, according to an angle measured by the first detecting module, whether the electronic device is at a level;
a second detecting module, configured to obtain an angular velocity of the electronic device measured by the angular velocity detecting unit relative to the horizontal plane when determining that the electronic device is at a leveling position ;
a calculation module for measuring angular velocity according to the second detection module Calculating the rotation angle of the electronic device ;
Picture adjustment module for calculating the rotation angle Adjust the display screen to make it easier for the user to view the display.
如申請專利範圍第5項所述之畫面調整系統,其中:當計算模組計算得到的旋轉角度達到一預設值時,該畫面調整模組控制顯示幕顯示的畫面沿著與電子裝置的旋轉方向相反的方向整體旋轉一相應角度。The screen adjustment system of claim 5, wherein: when the rotation angle calculated by the calculation module reaches a preset value, the screen adjustment module controls the screen displayed by the display screen to rotate along with the electronic device. The direction opposite directions is rotated by a corresponding angle as a whole. 如申請專利範圍第6項所述之畫面調整系統,其中:當計算模組計算得到的旋轉角度達到預設值時,該畫面調整模組還調整該顯示畫面中部分內容的尺寸來適應該顯示幕。The screen adjustment system of claim 6, wherein: when the rotation angle calculated by the calculation module reaches a preset value, the screen adjustment module further adjusts a size of a part of the content in the display screen to adapt to the display. screen. 如申請專利範圍第5項所述之畫面調整系統,其中:計算模組首先確定該電子裝置旋轉開始時間點t1和旋轉停止時間t2,然後根據時間點t1、t2以及該第二偵測模組在時間段t1至t2內持續獲取的角速度以及公式來計算該電子裝置相對在水平面上的旋轉角度The picture adjustment system of claim 5, wherein the computing module first determines the electronic device rotation start time point t1 and the rotation stop time t2, and then according to the time points t1, t2 and the second detection module. Angular velocity continuously acquired during time period t1 to t2 And formula To calculate the rotation angle of the electronic device relative to the horizontal plane . 一種畫面調整方法,應用於一電子裝置上,該電子裝置一顯示幕、一水準偵測單元及一角速度偵測單元,該水準偵測單元用於測量電子裝置所在平面與水平面的夾角,該角速度偵測單元用於偵測電子裝置相對在水平面上轉動的角速度,其改良在於,該畫面調整方法包括:
獲取水準偵測單元測量電子裝置所在平面與水平面的夾角;
根據獲取的夾角來判定該電子裝置是否處在水準放置;
在判定該電子裝置處在水準放置時控制角速度偵測單元測量電子裝置相對在水平面上轉動的角速度;
根據測量的角速度計算該電子裝置相對在水平面上的旋轉角度;
根據計算得到的旋轉角度調整顯示幕顯示的畫面。
A screen adjustment method is applied to an electronic device, the display device, a level detecting unit and an angular velocity detecting unit, wherein the level detecting unit is configured to measure an angle between a plane where the electronic device is located and a horizontal plane, and the angular velocity The detecting unit is configured to detect an angular velocity of the electronic device relative to the horizontal plane, and the improvement is that the image adjusting method comprises:
Obtaining a level detecting unit to measure an angle between a plane where the electronic device is located and a horizontal plane;
Determining whether the electronic device is at a level according to the obtained angle;
Controlling the angular velocity detecting unit to measure the angular velocity of the electronic device relative to the horizontal plane when determining that the electronic device is at the level of placement;
Calculating a rotation angle of the electronic device relative to a horizontal plane according to the measured angular velocity;
The screen displayed on the display screen is adjusted according to the calculated rotation angle.
如申請專利範圍第9項所述之畫面調整方法,其中:步驟“根據計算得到的旋轉角度調整顯示幕顯示的畫面”具體為“當旋轉角度達到預設值時,控制顯示幕顯示的畫面旋轉一相應角度”。
The screen adjustment method according to claim 9, wherein: the step of “adjusting the screen displayed by the display screen according to the calculated rotation angle” is specifically “controlling the screen rotation displayed by the display screen when the rotation angle reaches a preset value” A corresponding angle".
TW102136991A 2013-10-14 2013-10-14 Electronic device, image adjusting system and method thereof TW201517011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102136991A TW201517011A (en) 2013-10-14 2013-10-14 Electronic device, image adjusting system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102136991A TW201517011A (en) 2013-10-14 2013-10-14 Electronic device, image adjusting system and method thereof

Publications (1)

Publication Number Publication Date
TW201517011A true TW201517011A (en) 2015-05-01

Family

ID=53720448

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102136991A TW201517011A (en) 2013-10-14 2013-10-14 Electronic device, image adjusting system and method thereof

Country Status (1)

Country Link
TW (1) TW201517011A (en)

Similar Documents

Publication Publication Date Title
KR101685277B1 (en) Method, apparatus, terminal, program, and recording medium for measuring angle
TWI581176B (en) Image adjusting system and method
TWI530154B (en) System and method for automatically adjusting a visual angle of 3d images
US9906783B2 (en) Automated measurement of mobile device application performance
TW201248606A (en) Method and system for rotating the screen display
WO2016134534A1 (en) Method for automatically adjusting camera and electronic device
CN102681654B (en) 3D visual perspective automatic adjustment system and method
TWI428602B (en) Method and module for measuring rotation and portable apparatus comprising the module
US20140375698A1 (en) Method for adjusting display unit and electronic device
WO2013000359A1 (en) Lateral photography angle detection method, vertical photography angle detection method and cell phone
TW201431370A (en) System and method for adjusting image capturing device
WO2017054334A1 (en) Projection method, device, terminal, and computer storage medium
US9729861B2 (en) Method for estimating distance, and system and computer-readable medium for implementing the method
CN105718232A (en) Display method and display device of arbitrary angle plane rotation
CN105208278A (en) Shooting method and terminal
KR20140104220A (en) Method and apparatus for screen transition in electronic device using transparent display
TW201513661A (en) Photography device and adjusting system and adjusting method thereof
TW201531930A (en) System for adjusting user interface and adjustment method thereof
TW201517011A (en) Electronic device, image adjusting system and method thereof
TWI556156B (en) Method of adjusting image display direction and related device thereof
TWI581631B (en) An Assisting Method for Taking Pictures and An Electronic Device
TW201238349A (en) Projecting system and method thereof
WO2015180392A1 (en) Direction measurement method and device and terminal
TWI477737B (en) Electronic apparatus and method with measuring function
KR101633483B1 (en) Apparatus and method for measuring revolution speed