TW201514569A - Method for adjusting focusing point with a 3d object and system thereof - Google Patents

Method for adjusting focusing point with a 3d object and system thereof Download PDF

Info

Publication number
TW201514569A
TW201514569A TW102135811A TW102135811A TW201514569A TW 201514569 A TW201514569 A TW 201514569A TW 102135811 A TW102135811 A TW 102135811A TW 102135811 A TW102135811 A TW 102135811A TW 201514569 A TW201514569 A TW 201514569A
Authority
TW
Taiwan
Prior art keywords
image
cone
module
focus
image module
Prior art date
Application number
TW102135811A
Other languages
Chinese (zh)
Other versions
TWI489164B (en
Inventor
Yung-Shang Chen
Huang-Feng Chang
Shih-Tai Huang
Original Assignee
Chicony Electronic Co Ltd
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 Chicony Electronic Co Ltd filed Critical Chicony Electronic Co Ltd
Priority to TW102135811A priority Critical patent/TWI489164B/en
Priority to CN201310578295.6A priority patent/CN104516170B/en
Priority to JP2014039238A priority patent/JP2015072444A/en
Publication of TW201514569A publication Critical patent/TW201514569A/en
Application granted granted Critical
Publication of TWI489164B publication Critical patent/TWI489164B/en

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Optics & Photonics (AREA)
  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)
  • Studio Devices (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)

Abstract

The present invention provides a method for adjusting focusing point with a 3D object, which adjusts the focusing point of a lens module such that the lens module focuses on a predetermined position, the method comprising: providing a 3D object, wherein the 3D object is a pyramid or a cone having a top; positioning the lens module such that the top substantially aligns the optical axis of the lens module, wherein the top and the lens module are separated by a distance; adjusting the focusing point of the lens module such that a first image is formed, wherein part of the image of the 3D object is clear; calculating the position of the lens module focusing point corresponding to the first image; and adjusting the focusing point of the lens module after the forming of the first image.

Description

一種立體調焦法及其系統 Stereo focusing method and system thereof

本發明係關於一種調焦法及其系統,特別是關於一種利用3D物體的調焦法及其系統。 The present invention relates to a focusing method and system thereof, and more particularly to a focusing method using a 3D object and a system therefor.

影像模組是內置於照相機、手機、平板電腦與筆記本電腦等裝置內部的一套攝像組件,其包含鏡頭、影像感測器、電路板、連接器等主要構件。在安裝至上述電子裝置前,影像模組之對焦點需要被調整(影像模組中鏡頭與影像感測器間的距離,會決定對焦的位置),使影像模組對焦於一預定位置;舉例來說,一用於手機的影像模組,其對焦點位置被預設在距離影像模組60公分之處,因此在被安裝到手機前,該影像模組之對焦點,需要被調整到上述預定位置,這個過程稱為模組調焦;就一般常見的影像模組來說,模組調焦的過程,就是旋轉影像模組中的鏡頭,使影像模組中鏡頭與影像感測器的相對距離改變,在調整的過程中,在該預定位置(以上述手機的例子,就是距影像模組60公分處)物體之影像,會逐漸由模糊變清晰。 The image module is a set of camera components built into cameras, mobile phones, tablets, and laptops. It consists of main components such as lenses, image sensors, boards, and connectors. Before being mounted to the above electronic device, the focus point of the image module needs to be adjusted (the distance between the lens and the image sensor in the image module determines the position of the focus), so that the image module is focused on a predetermined position; In the case of an image module for a mobile phone, the focus position is preset to be 60 cm away from the image module, so the focus point of the image module needs to be adjusted to the above before being mounted to the mobile phone. The predetermined position, this process is called module focusing; in the case of common image modules, the process of focusing the module is to rotate the lens in the image module to make the lens and image sensor in the image module. The relative distance changes. During the adjustment process, the image of the object at the predetermined position (in the case of the above-mentioned mobile phone, which is 60 cm away from the image module) gradually becomes clear from the blur.

影像模組調焦,一般由機器或人工將鏡頭旋配到鏡頭座上,而在影像模組上方預定對焦的位置,則設置有平面測試圖(如圖式第八圖所示),接著轉動鏡頭上的調焦環,並觀察螢幕中測試圖之影像,當影像達到一定的清晰度時,即停止旋轉鏡頭,完成調焦程序,此即平面調焦法。在平面調焦法中,可以使用單張平面 測試圖,亦可使用多張放置在不同位置的平面測試圖,逐層調焦及測試;平面調焦法為目前業界主流調焦之方式,其優點在於硬體設備簡單、投入的金額較少,並可針對不同裝置、不同機種之模組,快速調整調焦之設備;其主要缺點則是所需的空間較大,例如若預定對焦的位置為距離影像模組兩公尺處,則需要具有至少兩公尺長度的空間,來擺放平面測試圖及影像模組;再者,在使用多張平面測試圖之系統,整個調焦過程會在調整對焦點與程式判讀影像間多次反覆,導致調焦過程冗長,產出無法提升。 The image module is adjusted, usually by machine or manual rotation of the lens to the lens mount, and the position of the focus above the image module is set to a plane test chart (as shown in the eighth figure of the figure), and then rotated Focusing ring on the lens, and observe the image of the test chart in the screen. When the image reaches a certain definition, stop rotating the lens and complete the focusing program. This is the plane focusing method. In the plane focusing method, a single plane can be used. Test chart, you can also use multiple plane test charts placed in different positions, layer-by-layer focusing and testing; plane focusing method is the mainstream method of focusing in the industry, which has the advantages of simple hardware equipment and less investment. The device can be quickly adjusted for different devices and different types of modules; the main disadvantage is that the required space is large, for example, if the predetermined focus position is two meters away from the image module, It has a space of at least two meters in length to place the plane test chart and image module. Furthermore, in the system using multiple plane test charts, the entire focusing process will be repeated multiple times between adjusting the focus point and the program interpretation image. As a result, the focusing process is lengthy and the output cannot be improved.

另一種較先進的調焦法為逆投影調焦法,該方法需要一高倍率的放大鏡,將之安置在尚未調焦影像模組的光軸上,其操作方式為調整該高倍放大鏡與該影像模組的距離,使影像模組中影像感測器前方彩色濾光片RGB三原色的圖案清晰成像,其後將該高倍放大鏡與該影像模組的間隔距離回饋至一自動程式,計算後產生一調整信號,用以將調焦環一次性旋轉至最佳對焦位置。此方法可快速完成影像模組之調焦,提升其產出,但逆投影調焦法的設備較為昂貴,且此調焦方式僅能針對影像中心做出最佳調焦,無法顧及影像四周邊緣。 Another advanced focusing method is the reverse projection focusing method, which requires a high magnification magnifying lens to be placed on the optical axis of the unfocused image module, and the operation mode is to adjust the high magnification magnifying glass and the image. The distance between the modules is such that the pattern of the RGB three primary colors of the color filter in front of the image sensor in the image module is clearly imaged, and then the distance between the high magnification magnifier and the image module is fed back to an automatic program, and a calculation is generated. Adjust the signal to rotate the focus ring to the best focus position at one time. This method can quickly adjust the focus of the image module and improve its output, but the equipment of the reverse projection focusing method is expensive, and the focusing mode can only achieve the best focusing for the image center, and can not take into account the surrounding edges of the image. .

綜上所述,目前業界缺乏一種影像模組調焦方式,其同時具備設備簡單、所需空間小、調校過程迅速且具彈性等多重優點,因此模組調焦之成本與產出無法兼顧。 In summary, the current industry lacks an image module focusing method, which has multiple advantages such as simple equipment, small space required, rapid adjustment process and flexibility, so the cost and output of the module can not be balanced. .

有鑑於習知技術的諸多缺點,為降低模組調焦之成本,並同時增加其產出,且有效縮小測試設備之所需空間,本發明提供一種立體調焦法,調整一影像模組的對焦點,使該影像模組對焦於一預定位置,該方法包含:提供一具有頂端部的錐體,且該錐體頂端部與該影像模組間隔一距離,使該錐體的頂端部大致與該影像模組的光軸對齊;調整該影像模組的對焦點,以形成一第一影像,在該第一影像中,該錐體影像的一部分清晰;根據該第一影 像,計算出該影像模組在形成該第一影像時對焦點的位置;及調整形成該第一影像後之該影像模組的對焦點。 In view of the shortcomings of the prior art, in order to reduce the cost of module focusing, and at the same time increase its output, and effectively reduce the required space of the test equipment, the present invention provides a stereo focusing method for adjusting an image module. Focusing on the image module to focus on a predetermined position, the method comprising: providing a cone having a top end portion, and the tip end portion of the cone is spaced apart from the image module such that the top end portion of the cone is substantially Aligning with the optical axis of the image module; adjusting a focus point of the image module to form a first image, in which the portion of the cone image is clear; according to the first image For example, calculating a position of a focus point of the image module when the first image is formed; and adjusting a focus point of the image module after forming the first image.

