TWI495920B - Device and method for assistant focusing - Google Patents

Device and method for assistant focusing Download PDF

Info

Publication number
TWI495920B
TWI495920B TW103101853A TW103101853A TWI495920B TW I495920 B TWI495920 B TW I495920B TW 103101853 A TW103101853 A TW 103101853A TW 103101853 A TW103101853 A TW 103101853A TW I495920 B TWI495920 B TW I495920B
Authority
TW
Taiwan
Prior art keywords
image
distance
sharpness value
instant
value
Prior art date
Application number
TW103101853A
Other languages
Chinese (zh)
Other versions
TW201530214A (en
Inventor
Chen Jung Tai
Original Assignee
Kye Systems 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 Kye Systems Corp filed Critical Kye Systems Corp
Priority to TW103101853A priority Critical patent/TWI495920B/en
Publication of TW201530214A publication Critical patent/TW201530214A/en
Application granted granted Critical
Publication of TWI495920B publication Critical patent/TWI495920B/en

Links

Landscapes

  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Description

輔助對焦裝置及方法Auxiliary focusing device and method

本發明係關於一種輔助對焦裝置及方法,特別是一種針對具有單一焦距的輔助對焦裝置及方法。The present invention relates to an auxiliary focusing apparatus and method, and more particularly to an auxiliary focusing apparatus and method having a single focal length.

目前市面上的相機種類繁多,針對對焦功能的話可區分為具有自動對焦功能與沒有自動對焦功能的相機,具有自動對焦功能的相機在使用時,使用者僅需要輕按快門即可啟動自動對焦,待相機自動對準焦距後再按下快門,即可拍出清晰的照片。但在使用沒有對焦功能的相機時,使用者須透過旋轉鏡頭上的對焦環,選取對待攝物而言適當的焦距,待眼睛確認觀景窗中待攝物的影像清晰後再按下快門拍照。At present, there are many kinds of cameras on the market. For the focus function, it can be divided into a camera with auto focus function and no auto focus function. When the camera with auto focus function is used, the user only needs to tap the shutter to start auto focus. After the camera automatically aligns to the focal length and then presses the shutter, you can take a clear picture. However, when using a camera without focus function, the user should select the appropriate focal length for the subject by rotating the focus ring on the lens. After the eye confirms that the image of the subject in the viewing window is clear, press the shutter to take the photo. .

但若是鏡頭並無法選取不同的焦距,即鏡頭僅具有單一焦距的情形時,使用者便需要透過移動位置的方式找到此鏡頭的焦點距離,待觀景窗的待攝物影像因位置移動而從模糊變清晰後即停止移動並按下快門拍照。然而,若沒有輔助對焦的設備,使用者不方便判斷適當的移動方向或者距離。However, if the lens cannot select a different focal length, that is, when the lens has only a single focal length, the user needs to find the focal length of the lens by moving the position, and the image of the object to be viewed from the view window is moved by the position. After the blur becomes clear, stop moving and press the shutter to take a picture. However, if there is no device for assisting focusing, it is inconvenient for the user to judge the appropriate moving direction or distance.

有鑑於以上的問題,本發明提出一種多媒體管理裝置、多媒體管理方法及執行多媒體管理方法的電腦可讀取媒體,藉由在播放媒體介面上顯示播放紀錄,以幫助使用者可以得知哪些多媒體檔案的影像畫面 已被別的使用者所查看。In view of the above problems, the present invention provides a multimedia management device, a multimedia management method, and a computer readable medium for executing a multimedia management method, which can help a user to know which multimedia files by displaying a play record on a play media interface. Image frame Has been viewed by other users.

依據本發明所揭露的輔助對焦裝置,所述輔助對焦裝置具有影像擷取模組與影像處理模組。所述影像擷取模組用以於相對待攝物的第一距離擷取第一即時影像及於相對待攝物的第二距離擷取第二即時影像。所述影像處理模組耦接影像擷取模組,影像處理模組用以計算第一即時影像的銳利度值及第二即時影像的銳利度值,比較第一即時影像的銳利度值及第二即時影像的銳利度值並傳送通知信號,通知信號係表示第一距離、第二距離與焦點距離的相對關係。According to the auxiliary focusing device disclosed in the present invention, the auxiliary focusing device has an image capturing module and an image processing module. The image capturing module is configured to capture a first instant image at a first distance relative to the object and a second instant image at a second distance from the object to be viewed. The image processing module is coupled to the image capturing module, and the image processing module is configured to calculate a sharpness value of the first instant image and a sharpness value of the second instant image, and compare the sharpness value of the first instant image with the first The sharpness value of the instant image is transmitted and the notification signal is transmitted, and the notification signal indicates the relative relationship between the first distance, the second distance, and the focal length.

依據本發明所揭露的輔助對焦方法,於相對待攝物的第一距離擷取第一即時影像。計算第一即時影像的銳利度值。於相對待攝物的第二距離擷取第二即時影像。計算第二即時影像的銳利度值以及比較第一即時影像的銳利度值及第二即時影像的銳利度值並傳送通知信號,通知信號係表示第一距離、第二距離與焦點距離的相對關係。According to the auxiliary focusing method disclosed in the present invention, the first instant image is captured at a first distance from the object to be inspected. Calculate the sharpness value of the first live image. The second instant image is captured at a second distance from the object to be inspected. Calculating a sharpness value of the second real-time image, comparing a sharpness value of the first real-time image and a sharpness value of the second real-time image, and transmitting a notification signal, where the notification signal indicates a relative relationship between the first distance, the second distance, and the focal length .

綜上所述,本發明可透過比較相對於待攝物的不同距離上擷取即時影像的銳利度值,依此來判斷此次相對於待攝物的距離相較於上次相對於待攝物的距離是靠近或是遠離拍攝待攝物的焦點距離,並依據此次相對於待攝物的距離與與拍攝待攝物的焦點距離之間的相對關係傳送不同種類的通知信號,從而輔助使用者對焦。In summary, the present invention can determine the sharpness value of the instant image by comparing the different distances from the object to be inspected, thereby judging that the distance from the object to be photographed is compared with the last time relative to the object to be photographed. The distance of the object is close to or away from the focus distance of the object to be photographed, and different types of notification signals are transmitted according to the relative relationship between the distance from the object to be photographed and the focal distance of the object to be photographed, thereby assisting The user focuses.

以上之關於本發明內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the present invention and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention.

1‧‧‧輔助對焦裝置1‧‧‧Auxiliary focusing device

10‧‧‧影像擷取模組10‧‧‧Image capture module

12‧‧‧影像處理模組12‧‧‧Image Processing Module

14‧‧‧儲存模組14‧‧‧Storage module

16‧‧‧電源供應模組16‧‧‧Power supply module

D1‧‧‧第一距離D1‧‧‧First distance

D2‧‧‧第二距離D2‧‧‧Second distance

D3‧‧‧第三距離D3‧‧‧ third distance

D4‧‧‧焦點距離D4‧‧‧Focus distance

第1圖係依據本發明一實施例的輔助對焦裝置的功能方塊圖。1 is a functional block diagram of an auxiliary focus device in accordance with an embodiment of the present invention.

第2圖係依據本發明一實施例的輔助對焦方法的流程圖。2 is a flow chart of an assist focus method in accordance with an embodiment of the present invention.

第3A圖係依據本發明一實施例的第一距離、第二距離與焦點距離相對關係的示意圖。3A is a schematic diagram showing the relative relationship between the first distance, the second distance, and the focal length according to an embodiment of the present invention.

第3B圖係依據本發明另一實施例的第一距離、第二距離與焦點距離相對關係的示意圖。FIG. 3B is a schematic diagram showing the relative relationship between the first distance, the second distance, and the focal length according to another embodiment of the present invention.

第4圖係依據本發明一實施例的輔助對焦方法的示意圖。4 is a schematic diagram of an auxiliary focusing method according to an embodiment of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請一併參照第1圖、第3A圖、第3B圖及第4圖。其中第1圖係依據本發明一實施例的輔助對焦裝置功能方塊圖、第3A圖係依據本發明一實施例的第一距離、第二距離與焦點距離相對關係的示意圖、第3B圖係依據本發明另一實施例的第一距離、第二距離與焦點距離相對關係的示意圖及第4圖係依據本發明一實施例的輔助對焦方法的示意圖。如第1圖所示,輔助對焦裝置1包含影像擷取模組10、影像處理模組12及儲存模組14。其中影像處理模組12耦接影像擷取模組10及儲存模組14。Please refer to FIG. 1 , FIG. 3A, FIG. 3B and FIG. 4 together. 1 is a functional block diagram of an auxiliary focusing device according to an embodiment of the present invention, and FIG. 3A is a schematic diagram showing a relative relationship between a first distance, a second distance, and a focal length according to an embodiment of the present invention, and a 3B basis. A schematic diagram of a relative relationship between a first distance, a second distance, and a focal length according to another embodiment of the present invention, and a fourth diagram is a schematic diagram of an auxiliary focusing method according to an embodiment of the present invention. As shown in FIG. 1 , the auxiliary focusing device 1 includes an image capturing module 10 , an image processing module 12 , and a storage module 14 . The image processing module 12 is coupled to the image capturing module 10 and the storage module 14 .

影像擷取模組10用以於相對待攝物的第一距離D1擷取第 一即時影像及於相對待攝物的第二距離D2擷取第二即時影像。換句話說,影像擷取模組10可以在不同位置上擷取待攝物的即時影像。於實務上,影像擷取模組10可以是一個具有單一焦距的相機鏡頭、攝影機鏡頭、網路攝裝置鏡頭或是或是其他適當的攝影設備。除此之外,影像擷取模組10更包含一種由電荷耦合元件(charge coupled device,CCD)或是互補式金屬氧化物半導體(complementary metal oxide semiconductor,CMOS)所製成的影像感測器(image sensor),但本發明不以上述敘述為限。The image capturing module 10 is configured to capture the first distance D1 from the object to be inspected An instant image and a second instant image is captured at a second distance D2 relative to the object to be viewed. In other words, the image capturing module 10 can capture an instant image of the object at different locations. In practice, the image capture module 10 can be a camera lens with a single focal length, a camera lens, a network camera lens, or other suitable photographic device. In addition, the image capturing module 10 further includes an image sensor made of a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS). Image sensor), but the present invention is not limited to the above description.

