201111831 六、發明說明: 【發明所屬之技術領域】 _ [0001] 本發明涉及一種在拍照設備中調節水平位置之方法和系 統,尤其涉及一種在拍照設備中調節拍攝照片水平位置 之方法和系統。 [0002] 〇 【先前技術】 在使用數碼相機或者是拍照手機拍攝照片時,通常會因 為拍照設備沒有放置水平而導致拍攝出來之照片和水平 位置間有一個傾斜角度,影響拍攝照片之美觀。習知之 拍攝方法主要透過將拍照設備放置在三角架上來保持拍 照設備在拍攝邊程中之水平位置,或者在拍攝完成後透 過圖片處理軟體對照片進行處理。但三角架由於體積較 大而不易攜帶,而圖片處理軟體需要對照片進行剪裁處 理,容易導致照片失真。 [0003] 【發明内容】 鑒於以上内容’有必要提供一種在拍照設備中調節水平 〇 位置之方法和系統,可直接在拍组設備上對其水平位置 進行調節以保證所拍攝照片之水平。 [0004] 一種在拍照設備中調節水平位置之方法,包括以下步驟 .一重力感測器模組感測其重力變化,並將感測到之重 力變化轉換為相應的電壓訊號;一資料處理模組接收該 重力感測器模組輪出之電壓訊號,並根據電壓訊號計算 出拍照設借中被攝物體偏離水平位置之角度;一輪出模 組接收該資料處理模組計算得到的被攝物體偏離水平位 置之角度’並顯示將拍照設備調節到水平位置所應旋轉 098131826 表單編號A0101 第3頁/共12頁 0982054618-0 201111831 之角度。 [0005] 與習知技術相比,本發明在拍照設備中調節水平位置之 方法和系統可透過重力感測器模組和資料處理模組接收 採集重力資訊後計算出拍照設備中被攝物體偏離水平位 置之角度,並將該被攝物體偏離水平位置之角度顯示在 輸出模組上提示用戶調節拍照設備。 【實施方式】 [0006] 請參閱圖1,為本發明在拍照設備中調節水平位置之系統 的較佳實施方式之框圖。在用戶用拍照設備50選取好被 攝物體進行拍攝之前,可透過拍照設備50中相應的模組 進行角度參數之設定操作,這些模組包括一輸入模組10 、一重力感測器模組20、一資料處理模組30和一輸出模 組40。該輸入模組10中包括複數角度預設值,用戶可透 過在輸入模組10中選取一個角度預設值從而在拍照設備 50中設置角度上限值。該重力感測器模組20垂直放置於 拍照設備50内,可將運動或重力轉換為電壓訊號輸出。 當拍照設備50與水平位置呈一角度時,該重力感測器模 組2 0由於受到重力在傾斜方向上的分量之作用而產生輸 出電壓訊號之變化。 [0007] 假設正常狀態下將拍照設備50放置于水平面上時,該重 力感測器模組2 0感測到拍照設備5 0在水平狀態之輸出電 壓為VI。請同時參閱圖2,當拍照設備50與水平位置呈大 小為a之角度,此時該重力感測器模組20感測到拍照設備 50在偏離水平位置a角度以及受重力加速度作用時之輸出 電壓分別為V2和V。該資料處理模組30接收重力感測器模 098131826 表單編號A0101 第4頁/共12頁 0982054618-0 201111831 〇 [0008] 組20之輸出電壓VI,V2和V,並根據輸出電壓VI,V2和V 計算出拍照設備50中被攝物體偏離水平位置之角度。根 據重力關係可知:V2=Vl+Vsina,則反之即可得出 a=arcsin[(V2-Vl)/v]。該輸出模組40接收資料處理模 組30計算得到的被攝物體偏離水平位置之角度 a=arcsin[(V2-Vi)/v;],當被攝物體偏離水平位置之角 度a = arcsin[(V2-Vi)/V]超過該角度上限值時,該輸出 模組40提示用戶調節拍照設備5〇以及調節到水平位置所 應旋轉之角度》 請參閲圖3 ’其為本發明在拍照設備中調節水平位置之方 法的权佳實施方式之流程圖;。該拍照設備50中之模組按 照以下流程執行: [0009] S1 .透過該輪人模組10在拍照設備50巾設置-角度上限 值; [0010] S2 .該重力感測器棋組20感測其童力^化,並將感測到 〇 [0011] 重變轉換為相應的電壓訊號; S3 ·該資料處理模組3〇接收重力i*測器模組20輪出之電 壓訊號,並根據麵訊號計算出減設備50中被择物體 偏離水平位置之角度; [0012] S4 .該輸出模組40純資料處理模組㈣計算得到的被攝 物體偏離水平位置之角度,當被攝物體偏離水平位置之 角度超過該角度上限值時,該輸出模組4G提示用戶調節 拍照設備5(Ux及顯示將拍照設賴調節到水平位置所應 旋轉之角度。 ‘ 098131826 表單編號A0101 第5頁/共12頁 0982054618-0 201111831 剛在本發明另-較佳實施方式中,該輸出模㈣在接收到 貧料處理模組30計算得到的被攝物體偏離水平位置之角 度a=arcsin[(V2-Vl)/V],也可不用比較被攝物體偏離 水平位置之角度和角度上限值,直接提示用戶調節拍照 設備50以及顯示將拍照設備5〇調節到水平位置所應旋轉 之角度。 [0014] 本發明在拍照設備中調節水平位置之方法可透過該重力 ' 感測器模組2 〇和資料處理模組3 0接收採集重力資訊後計 算出拍照設備50中被攝物體偏離水平位置之角度,並將 該被攝物體偏離水年也置之角度顯示在輪出模組4〇上提 示用戶調節拍照設備50。 & — [0015] 综上所述,本發明確已符合發明專利要求,爰依法提出 專利申請。惟,以上所述者僅為本發明之較佳實施方式 ’舉凡熟悉本發明技藝之人士,爰依本發明之精神所作 之等效修飾或變化,皆應涵蓋於以下之申請專利範圍内 〇 【圖式簡單說明】 [0016] 圖1係本發明在拍照設備中調節水平位置之系統的較佳實 施方式之框圖。 [0017] 圖2係圖1之一重力感測器模紐_感測輸出電壓之示意圖。 [0018] 圖3係本發明在拍照設備中調節水平位置之方法的較佳實 施方式之流程圖。 【主要元件符號說明】 [0019] 輸入模組:10 098131826 表單編號A0101 第6頁/共12頁 0982054618-0 201111831 :20 30 [0020] 重力感測器模組 [0021] 資料處理模組: , [0022] 輸出模組:40 [0023] 拍照設備:50 〇201111831 VI. Description of the Invention: [Technical Field] The present invention relates to a method and system for adjusting a horizontal position in a photographing apparatus, and more particularly to a method and system for adjusting a horizontal position of a photographed photograph in a photographing apparatus. [0002] 〇 [Prior Art] When taking pictures with a digital camera or a camera phone, there is usually a tilt angle between the photographed photo and the horizontal position due to the fact that the photo device is not placed horizontally, which affects the beauty of the photograph. Conventional shooting methods mainly maintain the horizontal position of the photographing device in the shooting side by placing the photographing device on a tripod, or process the photograph through the image processing software after the photographing is completed. However, the tripod is not easy to carry due to its large size, and the image processing software needs to cut the photo, which is likely to cause distortion of the photo. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a method and system for adjusting a horizontal 位置 position in a photographing apparatus, and the horizontal position thereof can be directly adjusted on the racquet apparatus to ensure the level of the photograph taken. [0004] A method for adjusting a horizontal position in a photographing apparatus includes the following steps: a gravity sensor module senses a change in gravity, and converts the sensed gravity change into a corresponding voltage signal; a data processing mode The group receives the voltage signal that the gravity sensor module rotates, and calculates the angle of the object in the photographing object from the horizontal position according to the voltage signal; and the round-out module receives the object calculated by the data processing module. Deviation from the horizontal position 'and indicates that the camera unit should be rotated to the horizontal position should be rotated 098131826 Form No. A0101 Page 3 / Total 12 Page 0982054618-0 201111831 Angle. [0005] Compared with the prior art, the method and system for adjusting the horizontal position in the photographing device can calculate the deviation of the object in the photographing device after receiving the gravity information through the gravity sensor module and the data processing module. The angle of the horizontal position, and the angle of the subject from the horizontal position is displayed on the output module to prompt the user to adjust the photographing device. [Embodiment] [0006] Please refer to Fig. 1, which is a block diagram of a preferred embodiment of a system for adjusting a horizontal position in a photographing apparatus of the present invention. Before the user selects the object to be photographed by the photographing device 50, the setting operation of the angle parameter can be performed through the corresponding module in the photographing device 50. The modules include an input module 10 and a gravity sensor module 20 A data processing module 30 and an output module 40. The input module 10 includes a plurality of angle preset values, and the user can set an angle upper limit value in the photographing device 50 by selecting an angle preset value in the input module 10. The gravity sensor module 20 is vertically placed in the photographing device 50 to convert motion or gravity into a voltage signal output. When the photographing apparatus 50 is at an angle to the horizontal position, the gravity sensor module 20 generates a change in the output voltage signal due to the influence of the component of the gravity in the oblique direction. [0007] Assuming that the photographing device 50 is placed on a horizontal surface in a normal state, the gravity sensor module 20 senses that the output voltage of the photographing device 50 in the horizontal state is VI. Referring to FIG. 2 at the same time, when the photographing device 50 and the horizontal position are at an angle of a, the gravity sensor module 20 senses the output of the photographing device 50 when it is deviated from the horizontal position a and is subjected to the acceleration of gravity. The voltages are V2 and V, respectively. The data processing module 30 receives the gravity sensor module 098131826 Form No. A0101 Page 4 / Total 12 pages 0982054618-0 201111831 〇 [0008] Group 20 output voltages VI, V2 and V, and according to the output voltage VI, V2 and V calculates the angle at which the subject in the photographing device 50 deviates from the horizontal position. According to the relationship of gravity, V2=Vl+Vsina, then vice versa can be obtained a=arcsin[(V2-Vl)/v]. The output module 40 receives the angle at which the object calculated by the data processing module 30 deviates from the horizontal position a=arcsin[(V2-Vi)/v;], when the subject deviates from the horizontal position by an angle a = arcsin[( When V2-Vi)/V] exceeds the upper limit of the angle, the output module 40 prompts the user to adjust the angle of rotation of the photographing device 5〇 and the adjustment to the horizontal position. Please refer to FIG. 3 A flow chart of a preferred embodiment of a method of adjusting a horizontal position in a device; The module in the photographing device 50 is executed according to the following process: [0009] S1. The photographing device 50 is set to the upper limit value of the angle through the wheel module 10; [0010] S2. The gravity sensor chess set 20 Sensing the child's power, and sensing the 〇[0011] to be converted into a corresponding voltage signal; S3. The data processing module 3 〇 receives the voltage signal of the gravity i* detector module 20, And calculating, according to the surface signal, the angle of the selected object in the subtracting device 50 from the horizontal position; [0012] S4. The output module 40 pure data processing module (4) calculates the angle of the object from the horizontal position, when taken When the angle of the object deviates from the horizontal position exceeds the upper limit of the angle, the output module 4G prompts the user to adjust the photographing device 5 (Ux and display the angle at which the photographing device is adjusted to the horizontal position should be rotated. ' 098131826 Form No. A0101 No. 5 Page / Total 12 pages 0982054618-0 201111831 In another preferred embodiment of the present invention, the output mode (4) is at an angle of aft from the horizontal position of the object calculated by the poor processing module 30 a=arcsin[( V2-Vl)/V], no need to compare The angle of the subject deviating from the horizontal position and the upper limit of the angle directly prompt the user to adjust the photographing device 50 and display the angle at which the photographing device 5〇 should be rotated to the horizontal position. [0014] The present invention adjusts the horizontal position in the photographing device The method can calculate the angle of the object in the photographing device 50 from the horizontal position by receiving the gravity information through the gravity sensor module 2 and the data processing module 30, and deviate the object from the water year. The angle is also displayed on the wheel module 4 to prompt the user to adjust the camera device 50. & - [0015] In summary, the present invention has indeed met the requirements of the invention patent, and has filed a patent application according to law. The present invention is only intended to be a preferred embodiment of the present invention. Those skilled in the art of the present invention, equivalent modifications or variations in the spirit of the present invention are intended to be included in the following claims. 1 is a block diagram of a preferred embodiment of a system for adjusting a horizontal position in a photographing apparatus of the present invention. [0017] FIG. 2 is a gravity sensor module of FIG. Figure 3 is a flow chart of a preferred embodiment of the method for adjusting the horizontal position in the photographing apparatus of the present invention. [Main Component Symbol Description] [0019] Input Module: 10 098131826 Form No. A0101 Page 6 / Total 12 pages 0982054618-0 201111831 :20 30 [0020] Gravity sensor module [0021] Data processing module: , [0022] Output module: 40 [0023] Photographing equipment: 50 〇
〇 098131826 表單編號A0101 第7頁/共12頁 0982054618-0〇 098131826 Form No. A0101 Page 7 of 12 0982054618-0