較佳地,本發明所提供的立體調焦法更包含:形成一第二影像,在該第二影像中,該錐體影像的另一部分清晰;根據該第二影像,計算出該影像模組在形成該第二影像時對焦點之位置;及調整形成該第二影像後之該影像模組的對焦點至該預定位置。 Preferably, the stereo focusing method provided by the present invention further includes: forming a second image, wherein another portion of the cone image is clear in the second image; and calculating the image module according to the second image a position of a focus point when the second image is formed; and adjusting a focus point of the image module after the second image is formed to the predetermined position.

較佳地,本發明所提供的立體調焦法中,該錐體頂端部與該影像模組間隔之距離大於等於該影像模組之最近對焦距離。 Preferably, in the stereo focusing method provided by the present invention, the distance between the top end of the cone and the image module is greater than or equal to the closest focusing distance of the image module.

較佳地,本發明所提供的立體調焦法中,調整形成該第二影像後之該影像模組的對焦點距離,遠於該第二影像之對焦點距離。 Preferably, in the stereo focusing method provided by the present invention, the focus distance of the image module after forming the second image is adjusted to be farther than the focus distance of the second image.

較佳地,本發明所提供的立體調焦法中,該錐體具有一軸心,該頂端部位於該軸心上,且該錐體之結構相對於該軸心對稱。 Preferably, in the stereo focusing method provided by the present invention, the cone has an axial center, the top end portion is located on the axis, and the structure of the cone is symmetrical with respect to the axis.

較佳地,本發明所提供的立體調焦法中,該影像模組包括一影像感測器,該影像感測器具有一短邊,該錐體具有一底部,該錐體之底部於該影像感測器之成像可以完整覆蓋影像感測器之短邊。 Preferably, in the stereo focusing method provided by the present invention, the image module includes an image sensor, the image sensor has a short side, the cone has a bottom, and the bottom of the cone is on the image. The imaging of the sensor can completely cover the short side of the image sensor.

較佳地,本發明所提供的立體調焦法中,該錐體的該頂端部與該影像模組間隔之該固定距離介於5公分至20公分。 Preferably, in the stereo focusing method provided by the present invention, the fixed distance between the top end portion of the cone and the image module is between 5 cm and 20 cm.

較佳地,本發明所提供的立體調焦法中,對焦之該預定位置與該影像模組的距離,小於60公分。 Preferably, in the stereo focusing method provided by the present invention, the predetermined position of the focus and the distance of the image module are less than 60 cm.

較佳地,本發明所提供的立體調焦法中,對焦之該預定位置與該影像模組的距離,介於60公分至1公尺。 Preferably, in the stereo focusing method provided by the present invention, the predetermined position of the focus and the distance of the image module are between 60 cm and 1 metre.

較佳地,本發明所提供的立體調焦法中,對焦之該預定位置與該影像模組的距離,大於1公尺。 Preferably, in the stereo focusing method provided by the present invention, the distance between the predetermined position of the focus and the image module is greater than 1 meter.

較佳地,本發明所提供的立體調焦法中,該影像模組及該錐體之間設有一校正透鏡模組。 Preferably, in the stereo focusing method provided by the present invention, a correction lens module is disposed between the image module and the cone.

較佳地,本發明所提供的立體調焦法中,該錐體係具有多邊形或圓形的截面。 Preferably, in the stereo focusing method provided by the present invention, the cone system has a polygonal or circular cross section.

較佳地,本發明所提供的立體調焦法中,該錐體可為一內凹 式錐體。 Preferably, in the stereo focusing method provided by the present invention, the cone may be a concave Cone.

較佳地,本發明所提供的立體調焦法中,該錐體的表面係具有黑白相間之紋路。 Preferably, in the stereo focusing method provided by the present invention, the surface of the cone has a black and white phase.

較佳地,本發明所提供的立體調焦法中,該錐體的表面係具有刻度。 Preferably, in the stereo focusing method provided by the present invention, the surface of the cone has a scale.

本發明復提供一種立體調焦系統,用於調整一影像模組的對焦點,使該影像模組對焦於一預定位置,該系統包含:一錐體,該錐體具有一頂端部,該影像模組在一或多個對焦位置拍攝該錐體的一或多張影像;一計算模組,其接收並分析該一或多張影像,以計算該影像模組對應於該一或多張影像之該一或多個對焦位置,據以產生一調整信號;及一自動調整模組,接收該調整信號,以將該影像模組的對焦點調整至該預定位置。 The present invention provides a stereo focusing system for adjusting a focus point of an image module to focus the image module at a predetermined position. The system includes: a cone having a top end portion, the image The module captures one or more images of the cone at one or more in-focus positions; a computing module receives and analyzes the one or more images to calculate that the image module corresponds to the one or more images The one or more focus positions are configured to generate an adjustment signal; and an automatic adjustment module receives the adjustment signal to adjust a focus point of the image module to the predetermined position.

較佳地,本發明所提供的立體調焦系統中,該錐體頂端部與該影像模組間隔之距離大於等於該影像模組之最近對焦距離。 Preferably, in the stereo focusing system provided by the present invention, the distance between the top end of the cone and the image module is greater than or equal to the closest focusing distance of the image module.

較佳地,本發明所提供的立體調焦系統中,至該影像模組對應該預定位置之焦距大於該影像模組對應該一或多張影像之焦距。 Preferably, in the stereo focusing system provided by the present invention, the focal length corresponding to the image module corresponding to the predetermined position is greater than the focal length of the image module corresponding to the one or more images.

較佳地,本發明所提供的立體調焦系統中,該錐體具有一軸心,該頂端部位於該軸心上,且該錐體之結構相對於該軸心對稱。 Preferably, in the stereo focusing system provided by the present invention, the cone has an axis, the top end is located on the axis, and the structure of the cone is symmetrical with respect to the axis.

較佳地,本發明所提供的立體調焦系統中,該一或多張影像中,該錐體之一部份清晰。 Preferably, in the stereo focusing system provided by the present invention, one of the cones is partially clear in the one or more images.

較佳地,本發明所提供的立體調焦系統中,該影像模組包括一影像感測器,該影像感測器具有一短邊,該錐體具有一底部,該影像模組拍攝該錐體的一或多張影像當中,該錐體底部成像可以完整覆蓋影像感測器之短邊。 Preferably, in the stereoscopic focusing system provided by the present invention, the image module includes an image sensor, the image sensor has a short side, the cone has a bottom, and the image module captures the cone Among the one or more images, the bottom of the cone can completely cover the short side of the image sensor.

較佳地,本發明所提供的立體調焦系統中,該錐體的該頂端部與該影像模組間隔之該固定距離介於5公分至20公分。 Preferably, in the stereo focusing system provided by the present invention, the fixed distance between the top end portion of the cone and the image module is between 5 cm and 20 cm.

較佳地,本發明所提供的立體調焦系統中,該錐體係具有多邊形體或圓形體的截面。 Preferably, in the stereo focusing system provided by the present invention, the cone system has a polygonal body or a circular body cross section.

較佳地,本發明所提供的立體調焦系統中,該錐體的表面係具有黑白相間之紋路。 Preferably, in the stereo focusing system provided by the present invention, the surface of the cone has a black and white phase.

較佳地,本發明所提供的立體調焦系統中,該錐體的表面係具有刻度。 Preferably, in the stereo focusing system provided by the present invention, the surface of the cone has a scale.

較佳地,本發明所提供的立體調焦系統中,該影像模組及該錐體之間設有一校正透鏡模組 Preferably, in the stereo focusing system provided by the present invention, a correction lens module is disposed between the image module and the cone

較佳地,本發明所提供的立體調焦系統中,該錐體可為一內凹式錐體。 Preferably, in the stereo focusing system provided by the present invention, the cone may be a concave cone.

100‧‧‧錐體 100‧‧‧ cone

101‧‧‧底部 101‧‧‧ bottom

102‧‧‧頂端部 102‧‧‧Top part

200‧‧‧影像模組 200‧‧‧Image Module

300‧‧‧計算模組 300‧‧‧Computation Module

400‧‧‧自動調整模組 400‧‧‧Automatic adjustment module

500‧‧‧錐體 500‧‧‧ cone

501‧‧‧第一焦點位置 501‧‧‧First focus position

502‧‧‧第二焦點位置 502‧‧‧second focus position

503‧‧‧影像模組 503‧‧‧Image module

504‧‧‧預定對焦位置 504‧‧‧Predetermined focus position