影像處理模組12用以分別計算第一即時影像的銳利度值及第二即時影像的銳利度值之後,比較第一即時影像的銳利度值及第二即時影像的銳利度值並傳送通知信號。該通知信號係表示第一距離D1、第二距離D2與焦點距離D4的相對關係。於一個例子中,當影像處理模組12計算出第一次接收到的即時影像的銳利度值後,即將計算出來的銳利度值暫時儲存至儲存模組14。接著,影像處理模組12再計算出第二次接收到的即時影像的銳利度值,並將計算出來的次一個銳利度值也暫時儲存至儲存模組14。The image processing module 12 is configured to respectively calculate the sharpness value of the first instant image and the sharpness value of the second instant image, and compare the sharpness value of the first instant image with the sharpness value of the second instant image and transmit the notification signal. . The notification signal indicates the relative relationship between the first distance D1, the second distance D2, and the focal length D4. In one example, after the image processing module 12 calculates the sharpness value of the first received instant image, the calculated sharpness value is temporarily stored in the storage module 14. Then, the image processing module 12 calculates the sharpness value of the second received real image, and temporarily stores the calculated next sharpness value to the storage module 14.

接著,當影像處理模組12從儲存模組14取出並比較此兩個銳利度值大小,其中即時影像的銳利度值較大者當作下一個即時影像(例如相距待攝物第三距離D3的第三即時影像)的銳利度值的門檻值。比較結果係代表輔助對焦裝置1相對於待攝物的距離與拍攝待攝物的焦點距離D4之間的差距。更詳細來說,即輔助對焦裝置1所在的位置與以待攝物為焦點時輔助對焦裝置1所在之位置之間的差距,並依據比較結果傳送相對應的通知信號。如第3A圖及第3B圖所示,當第一距離D1大於第二距離D2時 會傳送第一信號,用以通知使用者正遠離焦點距離D4,當第一距離D1小於第二距離D2時會傳送第二信號,用以通知使用者正靠近焦點距離D4。除此之外,當第三距離D3小於門檻值的時候及第三距離D3大於門檻值時亦會分別傳送第一信號及第二信號,而當第三距離D3與焦點距離D4相等時,則會傳送第三信號,用以通知使用者以到達焦點距離D4。由於即時影像的銳利度值計算已為本技術領域具有通常知識者所熟知,故不再贅述。Then, when the image processing module 12 takes out the storage module 14 and compares the two sharpness values, the larger the sharpness value of the live image is regarded as the next real image (for example, the third distance D3 from the object to be inspected) The third instant image) is the threshold value of the sharpness value. The comparison result represents the difference between the distance of the auxiliary focusing device 1 with respect to the subject and the focal length D4 of the subject to be photographed. More specifically, the difference between the position where the auxiliary focusing device 1 is located and the position where the auxiliary focusing device 1 is located when the subject is in focus, and the corresponding notification signal is transmitted according to the comparison result. As shown in FIGS. 3A and 3B, when the first distance D1 is greater than the second distance D2 A first signal is transmitted to inform the user that the distance D4 is away from the focus distance. When the first distance D1 is smaller than the second distance D2, a second signal is transmitted to notify the user that the focus distance D4 is approaching. In addition, when the third distance D3 is less than the threshold value and the third distance D3 is greater than the threshold value, the first signal and the second signal are respectively transmitted, and when the third distance D3 is equal to the focal length D4, then A third signal is sent to inform the user to reach the focus distance D4. Since the calculation of the sharpness value of the live image is well known to those of ordinary skill in the art, it will not be described again.

