201028784 六、發明說明: • 【發明所屬之技術領域】 „ 本發明涉及一種對焦控制系統及方法。 【先前技術】 先前之許多影像裝置(如相機、攝像機等)在拍攝影 像之同時還會§己錄拍攝現場之聲音’而大多數之影像裝置 都係藉由對所拍攝影像之分析來控制鏡頭進行對焦。例 β 如:對所拍攝影像中人臉所在區域進行對焦以拍攝人臉之 最佳表情。 係惟,在實際使用之過程中,許多使用者會對拍攝環 境中突然發出之聲響感興趣從而希望影像裝置能夠將聲源 處之影像記錄下來。然而,藉由影像分析來實現對焦控制 之方法無法滿足使用者希望對聲音進行追蹤對焦之要求"。 _ 【發明内容】 有鑒於此,有必要提供一種能根據聲音進行對焦控制 之尉焦控制系統及方法。 種對焦控制系統,其包括拍攝裝置及與拍攝裝置電 =接之對焦控制器,所述對焦控制器包括聲音檢測模紕, 設定模組’選擇模組及對焦控制模組。 該聲音檢測模組用於對所接收到之聲音信號進行檢 測:以判斷聲音信號之個數並確定每一個聲音信號所^ 之聲源相對於拍攝裝置之位置參數及其對應之聲音強度。 該設定模組用於設定歸選所述聲源之選擇條件及運用 4 201028784 所述選擇條件之優先順序別。 細機條㈣選 據需要被對焦聲源之位置參數控制 一種對焦控制方法,其包括如下步驟. 順序=轉聲源之選祕件及抑所㈣祕件之優先201028784 VI. Description of the invention: • [Technical field to which the invention pertains] „ The present invention relates to a focus control system and method. [Prior Art] Many previous imaging devices (such as cameras, cameras, etc.) also capture images while Recording the sound of the scene', and most of the imaging devices control the lens to focus by analyzing the captured image. Example β: For focusing on the area of the face in the captured image to shoot the face best However, in the course of actual use, many users are interested in the sudden sound of the shooting environment and hope that the image device can record the image at the sound source. However, the focus control is realized by image analysis. The method cannot satisfy the user's desire to track and focus the sound " _ [Invention] In view of the above, it is necessary to provide a focus control system and method capable of focusing control according to sound. Including a photographing device and a focus controller connected to the photographing device, the focus control The device includes a sound detection module, a setting module 'selection module and a focus control module. The sound detection module is configured to detect the received sound signal: to determine the number of sound signals and determine each sound signal The positional parameter of the sound source relative to the camera and its corresponding sound intensity. The setting module is used to set the selection conditions for selecting the sound source and the priority order of the selection condition described in 4 201028784. The strip (4) selection needs to be controlled by the position parameter of the focus sound source to control a focus control method, which includes the following steps. Sequence = selection of the sound source selection and suppression (4) priority of the secret
檢測所接收到之聲音信號以確定每個聲源相對於拍攝 裝置之位置參數及每個聲源之聲音強度; 判斷所檢測到之聲音信號之個數; 如果所述檢測之聲音信號為兩個以上,則根據所設定 之選擇條件筛選出需要被對焦之聲源; 根據需要被對焦之聲源之位置參數來對所述聲源進行 對焦。 相對于先前技術,本發明所提供之對焦控制系統和方 法藉由設定關於聲音信號之強度及相對於拍攝裝置之位置 參數之選擇條件啸制拍攝裝置對符合選擇條件之聲源進 行對角,從而實現根據拍攝環境中突然發出聲響之聲源進 行自動對焦控制之功能。 【實施方式】 如圖1所示,本發明所提供之對焦控制系統2包括一 拍攝裝置4及設置在所述拍攝裴置4上且與'其電連接之對 5 201028784 焦控制器6。 ❹ 所述拍攝裝置4包括對焦機構40、對焦鏡片42、影像 感測器44及轉動機構%。所述對焦機構4〇用於驅動所述 對焦鏡;ί 42沿拍攝光轴移動輯拍攝對象進行對焦。所述 轉動機構46用於調整所述對焦鏡片42之朝向,使得所述 對焦鏡片42對準被對焦之物體。所述所述影像感測器44 7於將外界之光線轉化為與光線強度相對應之數位信號, 可以係電㈣合器件圖像感測器(CCD,Ch. c〇upled evice)或互補金屬氧化物半導體圖像感測器 (CMOS, C〇mplementary 〇x.de 述對所接收之聲音信號控制所 像進行對焦。所述斟隹、、兄片對特定之聲源位置之影 β “ I、、控制器6包括聲音檢測模組60、設 模^2、選擇模組64及對焦控制模組66。 ❹ 厅迷聲音檢測模組6〇 /則,以確K卓曰進订檢 聲音強度。 ;拍攝裝置4之位置參數及其對應之 如2戶斤τ 由建立-球坐炉、系=述聲源相對於拍攝裝置4之位置可藉 置為原點標定。以所述拍攝裳置4所處之位 方向建i球攝光轴指向被攝物之方向為X軸之正 位置可由聲源與。所述聲源相對於拍攝装置4之 轴之間之偏轉角度之距離p、聲源與所述拍攝光 投影與γ軸之間之。聲;;與原確㈣連線在地平面内之 角供唯-確疋。所述聲源之位置參數: 6 201028784 聲源與拍攝裝置4之距離p、聲源與所述拍攝光轴之間之 偏轉角度Θ及聲源與原點〇連線在γ〇ζ平面内之投影與γ 轴之間之夹角Ρ可採用陳列訊號處理技術(Α啊Signal Pmc⑽,ASP )對*同聲雜達檢測點之時間差進行計算之 方法獲得,而所述聲源之強度可測量對應聲源所發出之聲 曰振巾田獲彳于。以上確定聲源位置參數以及聲音強度之方法 均為熟知之先前技術,此處不再贅述。 藝所述聲音檢測模組6〇對所接收之聲音信號進行檢測, 如果所述洚曰檢測模组60僅檢測到一個聲源之相關資訊, 則直接將所述聲源之位置參數傳輸至所述對寒 、控制模組 66。如果所述聲音檢測模乡請檢測到兩個以上聲源之相關 資訊,則將對應聲源之位置參數和聲音強度傳輸至選擇模 組64。 所述設,模組62用於設定魄所述聲源之#擇條件。 當所述聲音檢測模組6Q檢測到多個處於不同位置之聲 ⑩ _,所述拍攝裝置4無法對所述聲源同時進行對焦,從 而拍攝裝置4無法確定對哪—個聲源進行對焦。因此,需 要根據聲源之相關資訊,如聲源之聲音強度'、、聲源相對拍 攝裝ί 置參數對職聲馳行_選賴免檢測到多 個聲源時:ΐ所述拍攝裝置4之對焦邏輯現亂。 所述組62所設定之選擇條件分別關於聲音信號 之強度、為與拍攝裝置之距離Ρ以及聲源與_光轴之 間之偏轉角度Θ。 其中聲日㈣強度之選擇條件可為:選择對最大聲 7 201028784 音強度之聲音传祕、4 之聲音 之聲 信號進行對焦、選擇=焦、選擇對最小聲音強度之 ,音信號進行對焦。強度等於一預設聲音強度值 聲源與拍攝裝置 距離拍攝裝置4最,距離P之選擇條件可為:選擇對 置4最近之聲源進原進打對焦、選擇對距離拍攝農 1 丁對焦、選擇與拍攝裝 -預設之距離值P。聲 職置4之距離等於 ❹ 聲源與拍攝光::對焦。 選 擇對與拍攝光轴之 ^偏轉角度Θ之選擇條件可為: 選 之光 擇對與拍攝光轴之;之偏轉較,光源進行對焦、 擇與拍攝光袖之間之偏轉角度進行對焦、 源進行對焦。 又等;預叹之角度值<9£ 序定::定還:先:所述選擇條件之優先順 ❹ j拍攝裝置4之距離ρ及聲源與拍攝光軸之間之偏轉角 f時#所述選擇模組64則會先 條件對聲源,行篩選。如果根據聲音強度進行筛選後存在 無法唯-確定之聲源,則根據關於聲源與拍攝裝置4之距 離户之選擇條件對所述聲源進行第二次筛選。如果第二次 篩選後仍存在無法唯-確定之聲源,則根據闕於聲源與拍 攝光軸之間之偏轉角度Θ之選擇條件野聲源進行第三 選。 所述選擇模組64㈣設賴、组62賴定之選擇條件 及所述選擇條件之優先順序㈣選以要被對焦之聲源。 8 201028784 如果所述選擇模組Μ對所述聲源進行筛選後可以唯— •確定需要被對焦之聲源則將與所述需要被對焦之聲源相關 之位置參數傳輸至對焦控制模組66。 如果所述選擇模組64根據關於聲音信號之強度、聲源 與^攝裝置距離p以及聲源與拍攝光軸之間之偏轉角度Θ 之k擇條件進行㈣後仍無法紐唯 聲源,則說明所述聲源位於以原點〇為圓心,距⑽$ ❹=球體與以原心〇為頂點’ 0為半頂角之圓錐體相交之 。、上。因為所述聲源與拍攝裝置4之距離p相同,所以 可以根據所述距離/7織好難鏡片42之對纽置再令拍 ,裝置4以偏轉角度0繞χ轴旋轉—周便可把所述聲源所 位置之影像狀況拍攝下來。因此,所述選擇模組64將所 述聲源與拍攝裝置4之距離ρ及所述聲源與拍攝光轴之偏 轉角度0傳輸至對焦控制模組66。 所述對焦控制模組66根據所接收到位置參數控制所述 ❿拍攝襞置4對所述需要被對焦之聲源進行對焦。 如圖3所示,本發明提供之對焦控制方法包括 驟。 7 步驟S801,提供一對焦控制系統2,其包括一拍攝裝 置4及與所述拍攝裝置4相連接之對焦控制器6。 所述拍攝裝置4包括對焦機構40、對焦鏡片42及影像 ,測器44。所述對焦控制器6包括聲音檢測模組6〇、設定 模組62、選擇模組64及對焦控制模組66。 步驟S802’藉由所述設定模組62設定篩選聲源之選擇 9 201028784 條件及運用所述選擇條件之優先順序別。 所述設定模魬62戶 脚別 之強度、聲源與拍—^疋之選擇條件分別關於聲音信號 之偏轉角度Θ。 距離ρ以及聲源與拍攝光軸之間 其令,聲音信 音強度之聲音信t;私擇条件可為.選擇對最大聲 信號進行對焦、選擇聲/、、選擇對最小聲音強度之聲音 音信號進行對焦。 強度4於帛聲音強度值之聲 聲源與拍攝裳置 距離拍攝裝置4最遠聲擇條件可為:選擇對 置4最近之輯進行對^細聽、選擇對距離拍攝裳 一預設之距離值P。聲源進行對焦。 之距離等於 聲源與拍攝光軸之間之 擇對與拍攝光軸之間之偏:之、擇條件可為:選 鲁 擇對與拍攝光軸之間 ^之光源進行對焦、選 , α 偏轉角度較小之光源進行對隹、撰 之間之偏轉—度值;:之: 設定=擇==序別則根據實際運用之要求而 選擇條件之二=;:!響:::關於聲音強度之 之聲響時可將關於聲源與:攝最;置距離最近 優先順序別設為最高。 離P之選擇條件之 產生所述聲音檢測模組60接收拍攝環境周圍所 聲曰k號’並檢測所接收之聲音信號之強度和聲源 201028784 相對於拍攝裝置4之位置參數。 , ~述聲源相對於拍攝«置4之位置參數包括聲源與拍 攝f置4之距離P、聲源與所述拍攝光轴之間之偏轉角度Θ 及聲源在YOZ平面内之投影與γ軸之間之夾角p。 步驟S804’所述聲音檢測模組6〇判斷所接收之聲音信 號之個數。 步驟S805,如果所述聲音檢測模組6〇僅接收到一個聲 ❹源之相關息’則所述聲音檢測模組6〇將所述聲源相對於 拍攝裝置4之位置參數直接傳輸至所述對焦控制模組的。 所述對焦控制模組66根據所接收到之位置參數控制所述拍 攝裝置4對該聲源進行對焦。 步驟S806,如果所述聲音檢測模细6〇檢測到兩個以上 聲源之相關資訊’則將對應聲源之位置參數和聲音強度值 傳輸至選擇模組64。 又 所述選擇觀Μ域設賴組a所蚊之選擇條件 ⑩及所述選擇條件之優先順序別篩選出需要被對焦之聲源。 步驟S807’如果經過步驟S8〇5之篩選後能夠唯—確定 需要被對焦之聲源’則所述選擇模組64將需要被對焦之聲 源所對應之位置參數傳輸至所述對焦控制模組% ^述對 焦控制模組66根據需要被對焦之聲源之位置參數對所 源進行對焦。 步驟S_,如果經過步驟屬之篩選後仍無法筛選出 唯-需要被對焦之聲源,則所述選擇模組64將對應聲源之 位置參數傳輸至對焦控制模組66。所述對焦控制模組的根 11 201028784 據所述聲源與簡裝置4之距鮮調整 距,並控㈣攝裝置4明述聲源與科攝攝=置4之焦 轉角度巧原光轴旋轉—周以拍攝所述聲源。之間之偏 與先前技術相比,本發㈣提供之對 法藉由設定關於聲音信號之強度及相對於統和方 參數之選擇條件以㈣拍攝裝置對符合 =置之位置 e 行對角,從而實現根據拍攝環境中錢發出聲^ =進 行自動對焦控制之功能。 胃之卓源進 最後應說明之係,以上實施方式僅用以說明本發明之 技術方案而非限制,儘管參照較佳實施例對本發明進行了 詳細說明,本領域之普通技術人員應當理解,可以對本發 明之技術方案進行修改或等同替換,而不脫離本發明技術 方案之精神和範圍。 【圖式簡單說明】 φ 圖1係本發明提供之對焦控制系統之硬體架構圖。 圖2係圖1中之對焦控制系統對聲源進行定位之球座 標ΧΥΖ之示意圖。 圖3係本發明提供之對焦控制方法之流程圖。 【主要元件符號說明】 對焦控制系統 2 拍攝裝置 4 對焦機構 40 對焦鏡片 42 12 201028784 影像感測器 44 轉動機構 46 對焦控制器 6 聲音檢測模組 60 設定模組 62 選擇模組 64 對焦控制模組 66 13Detecting the received sound signal to determine a positional parameter of each sound source relative to the camera and a sound intensity of each sound source; determining the number of detected sound signals; if the detected sound signal is two In the above, the sound source that needs to be focused is selected according to the set selection condition; the sound source is focused according to the position parameter of the sound source that needs to be focused. In contrast to the prior art, the focus control system and method provided by the present invention diagonally oscillates a sound source that meets a selection condition by setting a condition regarding the intensity of the sound signal and the positional parameter with respect to the photographing device, thereby A function that performs autofocus control based on a sound source that suddenly makes a sound in the shooting environment. [Embodiment] As shown in Fig. 1, a focus control system 2 according to the present invention includes a photographing device 4 and a pair of 2010 28784 focus controllers 6 disposed on the photographing device 4 and electrically connected thereto. The photographing device 4 includes a focus mechanism 40, a focus lens 42, an image sensor 44, and a rotating mechanism %. The focusing mechanism 4 is used to drive the focusing mirror; 42 42 moves the subject along the shooting optical axis to focus. The rotating mechanism 46 is used to adjust the orientation of the focus lens 42 such that the focus lens 42 is aligned with the object being focused. The image sensor 44 7 converts the external light into a digital signal corresponding to the light intensity, and can be a (four) device image sensor (CCD, Ch. c〇upled evice) or a complementary metal. An oxide semiconductor image sensor (CMOS, C〇mplementary 〇x.de) focuses on the image of the received sound signal control. The image of the 声, 兄,,,,,,,,,,,,,,,,,,, The controller 6 includes a sound detecting module 60, a setting module 2, a selecting module 64, and a focus control module 66. ❹ The hall sound detecting module 6〇/则, to confirm the sound intensity of the K-joining The positional parameters of the photographing device 4 and their corresponding positions such as 2 households τ are established by the ball-holding furnace, and the position of the sound source relative to the photographing device 4 can be borrowed as the origin calibration. 4 The position of the position of the i-ball is directed to the direction of the object. The positive position of the X-axis can be the sound source and the distance between the sound source and the axis of the camera 4. The source and the projection of the light between the gamma axis and the gamma axis; and the original (four) connection in the corner of the ground plane for the only - 疋 疋. The position parameters of the sound source: 6 201028784 The distance between the sound source and the camera 4, the angle of deflection between the sound source and the shooting optical axis, and the connection between the sound source and the origin 在The angle between the projection in the plane and the γ-axis can be obtained by the method of calculating the time difference of the *sound detection point by the display signal processing technique (Signal Pmc(10), ASP), and the sound source is obtained. The intensity can be measured by the corresponding sound source, and the sound source is obtained. The above methods for determining the sound source position parameter and the sound intensity are all well-known prior art, and will not be described here. 〇 detecting the received sound signal, if the 洚曰 detection module 60 detects only the relevant information of one sound source, directly transmitting the position parameter of the sound source to the pair of cold, control module 66 If the sound detection module detects the related information of two or more sound sources, the position parameter and the sound intensity of the corresponding sound source are transmitted to the selection module 64. The module 62 is used to set the location. Describe the condition of the sound source. The sound detecting module 6Q detects a plurality of sounds 10_ at different positions, and the photographing device 4 cannot simultaneously focus the sound source, so that the photographing device 4 cannot determine which sound source to focus on. According to the information related to the sound source, such as the sound intensity of the sound source, and the sound source relative to the shooting device, the parameters are used to match the sounds. 选Select to detect multiple sound sources: 对焦The focus of the shooting device 4 The selection conditions set by the group 62 are respectively about the intensity of the sound signal, the distance from the camera, and the deflection angle 声 between the sound source and the optical axis. The selection condition of the sound day (four) intensity may be For: Select the sound of the maximum sound 7 201028784 sound intensity, the sound signal of 4 sounds, select = focus, select the minimum sound intensity, focus the sound signal. The intensity is equal to a preset sound intensity value. The sound source and the photographing device are the closest to the photographing device 4. The selection condition of the distance P may be: selecting the closest sound source of the opposite 4 to enter the original focus, and selecting the focus for the distance shooting, Select the distance to the shooting device - preset distance P. The distance between the sound position 4 is equal to ❹ Sound source and shooting light:: Focus. The selection condition for selecting the deflection angle 对 of the shooting optical axis can be: selecting the optical selection pair and the shooting optical axis; the deflection of the light source is focused, and the deflection angle between the selection and the shooting sleeve is used to focus, the source Focus. Waiting again; the angle value of the pre-sighing <9£ Pre-order::Setting: First: The priority of the selection condition is the same as the distance ρ of the photographing device 4 and the deflection angle f between the sound source and the photographing optical axis # The selection module 64 will filter the sound source and line first. If there is a sound source that cannot be uniquely determined after screening based on the sound intensity, the sound source is subjected to a second screening according to the selection condition regarding the distance between the sound source and the photographing device 4. If there is still a sound source that cannot be determined only after the second screening, the third selection is made according to the selection condition of the deflection angle 阙 between the sound source and the shooting optical axis. The selection module 64 (four) sets, the selection condition of the group 62 and the priority order of the selection condition (4) are selected as the sound source to be focused. 8 201028784 If the selection module 筛选 filters the sound source, it can only: • determine the sound source that needs to be focused, and then transmit the position parameter related to the sound source that needs to be focused to the focus control module. 66. If the selection module 64 performs the condition according to the intensity of the sound signal, the distance between the sound source and the camera, and the deflection angle 声 between the sound source and the photographing optical axis (4), the sound source is still not available. It is stated that the sound source is located at the center of the origin ,, and the distance from (10)$ ❹=the sphere intersects with the cone with the original heart as the apex '0 is the half apex angle. ,on. Since the distance between the sound source and the photographing device 4 is the same, the pair of stitches 42 can be woven according to the distance/7, and the device 4 can be rotated around the axis by the deflection angle 0. The image condition of the sound source is photographed. Therefore, the selection module 64 transmits the distance ρ between the sound source and the imaging device 4 and the deflection angle 0 of the sound source and the imaging optical axis to the focus control module 66. The focus control module 66 controls the camera unit 4 to focus on the sound source that needs to be focused according to the received position parameter. As shown in Fig. 3, the focus control method provided by the present invention includes a step. 7 Step S801, a focus control system 2 is provided, which includes a photographing device 4 and a focus controller 6 connected to the photographing device 4. The imaging device 4 includes a focusing mechanism 40, a focusing lens 42 and an image and detector 44. The focus controller 6 includes a sound detection module 6A, a setting module 62, a selection module 64, and a focus control module 66. Step S802' sets the selection of the screening sound source by the setting module 62. 9 201028784 The conditions and the priority order of the selection conditions are used. The selection conditions of the set mode 62, the sound source and the beat are respectively related to the deflection angle 声音 of the sound signal. The distance ρ and the sound source between the sound source and the shooting optical axis, the sound signal strength of the sound intensity t; the private selection condition can be: select the focus of the maximum sound signal, select the sound /, select the sound sound for the minimum sound intensity The signal is in focus. The sound source of the intensity 4 is the sound source of the sound intensity value and the shooting distance of the shooting device 4 is the farthest sound selection condition: the selection of the closest series of the opposite 4 is performed, and the distance to the distance is selected. Value P. The sound source is in focus. The distance is equal to the deviation between the sound source and the shooting optical axis and the optical axis of the shooting: the selection condition can be: select the light source and the light source between the shooting optical axis to focus, select, α deflection The light source with a smaller angle performs the deflection between the 隹 and 撰;: it: setting = choice == sequence, according to the requirements of the actual application, the second condition is selected =;:! ring::: about the sound intensity When the sound is loud, you can set the sound source with: the most; the closest priority to the distance is set to the highest. The sound detection module 60 receives the sound 曰k number' around the shooting environment and detects the intensity of the received sound signal and the positional parameter of the sound source 201028784 with respect to the imaging device 4. , ~ The position of the sound source relative to the shooting «Set 4 position parameter includes the distance P between the sound source and the shooting f, the deflection angle between the sound source and the shooting optical axis Θ and the projection of the sound source in the YOZ plane The angle p between the gamma axes. The sound detecting module 6〇 in step S804' determines the number of received sound signals. Step S805, if the sound detecting module 6 receives only the relevant information of one source, the sound detecting module 6 transmits the position parameter of the sound source relative to the camera 4 directly to the Focus control module. The focus control module 66 controls the photographing device 4 to focus on the sound source according to the received positional parameter. Step S806, if the sound detection module 6 detects the related information of two or more sound sources, the position parameter and the sound intensity value of the corresponding sound source are transmitted to the selection module 64. In addition, the selection condition 10 of the mosquitoes in the viewing group and the priority order of the selection conditions are selected to select the sound source that needs to be focused. Step S807', after the screening of step S8〇5, can only determine the sound source that needs to be focused, then the selection module 64 transmits the position parameter corresponding to the sound source that needs to be focused to the focus control module. The focus control module 66 focuses on the source according to the positional parameters of the sound source that needs to be focused. In step S_, if the sound source that needs to be focused is still not filtered after the screening of the step, the selection module 64 transmits the position parameter of the corresponding sound source to the focus control module 66. The root 11 201028784 of the focus control module is adjusted according to the distance between the sound source and the simple device 4, and the (four) camera device 4 is described as the sound source and the photographing camera = the focus angle of the set 4 is the original optical axis. Rotate—week to capture the sound source. Compared with the prior art, the method provided by the present invention (4) provides a diagonal of the position of the matching device by setting the intensity of the sound signal and the selection condition with respect to the parameter of the unit. Thereby, the function of performing the automatic focus control according to the money in the shooting environment ^= is realized. The above embodiments are merely illustrative of the technical solutions of the present invention and are not intended to be limiting, although the present invention will be described in detail with reference to the preferred embodiments. Modifications or equivalents of the technical solutions of the present invention are made without departing from the spirit and scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a hardware structural diagram of a focus control system provided by the present invention. 2 is a schematic diagram of a ball coordinate target for positioning a sound source by the focus control system of FIG. 1. 3 is a flow chart of a focus control method provided by the present invention. [Main component symbol description] Focus control system 2 Camera 4 Focus mechanism 40 Focus lens 42 12 201028784 Image sensor 44 Rotating mechanism 46 Focus controller 6 Sound detection module 60 Setting module 62 Selection module 64 Focus control module 66 13