600‧‧‧內凹式錐體 600‧‧‧ concave cone

601‧‧‧第一焦點位置 601‧‧‧First focus position

602‧‧‧第二焦點位置 602‧‧‧second focus position

603‧‧‧影像模組 603‧‧‧Image Module

604‧‧‧預定對焦位置 604‧‧‧Predetermined focus position

第一圖係例示本發明立體調焦法中,一種用以調焦的錐體。 The first figure illustrates a cone for focusing in the stereo focusing method of the present invention.

第二圖係例示本發明立體調焦系統。 The second figure illustrates the stereo focusing system of the present invention.

第三圖係本發明第一實施例中,錐體成像的示意圖。 The third figure is a schematic view of cone imaging in the first embodiment of the present invention.

第四A圖係本發明立體調焦法中,錐體的一實際成像。 The fourth A is an actual imaging of the cone in the stereo focusing method of the present invention.

第四B圖係本發明立體調焦法中,錐體的另一實際成像。 The fourth B is another actual imaging of the cone in the stereo focusing method of the present invention.

第五A圖係例示本發明立體調焦法中,另一種用以調焦的錐體。 The fifth A diagram illustrates another cone for focusing in the stereo focusing method of the present invention.

第五B圖係第五A圖所示之錐體的成像示意圖。 Fig. 5B is a schematic view showing the imaging of the cone shown in Fig. 5A.

第六圖係例示本發明立體調焦法中,又一種用以調焦的錐體。 The sixth figure illustrates another cone for focusing in the stereo focusing method of the present invention.

第七A圖係利用一錐體,實施本發明立體調焦法之設置側視圖。 Fig. 7A is a side view showing the arrangement of the stereoscopic focusing method of the present invention by using a cone.

第七B圖係利用一內凹式錐體,實施本發明立體調焦法之設置側視圖。 Fig. 7B is a side view showing the arrangement of the stereoscopic focusing method of the present invention by using a concave cone.

第八圖例示先前技術平面對焦法所使用的一種標準測試圖。 The eighth figure illustrates a standard test pattern used in prior art planar focusing methods.

雖然本發明將參閱含有本發明較佳實施例及所附圖式予以充分描述,但在此描述之前應瞭解熟悉本領域之人士可修改本文中 所描述之發明,同時獲致本發明之功效。因此,須瞭解以下之描述對熟悉本領域技藝之人士而言為一廣泛之揭示,且其內容不在於限制本發明。 The present invention will be fully described with reference to the preferred embodiments of the invention and the accompanying drawings. The described invention simultaneously achieves the efficacy of the present invention. Therefore, the following description of the invention is to be understood as a

本發明第一實施例,例示一種立體調焦法,調整一影像模組之對焦點,使該影像模組對焦於一預定位置;其中該影像模組用於智慧型手機之主要鏡頭,其包含一焦距為4mm的鏡頭,以及一大小為1/3"的影像感測器(長4.8mm、寬3.6mm),此組合提供約74°之視角,鏡頭光圈值為f/2;在此實施例中,該影像模組對焦地預定位置(即完成調焦後之對焦點)係被設定在距離影像模組60公分之處。 The first embodiment of the present invention exemplifies a stereo focusing method for adjusting a focus point of an image module to focus the image module on a predetermined position. The image module is used for a main lens of the smart phone, and includes a lens with a focal length of 4mm and a 1/3" image sensor (length 4.8mm, width 3.6mm), this combination provides a viewing angle of about 74°, the lens aperture value is f/2; For example, the predetermined position of the image module in focus (ie, the focus point after focusing is completed) is set at 60 cm from the image module.

在本實施例中,一錐體係被利用來調整該鏡頭模組的對焦點,該錐體具有一軸心,且於該軸心上具有一頂端部102,該錐體之結構相對於該軸心呈對稱狀,於本實施例當中係以一金字塔型錐體為例,本發明不以此為限。本發明之立體調焦法原理大致如下:該金字塔型錐體係透過該鏡頭模組成像,而藉由分析上述影像,可以得到該鏡頭模組當下之對焦位置,因而可以計算出距離預定對焦位置之一調整量,最後再將鏡頭模組的對焦點,調整到預定位置。如本發明圖式第一圖所示,該金字塔型錐體100係具有正方形的截面,其底部101為8公分見方的正方形,自錐體頂端部102至錐體底部101之高度為10公分,該錐體之四個側邊相對於錐體軸心相互對稱且其表面係具有黑白相間之紋路或設有刻度;錐體之頂端部102至底部101為斜率固定之連續斜面;其中錐體的高度及錐體底部之大小,係根據實際設置便利性的考量,以及影像模組鏡頭及影像感測器之各項參數所設計。 In this embodiment, a cone system is utilized to adjust a focus point of the lens module, the cone has an axis, and has a top end portion 102 on the axis, the structure of the cone relative to the axis The heart is symmetrical, and in the present embodiment, a pyramid type cone is taken as an example, and the invention is not limited thereto. The principle of the stereoscopic focusing method of the present invention is substantially as follows: the pyramid type cone system is imaged by the lens module, and by analyzing the image, the current focus position of the lens module can be obtained, and thus the distance from the predetermined focus position can be calculated. After adjusting the amount, finally adjust the focus point of the lens module to the predetermined position. As shown in the first figure of the present invention, the pyramid-shaped cone 100 has a square cross section, and the bottom portion 101 is a square of 8 cm square, and the height from the tip end portion 102 of the cone to the bottom portion 101 of the cone is 10 cm. The four sides of the cone are symmetrical with respect to the axis of the cone and the surface thereof has a black and white pattern or a scale; the top end portion 102 to the bottom portion 101 of the cone are continuous slopes with a fixed slope; The height and the size of the bottom of the cone are designed according to the actual convenience of the installation, as well as the parameters of the image module lens and image sensor.

圖式第二圖則說明操作本發明立體調焦法時,各項硬體之設置。其中錐體100係設置於該鏡頭模組200的上方,錐體100之頂端部102及軸心大致與影像模組200的光軸對齊,錐體100之重心亦大致與影像模組200的光軸對齊,該頂端部102與影像模組200間隔5公分,頂端部102可為一尖端,亦可為一平面;在此須說明的是,本發明所提供之立體調焦法中,錐體頂端部及錐 體之軸心與影像模組的光軸對齊,並非必要之條件,但如此設置為一般性的設置方式,在分析錐體影像時,也會較為簡化(該影像會對稱於影像之中心),此外,錐體頂端部102與影像模組200之距離,並沒有任何特殊限制,較佳地,該距離可為大於或等於影像模組200之最近對焦距離,使錐體可以透過影像模組之鏡頭,成像於影像感測器。為達自動化調焦之目的,如第二圖所示,一計算模組300係設置以從影像模組200接收錐體100的影像資料,並分析該影像資料;此外,計算模組300傳輸控制信號至一自動調整模組400,自動調整模組400根據該控制信號,調整鏡頭模組200之調焦環,以改變其對焦之位置;於另一實施例,亦得由人工根據產品規格手動調整鏡頭模組200之調焦環,使鏡頭模組200調整至一對焦的預定位置。 The second figure of the drawing illustrates the arrangement of various hardware when operating the stereo focusing method of the present invention. The cone 100 is disposed above the lens module 200. The top end portion 102 of the cone 100 and the axis are substantially aligned with the optical axis of the image module 200. The center of gravity of the cone 100 is also substantially the same as that of the image module 200. The top end portion 102 is spaced apart from the image module 200 by 5 cm, and the top end portion 102 can be a tip end or a flat surface. It should be noted that in the stereo focusing method provided by the present invention, the cone is provided. Tip and cone The alignment of the axis of the body with the optical axis of the image module is not a necessary condition, but it is set to a general setting, which is also simplified when analyzing the cone image (the image will be symmetric to the center of the image). In addition, the distance between the top end portion 102 of the cone and the image module 200 is not particularly limited. Preferably, the distance may be greater than or equal to the closest focusing distance of the image module 200, so that the cone can pass through the image module. The lens is imaged on the image sensor. For the purpose of autofocusing, as shown in the second figure, a computing module 300 is configured to receive image data of the cone 100 from the image module 200 and analyze the image data; in addition, the calculation module 300 transmits control The signal is sent to an automatic adjustment module 400. The automatic adjustment module 400 adjusts the focus ring of the lens module 200 according to the control signal to change the position of the focus. In another embodiment, the manual adjustment is also manually performed according to the product specifications. The focus ring of the lens module 200 is adjusted to adjust the lens module 200 to a predetermined position of focus.

在完成上述錐體100與鏡頭模組200之設置後,本發明所提供的立體調焦法,將進行一第一調焦步驟,在此步驟中,計算模組300將驅動自動調整模組400,以調整鏡頭模組200對焦之位置,其目的在形成一第一影像,第一調焦步驟後對焦點的位置稱為第一焦點位置,而在該第一影像中,錐體100的一部分清晰。在不考量景深位置的因素下,錐體100的影像將如第三圖所示,但在實際的情況中,錐體100係為分布於空間中之一立體物件,錐體100的頂端部102係距離影像模組200較近,而其底部101係距離影像模組200較遠,因此若影像模組的對焦點係位於錐體頂端部102與底部101的之間,則可能會形成部分清晰、部分模糊的影像;第四A圖即例示當對焦點在錐體100頂端部時,錐體100之實際影像,由第四A圖可以看出,錐體100之頂端部較清晰,而接近底部之影像,則較為模糊;第四B圖則例示當對焦點在錐體100底部時,錐體100之實際影像,由第四B圖可以看出,錐體100之底部較清晰,而接近頂端部之影像,則較為模糊。 After the setting of the cone 100 and the lens module 200 is completed, the stereo focusing method provided by the present invention performs a first focusing step. In this step, the computing module 300 will drive the automatic adjustment module 400. To adjust the position of the lens module 200 to focus, the purpose of which is to form a first image, the position of the focus point after the first focusing step is referred to as a first focus position, and in the first image, a portion of the cone 100 Clear. The image of the cone 100 will be as shown in the third figure without considering the position of the depth of field, but in the actual case, the cone 100 is a one-dimensional object distributed in the space, and the tip end portion 102 of the cone 100 The image is closer to the image module 200, and the bottom 101 is farther from the image module 200. Therefore, if the focus of the image module is between the top end portion 102 and the bottom portion 101, a partial sharpness may be formed. Partially blurred image; the fourth A picture illustrates the actual image of the cone 100 when the focus point is at the top end of the cone 100. As can be seen from the fourth A picture, the top end of the cone 100 is clearer and close. The image at the bottom is more blurred; the fourth B diagram illustrates the actual image of the cone 100 when the focus is at the bottom of the cone 100. As can be seen from the fourth B, the bottom of the cone 100 is clearer and closer. The image at the top is more blurred.

本實施例中,計算模組300分析經上述第一調焦步驟後之一第一影像,計算出影像模組200實際的第一對焦點位置在距離該 影像模組10公分處,而該影像模組對焦的預定位置係距離該影像模組60公分之處,因此影像模組200的對焦位置,尚須調整50公分,計算模組300即可根據此一調整量,產生一調整信號以控制自動調整模組400,將影像模組200的對焦點,調整到預定的位置。在此實施例中,計算模組300僅依據對焦點尚須調整50公分之資訊,即計算出傳送至自動調整模組400的調整信號,自動調整模組400根據該調整信號,將影像模組200之對焦點調整到預定位置;在一批規格相同,製程誤差極小的影像模組中,樣本間的差異性極低,因此只須觀察少量的樣本,即可找到調整信號與對焦點調整量之關係(具體而言,就是調焦環轉動量與影像模組的對焦點移動量之關係),因此對於同一批影像模組,計算模組300係可能如本發明第一實施例所示,僅依據對焦點尚須調整之距離,就推算出上述調整信號;但在實際的情況中,樣本間的誤差可能並未受到良好的控制,若依據本發明第一實施例所示的方法調整焦點,可能會有對焦位置精準度不足,誤差超出可容許範圍的情形。 In this embodiment, the calculation module 300 analyzes one of the first images after the first focusing step, and calculates the actual first focus position of the image module 200 at the distance. The image module is 10 cm apart, and the predetermined position of the image module is 60 cm away from the image module. Therefore, the focus position of the image module 200 needs to be adjusted by 50 cm, and the calculation module 300 can be based on this. An adjustment amount is generated to generate an adjustment signal to control the automatic adjustment module 400 to adjust the focus point of the image module 200 to a predetermined position. In this embodiment, the calculation module 300 only needs to adjust the information of the focus to 50 cm, that is, the adjustment signal transmitted to the automatic adjustment module 400 is calculated, and the automatic adjustment module 400 sets the image module according to the adjustment signal. The focus point of 200 is adjusted to the predetermined position; in a group of image modules with the same specifications and very small process error, the difference between the samples is extremely low, so the adjustment signal and the focus adjustment can be found only by observing a small number of samples. The relationship (specifically, the relationship between the amount of rotation of the focus ring and the amount of focus shift of the image module), so that for the same batch of image modules, the calculation module 300 may be as shown in the first embodiment of the present invention. The above adjustment signal is derived only on the basis of the distance to be adjusted by the focus point; however, in the actual case, the error between the samples may not be well controlled, if the focus is adjusted according to the method according to the first embodiment of the present invention. There may be cases where the focus position accuracy is insufficient and the error is out of the allowable range.

本發明第二實施例,則例示一種改良之立體調焦法,可以避免上述缺點。本發明第二實施例之硬體架構與設置與本發明第一實施例完全相同;在完成錐體100與影像模組200的設置後,本發明第二實施例的立體調焦法,進行一第一調焦步驟,在此步驟中,計算模組300將驅動自動調整模組400,以調整影像模組200對焦的位置,其目的在形成一第一影像,該第一影像中,錐體100之一部分清晰,根據該一部分清晰之第一影像,計算模組300可以分析出影像模組200在第一調焦步驟後對焦點的位置,稱為第一焦點位置;其後進行一第二調焦步驟,在此步驟中計算模組300再度驅動自動調整模組400,轉動影像模組200之調焦環一固定量,以形成一第二影像,該第二影像中,錐體100的另一部分清晰,根據該一部分清晰之第二影像,計算模組300可以分析出影像模組200在第二調焦步驟後對焦點的位置,稱為第二焦點位置。 根據該第一對焦位置及該第二對焦位置,計算模組300可以計算出影像模組200調焦環轉動量與影像模組之對焦點移動量的關係;計算模組300根據第二焦點位置以及對焦點的預定位置,可以計算出影像模組200對焦點尚須調整之距離,並根據上述調焦環轉動量與影像模組之對焦點移動量的關係,計算出一調整信號以控制自動調整模組400,將影像模組200之對焦點,調整到預定的位置。本發明第二實施例所示的方式,針對每一個影像模組,求取調焦環轉動量與影像模組之對焦點移動量的關係,因此在最後一步驟中,調整信號的估算將不會受到樣本間差異的影響,調焦的精準度可以提升。 In the second embodiment of the present invention, an improved stereo focusing method is exemplified to avoid the above disadvantages. The hardware structure and arrangement of the second embodiment of the present invention are completely the same as the first embodiment of the present invention; after the setting of the cone 100 and the image module 200 is completed, the stereo focusing method of the second embodiment of the present invention performs one The first focusing step, in which the computing module 300 will drive the automatic adjusting module 400 to adjust the position of the image module 200 to focus, the purpose of which is to form a first image, the first image, the cone One part of the 100 is clear. According to the first image that is clear, the calculation module 300 can analyze the position of the focus of the image module 200 after the first focusing step, which is called the first focus position; a focusing step, in which the computing module 300 drives the automatic adjusting module 400 again, and rotates the focusing ring of the image module 200 by a fixed amount to form a second image. In the second image, the cone 100 The other part is clear. According to the second image that is clear, the calculation module 300 can analyze the position of the focus of the image module 200 after the second focusing step, which is called the second focus position. The calculation module 300 can calculate the relationship between the amount of rotation of the focus ring of the image module 200 and the amount of focus movement of the image module according to the first focus position and the second focus position; and the calculation module 300 according to the second focus position And the predetermined position of the focus point, the distance that the image module 200 needs to be adjusted to the focus can be calculated, and an adjustment signal is calculated to control the automatic according to the relationship between the rotation amount of the focus ring and the focus movement amount of the image module. The adjustment module 400 adjusts the focus point of the image module 200 to a predetermined position. In the method shown in the second embodiment of the present invention, for each image module, the relationship between the amount of rotation of the focus ring and the amount of focus movement of the image module is obtained, so in the last step, the estimation of the adjustment signal will not be It will be affected by the difference between the samples, and the accuracy of focusing can be improved.