不僅如此,通知信號可為顯示傳送至顯示介面上、透過光源、聲源的方式亦或是傳送至計算機裝置,計算機裝置可透過接受不同種類通知信號傳送相對應的信號至影像應用程式中,用以通知使用者相對於待攝物的距離與拍攝待攝物的焦點距離D4的差距的相對應關係。於實務上,計算機裝置可以是電腦、筆記型電腦、智慧型手機或是平板電腦,而影像處理模組12可以是微處理器(micro processor)或是圖像處理器(graphics processing unit),儲存模組14可以為一種可程式化唯讀記憶體(programmable read-only memory,PROM)、可擦可程式化唯讀記憶體(erasable programmable read-only memory,EPROM)、可電擦可程式化唯讀記憶體(electrically erasable programmable read-only memory,EEPROM)、快閃記憶體(flash memory)等非揮發性記憶體(non-volatile memory),但本發明不以此為限。In addition, the notification signal can be transmitted to the display interface, through the light source, the sound source, or to the computer device. The computer device can transmit the corresponding signal to the image application by receiving different types of notification signals. The corresponding relationship of the distance between the user's distance from the object to be photographed and the focal length D4 of the subject to be photographed is notified. In practice, the computer device can be a computer, a notebook computer, a smart phone, or a tablet computer, and the image processing module 12 can be a micro processor or a graphics processing unit. The module 14 can be a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), and an erasable programmable only A non-volatile memory such as an electrically erasable programmable read-only memory (EEPROM) or a flash memory is used, but the invention is not limited thereto.

