TW201204018A - Method for adjusting photo-sensitiveness of digital camera - Google Patents

Method for adjusting photo-sensitiveness of digital camera Download PDF

Info

Publication number
TW201204018A
TW201204018A TW99121945A TW99121945A TW201204018A TW 201204018 A TW201204018 A TW 201204018A TW 99121945 A TW99121945 A TW 99121945A TW 99121945 A TW99121945 A TW 99121945A TW 201204018 A TW201204018 A TW 201204018A
Authority
TW
Taiwan
Prior art keywords
image
objects
flash
sensitivity
adjusting
Prior art date
Application number
TW99121945A
Other languages
Chinese (zh)
Other versions
TWI405458B (en
Inventor
Chan-Min Chou
Tsung-Pin Lu
Original Assignee
Altek Corp
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 Altek Corp filed Critical Altek Corp
Priority to TW99121945A priority Critical patent/TWI405458B/en
Publication of TW201204018A publication Critical patent/TW201204018A/en
Application granted granted Critical
Publication of TWI405458B publication Critical patent/TWI405458B/en

Links

Abstract

A method for adjusting photo-sensitiveness is able to determine a relative distance of an object in an image capture area through images captured before and after the pre-flash of a flash lamp, so that the relative distance serves as a reference for adjusting current photo-sensitiveness of the digital camera, thereby capturing an image having a better quality when the flash lamp provides a fill light. The digital camera comprises a flash lamp and a photographing module. The method for adjusting photo-sensitiveness of a digital camera comprises: capturing a live view image corresponding to a plurality of objects by the photographing module; enabling the flash lamp to emit a pre-flash light, and capturing a pre-flash image corresponding to the objects by the photographing module; calculating a reflection image through the live view image and the pre-flash image; judging appearance positions of the objects in the pre-flash image through reflection information of all position points on the reflection image; performing a recognition procedure according to the appearance positions, so as to find image information that presents the objects in the pre-flash image; determining whether the objects are at more than two different depths of field (DOFs) according to the image information of the objects; and when the objects are at more than two different DOFs, adjusting current photo-sensitiveness of the photographing module.

Description

201204018 六、發明說明: 【發明所屬之技術領域】 本發明係關於-種數位相機的攝像參數的調整方法,特別是 一種數位相機的感光度的調整方法。 【先前技術】 隨著數位減的發展,使賴科再是昂貴的㈣。使用者 可以隨意的拍攝所要的影像’用以記錄值得紀念的一刻或景象。 Φ 在進行拍攝時’一般使用者都希望所拍攝到的照片是清晰可 見的。所以’在拍攝目標物(可以是風景、人物或物品)時,對 於目標物的焦距與亮度都要調整適當,才能拍到滿意的照片。 隨著科技的進步,數位城多半提供有自動設定攝像參數的 功旎。一般來講,數位相機針對目標物計算出適當的攝像參數。 其中,數位相機的閃光燈所發射的光量可根據數位相機與目 標物之間的距離進行調整。 脱燈_光強度與目標物的距離及細係數制關係可表 示爲:GN=fxL。其中,GN代表閃光強度(亦即閃光指數GN, GuideNumber),f爲光圈係數,L爲目標物與數位相機之間的距 離閃光“數疋5乎1閃光燈的發光強度的量值,並且是表示閃光 燈性能的一個主要的基本指標。 在數位相機的拍攝範圍中,通常都會有多個標的物。一般來 講,數位相機都是以其中一個標的物作為目標物。由於數位相機 在拍攝時是針對目標物進行補光,因此所拍攝得的影像_,相對 於目標物,距離數位相機較遠的標的物的影像都會較為模糊和/或 201204018 受度相對過暗。 【發明内容】 鑒於以上的問題,本發明提供一種數位相機的感光度的調整 方法,藉由解決習知技術所存在的至少一問題。 本發明所揭露之數位相機的感光度的調整方法應用於一數位 相機。此數位相機包括一閃光燈與一攝像模組。 首先,利用攝像模組擷取相應於多個標的物的一預覽影像。 然後’致使閃光燈發出預閃閃光,並利用攝像模組榻取相應於此 些仏的物的-删景彡像。接著’透過預覽影像和删影像計算一 反射影像’並藉由反娜像上的各她置_反射資訊判別出預 閃影像中標的物的顯現位置。再針對得到的顯現位置執行一辨識 程序’以找出刷影射顯現出標的物_师訊並根據找出 的標的物的影像資訊判斷此些標的物是否屬於兩種以上之不同的 景深。 〜當此些標的物屬於兩種以上之不同的景深時,調整攝像模組 當前的感光度。在調整攝像模組當前的感光度之後,可致使閃光 燈再次發出預關光’並_攝像模組再次齡標的物的預閃影 像,以作為其他攝像參數的參考。 當在數位相機前方之標的物捕於相_景深時,則不進行 攝像模組當前的感光度的調整,並以預閃影像計算出主閃閃光的 閃光強度。 其中’各標的物可為一人臉,且锵 八赋且辨識耘序可為—人臉辨識程 201204018 於此’可透觀較織雜的亮度資訊和制影像的亮度資 δίΐ來得到反射影像。 於感光度的驗上,可直接將攝像模組的感光度調高為當前 的感光度的-倍。再者,亦可依據攝像模組的感光度的設定選項 或特定標的物來進行調整。 根據本發明之數位相機的感光度的調整方法可透過閃光燈執 行預閃前後所擷取得之影像來判斷影像擷取範圍中之標的物的相 春對距離’以作為調整數位相機當前的感光度的參考,進而可在閃 光燈進行補光的狀態下擷取到品質較佳的影像。 以上之關於本發_容之制及以下之實施方式之說明係用 以示範與解釋本發明之精神姆理,並且提供本發明之專利申請 範圍更進一步之解釋。 【實施方式】 於此,根據本發明之數位相機的感光度的調整方法可透過閃 光燈執行預閃前後所擷取得之影像(預覽影像及預閃影像)來判 •斷影像操取範圍中之標的物的相對距離,以作為調整數位相機當 刖的感光度的參考,進而可在閃光燈進行補光的狀態下擷取到品 質較佳的影像。 請參照「第1圖」’數位相機100可包括:攝像模組11〇、閃 光燈120、儲存單元130、處理單元140和顯示器150。攝像模組 110包括鏡頭組112和感光元件114。 數位相機100的運作可區分為預覽階段(live view )、對焦階 段(auto focusing)、預閃階段與拍攝階段。 201204018 預覽階段是指使用者按壓數位相機100的快門鍵之前的時 刻。於預覽階段中,使用者可透過數位相機的顯示器 覽取景晝面。 m 對焦階段是指使用者在半按數位相機腦的快門鍵的時刻。 於對焦階段中’數位械100會以取景畫面中的標的物中之1個 或多個作為目標物’並調整鏡頭組112與目標物的物距,並且使 用者可透過數位械KK) _示器15G職難後(即,物距調 整完成後)的取景畫面。 預閃階段是指在對焦後閃光燈120會發出一預閃閃光,並且 數位相機1GG透過攝像模組11Q娜對應當前的取景畫面的影 像,以作為拍攝階段的閃光強度的參考。 拍攝階段是指使用者全按下數位相機的快門鍵的時刻。 於拍攝階段中,數位相機1〇〇透過攝像模組11〇拍攝當前的取景 晝面並將拍攝得的取景畫面記錄為一影像。 於此,預覽影像係指數位相機1〇〇於預覽階段或對焦階段中 所操取到的影像。預閃影像則係指數位相機丨⑻於預閃階段所擷 取到的影像。 鏡頭組112用以調整對被攝物之焦距。 感光元件114對應鏡頭組112而設置。感光元件114可透過 鏡頭組112接收相應於目標物及其週遭景色的光訊號,並根據所 接收到的光訊號轉換成數位影像的電訊號以得到相應於目標物的 影像。換言之,感光元件114可於數位相機100的預覽階段和對 焦階段經由鏡頭組112擷取預覽影像、於數位相機i〇Q的預閃階 201204018 段經由鏡軌m録侧雜,並且及於她域·的拍攝 -階段經由鏡頭組112擷取數位影像。 -處理單元140電性連接於感光元件m與儲存單元⑽。處理 單元mo可控制鏡頭組112和感光元件114的運作。並且,處理 H0可根據摘取到的預覽影像和删影像判斷數位相機卿 前方各個標的物的距離,進而選擇性調整數位相機當前的感光度。 換σ之根據本發明之數位相機的感光度的調整方法可以軟 鲁體或勒齡式貫現在數位相機100上。即,用以執行根據本發明 之數位相機的感光度的調整方法之一程式碼可以儲存於數位相機 1〇〇的儲存單元m中,再由數位相機觸的處理單元14〇讀取並 執行儲存擁搞’讀触相機⑽猜娜本㈣之數位相 機的感光度的調整方法而選擇性調整其感光度。 其中,處理單元140可由一個或多個處理器,例如:數位訊 號處理器(digital signal processor ; DSP)等,實現。儲存單元13〇 可由-個或多個儲存器實現,存器可為非揮發性記憶體或為揮 響發性記憶體。 「第2圖」係為根據本發明一實施例之數位相機的感光度的 調整方法的流程圖。 參照「第1及2圖」,首先,利用攝像模組11〇擷取相應於在 數位相機100前方之多個標的物的一預覽影像(步驟21〇)。 然後’致使閃光燈120發出預閃閃光,並在預閃閃光的補光 下利用攝像模組110擷取相應於此些標的物的一預閃影像(步驟 220)。 201204018 透過擷取到的預覽影像和預閃影像計算出一反射影像(步驟 230)。於此’可透過比較預覽影像的亮度資訊和預閃影像的亮度 資訊來得到反射影像,換言之,反射影像是相應於預覽影像的亮 度資訊和預閃影像的亮度資訊之間的差異。 藉由反射影像上的各個位置點的反射資訊判別出預閃影像中 私的物的顯現位置(步驟240)。也就是說,可透過觀察反射影像 上各個位置點的反射資訊來判別出預閃影像中可能屬於標的物的 影像的區塊。其中反射資訊可為反射量(即,預覽影像和預閃影 像相同位置的亮度資訊的差值)或反射率。其中,每個位置點可 為一像素或是一特定尺寸的影像區塊。 針對判別出顯現位置執行一辨識程序,以找出預閃影像中顯 見出I的物的影像資訊(步驟250)。換言之,利用辨識程序對於 預閃〜像的顯現位置上的局部影像進行標的物的辨識,以找出屬 於標的物的影像區塊(即,影像資訊)。 根據找出的標的物的影像資訊判斷標的物是否屬於兩種以上 之不同的景深(步驟260)。於此,可透過計算標的物的影像資訊 來得知在數位相機1〇〇前方之多個標的物是否落在數位相機1〇〇 的兩種不同的對焦範圍上。 當在數位相機100前方之標的物屬於兩種不同的景深時,則 調整攝像模、组110當前的感光度(轉270),以增加位於相雌 遠的払的物的影像的亮度。也就是說,當在數位相機100前方之 多個標的物落在數位減料同騎域圍上時,數位 相機10G則會調整當前的感光度,以考慮職對較遠的標的物的 201204018 亮度。 並且,在調整攝像模組110當前的感光度後,可致使閃光燈 120再次發出預閃閃光’並利用攝像模組i丨〇再次擷取標的物的預 閃影像,以作為其他攝像參數的參考(步驟28〇)。例如:可根據 再次取得的預閃影像計算出主閃閃光的閃光強度(步驟29〇)。 當在數位相機1〇〇前方之標的物均屬於相同的景深時,則不 進行攝像模組110當前的感光度的調整,並以預閃影像計算出主 閃閃光的閃光強度(步驟290)。 於拍攝時,則致使閃光燈120發出具有計算得之閃光強度的 主閃閃光,並利用攝像模組110榻取標的物的數位影像。 其中,標的物可為一人臉,此時辨識程序則為人臉辨識程序。 然而,此並非本發明之限制。可依據實際需求,而將標的物設定 為人臉、建築物、動物、植物、交通工具、標誌和特定物品中至 少一種特徵物件。 參照「第3圖」’於步驟240巾,可利用一第一闕值來與反 射影像上的各個位置點的反射資訊相比較(步驟241)。 當反射資訊大於第一閥值時,則將對應之位置點(即,其反 射=貝訊大於閥值的位置點)判定為標的物的顯現位置(步驟M2)。 而當反射^訊小於或等於第一閥值時,則將對應之位置點 (即,其反射資訊小於或等於閥值的位置點)判定不為標的物的 顯現位置(步驟243)。 參照「第4圖」,於步驟260 +,可將找出的標的物的影像 資訊所對應的反射資訊相互比較(步驟261),並且將比較結果與 201204018 第閥值相比(步驟加2)。於此,可將任意兩個標的物的影像 資訊所對應的反射資訊相互比較,以得到所有標的物兩兩相比的 結果。或者是’將攝像模组11〇所對焦的標的物的影像資訊所對 應的反射 > 賴與其他標的物㈣像資輯職的反射資訊相 比。 當任兩標的物所對應的反射資訊的差異性(即,比較結果) 大於第二時’縱在數_機⑽前方之㈣標的物屬於兩 種以上之不同的景深(步驟263)。 當所有之兩標的物所對應的反射資訊的差異性(即,比較結 果)均小於或等第二間值時,判定在數位相機·前方之多個標 的物屬於單一景深(步驟264)。 於此以人臉作為標的物進行說明。參照「第5圖」,影像中 的’iv像區塊A、B、C、D分別屬於4個標的物。於預覽影像與預 門〜像中的同一影像區塊a/b/c/d會於相同的相對位置上。 相較於屬於非標的物(如,背景)的影像區塊E來說,於預 覽影像中標的物的影像區塊A/B/c/D的亮度資訊與测影像中相 同之影像區塊A/B/C/D的亮度資訊之間的差異較為大。換言之, 相對非標的物(如,背景)的影像區塊E,同-影像區塊a/B/C/d 於預覽影像中的亮度資訊和預閃影像中的亮度資訊之間的變化 (差異性)較大。因此,將反射影像中各位置點的反射資訊與第 二閥值相比,即可透過找出反射資訊大於第二閥值的位置點來得 到可能為影像區塊A、B、C、D的位置。進而再針對找出的位置 進行人臉辨視程序以破定影像區塊A、B、C、D (即,4張人臉)。 201204018 然後,比較影像區塊A、B、C ' D的亮度資訊,以確定影像 區塊A、β、C、D是否在不相同的景深。 舉例來說,可將影像區塊A、B、C、D的亮度資訊兩兩相比, 以得到影像區塊A、B的亮度資訊的差值、影像區塊A、c的亮度 資sfl的差值、影像區塊a、D的亮度資訊的差值、影像區塊Bc 的焭度資訊的差值、影像區塊B、D的亮度資訊的差值和、影像 區塊C、D的亮度資訊的差值。再將得到的六個差值與第二閥值 相比,以確認是否有差值大於第二閥值。若有差值大於第二閥值 即表示影像區塊A、B、C、D是屬於兩種以上之不同的景深。以 第5圖」來說,影像區塊a、B、c、D則屬於三種不同的景深。 即,影像區塊A與其他三者(影像區塊b、c、D)屬於不同的景 /木,且景>像區塊D亦與其他三者(影像區塊a、β、匚)屬於不同 的景深。 在另一實施例中,假設數位相機10〇是對焦於影像區塊D所 對應的標的物上,則以影像區塊D的亮度資訊與其他三者(影像 區塊A、B、C)相比,以得到影像區塊D、a的亮度資訊的差值、 影像區塊D、B的亮度資訊的差值和影像區塊〇、c的亮度資訊的 差值。再將得到的三個差值與第二閥值相比,以確認是否有差值 大於第二閥值。若有差值大於第二閥值即表示影像區塊A、B、C、 D是屬於兩種以上之不同的景深。 於步驟270中’可在確定在數位相機1〇〇前方之標的物屬於 兩種不同的景深時’直接將攝像模組110的感光度調高為當前的 感光度的一倍。再者’亦可選擇依據攝像模組u〇的感光度的設 201204018 定選項或特定標的物來進行調整。 就依據攝像模組110的感光度的設定選項進行調整來說去 確定在數位相機100前方之標的物屬於兩種不同的景深時,可: 據攝像模組11G的就度的設定選項依序將當前的絲度提高一 級別。舉例來說’假設數位相機100提供之攝像模組110的感光 度的設定選項為5〇、100、2〇〇、4〇〇、㈣和_,並且當 光度設定為跡當媒定在數位相機1〇〇前方之標的物屬於兩柄 同的景冰時,則將攝像模組11〇的感光度從·調高為綱。 就依據特定標的物來說,可從在數位相機1〇〇前方之所有 的物中選擇—個或多個在標的物作為計算調整值的參考,進而^ 以計算得的值膽攝像池110當前的感光度。 其中,可選擇景深最深的標的物作為計算調整值的參考,即 以景深最深的標的物的影像f訊計算感光度的調整值。 抑或是,可選擇目標物以外的標的物作為計算調整值的來 t即依據落於攝像模組⑽所對焦的景财外之景深的標的物 影像資料算駐度的織值。於此,可麵景深大於目標物 之景深,標的物的影像資訊計算感光度的調整值。 以第5圖」所示的標的物來說,假設標的物為人臉且數位 =機是對焦於影像區塊D所對應的標的物上。此時,可選擇 象品4㈣像貝糾算感光度_整值,或是麵影像區塊 、B、C中之—個或兩個影像區塊的影像資訊來計算感光度的調 在以上描述中, 「第一」和「第二」僅用以標示二元件(二 201204018 然其並非用以限定本 閥值),並非用以限定指稱特定元件或順序 • 雖然本發明以前述之實施例揭露如上, 發明。在不_本翻之精神和翻内 .保護範圍請參考 屬本發明之專利保護範圍。關於本發明所界定之動與潤飾’均 所附之申請專利範圍。 '疋 【圖式簡單說明】 第1圖為根據本發明—數位相機的概要示意圖。 第2 ®為根據本發明—實_之數軸_感光度的調整方 φ 法的流程圖。201204018 VI. Description of the Invention: [Technical Field] The present invention relates to a method for adjusting imaging parameters of a digital camera, and more particularly to a method for adjusting sensitivity of a digital camera. [Prior Art] With the development of digital reduction, Lacco is again expensive (4). The user can take the desired image at will' to record a memorable moment or scene. Φ When shooting, 'The average user wants the photos they take to be clearly visible. Therefore, when shooting a target (can be a landscape, a person or an object), adjust the focus and brightness of the target to get a satisfactory picture. With the advancement of technology, digital cities mostly provide the ability to automatically set camera parameters. In general, a digital camera calculates appropriate imaging parameters for a target. Among them, the amount of light emitted by the digital camera's flash can be adjusted according to the distance between the digital camera and the target. The relationship between the light intensity and the distance between the light intensity and the target coefficient can be expressed as: GN = fxL. Where GN represents the flash intensity (ie, the flash index GN, GuideNumber), f is the aperture coefficient, and L is the distance between the target and the digital camera. The flash “the number of flashes of the flash light is 5 A major basic indicator of flash performance. In the shooting range of a digital camera, there are usually multiple objects. Generally speaking, a digital camera uses one of the targets as a target. Because the digital camera is aimed at shooting The target is filled with light, so the captured image _, relative to the target, the image of the object farther away from the digital camera will be more blurred and/or the 201204018 degree is relatively too dark. [Inventive content] In view of the above problems The present invention provides a method for adjusting the sensitivity of a digital camera by solving at least one problem of the prior art. The method for adjusting the sensitivity of the digital camera disclosed in the present invention is applied to a digital camera. The digital camera includes a flash and a camera module. First, using the camera module to capture a preview image corresponding to a plurality of objects Then 'cause the flash to pre-sparkle, and use the camera module to take the corresponding image of the smashing object. Then 'calculate a reflection image by previewing the image and deleting the image' and by using the image Each of the above sets the reflection information to discriminate the appearance position of the object in the pre-flash image. Then, an identification program is executed for the obtained appearance position to find out the brush image to show the object _ the teacher and according to the found object The image information determines whether the objects belong to more than two different depth of field. ~ When the objects belong to more than two different depths of field, adjust the current sensitivity of the camera module. After the sensitivity, the flash can be caused to pre-light the light again and the pre-flash image of the object of the camera module is used as a reference for other imaging parameters. When the target object in front of the digital camera is captured in the phase depth of field, Then, the current sensitivity of the camera module is not adjusted, and the flash intensity of the main flash is calculated by using the pre-flash image. Among them, each object can be a face, and And the identification sequence can be - face recognition process 201204018 Here, the brightness information of the texture and the brightness of the image can be obtained to obtain a reflection image. In the sensitivity test, the camera module can be directly The sensitivity is adjusted to be - times the current sensitivity. Furthermore, the adjustment may be performed according to the sensitivity setting option of the camera module or a specific target. The sensitivity adjustment method of the digital camera according to the present invention is transparent. The flash performs the image obtained before and after the pre-flash to determine the phase-to-distance distance of the target in the image capturing range as a reference for adjusting the current sensitivity of the digital camera, and thus can be captured while the flash is being filled. The above description of the embodiments of the present invention and the following embodiments are intended to demonstrate and explain the spirit of the present invention, and to provide a further explanation of the scope of the patent application of the present invention. [Embodiment] Here, the method for adjusting the sensitivity of the digital camera according to the present invention can determine the target in the image manipulation range by performing the image (preview image and pre-flash image) acquired before and after the pre-flash. The relative distance of the object is used as a reference for adjusting the sensitivity of the digital camera, and then the image with better quality can be captured while the flash is being filled. Please refer to "FIG. 1". The digital camera 100 may include a camera module 11A, a flash lamp 120, a storage unit 130, a processing unit 140, and a display 150. The camera module 110 includes a lens group 112 and a photosensitive element 114. The operation of the digital camera 100 can be divided into a live view, an auto focusing, a pre-flash phase, and a shooting phase. 201204018 The preview phase refers to the time before the user presses the shutter button of the digital camera 100. During the preview phase, the user can view the scene through the display of the digital camera. m The focus phase refers to the moment when the user presses the shutter button of the digital camera's brain halfway. In the focusing phase, the digital device 100 will use one or more of the targets in the framing screen as the target object and adjust the object distance between the lens group 112 and the target object, and the user can display the digital device KK) _ The framing screen after the 15G job is difficult (ie, after the object distance adjustment is completed). The pre-flash phase means that the flash 120 emits a pre-sparkle after focusing, and the digital camera 1GG passes the image of the current viewfinder through the camera module 11Q to serve as a reference for the flash intensity of the shooting phase. The shooting phase refers to the moment when the user fully presses the shutter button of the digital camera. During the shooting phase, the digital camera 1 〇 captures the current framing plane through the camera module 11 记录 and records the captured framing picture as an image. Here, the preview image is an image obtained by the index camera 1 during the preview phase or the focusing phase. The pre-flash image is the image captured by the index camera 8 (8) during the pre-flash phase. The lens group 112 is used to adjust the focal length of the subject. The photosensitive element 114 is provided corresponding to the lens group 112. The photosensitive element 114 can receive the optical signal corresponding to the target and its surrounding scenery through the lens group 112, and convert the received optical signal into the electrical signal of the digital image to obtain an image corresponding to the target. In other words, the photosensitive element 114 can capture the preview image through the lens group 112 in the preview phase and the focusing phase of the digital camera 100, and record the pre-flash level 201204018 segment of the digital camera i〇Q via the mirror track m, and the domain The shooting-stage captures digital images via the lens group 112. The processing unit 140 is electrically connected to the photosensitive element m and the storage unit (10). The processing unit mo controls the operation of the lens group 112 and the photosensitive member 114. Moreover, the processing H0 can determine the distance between the target objects in front of the digital camera according to the extracted preview image and the deleted image, thereby selectively adjusting the current sensitivity of the digital camera. The method of adjusting the sensitivity of the digital camera according to the present invention for σ can be applied to the digital camera 100 in a soft or aging manner. That is, one of the codes for adjusting the sensitivity of the digital camera according to the present invention can be stored in the storage unit m of the digital camera 1 and then read and executed by the processing unit 14 touched by the digital camera. The sensitivity is adjusted selectively by adjusting the sensitivity of the digital camera of the camera (10) Gua Na Ben (4). The processing unit 140 can be implemented by one or more processors, such as a digital signal processor (DSP). The storage unit 13A can be implemented by one or more storages, and the storage can be non-volatile memory or volatile memory. Fig. 2 is a flow chart showing a method of adjusting the sensitivity of a digital camera according to an embodiment of the present invention. Referring to "1st and 2nd drawings", first, a preview image corresponding to a plurality of objects in front of the digital camera 100 is captured by the camera module 11 (step 21A). Then, the flash lamp 120 is caused to emit a pre-flash, and a pre-flash image corresponding to the objects is captured by the camera module 110 under the pre-flashing fill light (step 220). 201204018 Calculates a reflected image from the captured preview image and pre-flash image (step 230). Here, the reflected image can be obtained by comparing the brightness information of the preview image with the brightness information of the pre-flash image. In other words, the reflected image is the difference between the brightness information corresponding to the preview image and the brightness information of the pre-flash image. The appearance position of the private object in the pre-flash image is discriminated by the reflection information of each position point on the reflected image (step 240). In other words, the block of the image of the pre-flash image that may belong to the target object can be discriminated by observing the reflection information of each position point on the reflected image. The reflection information may be the amount of reflection (i.e., the difference between the brightness information of the preview image and the same position of the pre-flash image) or the reflectance. Each location point can be one pixel or a specific size image block. An identification process is performed for discriminating the appearance position to find image information of the object in which the I is displayed in the pre-flash image (step 250). In other words, the identification program is used to identify the target image of the partial image at the position of the pre-flash image to find the image block (i.e., image information) belonging to the target object. It is judged based on the image information of the found object that the object belongs to two or more different depths of field (step 260). Here, by calculating the image information of the target object, it can be known whether the plurality of objects in front of the digital camera 1 落 fall on two different focus ranges of the digital camera 1 。. When the subject matter in front of the digital camera 100 belongs to two different depths of field, the current sensitivity of the camera mode, group 110 (turn 270) is adjusted to increase the brightness of the image of the object located in the female eye. That is to say, when a plurality of objects in front of the digital camera 100 fall on the digital subtraction and the riding range, the digital camera 10G adjusts the current sensitivity to take into account the 201204018 brightness of the distant object. . Moreover, after the current sensitivity of the camera module 110 is adjusted, the flash 120 can be caused to emit the pre-flashing light again, and the pre-flash image of the target object is captured again by the camera module i , as a reference for other imaging parameters ( Step 28〇). For example, the flash intensity of the main flash can be calculated from the pre-flash image obtained again (step 29A). When the objects in front of the digital camera 1 are all of the same depth of field, the current sensitivity of the camera module 110 is not adjusted, and the flash intensity of the main flash is calculated as the pre-flash image (step 290). At the time of shooting, the flash 120 emits a main sparkle having a calculated flash intensity, and the camera module 110 is used to take a digital image of the subject. Among them, the subject matter can be a face, and the recognition program is a face recognition program. However, this is not a limitation of the present invention. The subject matter can be set to at least one feature object of a face, a building, an animal, a plant, a vehicle, a sign, and a specific item according to actual needs. Referring to "Fig. 3", in step 240, a first threshold value can be used to compare the reflection information of each position point on the reflected image (step 241). When the reflection information is greater than the first threshold value, the corresponding position point (i.e., the position where the reflection = the signal value is greater than the threshold value) is determined as the appearance position of the target object (step M2). When the reflection signal is less than or equal to the first threshold value, the corresponding position point (i.e., the position point whose reflection information is less than or equal to the threshold value) is determined as the display position of the target object (step 243). Referring to "Fig. 4", in step 260+, the reflection information corresponding to the image information of the found object can be compared with each other (step 261), and the comparison result is compared with the 201204018 threshold (step plus 2) . Here, the reflection information corresponding to the image information of any two objects can be compared with each other to obtain the result of comparing all the objects. Or, the reflection corresponding to the image information of the target object to which the camera module 11 is focused is compared with the reflection information of the other subject matter (4). When the difference of the reflection information corresponding to the two objects (i.e., the comparison result) is larger than the second time, the object of the (four) object in front of the number machine (10) belongs to two or more different depths of field (step 263). When the difference of the reflection information corresponding to all the two objects (i.e., the comparison result) is less than or equal to the second value, it is determined that the plurality of objects in front of the digital camera belong to a single depth of field (step 264). Here, the face is described as a subject. Referring to "figure 5", the 'iv image blocks A, B, C, and D in the image belong to four objects. The same image block a/b/c/d in the preview image and the pre-gate ~ image will be in the same relative position. Compared with the image block E belonging to the non-standard object (for example, the background), the brightness information of the image block A/B/c/D of the target object in the preview image is the same as the image block A in the test image. The difference between the brightness information of /B/C/D is relatively large. In other words, the difference between the brightness information in the preview image and the brightness information in the pre-flash image (the difference between the image block E of the non-standard object (eg, background), the same image block a/B/C/d) Sex) is larger. Therefore, comparing the reflection information of each position point in the reflected image with the second threshold value, the position of the reflection information greater than the second threshold value can be found to obtain the image blocks A, B, C, and D. position. Further, a face recognition program is performed for the found position to break the image blocks A, B, C, and D (i.e., four faces). 201204018 Then, compare the brightness information of image blocks A, B, and C' D to determine whether image blocks A, β, C, and D are at different depth of field. For example, the brightness information of the image blocks A, B, C, and D can be compared by two to obtain the difference of the brightness information of the image blocks A and B, and the brightness of the image blocks A and C. The difference, the difference of the brightness information of the image blocks a and D, the difference of the intensity information of the image block Bc, the difference between the brightness information of the image blocks B and D, and the brightness of the image blocks C and D The difference in information. The resulting six differences are compared to a second threshold to determine if there is a difference greater than the second threshold. If the difference is greater than the second threshold, it means that the image blocks A, B, C, and D belong to two or more different depths of field. In the fifth picture, the image blocks a, B, c, and D belong to three different depths of field. That is, the image block A and the other three (image blocks b, c, D) belong to different scenes/woods, and the scenes are similar to the other three (image blocks a, β, 匚). Belong to different depth of field. In another embodiment, assuming that the digital camera 10 is focused on the target corresponding to the image block D, the brightness information of the image block D is compared with the other three (image blocks A, B, C). For example, the difference between the brightness information of the image blocks D and a, the difference between the brightness information of the image blocks D and B, and the difference between the brightness information of the image blocks 〇 and c are obtained. The resulting three differences are compared to a second threshold to determine if the difference is greater than the second threshold. If the difference is greater than the second threshold, it means that the image blocks A, B, C, and D belong to two or more different depths of field. In step 270, the sensitivity of the camera module 110 can be directly increased to twice the current sensitivity when it is determined that the subject matter in front of the digital camera 1 belongs to two different depths of field. Furthermore, it is also possible to adjust according to the setting of the sensitivity of the camera module u〇 201204018 or a specific target. When it is determined according to the setting option of the sensitivity of the camera module 110 to determine that the object in front of the digital camera 100 belongs to two different depths of field, the following options may be adopted according to the setting options of the camera module 11G. The current silkiness is increased by one level. For example, it is assumed that the setting options of the sensitivity of the camera module 110 provided by the digital camera 100 are 5 〇, 100, 2 〇〇, 4 〇〇, (4), and _, and when the luminosity is set as a trace when the camera is set in the digital camera. When the target object in front of the frame belongs to the same two sides of the ice, the sensitivity of the camera module 11〇 is increased from · to the outline. According to the specific target, one or more of the objects in the front of the digital camera can be selected as a reference for calculating the adjustment value, and then the calculated value of the camera pool 110 is currently Sensitivity. Among them, the object with the deepest depth of field can be selected as a reference for calculating the adjustment value, that is, the adjustment value of the sensitivity is calculated by the image f of the object with the deepest depth of field. Alternatively, the target object other than the target object may be selected as the calculation adjustment value, that is, the weave value of the target image data based on the depth of field outside the scene of the focus of the camera module (10). Here, the depth of field can be larger than the depth of field of the target, and the image information of the object is used to calculate the sensitivity adjustment value. In the case of the object shown in FIG. 5, it is assumed that the object is a human face and the digit = machine is focused on the object corresponding to the image block D. At this time, you can select the image information of the image (4) image correction sensitivity _ whole value, or the image area, B, C, or two image blocks to calculate the sensitivity. The "first" and "second" are used to identify only two components (second 201204018, which is not intended to limit the present threshold), and are not intended to limit the specific components or the order of the reference. As above, the invention. In the spirit and scope of the protection, please refer to the scope of patent protection of the present invention. The scope of the patent application is hereby incorporated by reference in its entirety to the extent of the disclosure. '疋 BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a digital camera according to the present invention. The second ® is a flowchart of the method of adjusting the φ method of the numerical axis _ sensitivity according to the present invention.

第3圖為根據本發明— 第4圖為根據本發明— 第5圖為根據本發明— 實施例之步驟240的細部流程圖 實施例之步驟260的細部流程圖 實施例之取景晝面的示意圖。 【主要元件符號說明】 100 數位相機 110 攝像模組 112 鏡頭組 114 感光元件 120 閃光燈 130 儲存單元 140 處理單元 150 顯示器 A 影像區塊 B 影像區塊 201204018 c 影像區塊 D 影像區塊 E 影像區塊Figure 3 is a schematic view of a framing plane of an embodiment of a detailed flow chart of step 260 of a detailed flow chart embodiment of step 240 in accordance with the present invention - an embodiment of the present invention. . [Main component symbol description] 100 Digital camera 110 Camera module 112 Lens group 114 Photosensitive element 120 Flash 130 Storage unit 140 Processing unit 150 Display A Image block B Image block 201204018 c Image block D Image block E Image block

Claims (1)

201204018 七、申請專利範圍: 1. 種數位相機的感光度的調整方法,該數位相機包括一閃光燈 與一攝像模組,該數位相機的感光度的調整方法包括: 利用該攝像模組擷取相應於複數個標的物的一預覽影像; 致使該閃光燈發出一預閃閃光,並利用該攝像模組擷取相 應於該些標的物的一預閃影像; 透過該預覽影像和該預閃影像計算一反射影像; 藉由該反射影像上的各個位置點的反射資訊判別出該預 閃影像中該些標的物的顯現位置; 針對該些顯現位置執行一辨識程序,以找出該預閃影像中 顯現出該些標的物的影像資訊; 根據該些標的物的該些影像資訊判斷該些標的物是否屬 於兩種以上之不同的景深;以及 當該些標的物屬於兩種以上之不同的該景深時,調整該攝 像模組當前的感光度。 2. 如請求項1所述之數位相機的感光度的調整方法,其中各該標 的物係為人臉,且該辨識程序係為一人臉辨識程序。 3. 如請求項1所述之數位相機的絲度_整方法,其中該透過 該預覽影像和該删影像計算—反射影像的步驟包括:透過比 較該預覽影像的亮度資訊和該删影像的亮度資訊來得到該 反射影像,其中該反射影像是相應於該預覽影像的亮度資訊和 該預閃影像的亮度資訊之間的差異。 4. 如請求項1所述之數位相機_光度_整方法,其中該藉由 201204018 該反射影像上的各個位置點的反射資訊判別出該預閃影像中 該些標的物的顯現位置的步驟包括: 將該些反射資訊與一閥值相比較; 當該反射資訊大於該閥值時,對應之該位置點判定為該些 標的物的顯現位置;以及 ~ 當該反射資则、械等於關_,對應之触置點判定 不為該些標的物的顯現位置。 5. 如請求項1所述之數位相機的感光度的調整方法,其中該根據 該些標的物的該些影像資關斷該些標的物是否屬於兩種以 上之不同的景深的步驟包括: 將該些標的物的影像資訊所對應的該些反射資訊相互比 較;以及 當該些標的物中兩該標的物所對應的該些反射資訊的差 異性大於—_時,判定該些標的物屬於兩種以上之不同的該 景深。 6. 如請求項1所述之數位相機的感光度的調整方法,其中該調整 該攝像模組當前的感光度的步驟包括·· 依據賴賴_域錢的設轉魏序將當前的該 感光度提ifj 一級別。 7. 如請求項1所述之數位相機的感光度_整方法,其中該調整 該攝像模組當前的感光度的步驟包括: ▲將該攝雜_域光度調高為當前购感光度的一倍。 8. 如請求項1所述之數位相機的感光度的調整方法,其中該調整 201204018 該攝像模組當前的感光度的步驟包括: • 依據屬於該些標的物所屬的該些景深中最深的該景深的 ' 至該標的物的該影像資訊計算賊光度的-調整值;以及 以該調整值調整該攝像模組當前的該感光度。 9. 如請求項1所述之數位相機的感光度的調整方法,其中該調整 該攝像模組當前的感光度的步驟包括: 依據屬於該些標的物所屬的該些景深中該攝像模組所對 鲁 焦的該景深以外之至少一該景深的至少一該標的物的該影像 資訊計算該感光度的一調整值;以及 以該調整值調整該攝像模組當前的該感光度。 10, 如請求項1所述之數位相機的感光度的調整方法,更包括: 於調整該攝像模組當前的感光度後,再次致使該閃光燈發 出該預閃閃光,龙利用該攝像模組再次擷取該些標的物的該預 閃影像。 17201204018 VII. Patent application scope: 1. The method for adjusting the sensitivity of a digital camera, the digital camera comprises a flash and a camera module, and the method for adjusting the sensitivity of the digital camera comprises: using the camera module to capture corresponding a preview image of the plurality of objects; causing the flash to emit a pre-flash, and using the camera module to capture a pre-flash image corresponding to the objects; calculating a preview image and the pre-flash image Reflecting the image; determining the appearance position of the objects in the pre-flash image by using the reflection information of the respective position points on the reflected image; performing an identification process on the display positions to find the appearance in the pre-flash image Obtaining image information of the objects; determining, according to the image information of the objects, whether the objects belong to two or more different depths of field; and when the objects belong to two or more different depths of field , adjust the current sensitivity of the camera module. 2. The method of adjusting the sensitivity of a digital camera according to claim 1, wherein each of the objects is a human face, and the identification program is a face recognition program. 3. The method according to claim 1, wherein the step of calculating the reflected image through the preview image and the deleted image comprises: comparing brightness information of the preview image with brightness of the deleted image. Information to obtain the reflected image, wherein the reflected image is a difference between brightness information corresponding to the preview image and brightness information of the pre-flash image. 4. The digital camera _photometric_detail method according to claim 1, wherein the step of determining, by the reflection information of each position point on the reflected image by the 201204018, the appearance position of the objects in the pre-flash image comprises: : comparing the reflection information with a threshold value; when the reflection information is greater than the threshold value, the corresponding position point is determined as the appearance position of the target objects; and when the reflection resource is equal to the protection value _ The corresponding touch point determination is not the appearance position of the target objects. 5. The method for adjusting the sensitivity of a digital camera according to claim 1, wherein the step of shutting down the objects according to the objects of the objects to determine whether the objects belong to two or more different depths of field comprises: The reflection information corresponding to the image information of the objects is compared with each other; and when the difference of the reflection information corresponding to the two objects in the objects is greater than -_, determining that the objects belong to two The above different depth of field. 6. The method for adjusting the sensitivity of the digital camera according to claim 1, wherein the step of adjusting the current sensitivity of the camera module comprises: according to the setting of the ray _ domain money, the current sensitization Degree of ifj a level. 7. The sensitivity method of the digital camera of claim 1, wherein the step of adjusting the current sensitivity of the camera module comprises: ▲ adjusting the photometric gamma to one of the current purchase sensitivity Times. 8. The method for adjusting the sensitivity of the digital camera according to claim 1, wherein the step of adjusting the current sensitivity of the camera module 201204018 comprises: • the deepest of the depths of the fields belonging to the object belonging to the target The image information of the depth of field to the target object calculates the illuminance-adjustment value of the thief; and adjusts the current sensitivity of the camera module with the adjustment value. 9. The method for adjusting the sensitivity of the digital camera according to claim 1, wherein the step of adjusting the current sensitivity of the camera module comprises: according to the camera modules belonging to the depth of field to which the objects belong Calculating an adjustment value of the sensitivity of at least one of the subject matter of the at least one depth of field other than the depth of field of Lu Jiao; and adjusting the current sensitivity of the camera module with the adjustment value. The method for adjusting the sensitivity of the digital camera according to claim 1, further comprising: after adjusting the current sensitivity of the camera module, causing the flash to emit the pre-flash, and the dragon uses the camera module again. The pre-flash image of the objects is captured. 17
TW99121945A 2010-07-02 2010-07-02 Digital camera sensitivity adjustment method TWI405458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99121945A TWI405458B (en) 2010-07-02 2010-07-02 Digital camera sensitivity adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99121945A TWI405458B (en) 2010-07-02 2010-07-02 Digital camera sensitivity adjustment method

Publications (2)

Publication Number Publication Date
TW201204018A true TW201204018A (en) 2012-01-16
TWI405458B TWI405458B (en) 2013-08-11

Family

ID=46756497

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99121945A TWI405458B (en) 2010-07-02 2010-07-02 Digital camera sensitivity adjustment method

Country Status (1)

Country Link
TW (1) TWI405458B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4998128A (en) * 1989-09-29 1991-03-05 Polaroid Corporation Preflash measurement technique
US5315342A (en) * 1992-12-28 1994-05-24 Eastman Kodak Company Automatic focus and indirect illumination camera system
US6941067B2 (en) * 2003-05-21 2005-09-06 Nikon Corporation Camera and multiple flash photographing system
JP4222213B2 (en) * 2004-01-16 2009-02-12 カシオ計算機株式会社 Camera device, photographing sensitivity setting program, and photographing sensitivity setting method
US8345120B2 (en) * 2004-04-06 2013-01-01 Nikon Corporation Electronic camera with self-adjusting flash and image-capture sensitivity

Also Published As

Publication number Publication date
TWI405458B (en) 2013-08-11

Similar Documents

Publication Publication Date Title
KR102279436B1 (en) Image processing methods, devices and devices
US10205876B2 (en) Apparatus for correcting motion blur
WO2020038109A1 (en) Photographing method and device, terminal, and computer-readable storage medium
JP7145208B2 (en) Method and Apparatus and Storage Medium for Dual Camera Based Imaging
JP4236433B2 (en) System and method for simulating fill flash in photography
WO2019105154A1 (en) Image processing method, apparatus and device
CN107948538B (en) Imaging method, imaging device, mobile terminal and storage medium
CN107743590B (en) Method and apparatus for performing exposure estimation using time-of-flight sensor
JP5096017B2 (en) Imaging device
JP6903816B2 (en) Image processing method and equipment
US8294785B2 (en) Method for adjusting photosensitiveness of digital camera
CN111684788A (en) Image processing method and device
CN107846556B (en) Imaging method, imaging device, mobile terminal and storage medium
KR20090098197A (en) Digital photographing apparatus to control flash lighting, controlling method for the same, and recording medium which records the program for carrying the same method
JP2013214878A (en) Imaging apparatus, exposure control method, and program
CN101867716A (en) Adjusting method for digital image capturing conditions and digital photographing device
TW201108729A (en) Backlight shooting method
JP2010072619A (en) Exposure operation device and camera
WO2021218536A1 (en) High-dynamic range image synthesis method and electronic device
TW201014346A (en) An image brightness compensation method and digital photographic device with an image brightness compensation function
JP2008193278A (en) Image pickup device, image pickup method, and program for computer to perform the same method
JP2006217413A (en) Electronic camera
JP5849515B2 (en) Exposure calculation device and camera
TW201204018A (en) Method for adjusting photo-sensitiveness of digital camera
JP2010124258A (en) Imaging apparatus and control method of the same