由上述兩個實施例可以看出,本發明即是利用錐體100相對於影像模組200為具有遠近分布之立體物件之特性,造成部分清晰、部分模糊之影像,而藉由分析此影像清晰部分之位置,即可以計算出影像模組200實際之第一焦點位置,以及第二實施例中實際之第二焦點位置;而是否能形成部分清晰、部分模糊的影像,與影像模組鏡頭的光圈值、焦距及實際對焦點的位置均有關係,原則上較大的光圈、較長的鏡頭焦距以及較近的對焦點有助於形成淺景深(模糊範圍較大的影像);因此如本發明第一實施例及第二實施例,在鏡頭的光圈與焦距均為定值的情況下,實際的對焦點位置,會影響影像清晰與模糊的範圍,也因此錐體100與影像模組200的距離十分重要,距離太遠,整個錐體的影像都落入清晰的範圍、距離太近,錐體影像清晰的部分可能會太小,有辨識上的困難。 It can be seen from the above two embodiments that the present invention utilizes the characteristics of the three-dimensional object having a near-distance distribution with respect to the image module 200, resulting in a partially clear and partially blurred image, and the image is clear by analyzing the image. In part, the actual first focus position of the image module 200 and the actual second focus position in the second embodiment can be calculated; and whether a partially clear and partially blurred image can be formed, and the image module lens is Aperture value, focal length and the position of the actual focus point are related. In principle, a larger aperture, a longer lens focal length, and a closer focus point help to form a shallow depth of field (an image with a larger blur range); In the first embodiment and the second embodiment of the invention, in the case where the aperture and the focal length of the lens are both fixed values, the actual focus position affects the range of image sharpness and blur, and thus the cone 100 and the image module 200 The distance is very important. The distance is too far. The image of the entire cone falls into a clear range and the distance is too close. The clear part of the cone image may be too small and has a trapping difficulty. .

下表一即列出本發明第一實施例及第二實施例所使用的影像模組200實際對焦位置與影像清晰的範圍的關係,其中實際對焦位置與清晰影像的範圍均是以與影像模組200之距離所表示。 The following table 1 shows the relationship between the actual focus position and the clear image range of the image module 200 used in the first embodiment and the second embodiment of the present invention, wherein the actual focus position and the clear image range are both The distance represented by group 200 is represented.

由表一可以看出,對於本發明第一實施例及第二實施例所使用的影像模組200而言,實際的對焦位置由距離該影像模組5公分至40公分,均可得到一對應之清晰影像範圍,較近的對焦位置,對應到一較小的清晰影像範圍,而較遠的對焦位置,對應到一較大的清晰影像範圍。然而若第一對焦點位置或第二對焦點位置在距離影像模組40公分處,要在有限的空間內完成調焦,已經有些困難;明顯的,其原因在於清晰影像的範圍太大(由32.79公分至51.27公分),因此錐體的高度將至少大於清晰影像的範圍,也就是18.48公分,而實際上錐體的高度會比這個值大上許多,因為影像中也要有足夠的模糊範圍;因此若錐體100與影像模組200的距離為40公分(意味著第一對焦點位置或第二對焦點位置距離影像模組200會大於40公分),則整個調焦系統所需之長度,粗略估計會超過一公尺,將失去了本發明所需空間較小的優點。明顯地,若使用本發明第一實施例與第二實施例的影像模組200,錐體與影像感測器間的距離約在5公分至20公分左右;錐體與影像感測器間的距離在20公分至40公分的設置,雖理論上可行,但實際上系統之體積會太大,這樣的設置,實際適用在鏡頭光圈更大、或焦段更長、影像感測器更大的影像模組,在目前市售的手機中,的確有少數配備有此種高階的影像模組。相反的,較本發 明實施例所使用影像模組更為低階的影像模組(光圈較小、或焦距更短、影像感測器更小),在利用本發明所提供之立體調焦法時,錐體與影像感測器間的距離係有可能小於5公分。因此,為縮減測試設備所需空間,在本發明第一實施例及第二實施例中,較佳的實施方式是由對焦距離較近的第一影像及第二影像來計算出影像模組所需調整的距離,以便將該影像模組調整到焦距較遠的該對焦預定位置,簡而言之,本發明係利用焦距較近的對焦測試步驟來計算焦距較長的對焦預定位置所需調整的調整量,因而無需使用遠焦調整時,體積龐大的測試機具,藉以縮減測試空間,增加測試效率及產能;綜上所述,錐體與影像模組間的距離可依照影像模組之規格而最佳化;此外,亦可於錐體及影像模組間設置一校正透鏡模組,用以在不增加設備體積的情況下模擬影像模組於遠焦的成像情形。 It can be seen from Table 1 that for the image module 200 used in the first embodiment and the second embodiment of the present invention, the actual focus position is 5 centimeters to 40 cm from the image module, and a corresponding correspondence can be obtained. The clear image range, the closer focus position corresponds to a smaller clear image range, and the farther focus position corresponds to a larger clear image range. However, if the first focus position or the second focus position is 40 cm away from the image module, it is difficult to complete the focus in a limited space; obviously, the reason is that the range of the clear image is too large (by 32.79 cm to 51.27 cm), so the height of the cone will be at least greater than the range of the clear image, which is 18.48 cm. In fact, the height of the cone will be much larger than this value, because there must be enough blurring in the image. Therefore, if the distance between the cone 100 and the image module 200 is 40 cm (meaning that the first focus position or the second focus position is greater than 40 cm from the image module 200), the length of the entire focusing system is required. A rough estimate of more than one meter will lose the advantage of the space required for the invention. Obviously, if the image module 200 of the first embodiment and the second embodiment of the present invention is used, the distance between the cone and the image sensor is about 5 cm to 20 cm; between the cone and the image sensor. The distance between 20 cm and 40 cm is theoretically feasible, but the size of the system is actually too large. This setting is practical for images with larger lens aperture, longer focal length, and larger image sensor. Modules, among the currently available mobile phones, there are indeed a few high-end image modules. On the contrary, compared to this issue The image module used in the embodiment has a lower-order image module (smaller aperture, shorter focal length, and smaller image sensor). When using the stereo focusing method provided by the present invention, the cone and The distance between image sensors may be less than 5 cm. Therefore, in order to reduce the space required for the test device, in the first embodiment and the second embodiment of the present invention, the preferred embodiment is to calculate the image module by using the first image and the second image with a close focusing distance. The distance to be adjusted is adjusted to adjust the image module to the predetermined focus position with a long focal length. In short, the present invention uses the focus test step with a close focal length to calculate the required focus position for a longer focal length. The amount of adjustment, thus eliminating the need for a far-focus adjustment, a large test tool, thereby reducing the test space, increasing test efficiency and productivity; in summary, the distance between the cone and the image module can be in accordance with the specifications of the image module Optimized; in addition, a correction lens module can be arranged between the cone and the image module to simulate the imaging mode of the image module in the far focus without increasing the volume of the device.

在本發明第一實施例及第二實施例中,影像模組對焦之預定位置(即完成調焦後之對焦點)係距離影像模組60公分之處,然而本發明所提供之立體調焦法,並不限於上述範圍,本發明所提供之立體調焦法,可應用在60公分內之對焦點調校,亦可應用在中焦(完成調焦後的對焦點距離影像模組60公分至一公尺)甚至遠焦(完成調焦後的對焦點距離影像模組大於一公尺)之調整。在遠焦與中焦的調校上,與本發明前述實施例中所示近焦(完成調焦後的對焦點距離影像模組在60公分之內)調校之最大差異,在於在第一實施例的近焦調整中,第一對焦位置與調焦後的對焦位置較接近,因此最後自動調整模組為將對焦點由第一對焦位置調整到預定位置而轉動調焦環的量(即轉動了幾度),與第一對焦位置與調焦後的對焦位置,仍有可能大致呈現一線性關係,當此線性關係存在時,計算模組300根據第一對焦位置與調焦後的對焦位置之差異,計算最終傳輸給自動調整模組之調整信號將較為單純;在第二實施例中根據第二對焦位置與調焦後的對焦位置的差異,計算最終傳輸給自動調整模組之調整信號亦是相同的情況。 In the first embodiment and the second embodiment of the present invention, the predetermined position of the image module focusing (ie, the focus point after focusing is completed) is 60 cm away from the image module, but the stereo focusing provided by the present invention The method is not limited to the above range, and the stereo focusing method provided by the present invention can be applied to the focus adjustment within 60 cm, and can also be applied to the center focus (the focus point distance image module after completion of focusing is 60 cm) Up to one meter) even the far focus (the focus of the focus is greater than one meter after the focus adjustment). In the adjustment of the far focus and the medium focus, the maximum difference between the near focus (the focal point distance image module after the focus adjustment is completed within 60 cm) shown in the foregoing embodiment of the present invention lies in the first In the near focus adjustment of the embodiment, the first focus position is closer to the focus position after focusing, so the final automatic adjustment module rotates the focus ring by adjusting the focus point from the first focus position to the predetermined position (ie, Rotating a few degrees), and the first focus position and the focus position after focusing, it is still possible to roughly exhibit a linear relationship. When the linear relationship exists, the calculation module 300 according to the first focus position and the focus position after focusing The difference between the calculation and the adjustment signal finally transmitted to the automatic adjustment module will be relatively simple; in the second embodiment, the adjustment signal finally transmitted to the automatic adjustment module is calculated according to the difference between the second focus position and the focus position after the focus adjustment. The same is true.