於實務上,輔助對焦裝置1更包含一個電源供應模組16,此電源供應模組16用以提供電能至影像擷取模組10、影像處理模組12及儲存模組14。電源供應模組16可以是電池模組如太陽能電池或是燃料電池,亦可以是交流電路模組,包括交流電電源、一組用以改變電流波形的交流/直流轉換器(AC/DC converter)以及一組用以調整充電電流大小的直流 斬波器,但本發明並不以此為限。In an embodiment, the auxiliary focus device 1 further includes a power supply module 16 for supplying power to the image capture module 10, the image processing module 12, and the storage module 14. The power supply module 16 can be a battery module such as a solar cell or a fuel cell, or an AC circuit module, including an AC power source, a set of AC/DC converters for changing the current waveform, and a set of DCs used to adjust the magnitude of the charging current Chopper, but the invention is not limited thereto.

本發明一實施例中的方法,請一併參照第1圖、第2圖及第4圖。第2圖係依據本發明一實施例的方法流程圖。如步驟S200所示,影像擷取模組10於相對待攝物的一段第一距離D1擷取第一即時影像。如步驟S202所示,影像處理模組12計算此第一即時影像的銳利度值並儲存至儲存模組14。如步驟S204所示,影像擷取模組10於相對待攝物的第二距離D2擷取第二即時影像。如步驟S206所示,影像處理模組12計算第二即時影像的銳利度值,並將此結果儲存至儲存模組14。For the method in one embodiment of the present invention, please refer to FIG. 1 , FIG. 2 and FIG. 4 together. 2 is a flow chart of a method in accordance with an embodiment of the present invention. As shown in step S200, the image capturing module 10 captures the first instant image at a first distance D1 relative to the object to be inspected. As shown in step S202, the image processing module 12 calculates the sharpness value of the first instant image and stores it in the storage module 14. As shown in step S204, the image capturing module 10 captures the second instant image at a second distance D2 relative to the object. As shown in step S206, the image processing module 12 calculates the sharpness value of the second instant image, and stores the result in the storage module 14.

在此,當輔助對焦裝置1從一位置(例如相距待攝物第一距離D1)移動到另一位置(例如相距待攝物第二距離D2)上時,影像擷取模組10即以此不同的位置擷取待攝物的即時影像,並將此即時影像傳送至影像處理模組12,接著影像處理模組12分別計算不同位置的即時影像的銳利度值。Here, when the auxiliary focusing device 1 moves from one position (for example, the first distance D1 from the object to be taken) to another position (for example, the second distance D2 from the object to be inspected), the image capturing module 10 The instant image of the object to be captured is captured at different locations, and the image is transmitted to the image processing module 12, and then the image processing module 12 calculates the sharpness values of the instant images at different positions.

