[go: up one dir, main page]

TWI578783B - Focusing controlling and auto-exposing method and system - Google Patents

Focusing controlling and auto-exposing method and system Download PDF

Info

Publication number
TWI578783B
TWI578783B TW104116448A TW104116448A TWI578783B TW I578783 B TWI578783 B TW I578783B TW 104116448 A TW104116448 A TW 104116448A TW 104116448 A TW104116448 A TW 104116448A TW I578783 B TWI578783 B TW I578783B
Authority
TW
Taiwan
Prior art keywords
image
camera
focus
infrared light
module
Prior art date
Application number
TW104116448A
Other languages
Chinese (zh)
Other versions
TW201642647A (en
Inventor
彭立忠
于宙
Original Assignee
百辰光電股份有限公司
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 百辰光電股份有限公司 filed Critical 百辰光電股份有限公司
Priority to TW104116448A priority Critical patent/TWI578783B/en
Publication of TW201642647A publication Critical patent/TW201642647A/en
Application granted granted Critical
Publication of TWI578783B publication Critical patent/TWI578783B/en

Links

Landscapes

  • Studio Devices (AREA)

Description

控制對焦與自動曝光的方法與系統 Method and system for controlling focus and automatic exposure

本發明乃是關於一種進行對焦與曝光的方法與系統,特別是指一種可根據環境亮度進行控制對焦與自動曝光的方法與系統。 The present invention relates to a method and system for performing focusing and exposure, and more particularly to a method and system for controlling focus and automatic exposure according to ambient brightness.

隨著科技的發展,現代人使用移動設備的情形越來越普遍,例如智慧型手機或平板電腦。為了因應使用者的使用習慣與需求,此類移動設備多數均配備有攝像頭,以提供拍照與攝影的功能。 With the development of technology, it is more and more common for modern people to use mobile devices, such as smart phones or tablets. In order to respond to the user's usage habits and needs, most of these mobile devices are equipped with a camera to provide photography and photography.

使用者於使用此類移動設備進行拍照的過程中,通常會藉由點擊移動設備之螢幕取景畫面的某處,以取得重點對焦的區域或者是重點曝光與白平衡的區域。於部分移動設備的設計中,當使用者點擊移動設備之螢幕的某處後,還會同時完成釋放快門的動作,以拍攝一張照片。於上述情況下,使用者均需單手握住設備,再用另一隻手點擊螢幕。 When a user uses such a mobile device to take a photo, it is usually clicked on the screen of the mobile device to obtain a focus area or an area of focus exposure and white balance. In some mobile device designs, when the user clicks somewhere on the screen of the mobile device, the shutter release action is simultaneously completed to take a photo. In the above case, the user needs to hold the device with one hand and then click the screen with the other hand.

然而,由多數使用者所累績的經驗可知,拍攝照片時僅由單手握住移動設備並不夠穩定,同時當另一隻手點擊螢幕時,亦可能造成銀幕的震動。尤其,近來移動設備之螢幕的尺寸設計越來越大,使用者更難以穩定地用單手握住移動設備進行拍攝,如此一來常容易拍攝出模糊的照片。 However, from the experience of most users, it is not stable enough to hold a mobile device with one hand when taking a photo, and the screen may vibrate when the other hand clicks on the screen. In particular, recently, screen sizes of mobile devices have become larger and larger, and it has become more difficult for a user to stably hold a mobile device with one hand for shooting, which makes it easy to take blurred pictures.

本發明實施例提供一種控制對焦與自動曝光的方法,執行於移動攝像裝置之控制對焦與自動曝光系統。控制對焦與自動曝光系統包括攝像模組、感光模組、圖像計算模組、圖像訊號處理器與攝像調整單元。控制對焦與自動曝光的方法之步驟包括:由攝像模組對光線進行採樣;利用感光模組判斷攝像模組所採樣之光線的亮度是否達到預設亮度值並產生判斷結果;由圖像計算模組根據判斷結果選擇圖像識別法計算出使用者之人眼注視區域座標;透過驅動介面將人眼注視區域座標傳送至圖像訊號處理器,以由圖像訊號處理器計算曝光調整值與對焦調整值;以及根據所計算出之對焦調整值與曝光調整值,由圖像訊號處理器控制攝像調整單元調整移動攝像裝置之曝光量與焦距。圖像識別法係為可見光圖像識別法或紅外光圖像識別法。 Embodiments of the present invention provide a method for controlling focus and automatic exposure, which is implemented in a control focus and automatic exposure system of a mobile camera. The control focus and automatic exposure system includes a camera module, a photosensitive module, an image calculation module, an image signal processor and a camera adjustment unit. The method for controlling the focus and the automatic exposure comprises: sampling the light by the camera module; using the photosensitive module to determine whether the brightness of the light sampled by the camera module reaches a preset brightness value and generating a judgment result; The group selects the image recognition method according to the judgment result to calculate the coordinates of the human eye gaze area; transmits the coordinates of the human eye gaze area to the image signal processor through the driving interface, and calculates the exposure adjustment value and the focus by the image signal processor. Adjusting the value; and adjusting the exposure amount and the focal length of the moving camera by the image signal processor according to the calculated focus adjustment value and the exposure adjustment value. The image recognition method is a visible light image recognition method or an infrared light image recognition method.

本發明實施例另提供一種控制對焦與自動曝光系統,包括有攝像模組、感光模組、圖像計算模組、圖像訊號處理器與攝像調整單元。攝像模組係用以對光線進行採樣。感光模組係連接於攝像模組,用以判斷攝像模組所採樣之光線的亮度是否達到預設亮度值並產生判斷結果。圖像計算模組係連接於感光模組,用以根據判斷結果選擇圖像識別法計算出使用者之人眼注視區域座標。圖像訊號處理器係透過驅動介面連接於圖像計算模組,用以根據透過驅動介面傳送而來之人眼注視區域座標計算曝光調整值與對焦調整值。攝像調整單元係連接圖像訊號處理器,用以根據所計算出之對焦調整值與曝光調整值,調整移動攝像裝置之曝光量與焦距。上述圖像識別法係為可見光圖像識別法或紅外光圖像識別法。 The embodiment of the invention further provides a control focus and automatic exposure system, comprising a camera module, a photosensitive module, an image calculation module, an image signal processor and an image adjustment unit. The camera module is used to sample light. The photosensitive module is connected to the camera module to determine whether the brightness of the light sampled by the camera module reaches a preset brightness value and generates a determination result. The image computing module is connected to the photosensitive module, and is configured to select an image recognition method according to the determination result to calculate a coordinate of the human eye gaze area of the user. The image signal processor is connected to the image computing module through the driving interface for calculating the exposure adjustment value and the focus adjustment value according to the coordinates of the human eye gaze area transmitted through the driving interface. The camera adjustment unit is connected to the image signal processor for adjusting the exposure amount and the focal length of the mobile camera according to the calculated focus adjustment value and the exposure adjustment value. The above image recognition method is a visible light image recognition method or an infrared light image recognition method.

綜上所述,本發明實施例所提出之控制對焦與自動曝光的方法與系統可於不同之亮度條件下,選擇以可見光圖像識別法或紅外光圖像識別法來計算使用者之人眼注視區域座標,進而自動地計算出曝光調整值與對焦調整值,以調整移動攝像裝置之曝光量 與焦距,如此一來,不論在光線充足的環境下或者暗光環境下都能進行控制對焦與自動曝光,進而提升準確度。除此之外,透過本發明實施例所提出之控制對焦與自動曝光的方法與系統,不需使用者再進行額外的操作,對焦的控制與曝光量的調整均可自動進行,可便於使用者於攝像過程中時刻保持移動攝像裝置的穩定,提高攝像品質。 In summary, the method and system for controlling focus and automatic exposure according to the embodiments of the present invention can select a visible light image recognition method or an infrared light image recognition method to calculate a human eye under different brightness conditions. Looking at the area coordinates, and then automatically calculating the exposure adjustment value and the focus adjustment value to adjust the exposure amount of the mobile camera With the focal length, you can control the focus and auto exposure in a well-lit environment or in a dim light environment to improve accuracy. In addition, the method and system for controlling focus and automatic exposure provided by the embodiments of the present invention do not require additional operations by the user, and the focus control and the adjustment of the exposure amount can be automatically performed, which is convenient for the user. Keep the stability of the mobile camera at all times during the imaging process and improve the image quality.

為使能更進一步瞭解本發明之特徵及技術內容,請參閱以下有關本發明之詳細說明與附圖,但是此等說明與所附圖式僅係用來說明本發明,而非對本發明的權利範圍作任何的限制。 The detailed description of the present invention and the accompanying drawings are to be understood by the claims The scope is subject to any restrictions.

S101~S109‧‧‧步驟 S101~S109‧‧‧Steps

F‧‧‧區域 F‧‧‧Area

P‧‧‧雙通道攝像頭 P‧‧‧Double-channel camera

L1、L2、L3‧‧‧紅外光LED L1, L2, L3‧‧‧ infrared LED

4‧‧‧控制對焦與自動曝光系統 4‧‧‧Control focus and automatic exposure system

41‧‧‧攝像模組 41‧‧‧ camera module

411‧‧‧雙通道攝像頭 411‧‧‧Two-channel camera

412‧‧‧紅外光LED陣列 412‧‧‧Infrared LED array

42‧‧‧感光模組 42‧‧‧Photosensitive module

43‧‧‧圖像計算模組 43‧‧‧Image Computing Module

44‧‧‧圖像訊號處理器 44‧‧‧Image Signal Processor

45‧‧‧攝像調整單元 45‧‧‧Video adjustment unit

451‧‧‧圖像傳感器 451‧‧‧Image sensor

452‧‧‧對焦組件 452‧‧‧ Focusing components

圖1是本發明實施例中控制對焦與自動曝光的方法的流程圖。 1 is a flow chart of a method of controlling focus and automatic exposure in an embodiment of the present invention.

圖2是本發明實施例中應用控制對焦與自動曝光系統之移動攝像裝置的外觀示意圖。 2 is a schematic diagram showing the appearance of a mobile imaging device using a control focus and automatic exposure system in an embodiment of the present invention.

圖2A是圖2所繪示之移動攝像裝置之區域F的放大示意圖。 FIG. 2A is an enlarged schematic view of a region F of the mobile imaging device illustrated in FIG. 2. FIG.

圖3是本發明實施例中紅外光圖像的示意圖。 3 is a schematic diagram of an infrared light image in an embodiment of the present invention.

圖4是本發明實施例中控制對焦與自動曝光系統的功能方塊示意圖。 4 is a functional block diagram of a control focus and automatic exposure system in an embodiment of the present invention.

在下文將參看隨附圖式更充分地描述各種例示性實施例,在隨附圖式中展示一些例示性實施例。然而,本發明概念可能以許多不同形式來體現,且不應解釋為限於本文中所闡述之例示性實施例。確切而言,提供此等例示性實施例使得本發明將為詳盡且完整,且將向熟習此項技術者充分傳達本發明概念的範疇。在諸圖式中,可為了清楚而誇示層及區之大小及相對大小。類似數字始終指示類似元件。 Various illustrative embodiments are described more fully hereinafter with reference to the accompanying drawings. However, the inventive concept may be embodied in many different forms and should not be construed as being limited to the illustrative embodiments set forth herein. Rather, these exemplary embodiments are provided so that this invention will be in the In the drawings, the size and relative sizes of layers and regions may be exaggerated for clarity. Similar numbers always indicate similar components.

應理解,雖然本文中可能使用術語第一、第二、第三等來描述各種元件,但此等元件不應受此等術語限制。此等術語乃用以區分一元件與另一元件。因此,下文論述之第一元件可稱為第二元件而不偏離本發明概念之教示。如本文中所使用,術語「及/或」包括相關聯之列出項目中之任一者及一或多者之所有組合。 It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, such elements are not limited by the terms. These terms are used to distinguish one element from another. Thus, a first element discussed below could be termed a second element without departing from the teachings of the inventive concept. As used herein, the term "and/or" includes any of the associated listed items and all combinations of one or more.

以下將以多種實施例配合圖式來說明所述測距方法與裝置,然而,下述實施例並非用以限制本發明。 The distance measurement method and apparatus will be described below in conjunction with the various embodiments, however, the following embodiments are not intended to limit the invention.

〔控制對焦與自動曝光的方法的實施例〕 [Embodiment of Method of Controlling Focus and Automatic Exposure]

請參照圖1,圖1是本發明實施例中控制對焦與自動曝光的方法的流程圖。如圖1所示,本實施例之控制對焦與自動曝光的方法包括有以下步驟:由攝像模組對光線進行採樣(步驟S101);利用感光模組判斷攝像模組所採樣之光線的亮度是否達到預設亮度值並產生判斷結果(步驟S103);由圖像計算模組根據判斷結果選擇圖像識別法計算出使用者之人眼注視區域座標(步驟S105);透過驅動介面將人眼注視區域座標傳送至圖像訊號處理器,以由圖像訊號處理器計算曝光調整值與對焦調整值(步驟S107);以及根據所計算出之對焦調整值與曝光調整值,由圖像訊號處理器控制攝像調整單元調整移動攝像裝置之曝光量與焦距(步驟S109)。需說明的是,於本實施例之控制對焦與自動曝光的方法中,圖像識別法係為可見光圖像識別法或紅外光圖像識別法。 Please refer to FIG. 1. FIG. 1 is a flowchart of a method for controlling focus and automatic exposure in an embodiment of the present invention. As shown in FIG. 1 , the method for controlling focus and automatic exposure in the embodiment includes the following steps: sampling the light by the camera module (step S101); determining whether the brightness of the light sampled by the camera module is determined by the photosensitive module A preset brightness value is reached and a determination result is generated (step S103); the image calculation module selects an image recognition method according to the determination result to calculate a human eye gaze area coordinate (step S105); the human eye is gaze through the driving interface The area coordinates are transmitted to the image signal processor to calculate an exposure adjustment value and a focus adjustment value by the image signal processor (step S107); and the image signal processor is determined according to the calculated focus adjustment value and the exposure adjustment value The control image adjustment unit adjusts the exposure amount and the focal length of the moving image pickup device (step S109). It should be noted that in the method for controlling focus and automatic exposure in the embodiment, the image recognition method is a visible light image recognition method or an infrared light image recognition method.

本實施例之控制對焦與自動曝光的方法係應用於設置有控制對焦與自動曝光系統的移動攝像裝置,以使得使用者在運用移動攝像裝置進行拍照的過程中,不需要任何手動操作即能完成對焦與曝光量的調整。也就是說,於使用者按下快門拍照前,控制對焦與自動曝光系統便會執行本實施例之控制對焦與自動曝光的方法中一系列的步驟。 The method for controlling focus and automatic exposure in this embodiment is applied to a mobile camera device provided with a control focus and automatic exposure system, so that the user can complete the process without taking any manual operation while using the mobile camera device for taking a picture. Focus and exposure adjustment. That is to say, before the user presses the shutter to take a picture, the focus control and the automatic exposure system perform a series of steps in the method of controlling the focus and the automatic exposure of the embodiment.

進一步說明如以下,當控制對焦與自動曝光系統開始行本實施例之控制對焦與自動曝光的方法時,如步驟S101所示,會先由 攝像模組對光線進行採樣,以得知移動攝像裝置周圍的環境亮度條件。接著,如步驟S103所示,利用感光模組判斷攝像模組所採樣之光線的亮度是否達到預設亮度值並產生判斷結果。於本實施例中,若攝像模組所採樣之光線的亮度達到預設亮度值,也就是移動攝像裝置周圍環境光線充足的情況,則判斷結果係為可見光模式,故於接續的步驟中,移動攝像裝置所設置之控制對焦與自動曝光系統將進行適用於可見光模式下的計算。另一方面,若攝像模組所採樣之光線的亮度未達到預設亮度值,也就是移動攝像裝置周圍環境光線不足的情況,則判斷結果係為紅外光模式,故於接續的步驟中,移動攝像裝置所設置之控制對焦與自動曝光系統將進行適用於紅外光模式下的計算。 Further, as follows, when the focus and auto exposure system is controlled to start the method of controlling focus and automatic exposure in this embodiment, as shown in step S101, The camera module samples the light to know the ambient brightness conditions around the mobile camera. Then, as shown in step S103, the photosensitive module determines whether the brightness of the light sampled by the camera module reaches a preset brightness value and generates a determination result. In this embodiment, if the brightness of the light sampled by the camera module reaches a preset brightness value, that is, when the ambient light of the mobile camera device is sufficient, the determination result is in the visible light mode, so in the subsequent step, the movement is performed. The control focus and auto exposure system set by the camera will perform calculations for visible light mode. On the other hand, if the brightness of the light sampled by the camera module does not reach the preset brightness value, that is, the ambient light of the surrounding camera device is insufficient, the determination result is the infrared light mode, so in the subsequent step, the movement is performed. The control focus and auto exposure system set by the camera will be used for calculations in infrared mode.

於得知判斷結果係為可見光模式或紅外光模式之後,如步驟S105所示,圖像計算模組便會根據判斷結果選擇圖像識別法計算出使用者之人眼注視區域座標。 After learning that the determination result is in the visible light mode or the infrared light mode, as shown in step S105, the image calculation module selects the image recognition method according to the determination result to calculate the coordinates of the human eye gaze area of the user.

於本實施例中,攝像模組中包括同時具有可見光通道與紅外光通道之雙通道攝像頭。當判斷結果為可見光模式,雙通道攝像頭的可見光通道便會開啟,以朝使用者臉部的方向取得可見光圖像,並將此可見光圖像傳送至圖像計算模組,接著再由圖像計算模組由此可見光圖像計算出使用者的人眼注視區域座標。於可見光模式下,圖像計算模組係以可見光圖像識別法來計算人眼注視區域座標。 In this embodiment, the camera module includes a dual channel camera having both a visible light channel and an infrared light channel. When the judgment result is visible light mode, the visible light channel of the dual-channel camera is turned on to obtain a visible light image in the direction of the user's face, and the visible light image is transmitted to the image calculation module, and then calculated by the image. The module calculates the coordinates of the human eye gaze area from the visible light image. In the visible light mode, the image computing module calculates the coordinates of the human eye gaze area by using the visible light image recognition method.

關於可見光圖像識別法說明如下。可見光圖像識別法係利用由可見光圖像判斷之使用者的眼球朝向,以及由可見光圖像中可得知的使用者之瞳孔與和眼眶間的多組相對位置座標來計算人眼注視區域座標。 The visible light image recognition method will be described below. The visible light image recognition method calculates the human eye gaze area coordinates by using the eye orientation of the user determined by the visible light image and the plurality of sets of relative position coordinates between the user's pupil and the eyelid which are known in the visible light image. .

另一方面,於本實施例中,當判斷結果為紅外光模式,雙通道攝像頭的紅外光通道便會開啟,以朝使用者臉部的方向取得紅外光圖像,並將此紅外光圖像傳送至圖像計算模組,接著再由圖 像計算模組由此紅外光圖像計算出使用者的人眼注視區域座標。 On the other hand, in the embodiment, when the judgment result is the infrared light mode, the infrared light channel of the two-channel camera is turned on to obtain an infrared light image toward the user's face, and the infrared light image is obtained. Transfer to the image calculation module, followed by the map The computing module calculates the coordinates of the human eye gaze area from the infrared light image.

關於紅外光圖像識別法說明如下。紅外光圖像識別法係利用由可見光圖像判斷之使用者的眼球朝向,以及紅外光圖像中亮度值最高的最高亮度中心之座標來計算人眼注視區域座標。進一步說明,於本實施例中,攝像模組更具有紅外光LED陣列,且此LED陣列包含有複數個紅外光LED。請參照圖2與圖2A,圖2是本發明實施例中應用控制對焦與自動曝光系統之移動攝像裝置的外觀示意圖。圖2A是圖2所繪示之移動攝像裝置之區域F的放大示意圖。如圖2所示,移動攝像裝置之區域F的內部係為攝像模組所設置之位置,又如圖2A所示,移動攝像裝置之區域F的內部所設之攝像模組所包含之紅外光LED陣列的多個紅外光LED L1、L2、L3係於雙通道攝像頭P周圍排列成特定形狀,如三角形,但本發明對此並不限制。 The infrared light image recognition method is explained below. The infrared light image recognition method calculates the coordinates of the human eye gaze region by using the eye orientation of the user judged by the visible light image and the coordinates of the highest luminance center having the highest luminance value in the infrared light image. Further, in this embodiment, the camera module further has an infrared light LED array, and the LED array includes a plurality of infrared light LEDs. Please refer to FIG. 2 and FIG. 2A. FIG. 2 is a schematic diagram of the appearance of a mobile camera device for controlling a focus and an automatic exposure system according to an embodiment of the present invention. FIG. 2A is an enlarged schematic view of a region F of the mobile imaging device illustrated in FIG. 2. FIG. As shown in FIG. 2, the inside of the area F of the mobile camera is the position set by the camera module, and as shown in FIG. 2A, the infrared light included in the camera module provided in the area F of the mobile camera is included. The plurality of infrared light LEDs L1, L2, and L3 of the LED array are arranged in a specific shape, such as a triangle, around the two-channel camera P, but the present invention is not limited thereto.

請參照圖3,圖3是本發明實施例中紅外光圖像的示意圖。於本實施例中,紅外光LED可以在暗光環境下提供補光(即光線不足的環境下),使得攝像模組能夠捕捉到使用者的臉部與眼球的圖像,用以接續地對使用者的人眼注視區域座標進行分析與計算。值得注意的是,如圖2與圖3所示,將紅外光LED陣列以特定形狀排列的目的在於可以在使用者的眼球上反射出排列成特定形狀之圖案的反光點,如此一來,便可以十分方便的找到眼球所在的位置,進而推算使用者臉部所在的位置和大小。 Please refer to FIG. 3. FIG. 3 is a schematic diagram of an infrared light image in an embodiment of the present invention. In this embodiment, the infrared light LED can provide fill light (ie, under low light environment) in a dark environment, so that the camera module can capture an image of the user's face and the eyeball for successively facing The user's human eye gaze area coordinates are analyzed and calculated. It should be noted that, as shown in FIG. 2 and FIG. 3, the infrared light LED arrays are arranged in a specific shape in order to reflect the reflective spots arranged in a specific shape on the user's eyeball, and thus, It is very convenient to find the location of the eyeball, and then calculate the location and size of the user's face.

更特定地說,透過本實施例中之紅外光圖像識別法能降低由其他外界點光源所造成之誤判的概率,主要原因在於,於本實施例中之紅外光圖像識別法中,僅需藉由尋找高亮點的區域(如亮度255亮度等級的區域,但本發明對此並不限制),便可以藉由簡單的判斷快速地確定使用者之眼部位置。並且,紅外光LED陣列的排列可用於精確地計算出使用者眼部與攝像模組之間的距離,進而提升人眼注視區域座標計算的精確性。除此之外,藉由紅外光 LED陣列可以於光線不足的環境下提供均勻的補光,減少光害,以便於進行圖像識別。 More specifically, the infrared light image recognition method in the embodiment can reduce the probability of misjudgment caused by other external point light sources. The main reason is that in the infrared light image recognition method in this embodiment, only By looking for the highlight area (such as the brightness 255 brightness level area, but the invention is not limited thereto), the user's eye position can be quickly determined by simple judgment. Moreover, the arrangement of the infrared light LED array can be used to accurately calculate the distance between the user's eye and the camera module, thereby improving the accuracy of the coordinate calculation of the human eye gaze area. In addition to infrared light LED arrays provide uniform fill light in low light conditions, reducing light damage for image recognition.

關於如何利用紅外光LED陣列的排列計算出使用者眼部與攝像模組之間的距離,舉例來說,如圖4所示,紅外光LED陣列具有三顆紅外光LED,其分別為L1、L2、L3,且紅外光LED L1、L2、L3兩兩之間的距離係預設固定。利用紅外光LED陣列的排列計算出使用者眼部與攝像模組之間的距離之方式係透過已建立的映射表格作對照。建立映射表格的作法係為,找一個標準個體(即普通人),分別在10cm、20cm、30cm的距離(也就是標準個體之左眼球距離攝像模組的距離)得到三幅紅外光圖像,其中於每幅圖像中均可看出被拍攝之標準個體的左眼球上反射出對應紅外光LED L1、L2、L3的三個光點。接著,計算並記錄這三個光點中心圖元之間的距離即可得到一個距離映射表格,而後於大部分的情況下,僅需要計算攝像模組採集到的紅外光圖像中對應紅外光LED L1、L2、L3之反射光點間的圖元距離,即可透過查表得知使用者之眼部與攝模組之間的實際距離。 How to calculate the distance between the user's eyes and the camera module by using the arrangement of the infrared light LED arrays. For example, as shown in FIG. 4, the infrared light LED array has three infrared light LEDs, which are respectively L1. L2, L3, and the distance between the two infrared LEDs L1, L2, L3 are preset fixed. The manner in which the distance between the user's eyes and the camera module is calculated using the arrangement of the infrared light LED arrays is compared against the established mapping table. The method of establishing a mapping table is to find a standard individual (ie, an ordinary person), and obtain three infrared light images at a distance of 10 cm, 20 cm, and 30 cm (that is, the distance between the left eye of the standard individual and the camera module). It can be seen in each image that the three spots of the corresponding infrared light LEDs L1, L2, L3 are reflected on the left eye of the standard individual being photographed. Then, calculate and record the distance between the central points of the three light spots to obtain a distance mapping table, and then in most cases, only need to calculate the corresponding infrared light in the infrared light image collected by the camera module. The distance between the reflected points of the LEDs L1, L2, and L3 can be used to check the actual distance between the user's eyes and the camera module.

再接著請返回參照圖1,在利用可見光圖像識別法或紅外光圖像識別法所計算出的人眼注視區域座標之後,如步驟S107所示,係透過用以聯絡圖像計算模組與圖像訊號處理器的驅動介面,將利用可見光圖像識別法或紅外光圖像識別法所計算出的人眼注視區域座標傳送至圖像訊號處理器,以由圖像訊號處理器計算曝光調整值與對焦調整值。最後,如步驟S109所示,根據所計算出的曝光調整值,調整移動攝像裝置之曝光量,並且根據所計算出的對焦調整值,逐漸地調整移動攝像裝置的焦距,以完成控制對焦與自動曝光。 Then, referring back to FIG. 1, after the human eye gaze area coordinates calculated by the visible light image recognition method or the infrared light image recognition method, as shown in step S107, the system is used to contact the image calculation module. The driving interface of the image signal processor transmits the coordinate of the human eye gaze area calculated by the visible light image recognition method or the infrared light image recognition method to the image signal processor to calculate the exposure adjustment by the image signal processor Value and focus adjustment value. Finally, as shown in step S109, the exposure amount of the mobile camera is adjusted according to the calculated exposure adjustment value, and the focal length of the mobile camera is gradually adjusted according to the calculated focus adjustment value to complete the control focus and automatic exposure.

〔控制對焦與自動曝光系統的實施例〕 [Embodiment for Controlling Focus and Auto Exposure System]

請參照圖4,圖4是本發明實施例中控制對焦與自動曝光系統的功能方塊示意圖。如圖4所示,本實施例之控制對焦與自動曝 光系統4包括有攝像模組41、感光模組42、圖像計算模組43、圖像訊號處理器44與攝像調整單元45。 Please refer to FIG. 4. FIG. 4 is a functional block diagram of a control focus and automatic exposure system according to an embodiment of the present invention. As shown in FIG. 4, the focus and automatic exposure of the embodiment are controlled. The optical system 4 includes a camera module 41, a photosensitive module 42, an image computing module 43, an image signal processor 44, and an imaging adjustment unit 45.

於本實施例中,感光模組42係連接於攝像模組41,圖像計算模組43係連接於感光模組42,圖像訊號處理器44係透驅動介面(未圖示)連接於圖像計算模組43,攝像調整單元45係連接圖像訊號處理器44。攝像模組41亦連接於圖像計算模組43,並包括同時具有可見光通道與紅外光通道之雙通道攝像頭411和紅外光LED陣列412,其中雙通道攝像頭411係用以拍攝可見光圖像或紅外光圖像以進行圖像識別計算。此外,攝像調整單元45包括圖像傳感器451與對焦組件452),以調整移動攝像裝置之曝光量以及逐漸地調整焦距。 In this embodiment, the photosensitive module 42 is connected to the camera module 41, the image computing module 43 is connected to the photosensitive module 42, and the image signal processor 44 is connected to the driving interface (not shown). Like the calculation module 43, the image adjustment unit 45 is connected to the image signal processor 44. The camera module 41 is also connected to the image computing module 43 and includes a dual-channel camera 411 and an infrared light LED array 412 having both a visible light channel and an infrared light channel, wherein the dual-channel camera 411 is used to capture visible light images or infrared light. Light image for image recognition calculation. Further, the imaging adjustment unit 45 includes an image sensor 451 and a focusing component 452) to adjust the exposure amount of the moving imaging device and gradually adjust the focal length.