但是上述線性關係,在大幅調整對焦點位置時,會產生較大的差異,為提升調教的精準度,在中焦調校和遠焦調校的情形中,可以利用下列簡單的成像公式,將所有的物距換算成像距:1/u+1/v=1/f [1]在公式[1]中,u為物距,v為像距而f為影像模組鏡頭之焦距。關於該公式的應用,以下以一與本發明第二實施例相似之第三實施例說明。本發明第三實施例之硬體架構與設置與本發明第二實施例完全相同;在完成錐體100與影像模組200的設置後,本發明第三實施例之立體調焦法,進行一第一調焦步驟,在此步驟中,計算模組300將驅動自動調整模組400,以調整影像模組200對焦的位置,其目的在形成一第一影像,該第一影像中,錐體100的一部分清晰,根據該一部分清晰的第一影像,計算模組300可以分析出影像模組200在第一調焦步驟後對焦點的位置,稱為第一焦點位置,該第一焦點位置與影像模組200的距離即為一物距(實際上就是錐體上某一點至影像模組200鏡頭的距離),因此可利用公式[1]將第一焦點位置與影像模組200的距離轉換為一第一像距;其後進行一第二調焦步驟,在此步驟中計算模組300再度驅動自動調整模組400,轉動影像模組200之調焦環一固定量,以形成一第二影像,該第二影像中,錐體100的另一部分清晰,根據該一部分清晰之第二影像,計算模組300可以分析出影像模組200在第二調焦步驟後對焦點的位置,稱為第二焦點位置,相同的,該第二焦點位置也可透過公式[1]轉換成一第二像距。根據該第一像距及該第二像距,計算模組300可以估算出影像模組200調焦環轉動量與影像模組像距改變量的關係;計算模組300根據對焦點的預定位置,透過公式[1]轉換為最終之像距,再根據第二像距以及最終之像距,可以計算出影像模組200尚須調整之像距,並根據上述調焦環轉動量與影像模組像距改變量的關係,計算出一調整信號以控制自動調整模組400,將影像模組200的對焦點,調整到預定的位置。上述第三實施例所示之方法,不僅可用在中焦 和遠焦的調校上,應用在近焦的調整上,也可達成較為精準的調焦結果。 However, the above linear relationship will produce a large difference when the focus position is greatly adjusted. In order to improve the accuracy of the adjustment, in the case of the mid-focus adjustment and the far-focus adjustment, the following simple imaging formulas can be utilized. All object distance conversion imaging distance: 1/u+1/v=1/f [1] In formula [1], u is the object distance, v is the image distance and f is the focal length of the image module lens. Regarding the application of the formula, the following description will be made with a third embodiment similar to the second embodiment of the present invention. The hardware structure and arrangement of the third embodiment of the present invention are completely the same as the second embodiment of the present invention; after the setting of the cone 100 and the image module 200 is completed, the stereo focusing method of the third embodiment of the present invention performs one The first focusing step, in which the computing module 300 will drive the automatic adjusting module 400 to adjust the position of the image module 200 to focus, the purpose of which is to form a first image, the first image, the cone A portion of the 100 is clear. According to the portion of the first image that is clear, the computing module 300 can analyze the position of the focus of the image module 200 after the first focusing step, which is called a first focus position, and the first focus position is The distance of the image module 200 is an object distance (actually a distance from a point on the cone to the lens of the image module 200), so the distance between the first focus position and the image module 200 can be converted by using the formula [1]. A first image distance is followed by a second focusing step. In this step, the calculation module 300 drives the automatic adjustment module 400 again, and rotates the focus ring of the image module 200 by a fixed amount to form a first Two images, in the second image The other part of the cone 100 is clear. According to the second image of the part, the calculation module 300 can analyze the position of the focus of the image module 200 after the second focusing step, which is called the second focus position. The second focus position can also be converted to a second image distance by the formula [1]. The calculation module 300 can estimate the relationship between the amount of rotation of the focus ring of the image module 200 and the amount of change of the image module image distance according to the first image distance and the second image distance; the calculation module 300 is based on the predetermined position of the focus point. By converting the formula [1] to the final image distance, and then according to the second image distance and the final image distance, the image distance of the image module 200 to be adjusted can be calculated, and according to the rotation amount and the image mode of the focus ring The relationship between the image distance change amount is calculated, and an adjustment signal is calculated to control the automatic adjustment module 400 to adjust the focus point of the image module 200 to a predetermined position. The method shown in the third embodiment above can be used not only in the middle focus And the adjustment of the far focus, the application of the near focus adjustment, can also achieve more accurate focus results.

在本發明各實施例中,錐體之頂端部與影像模組的距離為5公分,錐體高度約10公分,錐體底部為8公分見方的正方形,在此配置下,透過實施例中所述之影像模組200,錐體成像的範圍大約為一正方形,該正方形之邊長為影像模組200中,影像感測器短邊長度的三分之二;在更理想的狀態下,可以選擇一高度相同,但底部面積更大之錐體(較為矮胖、斜率較緩之錐體),使得錐體底部成像(前述第一影像、第二影像)可以完整覆蓋影像感測器之短邊,如此設置,可以增進計算模組300在影像分析時的精準度,亦可對於影像之周邊區域進行其他分析(例如鏡頭邊緣畫質分析),當然此一設置不是絕對必要的;若要滿足此一條件,則需根據影像模組鏡頭之焦距、感測器的大小以及影像模組與錐體頂端部之距離,設置適當高度及底部大小之錐體。 In various embodiments of the present invention, the distance between the top end of the cone and the image module is 5 cm, the height of the cone is about 10 cm, and the bottom of the cone is a square of 8 cm square. In this configuration, through the embodiment. In the image module 200, the range of the cone imaging is about a square, and the side length of the square is two-thirds of the length of the short side of the image sensor 200; in a more ideal state, Select a cone with the same height but a larger bottom area (a chunky, slower slope), so that the bottom of the cone (the first image, the second image) can completely cover the shortness of the image sensor. In this way, the accuracy of the calculation module 300 during image analysis can be improved, and other analysis (such as lens edge quality analysis) can be performed on the surrounding area of the image. Of course, this setting is not absolutely necessary; In this condition, the cone of the appropriate height and the bottom size is set according to the focal length of the image module lens, the size of the sensor, and the distance between the image module and the tip end of the cone.