值得一提的是,上述步驟S200到S206的順序可以相互調換,即影像擷取模組10可先擷取第一距離D1與第二距離D2的即時影像後,影像處理模組12再逕行計算第一即時影像及第二即時影像的銳利度值。It is worth mentioning that the sequence of the above steps S200 to S206 can be mutually exchanged, that is, the image capturing module 10 can first capture the real-time images of the first distance D1 and the second distance D2, and then the image processing module 12 calculates the path. The sharpness value of the first instant image and the second live image.

如步驟S208所示,影像處理模組12比較第一即時影像的銳利度值及第二即時影像的銳利度值,並依據第一距離D1、第二距離D2與焦點距離D4的相對關係傳送通知信號。如步驟S210所示,當第一即時影像的銳利度值大於第二即時影像的銳利度值時,即第一距離D1與焦點距離D4之差值小於第二距離D2與焦點距離D4之差值的情況下,傳送通知信號。更詳細地說,當移動到第二距離D2的方向為往焦距方向的反方向時, 在此位置上擷取待攝物的即時影像的銳利度值會較前一次擷取的即時影像的銳利度值為低,即第二距離D2與焦點距離D4的差距增加。此時影像處理模組12傳送第一信號,以通知使用者正遠離輔助對焦裝置1拍攝待攝物的焦點距離D4,並將前一個即時影像的銳利度值設定為一個門檻值,用以跟下一個即時影像的銳利度值做比較。As shown in step S208, the image processing module 12 compares the sharpness value of the first instant image with the sharpness value of the second instant image, and transmits a notification according to the relative relationship between the first distance D1, the second distance D2, and the focus distance D4. signal. As shown in step S210, when the sharpness value of the first instant image is greater than the sharpness value of the second live image, that is, the difference between the first distance D1 and the focus distance D4 is smaller than the difference between the second distance D2 and the focus distance D4. In the case of a notification signal. In more detail, when the direction of moving to the second distance D2 is in the opposite direction to the focal length direction, The sharpness value of the live image of the object to be captured at this position is lower than the sharpness value of the previous captured image, that is, the difference between the second distance D2 and the focus distance D4 is increased. At this time, the image processing module 12 transmits a first signal to notify the user that the focus distance D4 of the object to be photographed is away from the auxiliary focus device 1 and the sharpness value of the previous instant image is set as a threshold value for Compare the sharpness values of the next live image.

如步驟S212所示,當第一即時影像的銳利度值小於第二即時影像的銳利度值時,即第一距離D1與焦點距離D4之差值大於第二距離D2與焦點距離D4之差值的情況下,傳送通知信號。換句話說,當移動到第二距離D2的方向為往焦距方向的方向時,在此位置上擷取待攝物的即時影像的銳利度值會較前一次擷取的即時影像的銳利度值為高,即第二距離D2與焦點距離D4的差距減少。此時影像處理模組12傳送第二信號,以通知使用者正靠近輔助對焦裝置1拍攝待攝物的焦點距離D4,並將此次即時影像的銳利度值設定為一個門檻值,以跟下一個即時影像的銳利度值做比較。As shown in step S212, when the sharpness value of the first instant image is smaller than the sharpness value of the second live image, that is, the difference between the first distance D1 and the focus distance D4 is greater than the difference between the second distance D2 and the focus distance D4. In the case of a notification signal. In other words, when the direction of moving to the second distance D2 is the direction toward the focal length direction, the sharpness value of the instant image capturing the object at this position is higher than the sharpness value of the previous captured image. It is high, that is, the difference between the second distance D2 and the focal length D4 is reduced. At this time, the image processing module 12 transmits a second signal to notify the user that the focus distance D4 of the object to be photographed is approached by the auxiliary focus device 1 and sets the sharpness value of the instant image to a threshold value to follow Compare the sharpness values of an instant image.

如步驟S214所示,影像擷取模組10於相對待攝物的一段第三距離D3擷取第三即時影像。如步驟S216所示,影像處理模組12計算此第三即時影像的銳利度值並儲存至儲存模組14。如步驟S218所示,比較第三即時影像是否大於門檻值,而當第三即時影像的銳利度值大於門檻值時,第三即時影像的銳利度值即取代此門檻值為比較下一個即時影像的銳利度值的門檻值,並透過影像處理模組12傳送第二信號以通知使用者正靠近輔助對焦裝置1拍攝待攝物的焦點距離D4。As shown in step S214, the image capturing module 10 captures a third instant image at a third distance D3 relative to the object to be viewed. As shown in step S216, the image processing module 12 calculates the sharpness value of the third instant image and stores it in the storage module 14. As shown in step S218, comparing whether the third instant image is greater than the threshold value, and when the sharpness value of the third real image is greater than the threshold value, the sharpness value of the third real image is replaced by the threshold value to compare the next real image. The threshold value of the sharpness value is transmitted through the image processing module 12 to notify the user that the focus distance D4 of the object to be photographed is approached by the auxiliary focus device 1.