而關於本實施例之控制對焦與自動曝光系統4中攝像模組41、感光模組42、圖像計算模組43、圖像訊號處理器44與攝像調整單元45的元件運作與機制已於前述實施例中詳細描述,於此便不再贅述。 The operation and mechanism of the components of the camera module 41, the photosensitive module 42, the image calculation module 43, the image signal processor 44, and the image capturing adjustment unit 45 in the control focus and automatic exposure system 4 of the present embodiment are as described above. The detailed description in the embodiments will not be repeated here.

〔實施例的可能功效〕 [Possible effects of the examples]

綜上所述,本發明實施例所提出之控制對焦與自動曝光的方法與系統可於不同之亮度條件下,選擇以可見光圖像識別法或紅外光圖像識別法來計算使用者之人眼注視區域座標,進而自動地計算出曝光調整值與對焦調整值,以調整移動攝像裝置之曝光量與焦距,如此一來,不論在光線充足的環境下或者暗光環境下都能進行控制對焦與自動曝光,進而提升準確度。除此之外,透過本發明實施例所提出之控制對焦與自動曝光的方法與系統,不需使用者再進行額外的操作,對焦的控制與曝光量的調整均可自動進行,可便於使用者於攝像過程中時刻保持移動攝像裝置的穩定,提高攝像品質。 In summary, the method and system for controlling focus and automatic exposure according to the embodiments of the present invention can select a visible light image recognition method or an infrared light image recognition method to calculate a human eye under different brightness conditions. Looking at the coordinates of the area, and automatically calculating the exposure adjustment value and the focus adjustment value to adjust the exposure amount and focal length of the moving camera device, so that the focus can be controlled regardless of whether the light is sufficient or in a dark environment. Automatic exposure for increased accuracy. In addition, the method and system for controlling focus and automatic exposure provided by the embodiments of the present invention do not require additional operations by the user, and the focus control and the adjustment of the exposure amount can be automatically performed, which is convenient for the user. Keep the stability of the mobile camera at all times during the imaging process and improve the image quality.

