1300876 九、發明說明: 【發明所屬之技術領域】 本發明係有關-麵測松,_是有關—種可提供使目輕議訊息, 且此自我觸所賴之影像是否為清晰之攝雜置之雜模織測方法。 【先前技術】 按,隨著科技的進步,電子攝影裝置山屈起,漸漸取代了傳統的攝影機 裝置’例如触械漸漸的取代傳_機,首先在於現今的數仙機可藉 由液晶顯示11,使人們可__隨時觀看拍攝相片,另外因照相時可直 接將影像處理成域位:諸而使枝性大為增加,且因數位相機的體積比 傳統相機小好,使得數位滅更雜,所喊位城取代傳統相機 儼然成為一種趨勢。 而數位相機k著科技的發展,其所攝影的畫素也提昇至聽萬畫素』 上’而此局畫素的影像在放大過程中也不會產生失真的情況發生,但相3 的门一素的&像削占用的檔案空間較大,因此必須要有較大的儲存空間巧 放另外回畫素的影像也衍生了另一困擾,此困擾係為當使用者拍攝完刀 後其拍攝衫像會在液晶顯示器上顯示,而此液晶顧示器之尺寸大約係^ 、才之間所以&使用者在拍攝時若有輕微的晃動,其拍攝之影令 實際上疋油不α的,但因為液晶顯示器的解析度不夠,當下在數位相相 之液晶顯示_示的影像卻是清晰的,因此實際所拍攝之影像與在㈣ 顯示器上所顯示的树是有戦距的,錄使时較在將所拍攝的影傳 槪_示_,似上)顯現_覺錯誤,對於賴者形成莫大的困 13〇〇876 旦另外對於初期攝影的使用者而言,大多皆是以拍攝時間及次數來累積 、邊仍而要經驗較豐富的操作者予以指導,如此對於初期使用者 的時間及金錢皆是_ 士 4口生 ^ ’111此要如何在數位相機中發展出可判斷拍攝 象疋否為β晰的方法,是目前大眾所極度需要的。 私於此’本發明係針對±述之問題,提種攝影裝置之影像模糊 檢’則方法’以有效克服傳紐位相機及_裝置之困擾。 _ 【發明内容】 本發明之主要目的’録提供—麵影裝置之影像模糊檢測方法,藉 由梅取對焦階段中的一清晰影像與最後拍攝影像比較 ,以此判斷最後拍攝 之衫像係為清晰或模糊,並且通知制者拍攝影像之狀態,可使使用者照 .相k確續拍攝之影像能佳之清,進而使攝影的效率增加及錯誤 減少。 本《明之另-目的’係在提供—種攝影裝置之影像_檢測方法,可 φ在使用者拍攝影像後,當下對使用者提出相關拍攝之建議,令使用者快速 累積攝影經驗。 本發明之再-目的’餘提供__織4以彡像翻制方法,可 使數位相機更具有附加價值及多元化的使用。 根據本㈣’―種攝絨置之·翻檢财法,其録-電子攝影 裝4攝〜像B寺㈣判斷此影像清晰程度,此電子攝影裝置拍攝影像 前具有-對焦階段,在此對焦階段時,此電子攝影裝置接收複數娜影像, 計算每一操取影像之清晰度,並比較出清晰度最大之一對照影像,再將對 1300876 照影像與影像比較並判斷是否為同—場景:若是,則比較對”像斑影像 之清晰度以判斷該影像係為清晰或難;若否,顺所有触影像中之特 再將特定影像與影 疋張數影像進行比較,找出清晰度最大之一特定影像 像做上述清晰度比較,以判斷此影像為清晰或模糊。 底下藉由具體實施例配合所附的圖式詳加說明,當更容易瞭解本發明 之目的、技術内容、特點及其所達成之功效。 φ 【實施方式】 本發明係-種攝影裝置之影像模糊檢财法,其係制在—電子攝影 裝置上,此電子攝影裝置係為數位相機、手機或攝影機,在此電子攝影裝 置拍攝-拍攝影像時,即時判斷此拍攝影像清晰程度,並且告知使用者所 拍攝影像之狀況’如此可令制者在進行賴影像時更有效率,也更能掌 握拍攝影像之品質。 底下就讀位械為實施例,此數位相機具有—液晶,且此數位 參相機具有半按快門的功能,此半按快門可使此數位相機先進行對焦動作, 而本發明之方法請參閱第一圖所示,首先第一步驟議,在對焦階段時,由 電子攝影裝收複數擷取影像,接著進行步驟S12,計算每一操取影像之 清晰度,並比較出清晰度最大之擷取影像,並將其定義為一對照影像,在 此所指之清晰度係選自晝素中的紅色⑻、綠色⑹、藍色⑻及灰階值阶町) 其中之一或及其組合之畫素總合,其清晰度之計算公式為: 影像清晰度力— 其中AP係為影像中全部像素(AU pixels),而在此實施例中之計算式中係 1300876 以灰階值(Gray)為計算標的,當然也可 l释其他的標的,如上述的紅色 ⑻ ' 綠色(G)、藍色⑻等,而(i,D係為計算時之座標。 接著進行步驟S14,將對照影像與拍攝影像進行分析比對比對此二 «像是否為同-場景,請同時參„二_示及第三圖所示,第二圖中 係針對步糊内之流程予以說明,首先進行步糊,在對照影像及拍攝 影像内指定-區域1G’此區卿面積係佔對照影像及拍攝影像的迦至麵 之間,接著進行步驟S18,將欲分析比對的對照影像及拍攝影像所相對應之 區助同時劃分為_區塊12,如第三_示,接著進行步侧,利用 上述公式α雨此區域1G_每—_2之雄平均值鱗照影像及 拍攝影像之鎌平均值分縣V1及V2,並依下列公式計料平均差里值 (Dif〇): \V2-Vll1300876 IX. Description of the invention: [Technical field to which the invention pertains] The present invention relates to the fact that the surface is loose, and the _ is related to the kind of information that can provide a light-hearted message, and whether the image of the self-touch is clear and miscellaneous The method of weaving and weaving. [Prior Art] Press, with the advancement of technology, the electronic camera device has been bent, gradually replacing the traditional camera device. For example, the device has gradually replaced the transmission machine. The first is that the current digital machine can be displayed by liquid crystal display 11 So that people can __ watch the photos at any time, and can directly process the images into the domain position when taking pictures: all the branches are greatly increased, and the size of the camera is smaller than that of the traditional camera, making the digital position more complicated. The replacement of traditional cameras by the city called has become a trend. The digital camera is developing with the technology, and the pixels it photographs are also upgraded to the mega-pixels. The image of this image will not be distorted during the amplification process, but the door of phase 3 A plain & image space occupied by the image is larger, so it is necessary to have a larger storage space. The image of another pixel is also a problem. This is caused by the user after the knife is photographed. The picture of the picture will be displayed on the LCD, and the size of the LCD is about ^, so the user will have a slight shake when shooting. However, because the resolution of the liquid crystal display is not enough, the current image displayed on the digital phase is clear, so the actual captured image is separated from the tree displayed on the (4) display. When the time is passed, the filming of the filming is shown as _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Time and frequency to accumulate, while still For more experienced operators to guide, so the time and money for the initial users are _ 士 4 口 ^ '111 How to develop a method in the digital camera to determine whether the image is β or not, It is extremely needed by the public. The present invention is directed to the problem of the description of the invention, and the method of image blur detection of the photographing device is proposed to effectively overcome the trouble of the transfer camera and the device. _ [Summary of the Invention] The main purpose of the present invention is to provide an image blur detection method for a mask device, by comparing a clear image in the focus phase with the last captured image, thereby determining that the last film image is Clear or fuzzy, and inform the system to capture the state of the image, so that the user can better image the image, which will improve the efficiency and reduce the error. This "Mr. Another Purpose" is to provide an image-detection method for a photographic device, which can prompt the user to make relevant shooting suggestions after the user takes a picture, so that the user can quickly accumulate the photography experience. The re-purpose of the present invention provides a method for image reshaping, which makes the digital camera more valuable and diverse. According to this (4) '--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The electronic camera device receives the complex image, calculates the sharpness of each captured image, and compares one of the sharpest contrast images, and then compares the image with the image and determines whether it is the same—scene: if , the comparison is to "the sharpness of the image of the spot to judge whether the image is clear or difficult; if not, compare the specific image with the number of images in all the touch images to find the sharpest image. A specific image is used to make the above-mentioned sharpness comparison to judge whether the image is clear or blurred. The details of the present invention, the technical content, and the features thereof are more easily understood by the detailed description of the specific embodiments in conjunction with the accompanying drawings. The effect achieved is φ. [Embodiment] The present invention relates to an image blur detection method for a photographic apparatus, which is manufactured on an electrophotographic apparatus, and the electronic photographic apparatus is A camera, mobile phone or camera that captures the image and instantly determines the clarity of the captured image and informs the user of the condition of the captured image. This allows the manufacturer to be more efficient in performing the image. It is also better to grasp the quality of the captured image. The reading device is an embodiment. The digital camera has a liquid crystal, and the digital camera has a half-press function. This half-pressing shutter can make the digital camera focus first. For the method of the present invention, please refer to the first figure. First, in the first step, during the focusing phase, the image is captured by the electronic camera, and then the step S12 is performed to calculate the sharpness of each captured image. Compare the captured image with the highest definition and define it as a control image. The definition here refers to the red (8), green (6), blue (8) and grayscale values in the alizarin. The sum of the pixels of one or a combination thereof is calculated as: image sharpness force - where AP is all pixels in the image (AU pixels), and in this embodiment In the calculation formula, 1300876 is calculated by using the gray scale value (Gray). Of course, other targets can be explained, such as the above red (8) 'green (G), blue (8), etc., and (i, D is the calculation time) Then proceed to step S14, and compare the contrast image with the captured image to compare the two images. If the image is the same scene, please refer to the two images and the third image. The flow in the paste is explained. First, the step is performed. In the control image and the captured image, the designated area is 1G'. The area of the area is between the control image and the face-to-face of the captured image, and then step S18 is performed, which is to be analyzed. The corresponding control image and the corresponding image of the captured image are simultaneously divided into _block 12, such as the third _, followed by the step side, using the above formula α rain this area 1G_ per _2 male average scale The average value of the image and the captured image is divided into counties V1 and V2, and the average difference value (Dif〇) is calculated according to the following formula: \V2-Vll
Dlfo =[~n~Jxl00〇/〇~(2) 接著進行步驟S22,將此平均差異值⑽。)與—判斷值比較,此判斷值係, 至3⑽之間,而最佳範圍為為_2〇%至2〇%之間,若平均差異帅⑹小於到 斷值時則判斷為同一場景,反之則為不同場景。 而以下就分別以同-場景及不同場景情形進行不同之步驟,首先若對 照影像與拍攝影像係為同-場景時,請參閱第四圖所示,進行步驟微,以 上述公式(1)分別計算出對照影像與拍攝影像之清晰度wl及w2,並依下列 公式計算一差異值(Dif〇 : w2-w\l -^p-Jxl〇〇〇/0_(3) 1300876 係為告知使用者可提高感光度⑽)或使用腳架等意見,且較佳呈現方式則 係在液晶螢幕上顯示告知。 因此本發賴由齡謝的—清晰影像赌彳_影雜較,以此 判斷最後賴之影像係為清晰或_,並且通知使时減祕之狀態, 令使用者照相時能確定所拍攝之影像有較佳之清晰度,進而使攝影的效率 增加及錯誤減少,另外此方法可在使用者拍攝影像後當下對使用者提出 相關拍攝之_,令使膽可絲彡缝驗,所林發明可使電子 •攝影裝置更具有附加價值及多元化的使用。 卩上韻轉施繼明本㈣之_,其目__該技術者 能暸解本發明之内容並據以實施,而非限定本發明之專利範圍,故,凡其 他未脫離本發明所揭示之精神所完成之等效修飾或修改,仍聽含在以下 辦述之申請專利範圍中。 【圖式簡單說明】 0 第一圖為本發明之對焦階段時流程示意圖。 第二圖為本發明之判斷同一場景之流程示意圖。 第三圖為本發明之對照影像及拍攝影像劃分區塊及指定區域之示意圖。 第四圖為本發明之同一場景下之比較流程圖。 第五圖為本發明之不同場景下之比較流程圖。 第六圖為本發明之數位相機拍攝流程圖。 【主要元件符號說明】 10區域 12區塊Dlfo = [~n~Jxl00〇/〇~(2) Next, step S22 is performed to average the difference value (10). Compared with the judgment value, the judgment value is between 3 (10), and the optimal range is between _2〇% and 2〇%. If the average difference (6) is less than the cutoff value, it is judged to be the same scene. Otherwise, it is a different scene. In the following, different steps are performed in the same scene and different scene situations. First, if the comparison image and the captured image are the same scene, please refer to the fourth figure, and perform the step micro, using the above formula (1) respectively. Calculate the sharpness wl and w2 of the control image and the captured image, and calculate a difference value according to the following formula (Dif〇: w2-w\l -^p-Jxl〇〇〇/0_(3) 1300876 is to inform the user The sensitivity (10) can be increased or the use of a tripod can be used, and the preferred presentation is displayed on the LCD screen. Therefore, this issue relies on the obedient-clear image gambling _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The better definition, which in turn increases the efficiency of photography and reduces the error. In addition, this method can present the relevant photographs to the user immediately after the user takes the image, so that the gallbladder can be sewed and the invention can make the electrons • Photographic devices are more value-added and more versatile.卩上韵向施继明本(四) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The equivalent modification or modification of the completion is still included in the scope of the patent application described below. [Simple description of the drawing] 0 The first figure is a schematic flow chart of the focusing stage of the present invention. The second figure is a schematic diagram of the process of determining the same scene in the present invention. The third figure is a schematic diagram of the control image and the divided area of the captured image and the designated area of the present invention. The fourth figure is a flow chart for comparison in the same scenario of the present invention. The fifth figure is a flow chart for comparison in different scenarios of the present invention. The sixth figure is a flow chart of the digital camera shooting of the present invention. [Main component symbol description] 10 area 12 block