如步驟S220所示,當第三即時影像的銳利度值不大於門檻 值時,即判斷此銳利度值是否相等於門檻值。如步驟S222所示,當第三即時影像的銳利度值小於門檻值時,用以表示第二距離D2及焦點距離D4的差距增加,門檻值係為於移動區域的最大銳利度值。換句話說,當越靠進焦點距離D4時,其擷取的即時影像的銳利度值會逐漸升高,直到越過焦點距離D4後,其銳利度值會逐漸降低,因此,若是下一個擷取的即時影像的銳利度值小於門檻值,即代表此門檻值為此移動區域內的最大銳利度值。As shown in step S220, when the sharpness value of the third instant image is not greater than the threshold When the value is used, it is judged whether the sharpness value is equal to the threshold value. As shown in step S222, when the sharpness value of the third instant image is less than the threshold value, the difference between the second distance D2 and the focus distance D4 is increased, and the threshold value is the maximum sharpness value of the moving region. In other words, when the distance is closer to the focus distance D4, the sharpness value of the captured real-time image will gradually increase, and the sharpness value will gradually decrease after the focal distance D4 is crossed. Therefore, if the next value is taken, The sharpness value of the live image is less than the threshold value, which means that the threshold value is the maximum sharpness value in the moving area.

如步驟S224所示,當第三即時影像的銳利度值等於移動區域的最大銳利度值時,通知信號係表示第三距離D3係為焦點距離D4。更詳盡的說,在獲取此移動區域的最大銳利度值後,當後續擷取的其中之一即時影像的銳利度值與此最大銳利度值相等,即代表此擷取即時影像的位置為移動區域內的最佳焦點距離D4,此時影像處理模組12傳送第三信號告知使用者已經移動到拍攝待攝物的最佳焦點距離D4。As shown in step S224, when the sharpness value of the third live image is equal to the maximum sharpness value of the moving area, the notification signal indicates that the third distance D3 is the focus distance D4. More specifically, after obtaining the maximum sharpness value of the moving area, when the sharpness value of one of the subsequent captured images is equal to the maximum sharpness value, the position of the captured instant image is moved. The best focus distance D4 in the area, at this time, the image processing module 12 transmits a third signal to inform the user that the best focus distance D4 has been moved to the subject.

本發明於此以一個例子說明整體流程,當使用者開啟網路攝影機相對應的影像應用程式後,網路攝影機即先擷取待攝物的即時影像,並計算此即時影像的銳利度值,爾後使用者開始移動網路攝影機。此時,網路攝影機即透過位置上的變化擷取另一待攝物的即時影像,並比較此次移動的即時影像的銳利度值與前次即時影像的銳利度值的大小。若是往遠離此網路攝影機的焦點距離方向上移動,則發送第二種通知信號(第二信號)通知使用者正在遠離拍攝待攝物的焦點位置。若是往靠近此網路攝影機的焦點距離方向上移動,則發送第一種通知信號(第一信號)通知使用者正在靠近拍攝待攝物的焦點位置。而當使用者往焦點位置的方向移動而越過此焦點位置時,因即時影像的銳利度值會逐漸降低,此時即找到移動範圍 內的即時影像的最大銳利度值,亦找到拍攝待攝物的最佳焦點位置,當使用者移動到此焦點位置時,網路攝影機即發送第三種通知信號(第三信號)通知使用者以到達最佳拍攝距離。The present invention uses an example to illustrate the overall process. When the user turns on the image application corresponding to the network camera, the network camera captures the instant image of the object and calculates the sharpness value of the instant image. Users then start moving the webcam. At this time, the network camera captures the real-time image of another object through the change of the position, and compares the sharpness value of the moving instant image with the sharpness value of the previous instant image. If it is moving away from the focus distance of the webcam, a second notification signal (second signal) is sent to notify the user that the focus position is away from the subject. If it is moving in the direction of the focus distance close to the webcam, the first notification signal (first signal) is sent to notify the user that the focus position of the subject is approaching. When the user moves in the direction of the focus position and crosses the focus position, the sharpness value of the instant image gradually decreases, and the moving range is found at this time. The maximum sharpness value of the instant image inside, also finds the best focus position for shooting the object. When the user moves to the focus position, the network camera sends a third notification signal (third signal) to notify the user. In order to reach the best shooting distance.