以上所述僅為本發明之實施例,其並非用以侷限本發明之專利範圍。 The above description is only an embodiment of the present invention, and is not intended to limit the scope of the invention.

S101~S109‧‧‧步驟 S101~S109‧‧‧Steps

Claims (16)

一種控制對焦與自動曝光的方法,執行於一移動攝像裝置之一控制對焦與自動曝光系統,該控制對焦與自動曝光系統包括一攝像模組、一感光模組、一圖像計算模組、一圖像訊號處理器與一攝像調整單元,該攝像模組連接於該圖像計算模組,並包括具有一可見光通道與一紅外光通道之一雙通道攝像頭,且該控制對焦與自動曝光的方法包括:由該攝像模組對光線進行採樣;利用該感光模組判斷該攝像模組所採樣之光線的亮度是否達到一預設亮度值並據此產生一判斷結果;由該圖像計算模組根據該判斷結果選擇一圖像識別法計算出一使用者之一人眼注視區域座標;透過一驅動介面將該人眼注視區域座標傳送至該圖像訊號處理器,以由該圖像訊號處理器計算一曝光調整值與一對焦調整值;以及根據所計算出之該對焦調整值與該曝光調整值,由該圖像訊號處理器控制該攝像調整單元調整該移動攝像裝置之一曝光量與一焦距;其中,該圖像識別法係為一可見光圖像識別法或一紅外光圖像識別法;其中,當該感光模組判斷所採樣之光線的亮度達到該預設亮度值,該雙通道攝像頭的該可見光通道開啟;當該感光模組判斷所採樣之光線的亮度未達到該預設亮度值,該雙通道攝像頭的該紅外光通道開啟。 A method for controlling focus and automatic exposure, which is implemented in one of a mobile camera device for controlling a focus and automatic exposure system, the control focus and automatic exposure system comprising a camera module, a photosensitive module, an image computing module, and a An image signal processor and a camera adjustment unit, the camera module is coupled to the image calculation module, and includes a dual channel camera having a visible light channel and an infrared light channel, and the method for controlling focus and automatic exposure The method includes: sampling the light by the camera module; determining, by the photosensitive module, whether the brightness of the light sampled by the camera module reaches a preset brightness value and generating a determination result according to the image; Selecting an image recognition method according to the determination result to calculate a coordinate of a human eye gaze area of a user; transmitting the coordinates of the human eye gaze area to the image signal processor through a driving interface, by the image signal processor Calculating an exposure adjustment value and a focus adjustment value; and calculating the focus adjustment value and the exposure adjustment value by the image signal The camera control unit adjusts an exposure amount and a focal length of the mobile camera device; wherein the image recognition method is a visible light image recognition method or an infrared light image recognition method; wherein, when the photosensitive mode The group determines that the brightness of the sampled light reaches the preset brightness value, and the visible light channel of the two-channel camera is turned on; when the photosensitive module determines that the brightness of the sampled light does not reach the preset brightness value, the two-channel camera The infrared light channel is turned on. 如請求項第1項所述之控制對焦與自動曝光的方法,其中當該攝像模組所採樣之光線的亮度達到該預設亮度值,則該判斷結果為一可見光模式,而當該攝像模組所採樣之光線的亮度未達到該預設亮度值,則該判斷結果為一紅外光模式。 The method for controlling focus and automatic exposure according to claim 1, wherein when the brightness of the light sampled by the camera module reaches the preset brightness value, the determination result is a visible light mode, and when the image mode is If the brightness of the light sampled by the group does not reach the preset brightness value, the judgment result is an infrared light mode. 如請求項第2項所述之控制對焦與自動曝光的方法,其中,當該可見光通道開啟時,由該雙通道攝像頭取得一可見光圖像並傳送至該圖像計算模組;而當該紅外光通道開啟時,由該雙通道攝像頭取得一紅外光圖像並傳送至該圖像計算模組。 The method for controlling focus and automatic exposure according to claim 2, wherein when the visible light channel is turned on, a visible light image is acquired by the two-channel camera and transmitted to the image computing module; and when the infrared When the optical channel is turned on, an infrared image is obtained by the dual channel camera and transmitted to the image computing module. 如請求項第3項所述之控制對焦與自動曝光的方法,其中於該可見光模式下,該圖像計算模組以該可見光圖像識別法計算出該人眼注視區域座標,而於該紅外光模式下,該圖像計算模組以該紅外光圖像識別法計算出該人眼注視區域座標。 The method for controlling focus and automatic exposure according to claim 3, wherein in the visible light mode, the image computing module calculates the coordinates of the human eye gaze region by using the visible light image recognition method, and In the light mode, the image calculation module calculates the coordinates of the human eye gaze region by the infrared light image recognition method. 如請求項第4項所述之控制對焦與自動曝光的方法,其中該可見光圖像識別法係利用該使用者的一眼球朝向與該可見光圖像中該使用者之瞳孔與和眼眶間的一相對位置來計算該人眼注視區域座標。 The method for controlling focus and automatic exposure according to claim 4, wherein the visible light image recognition method uses an eye of the user to face a pupil between the pupil and the eyelid of the user in the visible light image. The relative position is used to calculate the coordinates of the human eye gaze area. 如請求項第4項所述之控制對焦與自動曝光的方法,其中該紅外光圖像識別法係利用該使用者的一眼球朝向與該紅外光圖像中一最高亮度中心和該使用者之眼眶間的一相對位置來計算該人眼注視區域座標。 The method for controlling focus and automatic exposure according to claim 4, wherein the infrared light image recognition method utilizes an eye orientation of the user and a highest brightness center of the infrared light image and the user A relative position between the eyelids is used to calculate the coordinates of the human eye gaze area. 如請求項第4項所述之控制對焦與自動曝光的方法,其中該攝像模組更進一步包括一紅外光LED陣列,該LED陣列包含複數個紅外光LED,且該複數個紅外光LED係排列成一特定形狀。 The method for controlling focus and automatic exposure according to claim 4, wherein the camera module further comprises an infrared light LED array, the LED array comprises a plurality of infrared light LEDs, and the plurality of infrared light LEDs are arranged In a specific shape. 如請求項第1項所述之控制對焦與自動曝光的方法,其中該攝像調整單元包括一圖像傳感器與一對焦組件,該圖像傳感器係用以根據該曝光調整值調整該移動攝像裝置之該曝光量,而該對焦組件係用以根據該對焦調整值逐漸地調整該移動攝像裝置之該焦距。 The image control unit includes an image sensor and a focusing component, wherein the image sensor is configured to adjust the moving camera according to the exposure adjustment value, as in the method of controlling the focus and the automatic exposure. The exposure component is used to gradually adjust the focal length of the mobile camera according to the focus adjustment value. 一種控制對焦與自動曝光系統,包括:一攝像模組,用以對光線進行採樣;一感光模組,連接於該攝像模組,用以判斷該攝像模組所 採樣之光線的亮度是否達到一預設亮度值並據此產生一判斷結果;一圖像計算模組,連接於該感光模組,用以根據該判斷結果選擇一圖像識別法計算出一使用者之一人眼注視區域座標;一圖像訊號處理器,透過一驅動介面連接於該圖像計算模組,用以根據透過該驅動介面傳送而來之該人眼注視區域座標計算一曝光調整值與一對焦調整值;以及一攝像調整單元,連接該圖像訊號處理器,用以根據所計算出之該對焦調整值與該曝光調整值,調整該移動攝像裝置之一曝光量與一焦距;其中,該攝像模組亦連接於該圖像計算模組,並包括具有一可見光通道與一紅外光通道之一雙通道攝像頭,當該感光模組判斷所採樣之光線的亮度達到該預設亮度值,該可見光通道開啟;而當該感光模組判斷所採樣之光線的亮度未達到該預設亮度值,該紅外光通道開啟;其中,該圖像識別法係為一可見光圖像識別法或一紅外光圖像識別法。 A control focus and automatic exposure system includes: a camera module for sampling light; a photosensitive module coupled to the camera module for determining the camera module Whether the brightness of the sampled light reaches a predetermined brightness value and generates a determination result according to the result; an image calculation module is connected to the photosensitive module for selecting an image recognition method to calculate a use according to the determination result One of the human eyes looks at the area coordinates; an image signal processor is connected to the image computing module through a driving interface for calculating an exposure adjustment value according to the coordinates of the human eye gaze area transmitted through the driving interface. And an image adjustment unit; and an image adjustment unit, connected to the image signal processor for adjusting an exposure amount and a focal length of the mobile camera according to the calculated focus adjustment value and the exposure adjustment value; The camera module is also connected to the image computing module, and includes a dual channel camera having a visible light channel and an infrared light channel. When the photosensitive module determines that the brightness of the sampled light reaches the preset brightness a value, the visible light channel is turned on; and when the photosensitive module determines that the brightness of the sampled light does not reach the preset brightness value, the infrared light channel is turned on; The image recognition method based image recognition method of a visible light or an infrared light image recognition method. 如請求項第9項所述之控制對焦與自動曝光系統,其中當該攝像模組所採樣之光線的亮度達到該預設亮度值,則該判斷結果為一可見光模式,而當該攝像模組所採樣之光線的亮度未達到該預設亮度值,則該判斷結果為一紅外光模式。 The control focus and automatic exposure system of claim 9, wherein when the brightness of the light sampled by the camera module reaches the preset brightness value, the determination result is a visible light mode, and when the camera module If the brightness of the sampled light does not reach the preset brightness value, the judgment result is an infrared light mode. 如請求項第10項所述之控制對焦與自動曝光系統,其中當該可見光通道開啟時,由該雙通道攝像頭取得一可見光圖像並傳送至該圖像計算模組;而當該紅外光通道開啟時,由該雙通道攝像頭取得一紅外光圖像並傳送至該圖像計算模組。 The control focus and automatic exposure system of claim 10, wherein when the visible light channel is turned on, a visible light image is acquired by the dual channel camera and transmitted to the image computing module; and when the infrared light channel is When turned on, an infrared image is taken by the dual channel camera and transmitted to the image computing module. 如請求項第11項所述之控制對焦與自動曝光系統,其中於該可見光模式下,該圖像計算模組以該可見光圖像識別法計算出該人眼注視區域座標,而於該紅外光模式下,該圖像計算模 組以該紅外光圖像識別法計算出該人眼注視區域座標。 The control focus and automatic exposure system of claim 11, wherein in the visible light mode, the image computing module calculates the coordinates of the human eye gaze region by the visible light image recognition method, and the infrared light is Mode, the image calculation mode The group calculates the coordinates of the human eye gaze area by the infrared light image recognition method. 如請求項第12項所述之控制對焦與自動曝光系統,其中該可見光圖像識別法係利用該使用者的一眼球朝向與該可見光圖像中該使用者之瞳孔與和眼眶間的一相對位置來計算該人眼注視區域座標。 The control focus and automatic exposure system of claim 12, wherein the visible light image recognition method uses an eye of the user to face a pupil between the user and the eyelid of the visible light image. The position is used to calculate the coordinates of the human eye gaze area. 如請求項第12項所述之控制對焦與自動曝光系統,其中該紅外光圖像識別法係利用該使用者的一眼球朝向與該紅外光圖像中一最高亮度中心和該使用者之眼眶間的一相對位置來計算該人眼注視區域座標。 The control focus and automatic exposure system of claim 12, wherein the infrared light image recognition method utilizes an eye orientation of the user and a highest brightness center of the infrared light image and an eyelid of the user A relative position between the two is used to calculate the coordinates of the human eye gaze area. 如請求項第11項所述之控制對焦與自動曝光系統,其中該攝像模組更進一步包括一紅外光LED陣列,該LED陣列包含複數個紅外光LED,且該複數個紅外光LED係排列成一特定形狀。 The control focus and automatic exposure system of claim 11, wherein the camera module further comprises an infrared light LED array, the LED array comprises a plurality of infrared light LEDs, and the plurality of infrared light LEDs are arranged in a Specific shape. 如請求項第9項所述之控制對焦與自動曝光系統,其中該攝像調整單元包括一圖像傳感器與一對焦組件,該圖像傳感器係用以根據該曝光調整值調整該移動攝像裝置之該曝光量,而該對焦組件係用以根據該對焦調整值逐漸地調整該移動攝像裝置之該焦距。 The control focus and automatic exposure system of claim 9, wherein the image adjustment unit comprises an image sensor and a focus component, wherein the image sensor is configured to adjust the mobile camera according to the exposure adjustment value The exposure component is used to gradually adjust the focal length of the mobile camera according to the focus adjustment value.
TW104116448A 2015-05-22 2015-05-22 Focusing controlling and auto-exposing method and system TWI578783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104116448A TWI578783B (en) 2015-05-22 2015-05-22 Focusing controlling and auto-exposing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104116448A TWI578783B (en) 2015-05-22 2015-05-22 Focusing controlling and auto-exposing method and system

