Nothing Special   »   [go: up one dir, main page]

TWI468836B - Method and system for starting a focusing function - Google Patents

Method and system for starting a focusing function Download PDF

Info

Publication number
TWI468836B
TWI468836B TW98144870A TW98144870A TWI468836B TW I468836 B TWI468836 B TW I468836B TW 98144870 A TW98144870 A TW 98144870A TW 98144870 A TW98144870 A TW 98144870A TW I468836 B TWI468836 B TW I468836B
Authority
TW
Taiwan
Prior art keywords
electronic device
electronic
acceleration
dimensional space
angle
Prior art date
Application number
TW98144870A
Other languages
Chinese (zh)
Other versions
TW201122703A (en
Inventor
Sheng Huei Tao
Original Assignee
Fih Hong Kong 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 Fih Hong Kong Ltd filed Critical Fih Hong Kong Ltd
Priority to TW98144870A priority Critical patent/TWI468836B/en
Publication of TW201122703A publication Critical patent/TW201122703A/en
Application granted granted Critical
Publication of TWI468836B publication Critical patent/TWI468836B/en

Links

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Description

對焦功能啟動系統及方法Focus function starting system and method

本發明涉及一種電子設備的對焦功能啟動系統及方法。The invention relates to a focusing function starting system and method for an electronic device.

目前市場上銷售的電子設備大部分都具有照相功能,例如手機。既豐富了電子設備的功能,又方便了用戶。很多電子設備的相機裝置都具有對焦功能,電子設備在移動的時候,通常需要用戶手動調整焦距即進行重新對焦,既浪費時間,又不便於用戶使用電子設備拍攝影像。Most of the electronic devices currently on the market have camera functions, such as mobile phones. It not only enriches the functions of electronic devices, but also facilitates users. Many electronic device camera devices have a focusing function. When the electronic device is moving, the user usually needs to manually adjust the focal length to perform refocusing, which is a waste of time and is not convenient for the user to use the electronic device to shoot images.

鑒於以上內容,有必要提供一種對焦功能啟動系統及方法,利用電子羅盤和加速度感測器監測電子設備的移動情況,並根據所監測到的移動情況對電子設備中的對焦裝置自動調焦。In view of the above, it is necessary to provide a focusing function starting system and method for monitoring the movement of an electronic device by using an electronic compass and an acceleration sensor, and automatically focusing the focusing device in the electronic device according to the monitored movement.

一種對焦功能啟動系統,運行於電子設備的相機裝置中,該相機裝置包括對焦裝置,該電子設備還包括電子羅盤和加速度感測器,該系統包括:記錄模組,用於每隔一定時間記錄電子羅盤測量該電子設備在三維空間中的角度;判斷模組,用於判斷該電子設備在三維空間中的當前角度與上一次記錄的角度的差值是否在一個允許的誤差範圍內,若該差值在允許的誤差範圍內,則判定該電子設備在三維空間內沒有轉動,若該差值不在所述允許的誤差範圍內,則判定該電子設備在三維空間內有轉動;控制模組,用於控制加速度感測器測量電子設備的加速度;所述判斷模組,還用於判斷加速度感測器所測量的該電子設備的加速度是否超過一個預設範圍,若該加速度超過該預設範圍,則判定該電子設備在做平移運動,若該加速度沒有超過該預設範圍,則判定該電子設備沒有做平移運動;及啟動模組,還用於當上述判斷結果為所述電子設備在三維空間內轉動或者在做平移運動時,啟動對焦裝置重新調焦。A focus function activation system running in a camera device of an electronic device, the camera device comprising a focusing device, the electronic device further comprising an electronic compass and an acceleration sensor, the system comprising: a recording module for recording at regular intervals The electronic compass measures the angle of the electronic device in the three-dimensional space; the determining module is configured to determine whether the difference between the current angle of the electronic device in the three-dimensional space and the last recorded angle is within an allowable error range, if If the difference is within the allowable error range, it is determined that the electronic device does not rotate in the three-dimensional space, and if the difference is not within the allowable error range, determining that the electronic device has a rotation in a three-dimensional space; the control module, The acceleration sensor is configured to measure the acceleration of the electronic device; the determining module is further configured to determine whether the acceleration of the electronic device measured by the acceleration sensor exceeds a preset range, if the acceleration exceeds the preset range Determining that the electronic device is performing a translational motion, and if the acceleration does not exceed the preset range, determining the No sub-devices translational motion; and start module further configured to, when the determination result is that the electronic device rotates within the three-dimensional space, or when doing a translational motion, started to refocus focusing device.

一種對焦功能啟動方法,應用於電子設備,該電子設備包括相機裝置,電子羅盤及加速度感測器,該方法包括:每隔一定時間記錄電子羅盤測量電子設備在三維空間中的角度;若該電子設備當前角度與上一次記錄的角度的差值在一個允許的誤差範圍內,則判定該電子設備在三維空間內沒有轉動;若該電子設備當前角度與上一次記錄的角度的差值不在所述允許的誤差範圍內,則判定該電子設備在三維空間內有轉動;控制加速度感測器測量電子設備的加速度;若該加速度超過一個預設範圍,則判定該電子設備在做平移運動;若該加速度沒有超過該預設範圍,則判定該電子設備沒有做平移運動;及當上述判斷結果為所述電子設備在三維空間內轉動或者在做平移運動時,啟動電子設備相機裝置的對焦裝置重新調焦。A focusing function starting method is applied to an electronic device, the electronic device comprising a camera device, an electronic compass and an acceleration sensor, the method comprising: recording the angle of the electronic compass in the three-dimensional space at regular intervals; if the electronic If the difference between the current angle of the device and the last recorded angle is within an allowable error range, it is determined that the electronic device does not rotate in the three-dimensional space; if the difference between the current angle of the electronic device and the last recorded angle is not the Within the allowable error range, determining that the electronic device has a rotation in a three-dimensional space; controlling the acceleration sensor to measure an acceleration of the electronic device; if the acceleration exceeds a predetermined range, determining that the electronic device is performing a translational motion; If the acceleration does not exceed the preset range, it is determined that the electronic device does not perform a translational motion; and when the determination result is that the electronic device rotates in a three-dimensional space or performs a translational motion, the focusing device of the electronic device camera device is activated to re-adjust focal.

相較於習知技術,利用電子羅盤測量電子設備在三維空間內的角度,以及利用加速度感測器測量電子設備平移的加速度,來判斷電子設備是否移動,從而啟動對焦裝置自動調焦。Compared with the prior art, the electronic compass is used to measure the angle of the electronic device in the three-dimensional space, and the acceleration sensor is used to measure the acceleration of the translation of the electronic device to determine whether the electronic device moves, thereby starting the focusing device to automatically adjust the focus.

如圖1所示,係本發明對焦功能啟動系統較佳實施例之硬體架構圖。該對焦功能啟動系統100運行於電子設備1的相機裝置10中。本較佳實施例中,該電子設備1可以為手機,也可以為掌上電腦(Personal Digital Assistant,PDA)等具有相機對焦功能的設備。所述相機裝置10包括對焦裝置102,該對焦裝置102用於調整相機裝置10的焦距。本較佳實施例中,該對焦裝置102為自動對焦裝置。FIG. 1 is a hardware structural diagram of a preferred embodiment of the focus function starting system of the present invention. The focus function activation system 100 operates in the camera device 10 of the electronic device 1. In the preferred embodiment, the electronic device 1 can be a mobile phone or a device having a camera focusing function such as a personal digital assistant (PDA). The camera device 10 includes a focusing device 102 for adjusting the focal length of the camera device 10. In the preferred embodiment, the focusing device 102 is an autofocus device.

所述電子設備1還包括電子羅盤(E-Compass)11和加速度感測器12。利用該電子羅盤11和加速度感測器12可以監測電子設備1是否移動。本實施例中的移動包括包括平移和轉動。具體而言,利用電子羅盤11可以測量電子設備1在三維空間內的角度變化,透過該角度變化大小可判斷該電子設備1在三維空間內是否轉動,利用加速度感測器12可測量電子設備1的加速度,根據該加速度可判斷該電子設備1是否做平移運動。本實施例中的平移運動是指電子設備1在空間內的水平移動和垂直移動。The electronic device 1 further includes an electronic compass (E-Compass) 11 and an acceleration sensor 12. Whether the electronic device 1 is moved can be monitored by the electronic compass 11 and the acceleration sensor 12. Movement in this embodiment includes translation and rotation. Specifically, the angle change of the electronic device 1 in the three-dimensional space can be measured by using the electronic compass 11 , and the size of the angle change can be used to determine whether the electronic device 1 rotates in a three-dimensional space, and the electronic device 1 can be measured by using the acceleration sensor 12 . The acceleration according to the acceleration can determine whether the electronic device 1 performs a translational motion. The translational motion in this embodiment refers to the horizontal movement and the vertical movement of the electronic device 1 in the space.

如圖2所示,係圖1中對焦功能啟動系統100之功能模組圖。該對焦功能啟動系統100包括啟動模組20、記錄模組21、判斷模組22及控制模組23,透過該多個功能模組,對焦功能啟動系統100可以啟動相機裝置10的對焦裝置102對待拍攝物體重新進行對焦。所述模組是具有特定功能的軟體程式段,該軟體存儲於電腦可讀存儲介質或其他存儲設備,可被電腦或其他包含處理器的計算裝置執行。As shown in FIG. 2, it is a functional module diagram of the focus function starting system 100 in FIG. The focus function activation system 100 includes a startup module 20, a recording module 21, a determination module 22, and a control module 23. Through the plurality of function modules, the focus function activation system 100 can activate the focusing device 102 of the camera device 10 to treat Shoot the subject and focus again. The module is a software program segment having a specific function, which is stored in a computer readable storage medium or other storage device and can be executed by a computer or other computing device including a processor.

當電子設備1的相機裝置10啟動時,所述啟動模組20用於啟動電子羅盤11和加速度感測器12以監測電子設備1。When the camera device 10 of the electronic device 1 is activated, the activation module 20 is used to activate the electronic compass 11 and the acceleration sensor 12 to monitor the electronic device 1.

記錄模組21用於每隔一定時間記錄電子羅盤11測量該電子設備1在三維空間中的角度。本較佳實施例中,該電子羅盤11每隔100~500ms記錄一次電子設備1在三維空間中的角度。The recording module 21 is configured to record the electronic compass 11 at regular intervals to measure the angle of the electronic device 1 in three-dimensional space. In the preferred embodiment, the electronic compass 11 records the angle of the electronic device 1 in three dimensions every 100 to 500 ms.

判斷模組22用於判斷該電子設備1當前角度與上一次記錄的角度的差值(以下簡稱為“差值”)是否在一個允許的誤差範圍內。若該差值在所述允許的誤差範圍內,則判定該電子設備1在三維空間內沒有轉動。若該差值不在所述允許的誤差範圍內,則判定該電子設備1在三維空間內有轉動。本較佳實施例中,所述允許的誤差範圍為小於等於10度,即當該差值小於等於10度時,所述判斷模組22的判斷結果為該電子設備1在三維空間內沒有轉動。當該差值大於10度時,所述判斷模組22的判斷結果為該電子設備1在三維空間內有轉動。The determining module 22 is configured to determine whether the difference between the current angle of the electronic device 1 and the angle of the last recording (hereinafter simply referred to as “difference value”) is within an allowable error range. If the difference is within the allowable error range, it is determined that the electronic device 1 does not rotate in the three-dimensional space. If the difference is not within the allowable error range, it is determined that the electronic device 1 has a rotation in a three-dimensional space. In the preferred embodiment, the allowable error range is less than or equal to 10 degrees, that is, when the difference is less than or equal to 10 degrees, the judgment result of the determining module 22 is that the electronic device 1 does not rotate in the three-dimensional space. . When the difference is greater than 10 degrees, the determination result of the determining module 22 is that the electronic device 1 has a rotation in a three-dimensional space.

控制模組23用於控制加速度感測器12測量電子設備1的加速度。The control module 23 is configured to control the acceleration sensor 12 to measure the acceleration of the electronic device 1.

所述判斷模組22還用於判斷加速度感測器12所測量的該電子設備1的加速度是否超過一個預設範圍。若該加速度超過該預設範圍,則判定該電子設備1在做平移運動。若該加速度沒有超過所述預設範圍,則判定該電子設備1沒有做平移運動。本較佳實施例中,該加速度的設定範圍為小於等於0.3N/kg。也就是說,當加速度感測器12測量該電子設備1的加速度大於0.3N/kg時,所述判斷模組22的判斷結果為該電子設備1在做平移運動。當加速度感測器12測量該電子設備1的加速度小於等於0.3N/kg時,所述判斷模組22的判斷結果為該電子設備1沒有做平移運動。The determining module 22 is further configured to determine whether the acceleration of the electronic device 1 measured by the acceleration sensor 12 exceeds a preset range. If the acceleration exceeds the preset range, it is determined that the electronic device 1 is performing a translational motion. If the acceleration does not exceed the preset range, it is determined that the electronic device 1 does not perform a translational motion. In the preferred embodiment, the setting range of the acceleration is 0.3 N/kg or less. That is, when the acceleration sensor 12 measures the acceleration of the electronic device 1 to be greater than 0.3 N/kg, the determination result of the determination module 22 is that the electronic device 1 is performing a translational motion. When the acceleration sensor 12 measures that the acceleration of the electronic device 1 is less than or equal to 0.3 N/kg, the judgment result of the determination module 22 is that the electronic device 1 does not perform a translational motion.

當上述所述判斷模組22的判斷結果為電子設備1在三維空間內轉動或者在做平移運動時,所述啟動模組20還用於啟動對焦裝置102對相機裝置10進行自動調焦。具體而言,一旦電子羅盤11或加速度感測器12監測到電子設備1在移動,啟動模組20就會立即啟動對焦裝置102重新進行調焦。The activation module 20 is further configured to activate the focusing device 102 to automatically focus the camera device 10 when the determination result of the determining module 22 is that the electronic device 1 rotates in a three-dimensional space or performs a translational motion. Specifically, once the electronic compass 11 or the acceleration sensor 12 detects that the electronic device 1 is moving, the activation module 20 immediately activates the focusing device 102 to perform focus adjustment.

如圖3所示,係本發明對焦功能啟動方法較佳實施例之方法流程圖。As shown in FIG. 3, it is a flowchart of a method for a preferred embodiment of the focusing function starting method of the present invention.

步驟S30,當電子設備1的相機裝置10啟動時,啟動模組20啟動電子羅盤11和加速度感測器12。In step S30, when the camera device 10 of the electronic device 1 is activated, the startup module 20 activates the electronic compass 11 and the acceleration sensor 12.

步驟S31,利用電子羅盤11和加速度感測器12監測電子設備1是否移動。本較佳實施例中,該電子設備1的移動包括該電子設備1在三維空間內的轉動和平移。若判斷結果為該電子設備1移動,則進入步驟S32。若判斷結果為該電子設備1沒有移動,重複該步驟S31。In step S31, the electronic compass 11 and the acceleration sensor 12 are used to monitor whether the electronic device 1 is moving. In the preferred embodiment, the movement of the electronic device 1 includes rotation and translation of the electronic device 1 in a three-dimensional space. If the result of the determination is that the electronic device 1 is moving, the process proceeds to step S32. If the result of the determination is that the electronic device 1 has not moved, the step S31 is repeated.

步驟S32,啟動模組20啟動對焦裝置102重新調焦。In step S32, the startup module 20 activates the focusing device 102 to refocus.

如圖4所示,係圖3的步驟S31中利用電子羅盤11監測電子設備1是否轉動的細化流程圖。As shown in FIG. 4, a refinement flowchart for monitoring whether the electronic device 1 is rotated by the electronic compass 11 in step S31 of FIG. 3 is shown.

步驟S40,記錄模組21每隔一定時間記錄電子羅盤11測量該電子設備1在三維空間中的角度。本較佳實施例中,該電子羅盤11每隔100~500ms記錄一次電子設備1在三維空間中的角度。In step S40, the recording module 21 records the electronic compass 11 at regular intervals to measure the angle of the electronic device 1 in the three-dimensional space. In the preferred embodiment, the electronic compass 11 records the angle of the electronic device 1 in three dimensions every 100 to 500 ms.

步驟S41,判斷模組22判斷該電子設備1當前的角度與上一次記錄的角度的差值是否在所述允許的誤差範圍內。若該差值在所述允許的誤差範圍內,進入步驟S42。若該差值不在所述允許的誤差範圍內,則進入步驟S43。本較佳實施例中,該允許的誤差範圍為小於等於10度。In step S41, the determining module 22 determines whether the difference between the current angle of the electronic device 1 and the last recorded angle is within the allowable error range. If the difference is within the allowable error range, the process proceeds to step S42. If the difference is not within the allowable error range, then step S43 is reached. In the preferred embodiment, the allowable error range is less than or equal to 10 degrees.

步驟S42,判斷模組22判定電子設備1在三維空間內沒有轉動,返回步驟S40。In step S42, the determination module 22 determines that the electronic device 1 has not rotated in the three-dimensional space, and returns to step S40.

步驟S43,判斷模組22判定該電子設備1在三維空間內有轉動。In step S43, the determination module 22 determines that the electronic device 1 has rotated in the three-dimensional space.

如圖5所示,係圖3的步驟S31中利用加速度感測器12監測電子設備1是否平移的細化流程圖。As shown in FIG. 5, a refinement flowchart for monitoring whether the electronic device 1 is translated by the acceleration sensor 12 in step S31 of FIG. 3 is shown.

步驟S50,控制模組23控制加速度感測器12測量電子設備1的加速度。In step S50, the control module 23 controls the acceleration sensor 12 to measure the acceleration of the electronic device 1.

步驟S51,判斷模組22判斷加速度感測器12所測量的該電子設備1的加速度是否超過一個預設範圍。本較佳實施例中,該加速度的預設範圍為小於等於0.3N/kg。若該加速度超過該預設範圍,則進入步驟S52。若該加速度沒有超過該預設範圍,則進入步驟S53。In step S51, the determining module 22 determines whether the acceleration of the electronic device 1 measured by the acceleration sensor 12 exceeds a preset range. In the preferred embodiment, the preset range of the acceleration is 0.3 N/kg or less. If the acceleration exceeds the preset range, the process proceeds to step S52. If the acceleration does not exceed the preset range, the process proceeds to step S53.

步驟S52,判斷模組22判定該電子設備1在做平移運動,結束流程。In step S52, the determining module 22 determines that the electronic device 1 is performing a translational motion, and ends the process.

步驟S53,判斷模組22判定該電子設備1沒有做平移運動,並返回步驟S50。In step S53, the determining module 22 determines that the electronic device 1 has not performed the translational motion, and returns to step S50.

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

1‧‧‧電子設備1‧‧‧Electronic equipment

10‧‧‧相機裝置10‧‧‧ camera unit

100‧‧‧對焦功能啟動系統100‧‧‧Focus function start system

102‧‧‧對焦裝置102‧‧‧Focus device

11‧‧‧電子羅盤11‧‧‧Electronic compass

12‧‧‧加速度感測器12‧‧‧Acceleration sensor

20‧‧‧啟動模組20‧‧‧Starting module

21‧‧‧記錄模組21‧‧‧recording module

22‧‧‧判斷模組22‧‧‧Judgement module

23‧‧‧控制模組23‧‧‧Control Module

當電子設備的相機裝置啟動時,啟動電子羅盤和加速When the camera device of the electronic device is activated, start the electronic compass and accelerate

S30‧‧‧度感測器S30‧‧‧ degree sensor

S31‧‧‧利用電子羅盤和加速度感測器監測電子設備是否移動?S31‧‧‧Is the electronic compass and acceleration sensor used to monitor whether the electronic device is moving?

S32‧‧‧啟動對焦裝置重新調焦S32‧‧‧Start focus device to refocus

圖1係本發明對焦功能啟動系統較佳實施例之硬體架構圖。1 is a hardware architecture diagram of a preferred embodiment of a focus function activation system of the present invention.

圖2係圖1中對焦功能啟動系統100之功能模組圖。2 is a functional block diagram of the focus function activation system 100 of FIG.

圖3係本發明對焦功能啟動方法較佳實施例之方法流程圖。3 is a flow chart of a method for a preferred embodiment of the focus function activation method of the present invention.

圖4係圖3的步驟S31中利用電子羅盤監測電子設備是否轉動的細化流程圖。FIG. 4 is a detailed flowchart of monitoring whether the electronic device is rotated by using an electronic compass in step S31 of FIG. 3.

圖5係圖3的步驟S31中利用加速度感測器監測電子設備是否平移的細化流程圖。FIG. 5 is a detailed flowchart of monitoring whether the electronic device is translated by the acceleration sensor in step S31 of FIG. 3.

S30‧‧‧當電子設備的相機裝置啟動時,啟動電子羅盤和加速度感測器 S30‧‧‧ When the camera unit of the electronic device is activated, the electronic compass and the acceleration sensor are activated.

S31‧‧‧利用電子羅盤和加速度感測器監測電子設備是否移動? S31‧‧‧Is the electronic compass and acceleration sensor used to monitor whether the electronic device is moving?

S32‧‧‧啟動對焦裝置重新調焦 S32‧‧‧Start focus device to refocus

Claims (10)

一種對焦功能啟動系統,運行於電子設備的相機裝置中,該相機裝置包括對焦裝置,該電子設備還包括電子羅盤和加速度感測器,該系統包括:
記錄模組,用於每隔一定時間記錄電子羅盤測量該電子設備在三維空間中的角度;
判斷模組,用於判斷該電子設備在三維空間中的當前角度與上一次記錄的角度的差值是否在一個允許的誤差範圍內,若該差值在允許的誤差範圍內,則判定該電子設備在三維空間內沒有轉動,若該差值不在所述允許的誤差範圍內,則判定該電子設備在三維空間內有轉動;
控制模組,用於控制加速度感測器測量電子設備的加速度;
所述判斷模組,還用於判斷加速度感測器所測量的該電子設備的加速度是否超過一個預設範圍,若該加速度超過該預設範圍,則判定該電子設備在做平移運動,若該加速度沒有超過該預設範圍,則判定該電子設備沒有做平移運動;及
啟動模組,還用於當上述判斷結果為所述電子設備在三維空間內轉動或者在做平移運動時,啟動對焦裝置重新調焦。
A focus function activation system running in a camera device of an electronic device, the camera device comprising a focusing device, the electronic device further comprising an electronic compass and an acceleration sensor, the system comprising:
a recording module, configured to record an electronic compass at a certain time to measure an angle of the electronic device in a three-dimensional space;
a determining module, configured to determine whether a difference between a current angle of the electronic device in the three-dimensional space and an angle of the last recording is within an allowable error range, and if the difference is within an allowable error range, determining the electronic The device does not rotate in the three-dimensional space, and if the difference is not within the allowable error range, determining that the electronic device has a rotation in a three-dimensional space;
a control module for controlling acceleration of the acceleration sensor to measure the electronic device;
The determining module is further configured to determine whether the acceleration of the electronic device measured by the acceleration sensor exceeds a preset range, and if the acceleration exceeds the preset range, determining that the electronic device is performing a translational motion, if If the acceleration does not exceed the preset range, it is determined that the electronic device does not perform a translational motion; and the activation module is further configured to start the focusing device when the determination result is that the electronic device rotates in a three-dimensional space or performs a translational motion. Refocus.
如申請專利範圍第1項所述之對焦功能啟動系統,所述電子羅盤每隔100~500ms記錄一次電子設備在三維空間中的角度。For example, in the focus function starting system described in claim 1, the electronic compass records the angle of the electronic device in three-dimensional space every 100 to 500 ms. 如申請專利範圍第1項所述之對焦功能啟動系統,所述允許的誤差範圍為小於等於10度。The focus function starting system according to claim 1, wherein the allowable error range is 10 degrees or less. 如申請專利範圍第1項所述之對焦功能啟動系統,所述啟動模組還用於當電子設備的相機裝置啟動時,啟動電子羅盤和加速度感測器以監測該電子設備。The focus function activation system of claim 1, wherein the activation module is further configured to activate an electronic compass and an acceleration sensor to monitor the electronic device when the camera device of the electronic device is activated. 如申請專利範圍第1項所述之對焦功能啟動系統,所述加速度的預設範圍為小於等於0.3N/kg。The focus function starting system according to claim 1, wherein the preset range of the acceleration is 0.3 N/kg or less. 一種對焦功能啟動方法,應用於電子設備,該電子設備包括相機裝置,電子羅盤及加速度感測器,該方法包括:
每隔一定時間記錄電子羅盤測量電子設備在三維空間中的角度;
若該電子設備當前角度與上一次記錄的角度的差值在一個允許的誤差範圍內,則判定該電子設備在三維空間內沒有轉動;
若該電子設備當前角度與上一次記錄的角度的差值不在所述允許的誤差範圍內,則判定該電子設備在三維空間內有轉動;
控制加速度感測器測量電子設備的加速度;
若該加速度超過一個預設範圍,則判定該電子設備在做平移運動;
若該加速度沒有超過該預設範圍,則判定該電子設備沒有做平移運動;及
當上述判斷結果為所述電子設備在三維空間內轉動或者在做平移運動時,啟動電子設備相機裝置的對焦裝置重新調焦。
A focusing function starting method is applied to an electronic device, the electronic device comprising a camera device, an electronic compass and an acceleration sensor, the method comprising:
Recording the angle of the electronic compass in the three-dimensional space at regular intervals;
If the difference between the current angle of the electronic device and the last recorded angle is within an allowable error range, determining that the electronic device does not rotate in the three-dimensional space;
If the difference between the current angle of the electronic device and the last recorded angle is not within the allowable error range, determining that the electronic device has a rotation in a three-dimensional space;
Controlling the acceleration sensor to measure the acceleration of the electronic device;
If the acceleration exceeds a preset range, determining that the electronic device is performing a translational motion;
If the acceleration does not exceed the preset range, determining that the electronic device does not perform a translational motion; and when the determination result is that the electronic device rotates in a three-dimensional space or performs a translational motion, the focusing device of the electronic device camera device is activated. Refocus.
如申請專利範圍第6項所述之對焦功能啟動方法,所述電子羅盤每隔100~500ms記錄一次電子設備在三維空間中的角度。For example, in the focusing function starting method described in claim 6, the electronic compass records the angle of the electronic device in three-dimensional space every 100 to 500 ms. 如申請專利範圍第6項所述之對焦功能啟動方法,所述允許的誤差範圍為小於等於10度。The focus function starting method according to claim 6, wherein the allowable error range is 10 degrees or less. 如申請專利範圍第6項所述之對焦功能啟動方法,在步驟每隔一定時間記錄電子羅盤測量電子設備在三維空間中的角度之前還包括步驟:當電子設備的相機裝置啟動時,啟動電子羅盤和加速度感測器以監測該電子設備。The method for starting the focus function according to claim 6 of the patent application, before the step of recording the electronic compass measuring the angle of the electronic device in the three-dimensional space at regular intervals, the method further comprises the steps of: when the camera device of the electronic device is activated, starting the electronic compass And an acceleration sensor to monitor the electronic device. 如申請專利範圍第6項所述之對焦功能啟動方法,所述加速度的預設範圍為小於等於0.3N/kg。The focus function starting method according to claim 6, wherein the preset range of the acceleration is 0.3 N/kg or less.
TW98144870A 2009-12-25 2009-12-25 Method and system for starting a focusing function TWI468836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98144870A TWI468836B (en) 2009-12-25 2009-12-25 Method and system for starting a focusing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98144870A TWI468836B (en) 2009-12-25 2009-12-25 Method and system for starting a focusing function

Publications (2)

Publication Number Publication Date
TW201122703A TW201122703A (en) 2011-07-01
TWI468836B true TWI468836B (en) 2015-01-11

Family

ID=45046308

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98144870A TWI468836B (en) 2009-12-25 2009-12-25 Method and system for starting a focusing function

Country Status (1)

Country Link
TW (1) TWI468836B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781622B1 (en) * 1998-06-26 2004-08-24 Ricoh Company, Ltd. Apparatus for correction based upon detecting a camera shaking
TW200617580A (en) * 2004-09-24 2006-06-01 Pentax Corp Anti-shake apparatus
JP2009244584A (en) * 2008-03-31 2009-10-22 Hoya Corp Photographic apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781622B1 (en) * 1998-06-26 2004-08-24 Ricoh Company, Ltd. Apparatus for correction based upon detecting a camera shaking
TW200617580A (en) * 2004-09-24 2006-06-01 Pentax Corp Anti-shake apparatus
JP2009244584A (en) * 2008-03-31 2009-10-22 Hoya Corp Photographic apparatus

Also Published As

Publication number Publication date
TW201122703A (en) 2011-07-01

Similar Documents

Publication Publication Date Title
RU2634323C2 (en) Image shooting method and device
RU2671245C2 (en) Method and apparatus for controlling positioning of camera apparatus, camera apparatus and terminal device
JP5498573B2 (en) Portable electronic device including display and method for controlling the device
EP2950044B1 (en) Method and terminal for measuring angle
CN102104723A (en) Focusing function enabling system and method
CN108881703B (en) Anti-shake control method and device
US9720302B2 (en) Continuous autofocus mechanisms for image capturing devices
WO2018223381A1 (en) Video shake-prevention method and mobile device
TWI581176B (en) Image adjusting system and method
WO2014153950A1 (en) Quick automatic focusing method and image acquisition device
WO2015017931A1 (en) Determining the distance of an object to an electronic device
JP2017522588A (en) Imaging control method, apparatus, and pan head apparatus
JP2013017165A (en) Imaging apparatus
WO2015196917A1 (en) Photographing control methods, photographing control apparatuses, and photographing devices
US10863076B2 (en) Apparatus and method for controlling auto focus function in electronic device
US10565723B2 (en) Systems and methods for drift correction
EP3005678A1 (en) Method for obtaining a picture and multi-camera system
JP4512108B2 (en) System and method for assisting in focus of fixed focus image acquisition apparatus
TWI468836B (en) Method and system for starting a focusing function
WO2023179440A1 (en) Shooting apparatus control method and apparatus, shooting apparatus and electronic device
CN104284093B (en) Panorama shooting method and device
JP2014050039A (en) Image processor, image processing method and computer program
CN113261273B (en) Parameter self-adaption method, handheld cradle head, system and computer readable storage medium
TW201717605A (en) An assisting method for taking pictures and an electronic device
JP2008026801A5 (en)

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees