TW201040882A - Detection method of the stability of digital photography device, and the digital photography device - Google Patents

Detection method of the stability of digital photography device, and the digital photography device Download PDF

Info

Publication number
TW201040882A
TW201040882A TW98115430A TW98115430A TW201040882A TW 201040882 A TW201040882 A TW 201040882A TW 98115430 A TW98115430 A TW 98115430A TW 98115430 A TW98115430 A TW 98115430A TW 201040882 A TW201040882 A TW 201040882A
Authority
TW
Taiwan
Prior art keywords
digital camera
shooting
image
value
stability
Prior art date
Application number
TW98115430A
Other languages
Chinese (zh)
Inventor
Chi-Jung Weng
Ming-Song Hsiao
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 TW98115430A priority Critical patent/TW201040882A/en
Publication of TW201040882A publication Critical patent/TW201040882A/en

Links

Landscapes

  • Studio Devices (AREA)

Abstract

This invention relates to a detection method of the stability of digital photography device, and the digital photography device, where the detection method includes: acquiring several pre-view images at different time; capturing a plurality of image blocks from the pre-view images at one or more same positions; calculating the variation between each two image blocks located at the same position; comparing each variation with the displacement threshold, if all the variations are smaller than the displacement threshold, it is judged that the digital photography device is in stable status; if one or more variations are greater than the threshold, it is judged that the digital photography is in unstable status. Moreover, a set of photographing parameters can be obtained according to the detection result of stability.

Description

201040882 六、發明說明: 【發明所屬之技術領域】 本發明係關於的拍攝方法,特別有關於一種數位攝像裝置穩 定度的偵測方法,其用於數位攝像裝置,以致使數位攝像裝置可 透過軟體方式偵測其穩定狀態,藉以對應調整其拍攝參數。 【先前技術】 在數位相機發展快速的今天,許多人會利用攝影來記錄值得 紀念的一刻。但無論在底片相機或數位相機上,往往會因為使用 者對相機把持不穩定,而導致拍攝時產生模糊影像。只要是徒手 拿取相機,多多少少都存在著震__。差別是每個人手持的 穩定程度均有所不同,導致按下快門瞬間會不自主的位移。所以 為了避免因為手震而使得拍攝產生模糊影像,數位相機廠商會透 過硬體方絲職手震’或以軟體方絲触正已模糊的數位影 像。 〇 所以在每-家數位相機廠商在自家的產品中,均加入不同的 防手震鋪。防手震卿是要在拍攝過財,侧並抑制因為手 部晃動而造成的影像難現象。防手震技触要透過硬體或軟體 的方式來達成。 硬體的方式-般都是_絲電子元件时震以及光學式防 手震。感光電子元件防手震係為提高感光度⑸—㈤她 0咖―IS0)能力。基本上提高IS〇是為了加快快門速度, 但提高腦同時也會帶來更高的雜訊。而光學式防手震係在數位 201040882 *. 相機中設置—運動偵測之光學陀螺儀元件。當數位相機偵測到發 生手震的同時,數位相機會根據手震的方向來將鏡頭移向反方 向’藉以補償因為位移所造成的影像模糊。另外-種防手震方法 係放大光_方式’用以增加人《藉骑短快。但是光 圈大]係取决於鏡ja臆的組合架構。—般而言,大細的鏡頭具 有較南的成本與體積。所以不易被設置於消費型的數位相機中。 【發明内容】 繁於以上的問題’本發明在於提供—種數位攝像裝置穩定度 的偵測方法缝倾像裝£,以致於在拍舰轉糾,可根據 數位攝像裝置的穩定狀態相對應調整數位攝像裝置的拍攝參數。 為達上述目的,本發明所揭露之數位攝像裝置穩定度的倘測 方法,應用於-數位攝像裝置。此偵測方法包括:於不同時間點 擷取多張預覽影像;從預覽影像的至少-相同位置擷取多個影像 區塊;計算位於相同位置上之每二個影像區塊之間的變異量;將 每-變異量與-位移門檻值相比較;當所有變異量等於或小於位 移門檻值時,判定數位攝像裝置為穩定狀態;以及當至少—變異 量大於位移Η檻值日彳’判定數位攝像裝置為非敎㈣。並且, 可依據穩定度的偵測結果得到—組相對應的拍攝參數。 其中’可先依據預覽影像的影像參數設定好一組拍攝參數, 然後當判定數位攝像裝置為非穩定狀態時,則對應調整設定好的 拍攝參數,贿娜後_攝參數_於非穩定狀§下進行拍攝。 此外’當判定數位攝像裝置為穩定狀態時,對應穩定狀態設 201040882 定-組拍攝參數,以得到—組適用於敎狀態下進行拍攝的拍攝 參數;而當判定數位攝像裝置為非穩定狀態時,則對應非穩定狀 態設定-_攝參數,以得到—組_於非穩定㈣下進行拍攝 的拍攝參數 於此,預覽影像可為數位攝像裝置於預覽階段和/或預攝階段 中所擷取到的影像。 #欺數賴像裝置域定狀祕,於_階段巾,數位攝 像裝置可直接以設定的拍攝參數進行_。或者是,當判定數位 攝像裝置為穩練態時’可接續執行第—調整程序,以根據其他 影響拍攝效果的變因調整拍攝參數。 當判定數位攝像裝置為非穩定狀態時,則調整數位攝像裝置 設定的拍攝參數,例如,但非本發明之限制:感光度、快門值與 光圈值。此外,當判定數位攝像裝置為非穩定狀態時,還可執行 〇第二調整程序,以根據其他影響拍攝效果的變關整拍攝參數。 於-實施例中,第一調整程序可根據環境亮度和數位攝像裝 置的硬體設定等影響拍攝效果的咖進行拍攝參數賴整,以決 定實際拍攝時數位攝像裝置的拍攝參數。 於實施例中,第二調整程序根據被攝物的狀態、環境亮度 和數位攝像裝置的賴(例如,但非本發明之限制:閃光燈等) 的設定等影響拍齡果的變因進行拍攝參數的赚,以決定實際 拍攝時數位攝像裝置的拍攝參數。 於-實施例中,根據本發明的數位攝像裝置穩定度的偵測方 201040882 法可以軟體或韌體的方式實現在數位攝像裝置上。即,相應於根 據本發明的數位攝像裝置穩定度的偵測方法的一程式碼可記錄於 數位攝像裝置的儲存單元中。數位攝像裝置的處理單元可讀取並 執行此程式碼,以使數減像裝置執行根據本卿的數位攝像震 置穩定度的偵測方法。 綜上所述,根據本發明的數位攝像裝置穩定度的偵測方法可 應用於數位攝像裝置。因此,應用本發明一實施例之數位攝像裝 置可根據取雜段與麵毅中的目標影像(即,鶴物的影像) 满數位攝像裝置是雜定,並且触攝像裝錯敎時,於以 根據當前的拍攝模式調整拍攝參數,藉以避免晃動影響拍攝效果。 【實施方式】 於此,根據本發明的數位攝像裝置穩定度的偵測方法及數位 攝像裝置,可以軟體債測數位攝像裝置的穩定狀態與否,進而對 應數位攝像裝置的穩定狀態來決定數位攝像裝置的拍攝參數,例 如:(但非本發明之限制)感光度、快門值與光圈值等。於此,係 透過分析預先擷取得的多張預覽影像中被攝物的位置變異量來判 疋數位攝像裝置的穩定狀態,進而決定數位攝像裝置的拍攝參 數。再者’還可進—步參考拍攝時被攝物的狀態、環境亮度和數 位攝像裝置的硬體(例如,但非本發明之限制··閃統等)的設 定等影響拍攝效果的變因,來更適當地決定數位攝像裝置的拍攝 參數。 清參照「第1圖」’數位攝像裝置100可包括:綱組110、 201040882 感光元件120、儲存單元130與處理單元14〇。 數位攝像裝置1G0的運作可區分為預覽階段(iive view)、預 攝階段(auto f0cusing)與_·。 、 士預覽p白丰又疋指使用者按壓數位攝像跋置1〇〇的快門鍵之前的 才到於預覽1¾段中,使用者可透過數位攝像裝置漏的顯示器 (圖中未示)預覽取景晝面。 〇 麵认疋指使用者在半按數位攝像裝置1GG的快門鍵的時 刻。於麵階段中,數位攝像裝置1〇〇會開始調整鏡頭組11〇與 取,7、晝面中被攝物的物距,並且使用者可透過數位攝像裝置 的顯不器預覽對焦後(即,物距調整完成後)的取景晝面。 拍攝階段是指使用者全按下數位攝像裝置1〇〇的快門鍵的時 刻。於拍攝階段中,數位攝像裝置1〇〇會拍攝當前的取景晝面並 將拍攝得的取景晝面記錄為一影像。 Q 於此,預覽影像係指數位攝像裝置1〇〇於預覽階段或預攝階 段中所擷取到的影像。 鏡頭組110用以調整對被攝物之焦距。 感光元件120對應鏡頭組110而設置。感光元件120可透過 鏡頭組110接收相應於被攝物的光訊號,並根據所接收到的光訊 號轉換成數位影像的電訊號以得到相應於被攝物的影像。換言 之,感光元件120可於數位攝像裝置100的預覽階段和預攝階段 經由鏡頭組110擷取預覽影像,以及於數位攝像裝置100的拍攝 .階段經由鏡頭組110擷取數位影像。 201040882 處理單元140電性連接於感光元件12〇與儲存單元13〇。處理 單元140可控制鏡頭組11〇和感光元件12〇的運作,並且可根據 擷取到的預覽影像判斷數位攝像裝置觀的穩定度,即是否正在 晃動。 換言之,根據本發明的數位攝像裝置穩定度的偵測方法可以 軟體或動體的方式實現在數位攝像裝置上。即,相應於根據本發 明的數位麟裝聽定度的_方法H切可靖於數位攝 像裝置100的儲存單S130中。數位攝像裝置1〇〇的處理單元⑽ 可讀取並執行錄錢,缝數_縣置贿減本發明 的數位攝像裝置穩定度的偵測方法。 其中,處理單元140可由一個或多個處理器實現。儲存單元 130可由-個或多個儲存器實現。儲存器可為非揮發性記憶體或為 揮發性記憶體。 「第2圖」係為根據本發明一實施例之數位攝像裝置穩定度的 偵測方法的流程圖。 參照「第1及2圖」,數位攝像裝置穩定度的偵測方法可應用 於數位攝像裝置1〇〇中。 感光兀件120於不同時間點透過鏡頭組11()擷取多張預覽影 像(步驟210)。其中’感光元件12〇可於數位攝像裝置1〇〇的預 覽階段和/或預攝階段進行預覽影像的擷取。 舉例來說,感光元件120可於數位攝像裝置1〇〇的預覽階段 中,擷取不同的晝面更新率(fi^e rate)之預覽影像,並且榻取 201040882 兩張以上的預覽影像。或者,感光元件120可於數位攝像裝置1〇〇 的預覽階段中擷取至少一張預覽影像,然後再於數位攝像裝置1〇〇 的預攝階段中擷取至少一張預覽影像。 並且,擷取彳于的預覽影像可由處理單元140進行以下影像區 塊的擷取、分析與判斷,以得知數位攝像裝置的穩定度。 首先,擷取於此些預覽影像中相同位置(即,於所屬預覽影 像中的相對位置相同)上的影像區塊(步驟25〇)。於此,影像區 〇塊係為預覽影像的局部區域,即影像區塊的尺寸制、於預覽影像 的尺寸。 ' 〇 再者,可從每張預覽影像的不同位置處擷取出—個或多個影 像區塊。並且,每張職影像進行影像區塊擷取的位置及數量可 均相同’且於每張觀影像的相同位置處所擷取得的影像區塊係 為相同尺寸。當每張預覽影像擷取多個影像區塊時,從同一張預 覽影像中擷取出的多個影像區塊可為相同尺寸,亦可為不同尺 寸’或是部份影像區塊的尺寸_而部分影像輯的尺寸不同。 於此’可預先奴欲齡影縣塊·置、㈣及尺寸等參數。 、/外’可於每張預覽影像擷取得之後,即傳送给處理單元140 進仃影像區塊_取。亦可先將齡得_Kf彡像暫存於儲存單 ==巾,攸賴有職·練完錢,再喊理單元⑽ 仃母張預覽影像的影像區塊的擷取。再者,於處理單元刚忙 无暫存於儲存單元13〇中。 201040882 置上之每二個影像區塊 接著,計异在不同預覽影像的相同位 之間的變異量(步驟270)。 然後,將計算得的變異量與一位移門播值相比較(步驟 於此’可預先設定位移門檻值。 當所有變異#等於或小於位移服辦,判定數位攝 ⑽為歡狀態(步驟31〇)。而當—個或多個變異量大於位移 檻值時’判定數位攝像裝置刚為非穩定狀態(步驟伽) 於此,所稱之數位攝像裝置刚的穩定與非穩定 位攝像裝置觸的本體是否固定維持於相同位置上。‘、曰數 並且,可依據穩定度的摘測結果得到—組相對應的拍攝表數 (步驟35〇及步驟352),以作為數位攝像裝置卿於拍攝階段中的 影像擷__硬體組件的設定條件。即,#欺紐攝像農置 1〇0為敎狀態(步驟)時,得到—組適狱狀態下進行 簡的拍攝參數(步驟350)。而當判定數位攝像裝置刚為非穩 (狀態(步驟320)時,得到一組適用於非穩定狀態下進行拍攝的 ^參數(步驟352)。此時,於拍攝階段中,數位攝像裝置刚 即可以得_拍攝參數進行拍攝,以擷取數鄕像,即將當前的 取景畫面記錄為數位影像。 於此’拍攝參數可包括感光度、快門值與光圈值等設定條件。 、其中,可先依據預覽影像的影像參數設定好一組拍攝參數, ^成數位攝像裝置的穩定度偵測後,即步驟3川或步驟伽之 後再依據偵測結果決定是否調整預先設定好的拍攝參數。 ⑧ 10 201040882 換句話說,參照「第3圖」,處理單元14〇會先依據預覽影像 的影像參數設定一組拍攝參數(步驟230 )。 然後’當判定數位攝像裝置1〇〇為穩定狀態(步驟31〇)時, 得到的拍攝參數即為設定的拍攝參數(步驟35〇)。換言之,當判 定數位攝像裝置100為穩定狀態(步驟31〇)時,於拍攝階段中, 數位攝像裝置100可直接峨定的拍攝參數進行賴,以娜數 位影像,即將當前的取景晝面記錄為數位影像。 而當判定數位攝像裝置為非穩定狀態(步驟320)時,則調整 設定好的拍攝參數(步驟33Q),例如,但非本發明之限制:感光 度、快門值與光圈值等拍攝參數,以使調整後的拍攝參數適用於 非穩定狀態下進行拍攝。換言之,當欺數減像裝置為非穩定 狀悲(步驟320)時’得到的拍攝參數即為調整後的拍攝參數(步 驟352)。因此,當判定數位攝像裝置為非穩定狀態(步驟刺 時,於拍攝階段中’數位攝像裝置1〇〇相最後得到的拍攝參數 (即’膽後的拍攝參數)進行拍攝,以擷取數位影像,即將當前 的取景晝面記錄為數位影像。 舉例來說,若數位攝像裝置議的感光度的設定選項可具有 100 125、2GG和4GG等數值’光_設定選項可具有2 83 2、 4、4.5和5等數值。當數位攝像裝置1〇〇在拍攝過程中發生晃動 時’也就是數位攝像裂置刚處於非穩定狀態時,數位攝像裝置 励會分別調整原設定女子的感光度、快門值與光圈值等拍攝來數。 於此,假設數位攝像裳置1〇〇當前設定的感光度為1〇〇、快門時間 201040882 (快門值)為1/60秒、且安全快門時間為1/1〇〇秒。當判定數位攝 像裝置100在預攝階段中出現晃動(即,數位攝像裝置1〇〇為非 穩定狀態)時,數位攝像装置1〇〇可將感光度調整為2〇〇,使得快 門時間在相同的光圈下提高至1/12〇秒,以致使快門時間快於安全 快門時間的1/100秒。 此外,亦可是於完成數位攝像裝置的穩定度偵測後,即步驟 310或步驟320之後,再對應偵測結果設定相對應的拍攝參數。 換句話說,參照「第4圖」,當判定數位攝像裝置為穩定狀態 (步驟310)時,對應穩定狀態設定一組拍攝參數(步驟34〇),以 得到一組適用於穩定狀態下進行拍攝的拍攝參數(步驟35〇)。而 菖判疋數位攝像裝置為非穩定狀態(步驟320)時,則對應非穩定 狀態設定一組拍攝參數(步驟342),以得到一組適用於非穩定狀 態下進行拍攝的拍攝參數(步驟352)。 為了方便說明,以下說明以應用於數位攝像裝置且擷取在預 覽階段中的最後一張預覽影像和在預攝階段中的第—張預覽影像 為例。 參照「第5圖」’首先擷取在預覽階段中的最後一張預覽影像 (以下稱之為第-預覽影像)(步,驟212),然後再擷取在預攝階段 中的第一張預覽影像(以下稱之為第二預覽影像)(步驟214 )。 接著,分析於第一預覽影像和第二預覽影像之間,二預覽影 像中之被攝物的變異量。 請再參照「第6A、6B、7A、7B、7C及7D圖」,分別於第一 201040882 •預覽影像趟和第二預覽影像搬的相同位置pa/pb處的影像 、B2祕、腿(步驟25〇)。並且,從第一預覽影像_和 第二預覽影像M2的相同位置處所擷取得的影像區塊叫、 B2a/Blb、B2b係為相同尺寸。 換言之,影像區塊Bla和影像區塊B2a分別係於第—預覽馬 像M1和第二預覽影像M2令相同的相對位置Pa上的局部影像Γ 蝴目同尺寸。同樣地’影像區塊肠和影像區塊咖分別係於 弟一預覽影像Ml和第二預覽影像M2中相同的相對位置%上的 局部影像,且為相同尺寸。即,在第一預覽影像組的中央部八 和邊緣部分擷取出影像區塊Bla、腸,並且同樣在第二預覽影^ M2的中央部分和邊緣部分擷取出影像區塊拉&、。 於此’雖然以每張預覽影像擷取兩影像區塊進行說明,但此 並非本發明之_。於實際_上,每張職影像亦可操取—個 〇影像區塊或三個以上的影像區塊。 …此外,軸於此及圖示均是述及先完成觀影像_取而後 像區塊_取’但此非本發明之限制。於實際應用上,亦 可於几成-1:預覽影像的擷取後即接續對擷取得的預 影像區輪取,此時亦可同時或於此張預崎的影像區塊的 搁取完成後進行下一張預覽影像的擷取。 計算從第-預覽影像M1和第二預覽影像M2的相同位置 b所掏取出的影像區塊Bla、B2a/Blb、跳之間的變異量(步 驟27〇)。即’計算影像區塊叫和影像區塊脱之間的變異量(以 13 201040882 下稱第k異里)及影像區塊Blb和影像區塊職之間的變異量 (以下稱第二變異量)。於此,可透過分析兩影像區塊Bla、 B2a/Blb、B2b的影像特徵(例如,但非本發明之限制:亮度、和 /或邊緣特徵、和/或色彩等)來得到變異量。 接著,比較第一變異量和位移門檻值以及比較第二變異量和 位移門檻值(步驟290)。 當第-變異量等於或小於位移門檻值且第二變異量等於或小 於該位移門襤值時,判定數位攝像裝置為穩定狀態(步驟31〇)。 當第一變異量和/或第二變異量大於位移門檻值時,判定數位 攝像裝置為非穩定狀態(步驟32〇)。 於一實施例中,可透過分析影像區塊Bla、B2a、Blb、B2b 的目輮特徵Cla、C2a、Clb、C2b,並計算目標特徵cla、C2a/cib、 C2b於來自相同位置Pa/pb的影像區塊Bla、B2a/Blb、_之間 的位移量,以作為變異量。 於此,目標特徵係指預覽影像中的被攝物於影像區塊中的部 分。 參照「第6A-6B、7A-7D及8圖」,分析每一影像區塊201040882 VI. Description of the Invention: [Technical Field] The present invention relates to a photographing method, and more particularly to a method for detecting the stability of a digital camera, which is used in a digital camera to enable a digital camera to pass through a software The mode detects its steady state, so as to adjust its shooting parameters accordingly. [Prior Art] In today's fast-developing digital cameras, many people use photography to record a memorable moment. However, in a film camera or a digital camera, it is often caused by the user's unstable control of the camera, which causes a blurred image when shooting. As long as you take the camera with your bare hands, there are more or less earthquakes __. The difference is that each person's hand-held stability is different, resulting in an involuntary displacement when the shutter is pressed. Therefore, in order to avoid blurring of the image caused by the camera shake, the digital camera manufacturer will use the hard-working square wire to shake the image or touch the blurred digital image with the soft square wire. 〇 Therefore, in each of the digital camera manufacturers, different anti-shock shops are added to their own products. The anti-hand shock is to shoot the money, and to suppress the image difficulty caused by the shaking of the hand. The anti-hand shake technique is achieved by means of hardware or software. The hardware method is generally _ silk electronic components shock and optical anti-shock. The anti-shock system of the photosensitive electronic component is to improve the sensitivity (5) - (5) her 0 coffee - IS0) ability. Basically, IS is increased to speed up the shutter speed, but raising the brain will also bring higher noise. The optical anti-hand shock system is in the digits 201040882 *. Set in the camera - optical gyro components for motion detection. When the digital camera detects a jitter, the digital camera moves the lens in the opposite direction according to the direction of the jitter to compensate for the image blur caused by the displacement. In addition, a kind of anti-shake method is to enlarge the light_method to increase people's short ride. But the aperture is large, depending on the combined architecture of the mirror. In general, large lenses have a souther cost and size. Therefore, it is not easy to be set in a consumer digital camera. SUMMARY OF THE INVENTION The present invention is directed to providing a method for detecting the stability of a digital camera device, so that the stitching image can be adjusted according to the steady state of the digital camera device. Shooting parameters of the digital camera. In order to achieve the above object, the method for measuring the stability of a digital camera device disclosed in the present invention is applied to a digital camera device. The detecting method comprises: capturing multiple preview images at different time points; capturing a plurality of image blocks from at least the same position of the preview image; calculating a variation between each of the two image blocks located at the same position Comparing the per-variation amount with the -displacement threshold value; determining that the digital camera device is in a steady state when all the variation amounts are equal to or smaller than the displacement threshold value; and determining the digit when at least the variation amount is greater than the displacement threshold value The camera unit is not (敎). Moreover, the corresponding shooting parameters of the group can be obtained according to the detection result of the stability. In the above, a set of shooting parameters can be set according to the image parameters of the preview image, and then when the digital camera device is determined to be in an unstable state, the set shooting parameters are adjusted correspondingly, and the parameter is _ in the unsteady state. Shoot down. In addition, when it is determined that the digital camera device is in a steady state, the steady state is set to the 201040882 set-group shooting parameter to obtain a set of shooting parameters suitable for shooting in the 敎 state; and when determining that the digital camera device is in an unstable state, Corresponding to the unsteady state setting - _ taking parameters, to obtain - the group _ shooting parameters under the unsteady (four) shooting, the preview image can be captured by the digital camera in the preview phase and / or pre-shooting phase Image. #欺数赖像装置域定秘, in the _ stage towel, the digital camera can be directly _ with the set shooting parameters. Alternatively, when it is determined that the digital camera is in a steady state, the first adjustment program may be continuously executed to adjust the shooting parameters according to other factors that affect the shooting effect. When it is determined that the digital camera is in an unstable state, the shooting parameters set by the digital camera are adjusted, for example, but not by the limitations of the present invention: sensitivity, shutter value, and aperture value. In addition, when it is determined that the digital camera device is in an unstable state, the second adjustment program may also be executed to adjust the shooting parameters according to other factors that affect the shooting effect. In the embodiment, the first adjustment program may perform shooting parameters according to ambient brightness and hardware settings of the digital camera, such as hardware settings affecting the shooting effect, to determine the shooting parameters of the digital camera during actual shooting. In the embodiment, the second adjustment program performs shooting parameters according to the state of the object, the ambient brightness, and the setting of the digital camera (for example, but not the limitation of the present invention: a flash lamp, etc.). Earn to determine the shooting parameters of the digital camera when actually shooting. In the embodiment, the method for detecting the stability of the digital camera according to the present invention can be implemented on a digital camera device in a soft or firmware manner. That is, a code corresponding to the method of detecting the stability of the digital camera according to the present invention can be recorded in the storage unit of the digital camera. The processing unit of the digital camera can read and execute the code to enable the digital subtraction device to perform a detection method based on the digital camera shake stability of the present invention. In summary, the method for detecting the stability of a digital camera according to the present invention can be applied to a digital camera. Therefore, the digital camera device according to an embodiment of the present invention can be used according to the target image (ie, the image of the crane object) in the miscellaneous segment and the face image, and the digital camera device is mismatched. Adjust the shooting parameters according to the current shooting mode to avoid shaking effects. [Embodiment] Here, according to the method for detecting the stability of a digital image pickup device and the digital image pickup device of the present invention, it is possible to determine the steady state of the digital camera by the soft debt, and further determine the digital camera corresponding to the steady state of the digital camera. The shooting parameters of the device, for example: (but not the limitations of the present invention) sensitivity, shutter value and aperture value, and the like. Here, the steady state of the digital imaging device is determined by analyzing the amount of positional variation of the subject in the plurality of preview images obtained in advance, and the imaging parameters of the digital imaging device are determined. Furthermore, it is also possible to refer to the state of the subject at the time of shooting, the ambient brightness, and the setting of the hardware of the digital camera (for example, but not limited by the present invention, etc.), etc., which affect the cause of the shooting effect. To more appropriately determine the shooting parameters of the digital camera. Referring to "first figure", the digital camera device 100 may include a group 110, a 201040882 photosensitive element 120, a storage unit 130, and a processing unit 14A. The operation of the digital camera 1G0 can be divided into an iive view, an auto f0cusing, and a _·. , Shi Shi preview p Bai Feng also refers to the user before pressing the shutter button of the digital camera set to 1 才 before the preview 13⁄4 segment, the user can preview the framing through the display of the digital camera leaking (not shown) Picture. 〇 Face recognition refers to the moment when the user presses the shutter button of the digital camera 1GG halfway. In the in-plane stage, the digital camera unit 1 will start to adjust the object distance between the lens group 11 and the pickup, 7, and the surface of the object, and the user can preview the focus through the display of the digital camera (ie, After the object distance adjustment is completed, the framing surface. The shooting phase refers to the timing at which the user fully presses the shutter button of the digital camera. During the shooting phase, the digital camera unit 1 will take a picture of the current viewfinder and record the captured viewfinder as an image. Q Here, the preview image is an image captured by the index camera 1 in the preview phase or the pre-shooting phase. The lens group 110 is used to adjust the focal length of the subject. The photosensitive element 120 is provided corresponding to the lens group 110. The photosensitive element 120 can receive the optical signal corresponding to the object through the lens group 110, and convert the received optical signal into the electrical signal of the digital image to obtain an image corresponding to the object. In other words, the photosensitive element 120 can capture the preview image via the lens group 110 during the preview phase and the pre-photographing phase of the digital camera device 100, and capture the digital image through the lens group 110 during the shooting of the digital camera device 100. The processing unit 140 is electrically connected to the photosensitive element 12A and the storage unit 13A. The processing unit 140 can control the operation of the lens group 11A and the photosensitive element 12A, and can judge the stability of the digital camera device according to the captured preview image, that is, whether it is shaking. In other words, the method for detecting the stability of the digital camera according to the present invention can be implemented on a digital camera in a soft or dynamic manner. That is, the _method H corresponding to the digitization of the digital camera according to the present invention can be accommodated in the storage list S130 of the digital camera device 100. The processing unit (10) of the digital camera unit can read and execute the recording method, and the number of seams is counted by the county to reduce the stability of the digital camera device of the present invention. The processing unit 140 can be implemented by one or more processors. The storage unit 130 can be implemented by one or more storages. The reservoir can be non-volatile memory or volatile memory. Fig. 2 is a flow chart showing a method of detecting the stability of a digital camera according to an embodiment of the present invention. Referring to "1st and 2nd drawings", the method of detecting the stability of the digital camera can be applied to the digital camera. The photosensitive member 120 captures a plurality of preview images through the lens group 11() at different points in time (step 210). The photosensitive element 12 进行 can perform preview image capture in the preview phase and/or the pre-shooting phase of the digital camera unit 1 . For example, the photosensitive element 120 can capture different preview images of the face rate in the preview stage of the digital camera device 1 and take more than two preview images of 201040882. Alternatively, the photosensitive element 120 can capture at least one preview image in the preview phase of the digital camera device 1〇〇, and then capture at least one preview image in the pre-photographing phase of the digital camera device 1〇〇. Moreover, the preview image captured by the processing unit 140 can be used for capturing, analyzing, and judging the following image blocks to know the stability of the digital camera. First, image blocks on the same position (i.e., the same relative position in the associated preview image) in the preview images are captured (step 25A). Here, the image area block is a partial area of the preview image, that is, the size of the image block and the size of the preview image. ' 〇 Again, one or more image blocks can be extracted from different locations of each preview image. Moreover, the position and number of image block captures for each job image can be the same 'and the image blocks obtained at the same position of each view image are the same size. When multiple image blocks are captured for each preview image, the plurality of image blocks extracted from the same preview image may be the same size, or may be different sizes or part of the size of the image block. Some image series are different in size. Here, you can pre-empt the age of the county, set, (four) and size parameters. After the preview image is acquired, it can be sent to the processing unit 140 to enter the image block_fetch. You can also temporarily store the _Kf image in the storage list == towel, depending on the position, practice the money, and then call the unit (10) to capture the image block of the preview image. Furthermore, the processing unit is just busy and is not temporarily stored in the storage unit 13A. 201040882 Every two image blocks placed Next, the amount of variation between the same bits of different preview images is counted (step 270). Then, the calculated variation amount is compared with a displacement gated value (step "this can be preset to the displacement threshold value. When all the variations # are equal to or smaller than the displacement service, the determination digital position (10) is a happy state (step 31〇). When the one or more variations are greater than the displacement threshold, 'determining that the digital camera is just in an unstable state (step gamma), the so-called digital camera just stabilizes and the non-stable camera touches Whether the body is fixed and maintained at the same position. ', the number of turns and can be obtained according to the result of the stability of the score - the corresponding number of shots (step 35 〇 and step 352), as a digital camera in the shooting stage In the image 撷 __ hardware component setting condition, that is, when # 纽 摄像 农 农 〇 敎 ( ( ( ( ( ( ( ( ( ( ( ( ( 组 组 组 组 组 组 组 组 组 组 组 组 组 组 组 组 而 而 而When it is determined that the digital camera is just unstable (state (step 320), a set of parameters suitable for shooting in an unstable state is obtained (step 352). At this time, in the shooting phase, the digital camera is just ready _ shooting parameters to capture, in order to capture the number of images, the current viewfinder screen is recorded as a digital image. Here 'shooting parameters can include sensitivity, shutter value and aperture value and other setting conditions. The image parameters of the image are set to a set of shooting parameters. ^ After the stability of the digital camera is detected, that is, after step 3 or step gamma, it is determined whether to adjust the preset shooting parameters according to the detection result. 8 10 201040882 In other words, referring to "Fig. 3", the processing unit 14 first sets a set of shooting parameters according to the image parameters of the preview image (step 230). Then 'when determining that the digital camera 1 is in a steady state (step 31) At this time, the obtained shooting parameter is the set shooting parameter (step 35〇). In other words, when it is determined that the digital camera 100 is in a steady state (step 31〇), the digital camera 100 can directly determine the shooting period. The shooting parameters are taken, and the current digital image is recorded as a digital image. When determining that the digital camera is unstable In the state (step 320), the set shooting parameters are adjusted (step 33Q), for example, but not limited by the invention: shooting parameters such as sensitivity, shutter value and aperture value, so that the adjusted shooting parameters are suitable for non- Shooting is performed in a steady state. In other words, when the bully image reducing device is unstable (step 320), the obtained shooting parameter is the adjusted shooting parameter (step 352). Therefore, when the digital camera is determined to be non- Steady state (in the shooting phase, during the shooting phase, the digital camera unit 1 finally obtains the shooting parameters (ie, the shooting parameters after the gallbladder) to capture the digital image, that is, the current viewing scene is recorded as For example, if the sensitivity setting option of the digital camera device has a value of 100 125, 2GG, and 4GG, the light_setting option can have values of 2 83 2, 4, 4.5, and 5. When the digital camera 1 sways during shooting, that is, when the digital camera is just in an unstable state, the digital camera will adjust the sensitivity, shutter value and aperture value of the original woman. number. Here, it is assumed that the digital camera is set to 1 〇〇 the currently set sensitivity is 1 〇〇, the shutter time 201040882 (shutter value) is 1/60 second, and the safe shutter time is 1/1 〇〇 second. When it is determined that the digital image pickup apparatus 100 is shaken in the pre-photographing stage (that is, the digital image pickup apparatus 1 is in an unstable state), the digital image pickup apparatus 1 can adjust the sensitivity to 2 〇〇 so that the shutter time is the same. The aperture is increased to 1/12 sec., so that the shutter time is faster than 1/100 second of the safe shutter time. In addition, after the stability detection of the digital camera device is completed, that is, after step 310 or step 320, the corresponding shooting parameters are set corresponding to the detection result. In other words, referring to "Fig. 4", when it is determined that the digital camera is in a steady state (step 310), a set of shooting parameters is set corresponding to the steady state (step 34), to obtain a set for shooting under steady state. Shooting parameters (step 35〇). When the digital camera device is in an unsteady state (step 320), a set of shooting parameters is set corresponding to the unstable state (step 342) to obtain a set of shooting parameters suitable for shooting in an unstable state (step 352). ). For convenience of explanation, the following description is applied to the digital camera device and takes the last preview image in the preview phase and the first preview image in the pre-shooting phase as an example. Referring to "Fig. 5", first capture the last preview image in the preview phase (hereinafter referred to as the first preview image) (step, step 212), and then capture the first one in the preview phase. The image is previewed (hereinafter referred to as a second preview image) (step 214). Next, the amount of variation of the subject in the preview image is analyzed between the first preview image and the second preview image. Please refer to "6A, 6B, 7A, 7B, 7C, and 7D", respectively, on the first 201040882 • Preview image 趟 and second preview image at the same position pa/pb image, B2 secret, leg (step 25〇). Further, the image blocks obtained from the same position of the first preview image_ and the second preview image M2 are called B2a/Blb and B2b in the same size. In other words, the image block Bla and the image block B2a are respectively caused by the first preview image M1 and the second preview image M2 so that the partial images on the same relative position Pa are the same size. Similarly, the image block intestine and the image block are respectively the partial images on the same relative position % in the preview image M1 and the second preview image M2, and are of the same size. That is, the image block Bla and the intestine are taken out at the central portion 8 and the edge portion of the first preview image group, and the image block pull & is also extracted in the central portion and the edge portion of the second preview image M2. Here, although two image blocks are captured for each preview image, this is not the invention. In actual _, each job image can also be operated as a 〇 image block or more than three image blocks. In addition, the axes and illustrations herein refer to the completion of the viewing of the image first and then the image block_taking, but this is not a limitation of the present invention. In practical applications, it can also be used in the pre-image area obtained after the preview image is captured, and the pre-image area of the pre-sequence image can be taken at the same time or at this time. Then take the next preview image capture. The amount of variation between the image blocks Bla, B2a/Blb, and the jumps taken from the same position b of the first preview image M1 and the second preview image M2 is calculated (step 27). That is, 'calculate the variation between the image block and the image block (referred to as the first k-thix in 2010 20102882) and the variation between the image block Blb and the image block (hereinafter referred to as the second variation) ). Here, the amount of variation can be obtained by analyzing image features of the two image blocks Bla, B2a/Blb, B2b (for example, but not by the limitations of the invention: brightness, and/or edge features, and/or color, etc.). Next, the first variation amount and the displacement threshold value are compared and the second variation amount and the displacement threshold value are compared (step 290). When the first variation amount is equal to or smaller than the displacement threshold value and the second variation amount is equal to or smaller than the displacement threshold value, it is determined that the digital image pickup device is in a steady state (step 31A). When the first variation amount and/or the second variation amount is greater than the displacement threshold value, it is determined that the digital camera device is in an unstable state (step 32A). In an embodiment, the target features Cla, C2a, Clb, C2b of the image blocks Bla, B2a, Blb, B2b can be analyzed, and the target features cla, C2a/cib, C2b are calculated from the same location Pa/pb. The amount of displacement between the image blocks Bla, B2a/Blb, and _ is used as the variation. Here, the target feature refers to a portion of the preview image in the image block. Analyze each image block by referring to "6A-6B, 7A-7D, and 8"

Bla/B2a/Blb/B2b 的目標特徵 aa/C2a/Clb/C2b (步驟 272)。計算 每一目標特徵Cla/C2a/Clb/C2b於所屬的影像區塊 Bla/B2a/Blb/B2b中的所在位置(步驟274)。比較來自相同位置 Pa/Pb的任二個影像區塊Bla、B2a/Blb、B2b的目標特徵Cla、 C2a/Clb、C2b的所在位置’以得到兩所在位置之間的位移量(步 201040882 驟276 ),並且以得到的位移量作為變異量進行後續的比較和判斷。 於此’可透過彳貞測影像區塊Bla/B2a/Blb/B2b的影像特徵(例 如,但非本發明之限制:亮度、和/或邊緣特徵、和/或色彩等)來 得到影像區塊B1 a/B2a/B 1 b/B2b的目標特徵c 1 a/C2a/C 1 b/C2b及目 標特徵C1 a/C2a/C 1 b/C2b的所在位置。 此外,當判定數位攝像裝置1〇〇為穩定狀態(步驟31〇)時, 可接續執行第-調整程序(步驟37〇) ’以根據其他影響拍攝效果 的變因調整拍攝參數,如「第9圖」所示。 於第-調整程序(步驟370)中,可根據環境亮度和數位攝像 裝置_的硬體設定等影響拍攝效果的變因進行拍攝參數的調 整’以奴實際拍攝時數位攝像裝置觸的拍攝參數,即於拍攝 又中’數位攝像裝置獅進行拍攝所使用的拍攝參數。 再者,當判定數位攝像裝置⑽為非穩定狀態時,則可接續Target characteristics of Bla/B2a/Blb/B2b aa/C2a/Clb/C2b (step 272). The position of each target feature Cla/C2a/Clb/C2b in the associated image block Bla/B2a/Blb/B2b is calculated (step 274). Comparing the positions of the target features Cla, C2a/Clb, C2b of any two image blocks Bla, B2a/Blb, B2b from the same position Pa/Pb to obtain the displacement between the two positions (step 201040882) And the subsequent comparison and judgment are performed using the obtained displacement amount as the variation amount. Here, the image features can be obtained by speculating the image features of the image block Bla/B2a/Blb/B2b (for example, but not by the limitations of the invention: brightness, and/or edge features, and/or color, etc.) The target characteristics of B1 a/B2a/B 1 b/B2b are c 1 a/C2a/C 1 b/C2b and the location of the target feature C1 a/C2a/C 1 b/C2b. In addition, when it is determined that the digital camera 1 is in a steady state (step 31〇), the first adjustment program (step 37〇) can be continuously executed to adjust the shooting parameters according to other factors that affect the shooting effect, such as “9th Figure". In the first adjustment program (step 370), the adjustment of the shooting parameters can be performed according to the ambient brightness and the hardware setting of the digital camera _, such as the influence of the shooting effect, and the shooting parameters touched by the digital camera when the slave is actually shooting. That is to shoot the shooting parameters used in the shooting of the 'digital camera lion. Furthermore, when it is determined that the digital camera device (10) is in an unstable state, it can be connected.

