種數位式顯微相機,該專利 在具有望遠鏡麵數位滅時卻無法制令人滿意果,目爲望遠鏡豆 的景深錢’ _很闕斷是狂確騎焦。叫,有必要翁述 焦方式進行改良,以克服前述習知技術之缺陷。 = 1316641 九、發明說明: 【發明所屬之技術領域】 本發明係關於-種攝像裝置及其變財法,翻是有關於—種利用可 掏取數位轉輕雜祕手動魏_断財紗及應職方法的攝 像裝置。 【先前技術】 相機或望遠鏡等成像設備在拍攝麵察物體時,#被拍物體或被觀察 物體與相機或望遠賴鏡賴距離與鏡_焦軸吻合時,職攝或觀察 到的影像就比較清晰。 如美國專利公告第6088053號即揭示了 — 所示的數位式顯微相機,在焦距的調整方式上可以兩種方式:定隹和 手動變焦。定缺鏡_焦麵定不可調,這觀錢械由於其隹距固 定,很難對柯距雜祕減像清晰。钱變騎和财手動調整鏡 片的位置_整綱的鱗,在爾鏡片位時,猶者彻光學觀 景窗或液晶螢幕觀看_的清晰度以判斷是否對焦準確^類似的機構應用 【發明内容】 本發明之目的在於提供-龍提高可魏齡裝置靖鮮確 焦方法。 " 1316641 本發明之另-目的在於提供—種對鱗確的可魏攝像装置。 ^實現上述目的’本發雜供—辨_助對齡法,純於系統内 社影像清晰程度和變焦距離之_對應關係,當旋動相機鏡頭作手 調即時,以圖像感測器對獲取的影像進行清晰度計算,以得到一個對應 之輕度值,再以前述的對_係作比對,並據而簡作者提供提示/ 前述提示為顯示與清晰度值成比例的對應峰狀圖。A digital microscope camera, the patent can not produce satisfactory results when the digital surface of the telescope is off, and the depth of field of the telescope bean is very arrogant. It is necessary to improve the method of the coke to overcome the shortcomings of the aforementioned prior art. = 1316641 IX. Description of the invention: [Technical field to which the invention pertains] The present invention relates to an image-capturing device and a method for changing the same, and is related to the use of a digitally-usable digital The camera device of the application method. [Prior Art] When an imaging device such as a camera or a telescope picks up an object, the image of the job or the observed image is compared when the object being photographed or the object being observed is in agreement with the camera or telescope. Clear. As shown in U.S. Patent No. 6,080,053, the digital microscope camera shown can be adjusted in two ways: fixed length and manual zoom. The lack of mirror _ focal plane is not adjustable, this view of the money machine because of its fixed distance, it is difficult to clear the image of the coke. Money change riding and financial manual adjustment of the position of the lens _ the outline of the whole class, in the lens position, the clear view of the optical viewing window or LCD screen to determine whether the focus is accurate ^ similar institutional application [invention content The purpose of the present invention is to provide a method for improving the scent of the scented scented device. " 1316641 Another object of the present invention is to provide a versatile and capable imaging device. ^ to achieve the above purpose 'this hair miscellaneous - discrimination _ help age-related law, pure in the system within the social image clarity and zoom distance _ correspondence, when the camera lens is rotated for hand-tuning instant, image sensor pair acquisition The image is subjected to sharpness calculation to obtain a corresponding light value, and then compared with the aforementioned pair of _ systems, and according to the author's suggestion / the above prompt is to display a corresponding peak map proportional to the sharpness value .
則述計算結果是根賊取影像的清晰度值為最大時,職示對焦準 確,且峰狀圖達到最大值。 "’、, 前述提示為二極體發光指示、液晶顯示或聲音提示資訊。 前述計算值為計算清晰度值與時間之變化關係,其變化率為k。 田同時滿足卜她、和、'<〇時表示對焦準確,攝 像裝置將顯示難成功的提讀訊,射變辨‘近似於〇。 為避免誤差,可在滿足前述條件的情況下,進—步使對焦參數滿足 |=>心,以表示對焦成功,其中當清晰度值大於一預設值〜時,則獲得 車心月晰之影像(例如:影狀成像面落人景深範圍内)。 為達成前述目的,本發明提供·種可變減像裝置,其包括對焦鏡頭、 圖像感測器和中姨理單元,攝像裝置接收到對焦指示後,由圖像感^器 感測出影像清晰度值與對焦鏡頭的位置由中央處理單元持續計算影 像清晰度的值和清晰紐與織_之間_辨K,湖晴化率κ值 是否符合對焦條件<0、IU>尤她、和·卷 處理單喊晴彡像清晰度的值和變辨κ值符合±骑紐件後,系統提 6 1316641 示對焦成功的資訊。 本發明的攝纖撕_繼枝,#姻_娜根據該 清晰程度值與《、距離之_變化關計算得鄉像清晰程度值,判斷是 否對焦成功,能提高對焦成辨,從而拍得更清晰的影像。 【實施方式】 本發明的方法主要針對可M的娜裝置,_是钱型數位相機。The result of the calculation is that when the sharpness value of the image taken by the root thief is maximum, the job focus is accurate, and the peak map reaches the maximum value. "', the above tips are diode illumination indication, liquid crystal display or voice prompt information. The aforementioned calculated value is a relationship between the calculated sharpness value and the time, and the rate of change is k. At the same time, Tian satisfies her, and, '< 〇 indicates that the focus is accurate, the camera device will display a difficult reading, and the morphing is similar to 〇. In order to avoid the error, if the above conditions are met, the focus parameter is further satisfied to satisfy the focus of |=> to indicate that the focus is successful, and when the sharpness value is greater than a preset value~, the vehicle heart is obtained. The image (for example, the shadow image plane falls within the depth of field). In order to achieve the foregoing objective, the present invention provides a variable-subtraction device including a focus lens, an image sensor, and a middle processing unit. After receiving the focus indication, the image sensing device senses the image by the image sensor. The sharpness value and the position of the focus lens are continuously calculated by the central processing unit between the value of the image sharpness and the sharpness and the weave _. K, whether the lake grading rate κ value meets the focus condition <0, IU> And the volume processing single call clears the value of the sharpness and the gamma value is in accordance with the ± riding, the system mentions 6 1316641 to show the success of the information. According to the invention, the fiber-removing tearing _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clear image. [Embodiment] The method of the present invention is mainly directed to a M-type device, which is a money type digital camera.
該攝像裝置崎包括圖像制器和巾姨理單元。#制者透過攝像裝置 上之-輸人單元,財動罐的方式軸難崎鱗,圖像感測器 可感測出影像清晰度值(F_ Vahe,FV)與對焦鏡補位置難。如第一 圖所示,通過_測_得到的影像清晰度值會_、距離⑽咖e D)變化而有不糊焦讀數,如第一圖中所示,當所欲擷取之影像的待攝 物處於中程距_ ’影像清晰紐與雛轉_係纽呈現—山峰狀, 即當變焦距離較小時,該影像的輪度值會比較低,隨著變焦距離逐漸 加大,所拍攝的影像的清雜度值亦會增大,、距離達娜—臨界值, 如圖中的Dm處時所拍攝的影像的清晰度值會達到最大,表示此時對拍攝 物體的對焦最準確(即成像聽入景深範圍内),所拍攝的相片也最清晰。 當變焦距離顯增大時拍攝的影像的清晰度值會賴焦距離 大 而再度減小,所拍攝的影像亦將會變得模糊。 根據上述拍攝影像的清晰度值和機_之間的對應義,本發明的 -種較佳實施礙錢縣置的巾央歧單柄設置獅聽功能,當啓 動該功能時’會錢健置賴轉(例如: 液晶螢幕)上出現影像拍攝 1316641 /月晰度值與爾、距離相應的峰狀顯相,如第二圖所*,當清晰度值越高 、“聲狀u越長’該清晰度值越小職峰狀圖越短。為提高系統的可操作 性’可以钱清晰度值定義—特定值FVTh (Threshdd F_驗),在清 晰度值大於此特定值%時,其影像之成像位置將落入景深範圍内。 月參閱第二騎不’為本發明之—較佳實施觸絲圖,首先啟動輔 對…、功⑯(步驟slG)m统關像感測賊應並計算拍攝的影像清 值(步驟S12) ’再將該清晰度值按比例以峰狀圖顯示於相機的顯示器 (例如·液曰曰螢幕)(步驟S⑷。藉此,使用者可在手動調節綱之變焦 距離的同時,並察看顯示器上顯示的♦狀圖是否達到特定值FVTh,若否, 則可以繼續手動調節鏡頭的距離,此時將重複回到先前的圖像感測器重新 計縣像清晰度值的步驟(步驟S12),直到對焦成功,即影像清晰度值達 13值此時操作者會觀察到該峰狀圖顯示達到最大值,並按下攝像裝 置的快Η或者發出結束對焦輔助功能的指令,則攝像裝置内的系統晶片收 束輔助對焦功此的消息後結束輔助對焦(步驟sl8)。 士以上實補中是郷像輕度值鱗狀_形式直接顯示,操作者使 用日守只要觀察該蜂狀圖顯示出的影像清晰度值是否在可接受的範圍内,以 判斷疋否對減功。當然在其他實關巾也可轉用扇_或者其他圖案 或數值反映出該圖像清晰度的值。 由前述第i可知’拍攝影像的清晰度值和織距離的II係大致呈現 -山峰狀。以第一圖為例’此峰狀圖是以最佳對焦位置Dm (調焦距離值為 5〇處)為分界,當調焦距離值小於最佳對焦位置此時,清晰度值和調焦 8 1316641 距離的變化率(即影像清晰度函數與調焦距離的斜率)為正值,·當調焦距 離值大於最佳對焦位置Dm時,清晰度值和調焦距離的變化率(即影像, 晰度函數與調焦距離的斜率)為負值。請結合第一圖和第四圖所示,如果 手動變焦的速率(ΔΖ)/Δ,)恒定時,影像清晰度鋪時_變化量,即單位 時間内,影像清晰度值之變化率為(其中 “仙/义)。在最佳對焦位置此對應的最佳時間Tm前後相鄰之兩變化率 踢正負符號也不同,即假設於圖四中,在最佳對焦位置如之前的某— 時間點的變化率為‘t,於最佳對焦位置如之後的某一時間點的變化率為 A ’則,且最佳對焦位置此對應的變化率為、。由於其為 影像清晰度函數相對極值的變化率,其值理應近似於零,因此必然滿足 l、l>k和心|>、’也就是說當同時滿足‘、和 時,表示料次和第m次的變焦位置是位於最佳對焦位置^ 附近。 由於實際上手動變焦的速率不是恒定速率,因而在變焦速度 一致時會造録統的誤判,如第五圖卿,在·清晰度值沒有達到最 值時’由於手動變錢度變慢祕觸已達到最大值。因而可再增加一 斷條其中&為清晰度函數之特定值%的變化率,盆可定 為:當清晰度值超過該特定值Ή可娜軸清晰的影像(影 之成2面落人景深範_),以提高线的可靠度。 機的Γ閱第六圖所示’是本發明第二實施例的較佳流程圖。首先啓動 ,助對焦功能(步驟叫絲圖像細會計算當獅像清晰 1316641 化樹咖單元彻議細目軸焦時間的變 =(卩撕晰度函_位_變化量)(輸⑷,然 =相鄰兩次継量滿足以<G (步細),若否, 並计异影像清晰度值(返回步驟卿,若是,則繼續下-步(步_) =衫同時滿足丨^、、fc|>、和w>。料無朗時滿足 ,-A、和,則繼續變焦並計算影像清晰度值(返回 資却/2)如果滿足該等條件則表示對焦成功,系統將發出對焦成功提示 _二步驟S3。,該對焦成功提示資訊可以是以發光二極體指示、液晶顯 不幕顯示或者聲音提示等。 曰’’ Μ上本發_第二實施例是㈣統自動判斷對焦是否成功,並直接發 L成功的提不,而不需要使用者通過觀察峰狀圖來判斷對焦是否成功。 θ _综上所述,本發明之方法及裝置通過計算影像清晰度值,並將其通過 心不貧訊_給使时,麟高對鮮確度,以棘更清_影像。 、上所揭不的,僅僅是本發明的較佳實施例而已,不能以此來限定本 實施的範圍’本技術領勒的—般技術人貞根據本發賴作的均等變 4如將以上實蝴中的各個步驟進行組合、替換,以及本領域内技術 人—改進’都應仍屬縣發明專利涵蓋的範圍。 【圖式簡單說明】 ^ 本發卿—實施例中影像清晰度值和雛距離之關係圖。 ^ =圖係本發明第—實施财㈣度函數之特定值^的示意圖 弟二圖係本發明第一實施例的流程圖。 第四圖係本购第二實施射影像清晰度值與雛時_關係圖。 10 1316641 第五圖係變焦速度變慢時出現誤判情況的影像清晰度值與調焦時間的 關係圖。 第六圖係本發明第二實施例的流程圖。 【主要元件符號說明】 (無元件代表符號)The camera device includes an image maker and a towel processing unit. The system allows the imager to detect the image sharpness value (F_Vahe, FV) and the focus mirror to make it difficult to pass through the camera-input unit. As shown in the first figure, the image sharpness value obtained by _ _ _, the distance (10) coffee e D) changes without a focus reading, as shown in the first figure, when the image to be captured The object to be in the middle distance _ 'image clear and new _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The clearness value of the captured image will also increase, and the Dana-threshold value will be the maximum. The sharpness value of the image captured at Dm will reach the maximum, indicating that the focus on the subject is the most accurate. (ie, the image is within the depth of field) and the photos taken are also the clearest. When the zoom distance is increased, the sharpness value of the captured image will be greatly reduced and the image will be blurred. According to the correspondence between the sharpness value of the above-mentioned captured image and the correspondence between the machine and the machine, the preferred embodiment of the present invention is arranged to prevent the money from being placed in the single-handle of the county, and when the function is activated, On the Lai Zhuan (for example: LCD screen), there is a peak-like appearance corresponding to the distance and the distance between the image and the distance, as shown in the second figure. When the sharpness value is higher, the longer the sound is, the longer the sound is. The smaller the sharpness value is, the shorter the peak image is. In order to improve the operability of the system, the definition of the value of the money can be defined as a specific value FVTh (Threshdd F_test), when the sharpness value is greater than the specific value %, The imaging position of the image will fall within the depth of field. The month refers to the second rider is not the present invention - the preferred implementation of the touch wire diagram, first start the auxiliary pair..., work 16 (step slG) m unified image sense thief should And calculating the captured image clear value (step S12)' and then displaying the sharpness value in a peak shape on the display of the camera (for example, liquid helium screen) (step S(4). Thereby, the user can manually adjust At the same time as the zoom distance of the program, and look at the ♦ map displayed on the display Whether the specific value FVTh is reached, if not, the manual adjustment of the distance of the lens can be continued, and the step of returning to the previous image sensor recalculation image resolution value is repeated (step S12) until the focus is successful, that is, When the image sharpness value reaches 13, the operator will observe that the peak image display reaches the maximum value, and press the camera's fast shutter or issue the end focus assist function command, then the system chip concealing aid in the camera device After the message of the focus is completed, the auxiliary focus is ended (step sl8). In the above-mentioned real compensation, the image is displayed in a slight scaly form, and the operator uses the day-to-day watch to observe the image sharpness value displayed by the bee. Whether it is within the acceptable range to judge whether or not to reduce the work. Of course, in other real customs towels, the fan _ or other patterns or values can be used to reflect the value of the image clarity. The II system of the sharpness value and the woven distance of the image is roughly in the shape of a mountain. Taking the first figure as an example, the peak image is defined by the best focus position Dm (the focus distance value is 5〇). Small focal length value At the best focus position, the sharpness value and the change rate of the focus 8 1316641 distance (ie, the slope of the image sharpness function and the focus distance) are positive values. · When the focus distance value is greater than the optimal focus position Dm The rate of change of the sharpness value and the focus distance (ie, the slope of the image, the sharpness function and the focus distance) is negative. Please refer to the first and fourth figures if the rate of manual zoom (ΔΖ)/ When Δ,) is constant, the image sharpness is _ the amount of change, that is, the rate of change of the image sharpness value per unit time (where "sen/right"). In the best focus position, the corresponding two different rates of change before and after the optimal time Tm are different. That is to say, in FIG. 4, the rate of change at the best focus position as before - the time point is 't The rate of change at a certain point in time at the best focus position is A ', and the corresponding rate of change of the best focus position is . Since it is the rate of change of the relative sharpness of the image sharpness function, its value should be close to zero, so it must satisfy l, l > k and heart | >, that is, when both ', and , And the mth zoom position is located near the best focus position ^. Since the rate of manual zoom is not a constant rate, the misjudgment of the system will be recorded when the zoom speed is the same. For example, in the fifth picture, when the sharpness value does not reach the maximum value, the manual change becomes slower. The maximum has been reached. Therefore, it is possible to add a broken bar in which & is the rate of change of the specific value % of the sharpness function, and the basin can be determined as: when the sharpness value exceeds the specific value, the image of the sharp axis is clear (the shadow becomes 2 faces) Depth of field _) to improve the reliability of the line. Referring to the sixth drawing of the machine is a preferred flow chart of the second embodiment of the present invention. First start, help focus function (steps called silk image detail will be calculated when the lion statue is clear 1316641 The tree tree unit is concerned about the change of the axis focus time = (卩 晰 晰 函 _ _ _ _ change) (transmission (4), then = 相邻 相邻 相邻 & & & & & & & & & & & & & & 相邻 相邻 相邻 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = , fc|>, and w>. When no content is satisfied, -A, and, continue zooming and calculate the image sharpness value (returning capital but /2). If these conditions are met, the focus is successful and the system will issue The focus success prompt _ two steps S3. The focus success prompt information may be an LED indication, a liquid crystal display or an audible prompt, etc. 曰'' 本上本发_The second embodiment is (four) automatic judgment Whether the focus is successful, and directly sends L successfully, without requiring the user to judge whether the focus is successful by observing the peak map. θ _ In summary, the method and device of the present invention calculate the image sharpness value, and Passing it through the heart is not poor news _ give time, Lin Gao to the degree of freshness, The invention is not limited to the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto. The technical person skilled in the art is based on the present invention. Equalization 4, such as combining and replacing the various steps in the above, and the technical person-improvement in the field should still be covered by the county invention patent. [Simplified illustration] ^ Benfaqing - Example The relationship between the image sharpness value and the young distance. ^ = Figure 1 is a schematic diagram of the specific value of the first implementation of the fourth function of the present invention. The second diagram is a flow chart of the first embodiment of the present invention. The second embodiment of the image clarity value and the chronological _ relationship diagram is purchased. 10 1316641 The fifth figure is a relationship between the image sharpness value and the focusing time when the zoom speed is slowed down. Flow chart of the second embodiment. [Explanation of main component symbols] (No component representative symbol)
1111