Publications (2)

Publication Number Publication Date
TW201642647A TW201642647A (en) 2016-12-01
TWI578783B true TWI578783B (en) 2017-04-11

Family

ID=58055700

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104116448A TWI578783B (en) 2015-05-22 2015-05-22 Focusing controlling and auto-exposing method and system

Country Status (1)

Country Link
TW (1) TWI578783B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969984A (en) * 2019-12-02 2020-04-07 英华达(上海)科技有限公司 Brightness dynamic adjustment method, system, device and storage medium of display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009033450A (en) * 2007-07-26 2009-02-12 Casio Comput Co Ltd Imaging device, subject tracking zooming method, and subject tracking zooming program
CN102017603A (en) * 2008-04-28 2011-04-13 松下电器产业株式会社 Image device
CN103412407A (en) * 2012-10-20 2013-11-27 江苏五维电子科技有限公司 Multi-spectrum image collecting system
CN104094197A (en) * 2012-02-06 2014-10-08 索尼爱立信移动通讯股份有限公司 Gaze tracking with projector

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009033450A (en) * 2007-07-26 2009-02-12 Casio Comput Co Ltd Imaging device, subject tracking zooming method, and subject tracking zooming program
CN102017603A (en) * 2008-04-28 2011-04-13 松下电器产业株式会社 Image device
CN104094197A (en) * 2012-02-06 2014-10-08 索尼爱立信移动通讯股份有限公司 Gaze tracking with projector
CN103412407A (en) * 2012-10-20 2013-11-27 江苏五维电子科技有限公司 Multi-spectrum image collecting system