綜上所述,本發明透過影像擷取裝置在相對於待攝物的不同距離上擷取即時影像、影像處理裝置計算所擷取即時影的銳利度值及比較此銳利度值大小以判斷此次相對於待攝物的距離較上次相對於待攝物的距離靠近或是遠離拍攝待攝物的焦點距離,並依據此次所在距離與拍攝待攝物的焦點距離的相對關係傳送不同種類的通知信號,從而輔助使用者對焦。In summary, the present invention captures the sharpness value of the captured instant image by using the image capturing device at different distances from the object to be viewed, and the image processing device calculates the sharpness value of the captured instant image and compares the sharpness value to determine the The distance from the object to the object is closer to or away from the focus distance of the object to be photographed, and different types are transmitted according to the relative relationship between the distance and the focus distance of the object to be photographed. A notification signal that assists the user in focusing.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

Claims (8)

一種輔助對焦方法包括:於相對一待攝物的一第一距離擷取一第一即時影像;計算該第一即時影像的銳利度值;於相對該待攝物的一第二距離擷取一第二即時影像;計算該第二即時影像的銳利度值;以及比較該第一即時影像的銳利度值及該第二即時影像的銳利度值並傳送一通知信號,該通知信號係表示該第一距離、該第二距離與一焦點距離的相對關係;其中當該第一即時影像的銳利度值大於該第二即時影像的銳利度值時,該第一即時影像的銳利度值為比較一第三即時影像的銳利度值的一門檻值,該第三即時影像被擷取於相對該待攝物的一第三距離;其中當該第一即時影像的銳利度值小於該第二即時影像的銳利度值時,該第二即時影像的銳利度值為比較該第三即時影像的銳利度值的該門檻值,該第三即時影像被擷取於相對該待攝物的該第三距離。 An auxiliary focusing method includes: capturing a first instant image at a first distance relative to a subject; calculating a sharpness value of the first instant image; and capturing a second distance from the object to be photographed a second instant image; calculating a sharpness value of the second instant image; and comparing a sharpness value of the first instant image with a sharpness value of the second instant image and transmitting a notification signal, the notification signal indicating the first a distance, a relationship between the second distance and a focus distance; wherein when the sharpness value of the first instant image is greater than the sharpness value of the second instant image, the sharpness value of the first instant image is a comparison value a threshold value of the sharpness value of the third live image, the third live image is captured at a third distance from the object; wherein the sharpness value of the first instant image is smaller than the second live image The sharpness value of the second instant image is a threshold value comparing the sharpness value of the third live image, and the third live image is captured at the third distance relative to the object . 如請求項1所述之輔助對焦方法,其中當該第三即時影像的銳利度值小於該門檻值時,該門檻值係為於一移動區域的最大銳利度值。 The auxiliary focusing method of claim 1, wherein when the sharpness value of the third instant image is less than the threshold value, the threshold value is a maximum sharpness value of a moving area. 如請求項2所述之輔助對焦方法,其中當該第三即時影像的銳利度值等於該移動區域的最大銳利度值時,該通知信號係表示該第三距離即為該焦點距離。 The auxiliary focusing method of claim 2, wherein when the sharpness value of the third instant image is equal to the maximum sharpness value of the moving area, the notification signal indicates that the third distance is the focus distance. 如請求項1所述之輔助對焦方法,其中該通知信號係顯示於一顯示介面上。 The auxiliary focusing method of claim 1, wherein the notification signal is displayed on a display interface. 一種輔助對焦裝置包含:一影像擷取模組,用以於相對一待攝物的一第一距離擷取一第一即時影像及於相對該待攝物的一第二距離擷取一第二即時影像;以及一影像處理模組,耦接該影像擷取模組,該影像處理模組用以計算該第一即時影像的銳利度值及該第二即時影像的銳利度值,比較該第一即時影像的銳利度值及該第二即時影像的銳利度值傳送一通知信號,該通知信號係表示該第一距離、該第二距離與一焦點距離的相對關係;其中當該影像處理模組判斷該第一即時影像的銳利度值大於該第二即時影像的銳利度值時,該第一即時影像的銳利度值為比較一第三即時影像的銳利度值的一門檻值,該第三即時影像被擷取於相對該待攝物的一第三距離;其中當該影像處理模組判斷該第一即時影像的銳利度值小於該第二即時影像的銳利度值時,該第二即時影像的銳利度值為比較該第三即時影像的銳利度值的該門檻值,該第三即時影像被擷取於相對該待攝物的該第三距離。 An auxiliary focusing device includes: an image capturing module configured to capture a first instant image relative to a first distance of a subject and a second distance relative to the object to capture a second And an image processing module coupled to the image capture module, wherein the image processing module is configured to calculate a sharpness value of the first instant image and a sharpness value of the second instant image, and compare the first Transmitting a notification signal by a sharpness value of the instant image and a sharpness value of the second instant image, the notification signal indicating a relative relationship between the first distance, the second distance, and a focus distance; wherein the image processing mode When the group determines that the sharpness value of the first instant image is greater than the sharpness value of the second real image, the sharpness value of the first instant image is a threshold value comparing the sharpness value of the third real image, the first The third instant image is captured at a third distance from the object to be inspected; wherein when the image processing module determines that the sharpness value of the first instant image is smaller than the sharpness value of the second instant image, the second Instant movie The threshold value comparing the sharpness sharpness value of the third real-time image, the third image is captured in real time the third distance relative to the object to be taken. 如請求項5所述之輔助對焦裝置,其中當該影像處理模組判斷該第三即時影像的銳利度值小於該門檻值時,該門檻值係為於一移動區域的最大銳利度值。 The auxiliary focusing device of claim 5, wherein when the image processing module determines that the sharpness value of the third instant image is less than the threshold value, the threshold value is a maximum sharpness value of a moving region. 如請求項6所述之輔助對焦裝置,其中當該影像處理模組判斷該第三即時影像的銳利度值等於該移動區域的最大銳利度值時,該通知信號係表示該第三距離為該焦點距離。 The auxiliary focusing device of claim 6, wherein when the image processing module determines that the sharpness value of the third instant image is equal to the maximum sharpness value of the moving area, the notification signal indicates that the third distance is Focus distance. 如請求項5所述之輔助對焦裝置,其中該通知信號係顯示於一顯示介面 上。 The auxiliary focusing device of claim 5, wherein the notification signal is displayed on a display interface on.
TW103101853A 2014-01-17 2014-01-17 Device and method for assistant focusing TWI495920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103101853A TWI495920B (en) 2014-01-17 2014-01-17 Device and method for assistant focusing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103101853A TWI495920B (en) 2014-01-17 2014-01-17 Device and method for assistant focusing