執行—第二調整程序(步驟),藉以再根據其他影響拍攝效果 的變因調整拍攝參數,如「第9圓」所示。 於第二調整程序(步驟獨)中,可根據被攝物 免度和數位攝像裝置100的硬體(例如, 衣兄 的設定等影響拍攝效果的變因進行拍攝參數=== 金、疋實際拍攝時數位攝像裝置m的拍攝參數,即於拍 ' 位攝像裝置100進行拍攝所使用的拍攝參數。、白又 可整程序(步驟37G)和第二調整程序(步驟 省數位攝像裝置的穩定情形,進行其他影響拍攝 15 201040882 效果的變因的分析和判斷,以更適當地決定於拍攝階段中數位攝 像裝置的拍攝參數。 參照「第ίο圖」,於第一調整程序(步驟37〇)中,首先偵測 預覽影像中被攝物的活動狀態(即,運動狀態或靜止狀態)(步驟 372)。 當被攝物處於運動狀態(步驟374)時,調高數位攝像裝置 100的拍攝參數中的感光度、調大數位攝像裝置1〇〇的拍攝參數中 的光圈值,並縮短數位攝像裝置1〇〇的拍攝參數中的快門值(步 驟376) ’而後於拍攝階段中即以最後得到的拍攝參數(即,感光 度、光圈值和快門值調整後的拍攝參數)進行拍攝,以依據最後 得到的拍攝參數將當前的取景晝面記錄為數位影像。 當被攝物處於靜止狀態(步驟375)時,調低數位攝像裝置 1〇0的拍攝參數中的感光度(步‘驟377),並且接續進行環境亮度 的分析和判斷。 又 、於環境亮度的分析和判斷中,先偵測環境亮度(步驟, 並將制得的環境亮度與亮度Η檻值相比較(步驟378) ’藉以-知拍攝環蚁否為夜料亮度不足的環境。 句 虽摘測得的環境亮度高於亮度門檻值時,判斷為非夜景等賓 度不足之拍攝環境。當判斷為非夜景等亮度不足之拍攝環境時: ,並_得__ (即,感 取景畫面的拍攝參數(步驟則。 中用以拍插 16 201040882 • 得的環境亮度等於或低於該亮度門檻值時,判斷為夜 景等党度不足之拍攝環境,並偵測數位攝像裝置1〇〇的閃光燈的 運作狀態(即’是否有開啟閃光燈)(步驟382)。 田偵測得閃光燈為開啟(即,已啟動)時,將數位攝像裂置 100的拍攝參數巾的快門值設定為慢速同步閃光燈的快門時間(步 驟384) ’以得到一組拍攝參數。而後,於拍攝階段中,即以最後 付到的拍攝參數(即,感光度和快門值調整(步驟377和步驟删) 〇後的拍攝參數)進行拍攝,即將當前的取景晝面記錄為數位影像。 於此’慢辆步閃光燈的快Π日H1是指,糊級應用在長 ! 夬門時間,而不需以安全快門作考f。這樣—來,數位攝像褒置 10 0除了可以触閃光燈的亮度補償外,還可以得到較多的環境亮 度光線。 < 儿 當偵測得閃光燈未開啟(即,未啟動)時,則將數位攝像裝 ❹ 才聶>數中的快門值設定為長時間曝光的快門時間(步驟 386),以得到—組拍攝參數。而後,於拍攝階段中,即以最後得 到的拍攝參數(即,感光度和快門值調整(步驟377和步驟逃) 後的^攝^數)進行拍攝,即將當前的取景晝面記錄為數位影像。 參一「第11圖」,於第二調整程序(步驟39〇)中,先偵測環 兄儿度(竭剛,並將债測得的環境亮度與亮度門播值相比較 (步二)藉以得知拍攝環境是否為夜景等亮度不足的環境。 田偵測得_境統高於亮度ΠΜ值時’觸為非夜景等亮 度不足之拍攝環境,並偵測數位攝像裝置議的閃光燈的運作狀 17 201040882 態(即’是否有開啟閃光燈)(步驟396)。 虽偵測付㈣境亮度等於或低於該亮度門錄時,判斷為夜 景等亮度不足之拍攝環境’並偵測數位攝像裝置腦的閃光燈的 運作狀態(即,是否有開啟閃光燈)(步驟397)。 當偵測得閃歧啟(即,已啟動)時,將齡攝像裝置 100的拍攝參數中的快門值設定為安全快門時間(步驟观或步驟 399),以得到—組拍攝參數。而後,於拍攝階段中,即以最後得 到的拍攝> 數’即快門值調整(步驟398齡驟携)後或步驟 33〇調整後且快門值調整(步驟398或步驟)後的拍攝參數, 進行拍攝。 當偵測得閃光燈未開啟(即,未啟動)時,比較健後的數 位攝像裝置100的拍攝參數中的快門值與安全快門時間(步驟· 或步驟備)’赌知#__值是钟於安钱門時間。 當比較後得到當前的快門值快於安全快門時間時,則不抑 行拍攝參數的調整,並以最後得到的拍攝參數作為於拍攝階則 用以擷取數位影像的拍攝參數(步驟402齡驟彻)。換古之, 當比較後得到當前的快門值快於安全快門時間時,即以於步㈣: 中所設定的拍攝參數作為於拍攝階段中用以擷取數位影像摘 參數(步㈣2或步_),或者是以於步_中調整後的拍 卜驟40 攝參數作為於拍攝階段巾_擷取餘影像的拍攝參數(+ 或步驟403)。 人 當比較後得到當前的快門值等於或慢於安全快門時間時,則 201040882 調高感光度並調大光圈值(步驟404或步驟405),以得到一組拍 攝麥數。換言之,當比較後得到當前的快門值等於或慢於安全快 門時間時,將於步驟342中所設定的拍攝參數中的感光度調高, 以及將於步驟342中所設定的拍攝參數中的光圈值調大(步驟4〇4 或步驟405)。或者是,當比較後得到當前的快門值等於或慢於安 全快門時間時,對於步驟330中調整後的拍攝參數再進一步地調 南感光度並調大光圈值(步驟404或步驟4〇5)。而後,於拍攝階 段中,即以感光度和光圈值調整(步驟4〇4或步驟4〇5)後的拍攝 參數作為於拍攝階段中用以擷取數位影像的拍攝參數,或者以步 驟330調整後且感光度和光圈值調整(步驟4〇4或步驟4〇5 )後的 拍攝參數作為於拍攝階段中用以擷取數位影像的拍攝參數。 在上述說明中,雖然是依序描述各步驟,但此執行順序並非 本發明之限制,在不脫離本發明之精神和範圍内,當可任意調整 0 各步驟的執行順序。 絲上所述,根據本發明的數位攝像裝置穩定度的偵測方法可 應用於數位攝像裝置。因此,應用本發明一實施例之數位攝像裝 置可根據取像階段與預攝階段中的目標影像(即,被攝物的影像) 判斷數位攝像裝置是否穩定,並且數位攝像裝置非穩定時,於以 根據當前的拍攝模式調整拍攝參數,藉以避免晃動影響拍攝效 果舉例來說’使用者在拍攝時發生手震,數位攝像裝置可判斷 J使用者有晃動到,進而進行拍攝參數的調整,藉以減少將手震 對擷取得的數位影像的影響。 19 201040882 :本Γ明以前述之較佳實施例揭露如上,然其並非用以限 疋本U ’任何«姆技,在稀離本發日狀精神和範圍 内」、當可作些許之更動與潤飾,因此本發明之專娜護範圍 本况明書_之Ψ料娜騎界定者為準。 、 【圖式簡單說明】 第1圖係為數位攝像裝置的概要示意圖; 置穩定度的 第2圖係為根據本發明第一實施例之數位攝像裝 偵測方法的流程圖; 第3圖係為根據本發明第二實施例之數位攝像襄置穩定 偵測方法的流程圖; & 第4圖係為根據本發明第三實施例之數位攝像褒置穩定度的 偵測方法的流程圖; &Execute—the second adjustment procedure (step), in order to adjust the shooting parameters according to other factors that affect the shooting effect, as shown in “9th circle”. In the second adjustment procedure (step exclusive), the shooting parameters can be determined according to the subject exemption and the hardware of the digital camera device 100 (for example, the setting of the brother and the like affecting the shooting effect === gold, 疋 actual The photographing parameters of the digital camera m at the time of shooting, that is, the photographing parameters used for photographing by the 'bit camera 100, the white and the whole program (step 37G), and the second adjustment program (the step of saving the digital camera) For other factors affecting the shooting and analysis of the factors affecting the shooting of the 201040882, to more appropriately determine the shooting parameters of the digital camera in the shooting phase. Refer to "第ίο图", in the first adjustment procedure (step 37〇) First, the active state (ie, the motion state or the stationary state) of the subject in the preview image is detected (step 372). When the subject is in the motion state (step 374), the shooting parameters of the digital camera device 100 are raised. The sensitivity, the aperture value in the shooting parameters of the digital camera 1〇〇 is adjusted, and the shutter value in the shooting parameters of the digital camera 1〇〇 is shortened (step 376)' Then, in the shooting phase, the final shooting parameters (ie, the sensitivity, the aperture value, and the shutter value adjusted shooting parameters) are taken to record the current framing face as a digital image according to the finally obtained shooting parameters. When the subject is at a standstill (step 375), the sensitivity in the shooting parameters of the digital camera 1〇0 is lowered (step 377), and the analysis and judgment of the ambient brightness are successively performed. In the analysis and judgment, the ambient brightness is first detected (step, and the obtained ambient brightness is compared with the brightness threshold (step 378). 'By the way, it is known that the shooting ant is an environment with insufficient brightness of the night material. When the measured ambient brightness is higher than the brightness threshold, it is judged to be a shooting environment with insufficient binoculars such as night scenes. When it is determined that the brightness is not enough for a shooting environment such as a night scene: _ _ __ (ie, the sensation screen Shooting parameters (steps. Used to shoot 16 201040882 • When the ambient brightness is equal to or lower than the brightness threshold, it is judged that the night scene is not enough for the shooting environment, and detection The operating state of the flash of the camera device 1 (ie, 'whether or not the flash is turned on) (step 382). When the field detects that the flash is on (ie, has been activated), the digital camera is cleaved by the shooting parameter of 100 The shutter value is set to the shutter speed of the slow sync flash (step 384) 'to get a set of shooting parameters. Then, in the shooting phase, the last paid shooting parameters (ie, sensitivity and shutter value adjustment (step 377) And the steps to delete) the shooting parameters after shooting), the current framing face is recorded as a digital image. Here, the slow-moving day H1 means that the paste level is applied in the long! It is not necessary to use the safety shutter as a test f. In this way, the digital camera set 10 0 can obtain more ambient brightness light in addition to the brightness compensation of the flash. < When the flash is not turned on (ie, not activated), the shutter value in the digital camera assembly is set to the shutter time of the long exposure (step 386) to obtain the group. Shooting parameters. Then, in the shooting phase, the shooting parameters (ie, the sensitivity and the shutter value adjustment (step 377 and step escape)) are taken, that is, the current viewfinder is recorded as a digital image. . Refer to "Figure 11". In the second adjustment procedure (step 39〇), first detect the ring brother's degree (exhaustively, and compare the ambient brightness measured by the debt with the brightness gatecast value (step 2). In order to know whether the shooting environment is an environment with insufficient brightness such as night scenes. When the field is detected, the situation is higher than the brightness threshold, and the scene is touched by a low-light shooting environment such as a non-night scene, and the operation of the flash of the digital camera is detected. Shape 17 201040882 state (ie 'whether or not the flash is turned on" (step 396). Although the detection (4) ambient brightness is equal to or lower than the brightness of the door record, it is determined that the night scene is insufficient brightness shooting environment 'and the digital camera is detected The operating state of the flash of the brain (ie, whether or not the flash is turned on) (step 397). When the flashing is detected (ie, activated), the shutter value in the shooting parameters of the ageing camera 100 is set as the safety shutter. Time (step view or step 399) to obtain a set of shooting parameters. Then, in the shooting phase, that is, after the final shooting> number, that is, the shutter value adjustment (step 398), or step 33〇 After The shooting parameters after the threshold adjustment (step 398 or step) are taken. When the detected flash is not turned on (ie, not activated), the shutter value and the safety shutter in the shooting parameters of the digital camera 100 are compared. Time (step or step preparation) 'Bet knowledge #__ value is the time in the clock. When the current shutter value is faster than the safe shutter time after comparison, the adjustment of the shooting parameters is not suppressed, and finally The obtained shooting parameters are used as the shooting parameters for capturing the shooting parameters of the digital image (step 402 is complete). In the past, when the current shutter value is obtained faster than the safe shutter time, the step (4) is obtained. : The shooting parameters set in the shooting period are used to capture the digital image picking parameters (step (4) 2 or step _) in the shooting phase, or to take the 40-shot parameters adjusted in step _ as the shooting stage towel _ Capture the shooting parameters of the remaining image (+ or step 403). When the current shutter value is equal to or slower than the safe shutter time, the 201040882 will increase the sensitivity and increase the aperture value (step 404 or step 405). , A set of photographing mics is obtained. In other words, when the current shutter value is equal to or slower than the safe shutter time after comparison, the sensitivity in the shooting parameters set in step 342 is raised, and will be as shown in step 342. The aperture value in the set shooting parameters is increased (step 4〇4 or step 405). Or, when the current shutter value is equal to or slower than the safety shutter time after comparison, the adjusted shooting parameters in step 330 are Further adjust the sensitivity of the south and increase the aperture value (step 404 or step 4〇5). Then, in the shooting phase, that is, after the sensitivity and aperture value adjustment (step 4〇4 or step 4〇5) The parameter is used as a shooting parameter for capturing a digital image in the shooting phase, or a shooting parameter adjusted by the step 330 and the sensitivity and the aperture value are adjusted (step 4〇4 or step 4〇5) as the shooting phase. To capture the shooting parameters of the digital image. In the above description, although the steps are described in order, the order of execution is not limited to the invention, and the order of execution of each step can be arbitrarily adjusted without departing from the spirit and scope of the invention. As described above, the method for detecting the stability of a digital camera according to the present invention can be applied to a digital camera. Therefore, the digital camera device according to an embodiment of the present invention can determine whether the digital camera device is stable according to the target image (ie, the image of the subject) in the image capturing phase and the pre-shooting phase, and when the digital camera device is unstable, In order to adjust the shooting parameters according to the current shooting mode, to avoid the impact of the shooting effect, for example, 'the user has a hand shake during shooting, the digital camera can judge the J user to shake, and then adjust the shooting parameters, thereby reducing The effect of the jitter on the digital image obtained. 19 201040882: The present invention is disclosed above in the preferred embodiment of the foregoing, but it is not intended to limit the scope of the present invention, and may be modified in some ways. And the retouching, therefore, the scope of the special care of the present invention is based on the definition of the book. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a digital camera device; FIG. 2 is a flowchart of a digital camera assembly detecting method according to a first embodiment of the present invention; A flowchart of a method for detecting stability of a digital camera device according to a second embodiment of the present invention; < FIG. 4 is a flowchart of a method for detecting stability of a digital camera device according to a third embodiment of the present invention; &

第5圖係為根據本發明第四實施例之數位攝像袭置穩定度的 偵測方法的流程圖; X 第6Α及紐圖係為於根據本發明之數位攝像裝置穩定度的偵 測方法中’-實施例之職影像的示意圖; 第7Α、7Β、7C及7D圖係為於根據本發明之數位攝像裝置穩 定度的偵測方法巾’-實施例之影像區塊的示意圖; 第8圖係為根據本發明第五實施例之數位攝像裝置穩定度的 f貞測方法的流程圖; 第9圖係為根據本發明第六實施例之數位攝像装置穩定度的 偵測方法的流程圖; “ 201040882 第ίο圖係為根據本發明第七實施例之數位攝像裝置穩定度的 偵測方法的流程圖;以及 第11圖係為根據本發明第八實施例之數位攝像裝置穩定度的FIG. 5 is a flowchart of a method for detecting digital camera settling stability according to a fourth embodiment of the present invention; X. FIG. 6 and the map are in the method for detecting the stability of the digital camera according to the present invention. '- Schematic diagram of the image of the job of the embodiment; Figures 7, 7Β, 7C and 7D are schematic diagrams of the image block of the method for detecting the stability of the digital camera according to the present invention. A flowchart of a method for measuring the stability of a digital camera according to a fifth embodiment of the present invention; FIG. 9 is a flowchart of a method for detecting the stability of a digital camera according to a sixth embodiment of the present invention; "201040882" is a flowchart of a method for detecting the stability of a digital camera according to a seventh embodiment of the present invention; and FIG. 11 is a stability of a digital camera according to the eighth embodiment of the present invention.

偵測方法的流程圖。 【主要元件符號說明】 100 數位攝像裝置 110 鏡頭組 120 感光元件 130 儲存單元 140 處理單元 Ml 第一預覽影像 M2 第二預覽影像 Pa 位置 Pb 位置 Bla 影像區塊 Bib 影像區塊 B2a 影像區塊 B2b 影像區塊 Cla 目標特徵 Clb 目標特徵 C2a 目標特徵 C2b 目標特徵 21Flow chart of the detection method. [Description of main components] 100 digital camera 110 lens group 120 photosensitive element 130 storage unit 140 processing unit M1 first preview image M2 second preview image Pa position Pb position Bla image block Bib image block B2a image block B2b image Block Cla target feature Clb target feature C2a target feature C2b target feature 21

Claims (1)

201040882 七、申請專利範圍: 1. 一種數位攝像裝置穩定度的偵測方法,應用於一數位攝像事 置’該方法包括: 於不同時間點擷取複數張預覽影像; 擷取該複數張預覽影像中至少一相同位置上的影像區塊. 計算位於該相同位置上之每二該影像區塊之間的變異量· 將每一該變異量與一位移門檻值相比較; 當所有該變異量等於或小於該位移門檻值時,判 攝像裝置為穩定狀態;以及 ' 當至少其中一該變異量大於該位移門檻值時,判定該數位 攝像裝置為非穩定狀態。 2.如請求項1所述之數位攝像裝置穩定度的偵測方法,其中擷取 該複數張預覽影像的步驟包括: 於該數位攝像裝置的—觀階段和—預攝階段其中之至 少一階段中,擷取該複數張預覽影像。 3·如請求項1所述之數位攝像裝置穩粒的躺方法,更包括: 依據該複數張預覽影像中至少一預覽影像的至少一影像 參數設定一組拍攝參數; 當判定該數位攝像裝置為非穩定狀態時,調整設定的該組 拍攝參數;以及 當判定該數位攝像裝置為穩定狀態時,不調整設定的該組 拍攝參數。 201040882 4.如請求項^所述之肢攝像裝置穩定度的伽方法,更包括: 當判定該數位攝像裝置為穩定狀態時,執行—第—調整程 序 如請求項4所述之數位攝像裝置穩定度的偵測方法,其中 一調整程序包括: δΛ 透過該複數張預覽影像偵測-被攝物的活動狀態; ❹ ❹ ▲當該被攝物處於—運動狀態時,調高職位攝像展置的拍 攝翏數中的-感光度、調大該數位攝像裝置的該拍攝參數中的 一光圈值,並縮_數位攝像裝㈣該拍攝參數中的—快門 值;以及 、 當该被攝物祕—靜錄態時,概該數賴料置的該 拍攝參數中的該感光度。 士明求項5所叙數賴料置航度的細方法,其中當該 被攝物處於該靜止狀態時,該第—調整程序更包括:田" 铺測一環境亮度; 比較該環境亮度與一亮度門檻值; 當該環境亮度高於該亮度門檻值Β寺,以最後得到的該拍攝 參數作為用以擷取一數位影像的該拍攝參數; 當該環境亮度等於或低於該亮度門檻值時,偵測該數位攝 像裝置的—閃光燈的運作狀態; 田偵測得該閃光燈為開啟時,將該數位攝像裝置的該拍攝 參數中的該快門值設定為一慢速同步閃光燈的快門時間丨以及 23 201040882 德Γ貞麟綱光燈未開啟時,將魏倾像裝置的該拍攝 \的雜門值設定為—長時間曝光的快門時間。 7. 如μ求項1所述之數位攝像裝置穩定度的_方法,更包括: 當判定該數位攝像裝置鱗穩定狀_,執行—第二調整 程序^ 其中該第 8. 如請求項7所叙触攝像裝置穩定朗鋼方法, 二調整程序包括: I ‘擷取一數位影像的 偵測該數位攝像裝置的—閃光燈的運作狀態, ·以及 依據該閃光燈的該運作狀態 拍攝參數。 求項8所述之數位攝像裝置穩定度的偵測方法,其中該依 觸嶋㈣卿-細像的拍攝參 當該閃棚啟時,將該數位攝像裝置的該拍攝參數中的 '、門值设定為一安全快門時間; 當該閃光燈摘啟時,峨贿賴像裝置_ 中的該快門值與該安全快門時間; / 當比較得到該快門值快於該安全快門時間時,以最後得到 的該拍攝參數作為用以擷取該數位影像的該轉轉以及 』當比較得到該快門值等於或慢於該安全快門時間時 翁位攝餘置的該賴參射的 、门 像裝置的該拍攝參數中的一光圈值。t並調大该數位攝 24 201040882 .如印求们崎之數位齡裝置穩定朗 每一該變異量的步驟包括: 4其中5十异 刀析母一該影像區塊的目標特徵; 晉=每—該目標特徵於所屬的該影像區塊中的所在位 直,以及 二:個該所在位置以得到至少-位移量,並以得到的 Ο Ο 这位私I作為該變異量。 u:==述之數位攝像裝置穩定度的偵測方法,其中該拍 / L括有感光度、-快門值與—光圈值。 U如,i ___峨度她啦,更包括. ⑼定該數輯縣置為麵、定狀t 態設定—組拍攝參數;以及 h對應該非穩定狀 田判疋該數位攝像裝置為穩定 定-組拍攝麵。 U對躺狀狀態設 魏位攝顧置,包括··紐树之 元,其中轉單蝴顿理單 館存單 中的任一。項所ΪΙΓ使該數位攝像裝置執行如請求項^至12 項所攻之數位攝像裝置穩定度的偵測方法。 25201040882 VII. Patent application scope: 1. A method for detecting the stability of a digital camera device, which is applied to a digital camera event. The method includes: capturing a plurality of preview images at different time points; capturing the plurality of preview images At least one image block at the same location. Calculate the amount of variation between each of the image blocks at the same location. Compare each of the variances to a displacement threshold; when all of the variance is equal Or less than the displacement threshold value, the camera device is determined to be in a steady state; and 'when at least one of the variation amounts is greater than the displacement threshold value, determining that the digital camera device is in an unstable state. 2. The method for detecting the stability of a digital camera according to claim 1, wherein the step of capturing the plurality of preview images comprises: at least one of a phase of the digital camera and a pre-shooting phase In the middle, the plurality of preview images are captured. The method of claim 1, wherein the method for determining a position of the image capturing device according to claim 1 further comprises: setting a set of shooting parameters according to at least one image parameter of the at least one preview image of the plurality of preview images; In the unsteady state, the set of shooting parameters is adjusted; and when the digital camera is determined to be in a steady state, the set of shooting parameters is not adjusted. 201040882 4. The gamma method for the stability of the limb camera device according to the claim ^, further comprising: when determining that the digital camera device is in a steady state, performing a -first adjustment procedure as claimed in claim 4 The detection method of the degree, wherein an adjustment program includes: δΛ through the plurality of preview images to detect the activity state of the object; ❹ ▲ ▲ When the subject is in the state of motion, the position of the position is increased. Shooting - the sensitivity in the number of turns, increasing the aperture value of the shooting parameter of the digital camera, and reducing the shutter value in the shooting parameter (4); and, when the subject is secret - In the static recording state, the sensitivity in the shooting parameter set by the number is determined. The fine method of the navigational value of the item 5, wherein when the object is in the static state, the first adjustment program further includes: field " paving an ambient brightness; comparing the ambient brightness And a brightness threshold value; when the ambient brightness is higher than the brightness threshold value, the last obtained shooting parameter is used as the shooting parameter for capturing a digital image; when the ambient brightness is equal to or lower than the brightness threshold When the value is detected, detecting the operation state of the flash of the digital camera device; when the field detects that the flash is turned on, setting the shutter value of the shooting parameter of the digital camera device to the shutter time of a slow synchronous flash丨 and 23 201040882 When the German Unicorn light is not turned on, set the miscellaneous threshold of the shooting image of the Wei tilting device to the shutter time for long exposure. 7. The method of determining the stability of the digital camera according to Item 1, further comprising: when determining that the digital camera is stable, executing - the second adjustment procedure, wherein the eighth. The touch-sensitive camera device stabilizes the Langang method, and the second adjustment program includes: I 'retrieving a digital image to detect the operation state of the digital camera-flash, and shooting parameters according to the operating state of the flash. The method for detecting the stability of a digital camera device according to Item 8, wherein the shooting of the touch-sensitive (four)-clear image is used as the ', the door in the shooting parameter of the digital camera The value is set to a safe shutter time; when the flash is off, the shutter value in the image device _ is compared with the safe shutter time; / when the comparison is obtained that the shutter value is faster than the safe shutter time, the last Obtaining the shooting parameter as the rotation of the digital image and the door image device of the ray-receiving position when the shutter value is equal to or slower than the safety shutter time One aperture value in the shooting parameter. t and adjust the number to take 24 201040882. If you want to print the number of age-old devices, the steps of the variation are: 4 of which 5 are the same as the target feature of the image block; Jin = each - the target feature is located in the associated image block, and two: the location is obtained to obtain at least a displacement amount, and the obtained private I is used as the variation. u:== The method for detecting the stability of the digital camera device, wherein the beat/L includes the sensitivity, the shutter value and the aperture value. U, i ___ 峨 啦 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Fixed-group shooting surface. U sets the Wei position to the lying state, including the New Zealand dollar, which is one of the transfer orders. The item causes the digital camera to perform a method of detecting the stability of the digital camera as claimed in items #1 to 12. 25
TW98115430A 2009-05-08 2009-05-08 Detection method of the stability of digital photography device, and the digital photography device TW201040882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98115430A TW201040882A (en) 2009-05-08 2009-05-08 Detection method of the stability of digital photography device, and the digital photography device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98115430A TW201040882A (en) 2009-05-08 2009-05-08 Detection method of the stability of digital photography device, and the digital photography device

Publications (1)

Publication Number Publication Date
TW201040882A true TW201040882A (en) 2010-11-16

Family

ID=44996137

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98115430A TW201040882A (en) 2009-05-08 2009-05-08 Detection method of the stability of digital photography device, and the digital photography device

Country Status (1)

Country Link
TW (1) TW201040882A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI630823B (en) * 2015-12-22 2018-07-21 群邁通訊股份有限公司 Electronic device and method for capturing image
TWI630824B (en) * 2015-12-22 2018-07-21 群邁通訊股份有限公司 Electronic device and method for capturing image

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI630823B (en) * 2015-12-22 2018-07-21 群邁通訊股份有限公司 Electronic device and method for capturing image
TWI630824B (en) * 2015-12-22 2018-07-21 群邁通訊股份有限公司 Electronic device and method for capturing image
US10432846B2 (en) 2015-12-22 2019-10-01 Chiun Mai Communication Systems, Inc. Electronic device, image capturing method and storage medium

Similar Documents

Publication Publication Date Title
JP4018695B2 (en) Method and apparatus for continuous focusing and exposure adjustment in a digital imaging device
JP5409189B2 (en) Imaging apparatus and control method thereof
TWI425826B (en) Image selection device and method for selecting image
JP4999268B2 (en) Electronic camera and program
JP7346654B2 (en) Image processing device, imaging device, control method, program, and storage medium
US8520113B2 (en) Digital photographing apparatus, method of controlling the same, and recording medium storing program to execute the method
JP5029137B2 (en) Imaging apparatus and program
JP6024728B2 (en) Detection apparatus, detection method, and program
TW201044864A (en) A multimodal camera and a method for selecting an operation mode of a camera
JP6302215B2 (en) Imaging device
JP5966778B2 (en) Imaging apparatus, imaging method, and program
JP5880135B2 (en) Detection apparatus, detection method, and program
JP2009105559A (en) Method of detecting and processing object to be recognized from taken image, and portable electronic device with camera
US9143684B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable storage medium
KR20170011555A (en) Digital photographing apparatus and the method for the same
KR101605129B1 (en) Digital photographing apparatus, controlling method thereof and recording medium for the same
TW201040882A (en) Detection method of the stability of digital photography device, and the digital photography device
JP5471133B2 (en) Imaging device
JP4254467B2 (en) Digital camera
JP4306399B2 (en) Digital camera
JP2018054762A5 (en)
JP2010093451A (en) Imaging apparatus and program for imaging apparatus
KR20110043991A (en) Apparatus and method for processing motion blur
JP2010081244A (en) Imaging device, imaging method, and image processing program
JP4305119B2 (en) Digital camera