Also Published As

Publication number Publication date
TW201642647A (en) 2016-12-01

Similar Documents

Publication Publication Date Title
US9300858B2 (en) Control device and storage medium for controlling capture of images
US9961257B2 (en) Imaging to facilitate object gaze
US10002293B2 (en) Image collection with increased accuracy
US10068079B2 (en) Biometric authentication device and biometric image output control method
US9867532B2 (en) System for detecting optical parameter of eye, and method for detecting optical parameter of eye
JP4196714B2 (en) Digital camera
CN103747183B (en) Mobile phone shooting focusing method
US20140176777A1 (en) Method for controlling electronic device and electronic device
CN109471523A (en) Eye tracking using eye center position
WO2015051606A1 (en) Locating method and locating system
WO2015051605A1 (en) Image collection and locating method, and image collection and locating device
JP2005033768A (en) Method and apparatus of controlling digital image pickup device
CN108200340A (en) The camera arrangement and photographic method of eye sight line can be detected
KR20170011362A (en) Imaging apparatus and method for the same
WO2016197494A1 (en) Method and device for adjusting focusing area
CN104333709A (en) Method, device and electronic equipment for controlling flash lamp
US12401886B2 (en) Electronic device, control method, and non-transitory computer readable medium
US20230136191A1 (en) Image capturing system and method for adjusting focus
CN108156387A (en) Terminate the device and method of camera shooting automatically by detecting eye sight line
JP2005033766A (en) Method and apparatus for automatically post-processing digital image
TW201503687A (en) System and method for controlling taking photos
TWI578783B (en) Focusing controlling and auto-exposing method and system
TWI630433B (en) Intellectual telescope and auto adjusting magnification method thereof
US20230092593A1 (en) Detection device detecting gaze point of user, control method therefor, and storage medium storing control program therefor
US20130057720A1 (en) Electronic device

Legal Events

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