如前所述,本發明係利用錐體為一具有深度之立體物件,而造成影像清晰與模糊之變化,藉以辨識對焦點並用以調焦;因此在本發明各實施例中,使用的錐體雖如圖一所示,然而錐體的紋路與形狀,並不受到限制。第五A圖所示為另一可用在本發明立體調焦之錐體,其形狀與第一圖所示之錐體相同,但其紋路不同,第五B圖為其透過影像模組之成像(不考慮景深之效果);此外,如前所述,本發明即是利用錐體100相對於影像模組200為具有遠近分布之立體物件之特性來進行測試調整,在符合上述原則之下,錐體之形狀亦可變化,如第六圖所示之圓錐體,或是其他具有多邊形的錐體,均可使用在本發明中,此外一內凹式錐體,亦可基於相同原理,實施本發明;圖式第七B圖即說明使用一內凹式錐體實施本發明立體調焦法之設置,圖式第七A圖則說明使用一般錐體實施本發明立體調焦法之設置,以與第七B圖對應比較。圖式第七A圖中,影像模組503置於錐體500之下方,影像模組503可對焦於第一對焦位置501及/或第二對焦位置502,拍 攝錐體500之第一影像及/或第二影像,而影像模組預定的對焦點位置504(即完成調焦後的對焦點位置)與影像模組503之距離則不受限制,該距離可以遠大於影像模組503到錐體500底部的距離;一般而言,預定的對焦點位置504與影像模組503之距離介於60公分至無窮遠。圖式第七B圖有著類似的設置,影像模組603置於一內凹式錐體600之下方,該內凹式錐體600之內部表面,具有黑白相間之紋路或刻度,影像模組603可對焦於第一對焦位置601及/或第二對焦位置602,拍攝內凹式錐體600之第一影像及/或第二影像,而影像模組預定的對焦點位置604與影像模組603之距離亦不受限制,一般而言,該距離介於60公分至無窮遠;由第七A圖及第七B圖可以看出,使用一般錐體或是內凹式錐體實施本發明所揭示之立體調焦法,實質上並沒有差異。在此須說明的是,本發明中,錐體的形狀,並沒有任何的限制,但考量到製作上的方便,以及簡化影像分析的考量,仍以具對稱性,截面為正多邊形的錐體為優先考量,亦可對應影像模組的長寬比例進行調整,本發明不以此為限。 As described above, the present invention utilizes a cone as a three-dimensional object having a depth to cause a change in image clarity and blur, thereby identifying a focus point and for focusing; thus, in various embodiments of the present invention, a cone is used. Although shown in Figure 1, the texture and shape of the cone are not limited. Figure 5A shows another cone that can be used in the stereo focusing of the present invention, the shape of which is the same as that of the cone shown in the first figure, but the texture is different, and the fifth panel B is imaged by the image module. (The effect of the depth of field is not considered); in addition, as described above, the present invention utilizes the characteristics of the cone 100 relative to the image module 200 as a three-dimensional object having a near-distance distribution to perform test adjustment, in accordance with the above principles. The shape of the cone can also be varied, such as the cone shown in Figure 6, or other polygonal cones, can be used in the present invention, and a concave cone can also be implemented based on the same principle. The present invention; FIG. 7B is a view showing the arrangement of the stereo focusing method of the present invention using a concave cone, and FIG. 7A illustrates the setting of the stereo focusing method of the present invention using a general cone, Corresponding to the comparison with the seventh B map. In the seventh embodiment, the image module 503 is placed under the cone 500, and the image module 503 can focus on the first focus position 501 and/or the second focus position 502. The first image and/or the second image of the cone 500 is captured, and the predetermined focus position 504 of the image module (ie, the focus position after focusing) is not limited by the distance from the image module 503. It can be much larger than the distance from the image module 503 to the bottom of the cone 500; in general, the predetermined focus point position 504 is at a distance of 60 cm to infinity from the image module 503. Figure 7B has a similar arrangement. The image module 603 is placed under a concave cone 600. The inner surface of the concave cone 600 has black and white lines or scales, and the image module 603 Focusing on the first focus position 601 and/or the second focus position 602, capturing the first image and/or the second image of the concave cone 600, and the predetermined focus position 604 and the image module 603 of the image module The distance is also not limited. Generally speaking, the distance is between 60 cm and infinity; as can be seen from the seventh and seventh B, the invention is implemented using a general cone or a concave cone. There is virtually no difference in the stereoscopic focusing method disclosed. It should be noted that, in the present invention, the shape of the cone is not limited at all, but considering the convenience of fabrication and simplifying the consideration of image analysis, the cone having a symmetrical shape and a regular polygon is still used. For the sake of priority, the aspect ratio of the image module may also be adjusted, and the present invention is not limited thereto.

本發明之各實施例,例示本發明立體調焦之方法與系統,並揭示調焦方法以及系統設置的細節,以達成本發明以簡單設備及有限之空間、迅速而精準的完成影像模組之調焦,因此提升模組調焦產出並降低其成本。 Embodiments of the present invention exemplify the method and system for stereo focusing of the present invention, and disclose details of the focusing method and system setting to achieve the present invention to complete the image module quickly and accurately with simple equipment and limited space. Focusing, so the module is adjusted to produce output and reduce its cost.

100‧‧‧錐體 100‧‧‧ cone

101‧‧‧底部 101‧‧‧ bottom

102‧‧‧頂端部 102‧‧‧Top part

200‧‧‧影像模組 200‧‧‧Image Module

300‧‧‧計算模組 300‧‧‧Computation Module

400‧‧‧自動調整模組 400‧‧‧Automatic adjustment module

Claims (27)

一種立體調焦法,調整一影像模組的對焦點,使該影像模組對焦於一預定位置,該方法包含:提供一具有頂端部的錐體,且該錐體頂端部與該影像模組間隔一距離,使該錐體的頂端部大致與該影像模組的光軸對齊;調整該影像模組的對焦點,以形成一第一影像,在該第一影像中,該錐體影像的一部分清晰;根據該第一影像,計算出該影像模組在形成該第一影像時對焦點的位置;及調整形成該第一影像後之該影像模組的對焦點。 A stereo focusing method for adjusting a focus point of an image module to focus the image module on a predetermined position, the method comprising: providing a cone having a top end portion, and the top end portion of the cone and the image module The first end of the cone is substantially aligned with the optical axis of the image module; the focus of the image module is adjusted to form a first image, and in the first image, the cone image is The portion is clear; the position of the focus point of the image module when the first image is formed is calculated according to the first image; and the focus point of the image module after the first image is formed is adjusted. 如申請專利範圍第1項所述的立體調焦法,其中在調整形成該第一影像後之該影像模組的對焦點後,更包含:形成一第二影像,在該第二影像中,該錐體影像的另一部分清晰;根據該第二影像,計算出該影像模組在形成該第二影像時對焦點之位置;及調整形成該第二影像後之該影像模組的對焦點至該預定位置。 The stereoscopic focusing method of claim 1, wherein after adjusting the focus point of the image module after forming the first image, the method further comprises: forming a second image, in the second image, The other part of the cone image is clear; the position of the focus point of the image module when the second image is formed is calculated according to the second image; and the focus point of the image module after the second image is formed is adjusted to The predetermined location. 如申請專利範圍第2項所述的立體調焦法,其中該錐體頂端部與該影像模組間隔之距離大於等於該影像模組之最近對焦距離。 The stereoscopic focusing method of claim 2, wherein the distance between the top end of the cone and the image module is greater than or equal to the closest focusing distance of the image module. 如申請專利範圍第2項所述的立體調焦法,其中,調整形成該第二影像後之該影像模組的對焦點距離,遠於該第二影像之對焦點距離。 The stereoscopic focusing method of claim 2, wherein the focus distance of the image module after forming the second image is farther than the focus distance of the second image. 如申請專利範圍第1項所述的立體調焦法,其中該錐體具有一軸心,該頂端部位於該軸心上,且該錐體之結構相對於該軸心對稱。 The stereoscopic focusing method of claim 1, wherein the cone has an axis, the tip portion is located on the axis, and the structure of the cone is symmetrical with respect to the axis. 如申請專利範圍第1項所述的立體調焦法,其中該影像模組包括一影像感測器,該影像感測器具有一短邊,該錐體具有一底部, 該錐體之底部於該影像感測器之成像可以完整覆蓋影像感測器之短邊。 The stereoscopic focusing method of claim 1, wherein the image module comprises an image sensor, the image sensor has a short side, and the cone has a bottom. The imaging of the bottom of the cone to the image sensor can completely cover the short side of the image sensor. 如申請專利範圍第1項所述的立體調焦法,其中該錐體的該頂端部與該影像模組間隔之該固定距離介於5公分至20公分。 The stereoscopic focusing method of claim 1, wherein the fixed distance between the top end portion of the cone and the image module is between 5 cm and 20 cm. 如申請專利範圍第1項所述的立體調焦法,其中對焦之該預定位置與該影像模組的距離,小於60公分。 The stereo focusing method according to claim 1, wherein the predetermined position of the focus and the distance of the image module are less than 60 cm. 如申請專利範圍第1項所述的立體調焦法,其中對焦之該預定位置與該影像模組的距離,介於60公分至1公尺。 The stereoscopic focusing method of claim 1, wherein the predetermined position of the focus and the image module are between 60 cm and 1 metre. 如申請專利範圍第1項所述的立體調焦法,其中對焦之該預定位置與該影像模組的距離,大於1公尺。 The stereoscopic focusing method of claim 1, wherein the predetermined position of the focus and the distance of the image module is greater than 1 meter. 如申請專利範圍第1項所述的立體調焦法,其中該影像模組及該錐體之間設有一校正透鏡模組。 The stereoscopic focusing method of claim 1, wherein a correction lens module is disposed between the image module and the cone. 如申請專利範圍第1項所述的立體調焦法,其中該錐體係具有多邊形或圓形的截面。 The stereoscopic focusing method of claim 1, wherein the cone system has a polygonal or circular cross section. 如申請專利範圍第1項所述的立體調焦法,其中該錐體可為一內凹式錐體。 The stereoscopic focusing method of claim 1, wherein the cone is a concave cone. 如申請專利範圍第1項所述的立體調焦法,其中該錐體的表面係具有黑白相間之紋路。 The stereoscopic focusing method of claim 1, wherein the surface of the cone has a black and white phase. 如申請專利範圍第1項所述的立體調焦法,其中該錐體的表面係具有刻度。 The stereoscopic focusing method of claim 1, wherein the surface of the cone has a scale. 一種立體調焦系統,用於調整一影像模組的對焦點,使該影像模組對焦於一預定位置,該系統包含:一錐體,該錐體具有一頂端部,該影像模組在一或多個對焦位置拍攝該錐體的一或多張影像;一計算模組,其接收並分析該一或多張影像,以計算該影像模組對應於該一或多張影像之該一或多個對焦位置,據以產生一調整信號;及一自動調整模組,接收該調整信號,以將該影像模組的對焦 點調整至該預定位置。 A stereo focusing system for adjusting a focus point of an image module to focus the image module on a predetermined position, the system comprising: a cone having a top end, the image module being in a Or capturing one or more images of the cone at a plurality of in-focus positions; a computing module receiving and analyzing the one or more images to calculate the image module corresponding to the one or more images a plurality of focus positions to generate an adjustment signal; and an automatic adjustment module to receive the adjustment signal to focus the image module The point is adjusted to the predetermined position. 如申請專利範圍第16項所述的立體調焦系統,其中該錐體頂端部與該影像模組間隔之距離大於等於該影像模組之最近對焦距離。 The stereoscopic focusing system of claim 16, wherein the distance between the top end of the cone and the image module is greater than or equal to the closest focusing distance of the image module. 如申請專利範圍第16項所述的立體調焦系統,其中至該影像模組對應該預定位置之焦距大於該影像模組對應該一或多張影像之焦距。 The stereoscopic focusing system of claim 16, wherein the focal length of the image module corresponding to the predetermined position is greater than the focal length of the image module corresponding to the one or more images. 如申請專利範圍第16項所述的立體調焦系統,其中該錐體具有一軸心,該頂端部位於該軸心上,且該錐體之結構相對於該軸心對稱。 The stereoscopic focusing system of claim 16, wherein the cone has an axis, the tip portion is located on the axis, and the structure of the cone is symmetrical with respect to the axis. 如申請專利範圍第16項所述的立體調焦法,其中該一或多張影像中,該錐體之一部份清晰。 The stereo focusing method of claim 16, wherein one of the cones is partially clear in the one or more images. 如申請專利範圍第16項所述的立體調焦法,其中該影像模組包括一影像感測器,該影像感測器具有一短邊,該錐體具有一底部,該影像模組拍攝該錐體的一或多張影像當中,該錐體底部成像可以完整覆蓋影像感測器之短邊。 The stereoscopic focusing method of claim 16, wherein the image module comprises an image sensor, the image sensor has a short side, the cone has a bottom, and the image module captures the cone Among the one or more images of the body, the bottom of the cone can completely cover the short side of the image sensor. 如申請專利範圍第16項所述的立體調焦系統,其中該錐體的該頂端部與該影像模組間隔之該固定距離介於5公分至20公分。 The stereoscopic focusing system of claim 16, wherein the fixed distance between the top end portion of the cone and the image module is between 5 cm and 20 cm. 如申請專利範圍第16項所述的立體調焦系統,其中該錐體係具有多邊形體或圓形體的截面。 The stereoscopic focusing system of claim 16, wherein the cone system has a polygonal body or a circular body. 如申請專利範圍第16項所述的立體調焦系統,其中該錐體的表面係具有黑白相間之紋路。 The stereoscopic focusing system of claim 16, wherein the surface of the cone has a black and white phase. 如申請專利範圍第16項所述的立體調焦系統,其中該錐體的表面係具有刻度。 The stereoscopic focusing system of claim 16, wherein the surface of the cone has a scale. 如申請專利範圍第16項所述的立體調焦系統,其中該影像模組及該錐體之間設有一校正透鏡模組。 The stereoscopic focusing system of claim 16, wherein a correction lens module is disposed between the image module and the cone. 如申請專利範圍第16項所述的立體調焦系統,其中該錐體可為一內凹式錐體。 The stereoscopic focusing system of claim 16, wherein the cone is a concave cone.
TW102135811A 2013-10-03 2013-10-03 Method for adjusting focusing point with a 3d object and system thereof TWI489164B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
TW102135811A TWI489164B (en) 2013-10-03 2013-10-03 Method for adjusting focusing point with a 3d object and system thereof
CN201310578295.6A CN104516170B (en) 2013-10-03 2013-11-15 Three-dimensional focusing method and system thereof
JP2014039238A JP2015072444A (en) 2013-10-03 2014-02-28 Solid focusing method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102135811A TWI489164B (en) 2013-10-03 2013-10-03 Method for adjusting focusing point with a 3d object and system thereof