Publications (2)

Publication Number Publication Date
TW201530214A TW201530214A (en) 2015-08-01
TWI495920B true TWI495920B (en) 2015-08-11

Family

ID=54342689

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103101853A TWI495920B (en) 2014-01-17 2014-01-17 Device and method for assistant focusing

Country Status (1)

Country Link
TW (1) TWI495920B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990646A (en) * 2016-01-20 2017-07-28 深圳富泰宏精密工业有限公司 Many lens systems, its method of work and portable electron device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100429546C (en) * 2002-10-24 2008-10-29 夏普株式会社 Focus state display

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100429546C (en) * 2002-10-24 2008-10-29 夏普株式会社 Focus state display

Also Published As

Publication number Publication date
TW201530214A (en) 2015-08-01

Similar Documents

Publication Publication Date Title
US10277798B2 (en) Multiple lenses system, operation method and electronic device employing the same
US8817134B2 (en) Imaging control device, subject detection method, and program
US20100157135A1 (en) Passive distance estimation for imaging algorithms
US9386229B2 (en) Image processing system and method for object-tracing
US20160191811A1 (en) Zoom control device, imaging apparatus, control method of zoom control device, and recording medium
JP2011182387A (en) Imaging device, warning method, and program
US20140368695A1 (en) Control device and storage medium
US8648960B2 (en) Digital photographing apparatus and control method thereof
US20120307009A1 (en) Method and apparatus for generating image with shallow depth of field
JP2011191568A (en) Imaging device, display method and program
US20160150158A1 (en) Photographing apparatus and method for controlling thereof
WO2016029465A1 (en) Image processing method and apparatus and electronic device
JP2014174185A (en) Control device, control method, and imaging apparatus
CN105528112B (en) A kind of camera shooting focus adjustment method, system and mobile terminal based on mobile terminal
TWI495920B (en) Device and method for assistant focusing
JP5407373B2 (en) Imaging apparatus and program
JP2013031010A (en) Imaging apparatus, imaging method, and program
CN102650801A (en) Camera and automatic focusing method thereof
CN104506766A (en) Photographic device and focusing compensation method
TW201407255A (en) Image capturing device with auto-focus function and auto-focus method
JP2013098746A (en) Imaging apparatus, imaging method, and program
CN104811603B (en) Auxiliary focusing mechanism and method
TWI566002B (en) Image processing apparatus and auto-focus method thereof
TW201642008A (en) Image capturing device and dynamic focus method thereof
TW201433877A (en) Smart image capture device and image capturing method thereof

Legal Events

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