Publications (2)

Publication Number Publication Date
TW201514569A true TW201514569A (en) 2015-04-16
TWI489164B TWI489164B (en) 2015-06-21

Family

ID=52791706

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102135811A TWI489164B (en) 2013-10-03 2013-10-03 Method for adjusting focusing point with a 3d object and system thereof

Country Status (3)

Country Link
JP (1) JP2015072444A (en)
CN (1) CN104516170B (en)
TW (1) TWI489164B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI797759B (en) * 2020-10-05 2023-04-01 日商長川日本有限公司 Test chart, camera manufacturing device, camera manufacturing method, and focus detection program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017091957A1 (en) * 2015-11-30 2017-06-08 SZ DJI Technology Co., Ltd. Imaging system and method
CN109951645B (en) * 2019-04-30 2020-10-30 努比亚技术有限公司 Focusing adjustment method, mobile terminal and computer readable storage medium
JP2023110418A (en) * 2022-01-28 2023-08-09 Cctech Japan株式会社 Test chart and camera manufacturing device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1338616A (en) * 2000-08-15 2002-03-06 力捷电脑股份有限公司 Simple method and device for measuring field depth
CN2439046Y (en) * 2000-10-10 2001-07-11 群光电子股份有限公司 Focus regulating structure for camera
TW200506482A (en) * 2003-08-06 2005-02-16 Hon Hai Prec Ind Co Ltd An image sensitization module focus means and the method
CN100518335C (en) * 2004-11-06 2009-07-22 鸿富锦精密工业(深圳)有限公司 Digital image analysis test pattern and its making method
TWI412810B (en) * 2006-09-01 2013-10-21 Hon Hai Prec Ind Co Ltd Focusing mechanism and method of using the same
JP4441561B2 (en) * 2007-10-04 2010-03-31 関西工事測量株式会社 Optical device
JP2009128330A (en) * 2007-11-28 2009-06-11 Nikon Corp Focal position confirming chart and method of confirming focal position
KR101613529B1 (en) * 2009-10-07 2016-04-19 엘지이노텍 주식회사 camera module
CN102662293B (en) * 2012-05-21 2015-06-24 信利光电股份有限公司 Close-range focusing device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI797759B (en) * 2020-10-05 2023-04-01 日商長川日本有限公司 Test chart, camera manufacturing device, camera manufacturing method, and focus detection program

Also Published As

Publication number Publication date
JP2015072444A (en) 2015-04-16
TWI489164B (en) 2015-06-21
CN104516170A (en) 2015-04-15
CN104516170B (en) 2017-07-14

Similar Documents

Publication Publication Date Title
US9204067B2 (en) Image sensor and image capturing apparatus
US8189089B1 (en) Methods and apparatus for reducing plenoptic camera artifacts
US20120026297A1 (en) Imaging apparatus and imaging method
US11928794B2 (en) Image processing device, image processing program, image processing method, and imaging device
CN106454318B (en) Stereoscopic imaging method and stereoscopic imaging device
CN104181685B (en) Based on microscopical digital slices autofocus and its method
US7228069B2 (en) Focusing method for digital camera using plural spatial frequencies
US10146039B2 (en) Image capture method for a microscope system, and corresponding microscope system
KR20170005009A (en) Generation and use of a 3d radon image
CN103202027B (en) Image processing apparatus, image processing program, image processing method and storage medium
CN101840146A (en) Method and device for shooting stereo images by automatically correcting parallax error
CN107424195B (en) Light field distance estimation method
JP2013088261A (en) Three-dimensional shape measuring instrument, method for controlling three-dimensional shape measuring instrument, and program
TWI489164B (en) Method for adjusting focusing point with a 3d object and system thereof
CN109859155A (en) Image distortion detection method and system
US9497367B1 (en) Maximizing effective surface area of a rectangular image sensor concurrently capturing image data from two lenses
US8934730B2 (en) Image editing method and associated method for establishing blur parameter
CN106254855B (en) A kind of three-dimensional modeling method and system based on zoom ranging
WO2013069279A1 (en) Image capturing device
JP6381206B2 (en) Image processing apparatus, control method thereof, and program
KR101275127B1 (en) 3-dimension camera using focus variable liquid lens applied and method of the same
CN115393555A (en) Three-dimensional image acquisition method, terminal device and storage medium
WO2016194576A1 (en) Information processing device and method
Drazic et al. Optimal design and critical analysis of a high-resolution video plenoptic demonstrator
JP5581177B2 (en) Imaging position adjusting apparatus and imaging apparatus

Legal Events

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