[go: up one dir, main page]

TWI774418B - Camera module, focus adjustment system and focusing method - Google Patents

Camera module, focus adjustment system and focusing method Download PDF

Info

Publication number
TWI774418B
TWI774418B TW110121428A TW110121428A TWI774418B TW I774418 B TWI774418 B TW I774418B TW 110121428 A TW110121428 A TW 110121428A TW 110121428 A TW110121428 A TW 110121428A TW I774418 B TWI774418 B TW I774418B
Authority
TW
Taiwan
Prior art keywords
measured
motor
value
transfer function
modulation transfer
Prior art date
Application number
TW110121428A
Other languages
Chinese (zh)
Other versions
TW202136894A (en
Inventor
陳梅芬
陳澤豪
陳韋宏
Original Assignee
大陸商廣州立景創新科技有限公司
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 大陸商廣州立景創新科技有限公司 filed Critical 大陸商廣州立景創新科技有限公司
Priority to TW110121428A priority Critical patent/TWI774418B/en
Publication of TW202136894A publication Critical patent/TW202136894A/en
Application granted granted Critical
Publication of TWI774418B publication Critical patent/TWI774418B/en

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)
  • Particle Formation And Scattering Control In Inkjet Printers (AREA)
  • Focusing (AREA)

Abstract

A camera module, a focus adjustment system, and a focusing method are provided. The tested data and to-be-test data are obtained. The tested data includes calibrated focus position, corresponding modulation transfer function (MTF) peak, and corresponding tested ratio of the tested camera module. The to-be-test data includes motor position, corresponding MTF value, and to-be-test ratio. Each calibrated focus position means that the location where the motor drives the lens to move to has the MTF peak. The ratio is related to the area of a reference region in the image. The variation relation is determined according to the calibrated focus position and corresponding to-be-test ratio. The variation relation is a ratio of lens shifting variation and ratio variation. The next motor position is determined according to the to-be-test data and the variation relation.

Description

相機模組、對焦調整系統及對焦方法Camera module, focus adjustment system and focus method

本發明是有關於一種對焦技術,且特別是有關於一種相機模組、對焦調整系統及對焦方法。The present invention relates to a focusing technology, and more particularly, to a camera module, a focusing adjustment system and a focusing method.

一般而言,相機的對焦點前後相對成像清晰的範圍稱為景深(Depth of Field,DoF)。在光學成像中,尤其是錄影或是攝影,景深是在空間中可以清楚成像的距離範圍。值得注意的是,相機的透鏡只能夠將光聚到某一特定的距離,且遠離對焦點會導致成像逐漸模糊。然而,在某一段特定的距離內,影像的模糊程度是肉眼無法察覺的。而這段距離稱之為景深,如圖1是相機C的景深DoF的示意圖。物體O在景深DoF處的成像較為清晰。此外,當焦點設在超焦距處時,景深會從超焦距的一半延伸到無限遠,對一個固定的光圈值來說,這是最大的景深。而相機出廠前需要找出其成像的最佳清晰點(或稱準焦點)。Generally speaking, the relatively clear range of the image before and after the focus point of the camera is called the depth of field (Depth of Field, DoF). In optical imaging, especially video or photography, the depth of field is the range of distances that can be clearly imaged in space. It's worth noting that a camera's lens can only focus light to a certain distance, and moving away from the focus point will cause the image to gradually blur. However, at a certain distance, the blur of the image is imperceptible to the naked eye. This distance is called the depth of field. Figure 1 is a schematic diagram of the depth of field DoF of camera C. The imaging of the object O at the depth of field DoF is relatively clear. Also, when the focus is set at the hyperfocal distance, the depth of field extends from half the hyperfocal distance to infinity, which is the maximum depth of field for a fixed f-stop. Before the camera leaves the factory, it is necessary to find the best clear point (or quasi-focus) of its imaging.

值得注意的是,在鏡頭的組裝階段中,存在許多變因。例如,點膠作業的烘烤時間及溫度、電路板的平整度以及表面黏著技術(Surface-Mount Technology,SMT)定位中心等。這些變因可能讓同一批生產的鏡頭經組裝至相機模組後對應的準焦點位置不同。It is worth noting that there are many variables during the assembly phase of the lens. For example, the baking time and temperature of the dispensing operation, the flatness of the circuit board, and the positioning center of the Surface-Mount Technology (SMT), etc. These variables may cause the corresponding quasi-focus positions of the lenses produced in the same batch to be different after being assembled into the camera module.

然而,現今找尋準焦點的過程較長,進而影響整體產線的生產效率。例如,現有調焦方法需要使用兩階段調焦:其一者為粗調階段,另一者為細調階段。兩階段調焦的缺點為,無法控制兩者設定的參數。例如,細調階段無法取得粗調階段相關的調焦數值,更無法進行後續的優化動作。此外,使用兩階段調焦將花費過多時間。However, the process of finding the right focus is now long, which affects the production efficiency of the overall production line. For example, the existing focusing method needs to use two stages of focusing: one is a coarse adjustment stage and the other is a fine adjustment stage. The disadvantage of two-stage focusing is that the parameters set by the two cannot be controlled. For example, in the fine adjustment stage, the focus adjustment value related to the coarse adjustment stage cannot be obtained, and further optimization actions cannot be performed. Also, using two-stage focusing will take too much time.

有鑑於此,本發明實施例提供一種相機模組、對焦調整系統及對焦方法,參考已測準焦點的已測資料,以提升對焦速度。In view of this, embodiments of the present invention provide a camera module, a focus adjustment system, and a focus method, which refer to the measured data of the measured focus, so as to improve the focus speed.

本發明實施例的對焦方法包括(但不僅限於)下列步驟:取得已測資料及待測資料。已測資料包括一個或更多個已測相機模組的準焦位置、對應的調變傳遞函數(Modulation Transfer Function,MTF)峰值及對應的已測比例值。待測資料包括待測相機模組的馬達位置、對應的調變傳遞函數值、及對應的待測比例值。各對焦位置是指在對應已測相機模組的馬達驅動其鏡頭位移所至的位置有對應的調變傳遞函數峰值。已測比例值及待測比例值相關於所擷取影像中的參考區域的面積。依據已測資料中的那些已測相機模組在準焦位置及對應的已測比例值決定變化關係。這變化關係為鏡頭位移變化與比例值變化的比例。依據待測資料與變化關係決定待測相機模組的下一馬達位置。The focusing method of the embodiment of the present invention includes (but is not limited to) the following steps: obtaining measured data and to-be-measured data. The measured data includes the focal position of one or more measured camera modules, the corresponding Modulation Transfer Function (MTF) peak value and the corresponding measured ratio value. The data to be tested includes the motor position of the camera module to be tested, the corresponding modulation transfer function value, and the corresponding proportional value to be tested. Each focus position means that there is a corresponding peak value of the modulation transfer function at the position to which the motor of the camera module under test drives the lens displacement. The measured scale value and the to-be-measured scale value are related to the area of the reference region in the captured image. The variation relationship is determined according to the focal positions of the tested camera modules in the tested data and the corresponding measured scale values. This change is the ratio of the lens shift change to the scale value change. The next motor position of the camera module to be tested is determined according to the data to be tested and the changing relationship.

本發明實施例的對焦調整系統包括(但不僅限於)處理器。處理器經配置用以取得已測資料及待測資料,依據已測資料中的那些已測相機模組在對焦位置及對應已測比例值決定變化關係,並依據待測資料與變化關係決定待測相機模組的下一馬達位置。已測資料包括一個或更多個已測相機模組的準焦位置、對應的調變傳遞函數峰值及對應的已測比例值。待測資料包括待測相機模組的馬達位置、對應的調變傳遞函數值、及對應的待測比例值。各對焦位置是指在對應已測相機模組的馬達驅動其鏡頭位移所至的位置有對應的調變傳遞函數峰值。已測比例值及待測比例值相關於所擷取影像中的參考區域的面積。變化關係為鏡頭位移變化與比例值變化的比例。The focus adjustment system of the embodiment of the present invention includes (but is not limited to) a processor. The processor is configured to obtain the measured data and the data to be measured, determine the change relationship according to the focus positions of the measured camera modules in the measured data and the corresponding measured scale values, and determine the change relationship according to the data to be measured and the change relationship. Measure the next motor position of the camera module. The measured data includes the focal position of one or more measured camera modules, the corresponding peak value of the modulation transfer function, and the corresponding measured ratio value. The data to be tested includes the motor position of the camera module to be tested, the corresponding modulation transfer function value, and the corresponding proportional value to be tested. Each focus position means that there is a corresponding peak value of the modulation transfer function at the position to which the motor of the camera module under test drives the lens displacement. The measured scale value and the to-be-measured scale value are related to the area of the reference region in the captured image. The change relationship is the ratio of the lens shift change to the scale value change.

本發明實施例的相機模組包括(但不僅限於)鏡頭、馬達、馬達驅動電路、影像感測器及處理器。馬達耦接鏡頭,並用以驅動鏡頭位移。馬達驅動電路耦接馬達,並用以控制馬達。影像擷取裝置用以擷取影像。處理器耦接馬達驅動電路及影像感測器。處理器並經配置用以取得已測資料及待測資料,依據已測資料中的那些已測相機模組在對焦位置及對應已測比例值決定變化關係,並依據待測資料與變化關係決定待測相機模組的下一馬達位置。已測資料包括一個或更多個已測相機模組的準焦位置、對應的調變傳遞函數峰值及對應的已測比例值。待測資料包括待測相機模組的馬達位置、對應的調變傳遞函數值、及對應的待測比例值。各對焦位置是指在對應已測相機模組的馬達驅動其鏡頭位移所至的位置有對應的調變傳遞函數峰值。已測比例值及待測比例值相關於所擷取影像中的參考區域的面積。變化關係為鏡頭位移變化與比例值變化的比例。The camera module of the embodiment of the present invention includes (but is not limited to) a lens, a motor, a motor driving circuit, an image sensor, and a processor. The motor is coupled to the lens and used to drive the lens to move. The motor driving circuit is coupled to the motor and used to control the motor. The image capturing device is used for capturing images. The processor is coupled to the motor driving circuit and the image sensor. The processor is also configured to obtain the measured data and the data to be measured, determine the change relationship according to the focus positions of the measured camera modules in the measured data and the corresponding measured scale values, and determine the relationship between the data to be measured and the change The next motor position of the camera module to be tested. The measured data includes the focal position of one or more measured camera modules, the corresponding peak value of the modulation transfer function, and the corresponding measured ratio value. The data to be tested includes the motor position of the camera module to be tested, the corresponding modulation transfer function value, and the corresponding proportional value to be tested. Each focus position means that there is a corresponding peak value of the modulation transfer function at the position to which the motor of the camera module under test drives the lens displacement. The measured scale value and the to-be-measured scale value are related to the area of the reference region in the captured image. The change relationship is the ratio of the lens shift change to the scale value change.

基於上述,依據本發明實施例的相機模組、對焦調整系統及對焦方法,可基於已測相機模組的已測資料在準焦位置與影像中參考區域的面積的變化關係決定待測相機模組的馬達移動位置。藉此,可減少反覆移動鏡頭及數值量測的次數,進而提升相機模組的生產效率。Based on the above, according to the camera module, the focus adjustment system, and the focus method according to the embodiments of the present invention, the camera module to be tested can be determined based on the change relationship between the focal position of the measured data of the measured camera module and the area of the reference area in the image. Motor movement position of the group. In this way, the number of times of repeatedly moving the lens and measuring the value can be reduced, thereby improving the production efficiency of the camera module.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and easy to understand, the following embodiments are given and described in detail with the accompanying drawings as follows.

圖2是依據本發明一實施例的對焦調整系統1的元件方塊圖。請參照圖2,對焦調整系統1包括(但不僅限於)運算裝置50及一台或更多台相機模組100。FIG. 2 is a block diagram of components of the focus adjustment system 1 according to an embodiment of the present invention. Referring to FIG. 2 , the focus adjustment system 1 includes (but is not limited to) a computing device 50 and one or more camera modules 100 .

運算裝置50可以是桌上型電腦、筆記型電腦、伺服器、智慧型手機、平板電腦等電子裝置。運算裝置50包括(但不僅限於)處理器59。The computing device 50 may be an electronic device such as a desktop computer, a notebook computer, a server, a smart phone, and a tablet computer. The computing device 50 includes, but is not limited to, a processor 59 .

處理器59可以是中央處理單元(CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application-Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合。在一實施例中,處理器59用以執行運算裝置50的所有或部分作業。The processor 59 can be a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessors (Microprocessors), digital signal processors (DSPs), programmable controllers, Application-Specific Integrated Circuit (ASIC) or other similar components or a combination of the above components. In one embodiment, the processor 59 is used to execute all or part of the operations of the computing device 50 .

相機模組100包括(但不僅限於)鏡頭110、馬達130、馬達驅動電路150、影像感測器170及處理器190。相機模組100可用於手機、平板電腦、筆記型電腦、監視器或其他類型的相機。The camera module 100 includes (but is not limited to) a lens 110 , a motor 130 , a motor driving circuit 150 , an image sensor 170 and a processor 190 . The camera module 100 can be used in mobile phones, tablet computers, notebook computers, monitors or other types of cameras.

鏡頭110可能包括一塊或更多塊鏡片,且鏡片可以是由塑膠、玻璃或其他材料所製成。須說明的是,本發明實施例不限制鏡頭110的焦段、視角或其他規格。The lens 110 may include one or more lenses, and the lenses may be made of plastic, glass or other materials. It should be noted that the embodiment of the present invention does not limit the focal length, angle of view or other specifications of the lens 110 .

馬達130可以是音圈馬達(Voice Coil Motor,VCM)、壓電(piezoelectric)馬達、步進(step)馬達、超聲波馬達或其他類型的馬達。馬達130耦接鏡頭110,馬達130並用以驅動鏡頭110中的鏡片或鏡片組位移/移動。The motor 130 may be a voice coil motor (VCM), a piezoelectric (piezoelectric) motor, a step motor, an ultrasonic motor, or other types of motors. The motor 130 is coupled to the lens 110 , and the motor 130 is used to drive the lens or lens group in the lens 110 to displace/move.

馬達驅動電路150可以是數位類比轉換器(Digital-to-Analog Converter,DAC)、類比驅動器或其他馬達130支援的驅動器。馬達驅動電路150耦接馬達130,馬達驅動電路150並用以控制馬達130,進而控制鏡頭110移動。例如,透過改變馬達驅動電路150輸出至馬達130的電流,將改變鏡頭110相對於影像感測器170的位置。The motor driving circuit 150 may be a digital-to-analog converter (DAC), an analog driver, or other drivers supported by the motor 130 . The motor driving circuit 150 is coupled to the motor 130 , and the motor driving circuit 150 is used to control the motor 130 and then control the movement of the lens 110 . For example, by changing the current output from the motor driving circuit 150 to the motor 130 , the position of the lens 110 relative to the image sensor 170 will be changed.

影像感測器170可以是電荷耦合器件(Charge-Coupled Device,CCD)、互補式金屬氧化物半導體(Complementary Metal-Oxide-Semiconductor,CMOS)或其他感光元件。在一實施例中,影像感測器170用以反應於經由鏡頭110射入的光而取得光強度相關的感測資料。即,透過像素陣列擷取影像。The image sensor 170 may be a Charge-Coupled Device (CCD), a Complementary Metal-Oxide-Semiconductor (CMOS), or other photosensitive elements. In one embodiment, the image sensor 170 is used to obtain sensing data related to light intensity in response to the light incident through the lens 110 . That is, images are captured through the pixel array.

處理器190耦接馬達驅動電路150及影像感測器170。處理器59可以是中央處理單元,或是其他可程式化之一般用途或特殊用途的微處理器、數位信號處理器、影像訊號處理器(Image Signal Processor,ISP)、可程式化控制器、特殊應用積體電路或其他類似元件或上述元件的組合。在一實施例中,處理器190用以執行相機模組100的所有或部分作業。例如,處理器190基於影像感測器170的感測資料(例如,所擷取的影像)傳送訊號給馬達驅動電路150,使馬達130驅動鏡頭110位移。The processor 190 is coupled to the motor driving circuit 150 and the image sensor 170 . The processor 59 can be a central processing unit, or other programmable general-purpose or special-purpose microprocessors, digital signal processors, image signal processors (ISP), programmable controllers, special Application of integrated circuits or other similar elements or combinations of the above elements. In one embodiment, the processor 190 is used to execute all or part of the operations of the camera module 100 . For example, the processor 190 transmits a signal to the motor driving circuit 150 based on the sensing data (eg, the captured image) of the image sensor 170 , so that the motor 130 drives the lens 110 to move.

在一實施例中,運算裝置50與相機模組100整合成單一裝置。例如,處理器59與處理器190為同一者或經組態用於不同功能的兩者。在另一實施例中,運算裝置50與相機模組100可透過有線或無線通訊(例如,通用序列匯流排(Universal Serial Bus,USB)、I2C、或Wi-Fi)相互傳輸。In one embodiment, the computing device 50 and the camera module 100 are integrated into a single device. For example, processor 59 and processor 190 are the same or both configured for different functions. In another embodiment, the computing device 50 and the camera module 100 can communicate with each other through wired or wireless communication (eg, Universal Serial Bus (USB), I2C, or Wi-Fi).

下文中,將搭配對焦調整系統1中的各項元件及模組說明本發明實施例所述之方法。本方法的各個流程可依照實施情形而隨之調整,且並不僅限於此。Hereinafter, the method described in the embodiment of the present invention will be described in conjunction with various components and modules in the focus adjustment system 1 . Each process of the method can be adjusted according to the implementation situation, and is not limited to this.

圖3是依據本發明一實施例的對焦方法的流程圖。請參照圖3,處理器59或處理器190可取得已測資料及待測資料(步驟S610)。具體而言,已測資料包括一台或數台已測相機模組的準焦位置及調變傳遞函數(Modulation Transfer Function,MTF)峰值、及對應的已測比例值。FIG. 3 is a flowchart of a focusing method according to an embodiment of the present invention. Referring to FIG. 3, the processor 59 or the processor 190 can obtain the measured data and the data to be measured (step S610). Specifically, the measured data includes the focal position and modulation transfer function (Modulation Transfer Function, MTF) peak value of one or more measured camera modules, and the corresponding measured ratio values.

調變傳遞函數值越高,代表通過鏡頭110成像的結果越清晰。因此,調變傳遞函數峰值(即,調變傳遞函數的最高值)所對應馬達位置(對應於鏡頭110相對於影像感測器170的距離)可作為準焦位置。換句而言,準焦位置是指在對應已測相機模組的馬達130驅動其鏡頭110位移所至的位置有對應的調變傳遞函數峰值。調變傳遞函數峰值表示此已測相機模組在所有馬達位置對應的調變傳遞函數值中的最高者。而已測相機模組是指某一個相機模組100已經事先量測、找出調變傳遞函數峰值及其對應的準焦位置。須說明的是,本發明實施例不限制已測相機模組的數量。The higher the modulation transfer function value is, the clearer the result of imaging through the lens 110 is. Therefore, the motor position (corresponding to the distance of the lens 110 relative to the image sensor 170 ) corresponding to the peak value of the modulation transfer function (ie, the highest value of the modulation transfer function) can be used as the focus position. In other words, the on-focus position means that there is a corresponding modulation transfer function peak at the position to which the motor 130 of the camera module under test drives the lens 110 to move. The modulation transfer function peak value represents the highest value of the modulation transfer function corresponding to all motor positions of the camera module under test. The measured camera module refers to that a certain camera module 100 has been measured and found in advance to find the modulation transfer function peak and its corresponding quasi-focus position. It should be noted that the embodiment of the present invention does not limit the number of camera modules that have been tested.

調變傳遞函數值例如是影像感測器170所擷取的影像中所測得的最大光強度與最小光強度的差值與兩者的和值的比值,但不以此為限。The modulation transfer function value is, for example, the ratio of the difference between the maximum light intensity and the minimum light intensity measured in the image captured by the image sensor 170 and the sum of the two, but not limited thereto.

圖4是依據本發明一實施例的取得已測資料的流程圖。請參照圖4,針對即將成為已測相機模組的相機模組100,處理器59或處理器190可判斷已測相機模組的調變傳遞函數值是否到達細調門檻值(步驟S410)。一般而言,對焦流程區分為粗調及細調階段。細調階段的調變傳遞函數值應相較於粗調階段的調變傳遞函數值更接近調變傳遞函數峰值。細調門檻值可以是基於其他已測相機模組的調變傳遞函數峰值(已完成對焦流程)的統計指標(例如,平均值、中位數或眾數)的特定百分比(例如,百分之八十、七十五等)、或是基於相關人員的經驗法則或過往數據得出。FIG. 4 is a flow chart of obtaining measured data according to an embodiment of the present invention. Referring to FIG. 4 , for the camera module 100 that is about to be the tested camera module, the processor 59 or the processor 190 can determine whether the modulation transfer function value of the tested camera module reaches the fine tuning threshold (step S410 ). Generally speaking, the focusing process is divided into coarse adjustment and fine adjustment stages. The MTF value in the fine tuning stage should be closer to the MTF peak value than the MTF value in the coarse tuning stage. The fine-tuning threshold can be a specific percentage (eg, percent) of a statistical indicator (eg, mean, median, or mode) based on the modulation transfer function peak (completed focus process) of other tested camera modules Eighty, seventy-five, etc.), or based on a rule of thumb or past data from the relevant person.

若已測相機模組的調變傳遞函數值未到達細調門檻值,則尚未進入細調階段(即,維持在粗調階段),且處理器59或處理器190可透過馬達驅動電路150驅動馬達130,並據以改變鏡頭110位置。即,處理器59控制馬達130依據下一個馬達位置驅動鏡頭110。在粗調階段中,下一個馬達位置可能是與當前馬達位置相距特定距離(即,所決定的移動距離)的位置,並可視實際需求而變更(步驟S420)。在一些實施例中,馬達130的移動距離也可能相關於基於當前調變傳遞函數值的數學函數,但不以此為限。步驟S410及S420可能反覆進行,直到相機模組100的調變傳遞函數值到達(例如,大於或等於)細調門檻值。If the modulation transfer function value of the tested camera module does not reach the fine tuning threshold, it has not entered the fine tuning stage (ie, remains in the coarse tuning stage), and the processor 59 or the processor 190 can be driven by the motor driving circuit 150 The motor 130 changes the position of the lens 110 accordingly. That is, the processor 59 controls the motor 130 to drive the lens 110 according to the next motor position. In the coarse adjustment stage, the next motor position may be a position away from the current motor position by a specific distance (ie, the determined moving distance), and may be changed according to actual needs (step S420 ). In some embodiments, the moving distance of the motor 130 may also be related to a mathematical function based on the current modulation transfer function value, but is not limited thereto. Steps S410 and S420 may be repeated until the modulation transfer function value of the camera module 100 reaches (eg, is greater than or equal to) the fine tuning threshold.

若已測相機模組的調變傳遞函數值未到達細調門檻值,則進入細調階段,且處理器59或處理器190仍可透過馬達驅動電路150驅動馬達130,並據以改變鏡頭110位置。此外,處理器59或處理器190可記錄細調階段中各馬達位置對應的調變傳遞函數值及對應的已測比例值。If the modulation transfer function value of the measured camera module does not reach the fine tuning threshold, the fine tuning stage is entered, and the processor 59 or the processor 190 can still drive the motor 130 through the motor driving circuit 150 and change the lens 110 accordingly. Location. In addition, the processor 59 or the processor 190 can record the modulation transfer function value corresponding to each motor position in the fine adjustment stage and the corresponding measured ratio value.

已測比例值相關於影像感測器170所擷取影像中的參考區域的面積。舉例而言,圖5是依據本發明一實施例的決定比例值的示意圖。請參照圖5,假設鏡頭模組100所欲拍攝的目標位置上有目標圖案(以黑色方塊為例,但也可能是其他形狀或顏色,且不以此為限)。影像感測器170所擷取的影像包括目標圖案。處理器59或處理器190可將影像中的目標圖案作為參考區域RA,並決定影像中的參考區域RA的面積(例如,影像中所占像數(pixel)的數量、數量比例或以長度單位計量)。比例值即是參考區域RA的面積。而已測比例值是已測相機模組在特定的馬達位置所得出的參考區域RA的面積。在一些實施例中,比例值也可能是參考區域RA的面積再經特定數學函數轉換所得的值,但不以此為限。The measured scale value is related to the area of the reference region in the image captured by the image sensor 170 . For example, FIG. 5 is a schematic diagram of determining a ratio value according to an embodiment of the present invention. Referring to FIG. 5 , it is assumed that the target position to be photographed by the lens module 100 has a target pattern (take a black square as an example, but other shapes or colors are also possible, and not limited thereto). The image captured by the image sensor 170 includes the target pattern. The processor 59 or the processor 190 can use the target pattern in the image as the reference area RA, and determine the area of the reference area RA in the image (for example, the number of pixels occupied in the image, the ratio of the number, or the unit of length). metering). The scale value is the area of the reference area RA. The measured scale value is the area of the reference area RA obtained by the measured camera module at a specific motor position. In some embodiments, the ratio value may also be a value obtained by converting the area of the reference region RA through a specific mathematical function, but it is not limited thereto.

各比例值是用於確認鏡頭110與待測物的相對位置(或是相對距離),並進而得知馬達位置(或是鏡頭110相對於影像感測器170的位置)。Each ratio value is used to confirm the relative position (or relative distance) of the lens 110 and the object to be measured, and then to know the position of the motor (or the position of the lens 110 relative to the image sensor 170 ).

此外,在一實施例中,已測資料中的調變傳遞函數值可以是所擷取的影像中的中心區域CP所測得的調變傳遞函數值。在另一實施例中,已測資料中的調變傳遞函數值可以是所擷取的影像中的四角區域CP(以左上角為例,但可能是其他位置)所測得的調變傳遞函數值。在一些實施例中,已測資料中的調變傳遞函數值可以所擷取的影像中任一位置所測得的調變傳遞函數值或多個位置的調變傳遞函數值的統計指標(例如,平均值、中位數或眾數)。In addition, in one embodiment, the modulation transfer function value in the measured data may be the modulation transfer function value measured in the central region CP in the captured image. In another embodiment, the modulation transfer function value in the measured data may be the modulation transfer function measured at the four-corner region CP (take the upper left corner as an example, but may be other positions) in the captured image value. In some embodiments, the MTF value in the measured data can be the MTF value measured at any position in the captured image or a statistical indicator of the MTF values at multiple positions (eg, , mean, median or mode).

處理器59或處理器190可收集細調階段中各馬達位置所對應的調變傳遞函數值,據以形成且取得調焦曲線(步驟S430)。舉例而言,圖6A及圖6B是依據本發明一實施例的完整曲線的示意圖。請參照圖6A,假設某一台已測相機模組在不同馬達位置下所測得的調變傳遞函數值TD如圖所示。請參照圖6B,處理器59或處理器190可基於已測得的調變傳遞函數值TD進行曲線擬合(Curve fitting),以決定調焦曲線FC。以調變傳遞函數值與馬達位置所形成的坐標系,調焦曲線FC可能由三次方或其他次方的方程式表示(例如,形成拋物線)。然而,方程式不限於三次方程式或多項式曲線,相關於數據的函數或其他幾何(geometric)擬合皆可適用於決定調焦曲線FC。The processor 59 or the processor 190 may collect the modulation transfer function values corresponding to each motor position in the fine-tuning stage to form and obtain the focus curve (step S430 ). For example, FIGS. 6A and 6B are schematic diagrams of complete curves according to an embodiment of the present invention. Referring to FIG. 6A , it is assumed that the modulation transfer function values TD measured by a certain camera module under different motor positions are as shown in the figure. Referring to FIG. 6B , the processor 59 or the processor 190 may perform curve fitting based on the measured modulation transfer function value TD to determine the focus curve FC. With the coordinate system formed by the modulation transfer function value and the motor position, the focus curve FC may be represented by a cubic or other power equation (eg, forming a parabola). However, the equation is not limited to a cubic equation or a polynomial curve, and a function or other geometric fit related to the data can be applied to determine the focus curve FC.

處理器59或處理器190可判斷基於當前收集的數據是否有完整曲線(步驟S440)。完整曲線的確定例如是調焦曲線FC與準焦位置(對應於調變傳遞函數峰值)的差異小於對應門檻值,或是調焦曲線FC通過調變傳遞函數峰值。若尚未有完整曲線,則處理器59或處理器190繼續決定相機模組100的馬達130的移動距離(即,決定下一個馬達)(步驟S450),直到形成完整曲線(即可結束)。The processor 59 or the processor 190 may determine whether there is a complete curve based on the currently collected data (step S440). The determination of the complete curve is, for example, that the difference between the focusing curve FC and the near-focus position (corresponding to the peak value of the modulation transfer function) is smaller than the corresponding threshold value, or the focusing curve FC passes through the peak value of the modulation transfer function. If there is no complete curve, the processor 59 or the processor 190 continues to determine the moving distance of the motor 130 of the camera module 100 (ie, determine the next motor) (step S450 ) until a complete curve is formed (that is, the end).

在一實施例中,當四角區域(例如,圖5所示的四角區域SP)有找到準焦位置時,處理器59或處理器190可記錄收集四角區域的所有相關數據(例如,已測比例值及調變傳遞函數值)。而取得完整曲線之後,處理器59或處理器190可記錄收集中心區域(例如,圖5所示的中心區域CP)的所有相關數據、及最佳清晰位置(即,準焦點)的比例值,進而將馬達130移動至清晰位置,從而完成調焦。在一些實施例中,處理器59或處理器190可僅針對中心區域的數據。In one embodiment, when the four-corner area (for example, the four-corner area SP shown in FIG. 5 ) has a focal position, the processor 59 or the processor 190 may record and collect all relevant data (for example, the measured ratio) of the four-corner area. value and modulation transfer function value). After the complete curve is obtained, the processor 59 or the processor 190 may record all relevant data of the collected central area (eg, the central area CP shown in FIG. 5 ), and the ratio value of the best clear position (ie, the quasi-focus), Then, the motor 130 is moved to the clear position, so as to complete the focusing. In some embodiments, processor 59 or processor 190 may only target data for the central region.

另一方面,待測資料包括待測相機模組的馬達位置、對應的調變傳遞函數值、及對應的待測比例值。待測相機模組是指當前進行對焦調整的某一個相機模組100(尚未決定或再次決定調變傳遞函數峰值及其對應的準焦位置)。當馬達130移動鏡頭110到指定位置時,相機模組100擷取影像,且處理器190或處理器59基於影像感測器170的感測資料(即,所擷取的影像)計算調變傳遞函數值及待測比例值,並據以將一對一的一組資料(即,馬達位置與此位置下透過鏡頭110成像所得的調變傳遞函數值及待測比例值)記錄在待測資料中。其中,待測比例值相關於待測相機模組在特定的馬達位置所得出的參考區域的面積。例如,圖5所示參考區域RA的面積。On the other hand, the data to be tested includes the motor position of the camera module to be tested, the corresponding modulation transfer function value, and the corresponding value of the ratio to be tested. The camera module to be tested refers to a certain camera module 100 currently undergoing focus adjustment (the peak value of the modulation transfer function and its corresponding quasi-focus position have not yet been determined or determined again). When the motor 130 moves the lens 110 to the designated position, the camera module 100 captures the image, and the processor 190 or the processor 59 calculates the modulation transfer based on the sensing data of the image sensor 170 (ie, the captured image) The function value and the scale value to be measured are recorded according to a one-to-one set of data (that is, the motor position and the modulation transfer function value and the scale value to be measured obtained by imaging through the lens 110 at this position) in the data to be measured middle. The scale value to be measured is related to the area of the reference area obtained by the camera module to be measured at a specific motor position. For example, the area of the reference region RA is shown in FIG. 5 .

處理器59或處理器190可依據該已測資料中的一台或更多台已測相機模組在準焦位置及對應的已測比例值決定變化關係(步驟S330)。具體而言,變化關係為鏡頭位移變化與比例值變化的比例。鏡頭位移變化為準焦位置與已測資料中的一個或更多個馬達位置中的一者的變化量。例如,準焦位置與另一馬達位置的數值差值。比例值變化為準焦位置對應的比例值與已測資料中的一個或更多個比例值(即,已測比例值)中的一者的變化量。例如,準焦位置的比例值與另一已測比例值的數值差異。變化關係可以是鏡頭位移變化除以比例值變化或其倒數。The processor 59 or the processor 190 may determine the variation relationship according to the focal position of one or more measured camera modules in the measured data and the corresponding measured scale values (step S330 ). Specifically, the change relationship is the ratio of the lens shift change to the scale value change. The lens shift change is the amount of change in one of the focal position and one or more motor positions in the measured data. For example, the numerical difference between the in-focus position and the position of another motor. The scale value change is the amount of change between the scale value corresponding to the focal position and one of one or more scale values in the measured data (ie, the measured scale value). For example, the numerical difference between the scale value of the in-focus position and another measured scale value. The change relationship can be the lens shift change divided by the scale value change or its reciprocal.

在一實施例中,處理器59或處理器190可將已測相機模組在其調變傳遞函數值超過細調門檻值後的一個或更多個細調馬達位置及對應的一個或更多個第二已測比例值作為可用數據。當然,已測資料已記錄這些細調馬達位置及對應的第二已測比例值(相關於對應細調馬達位置下所量測到影像中的參考區域的面積)。即,前述馬達位置包括細調馬達位置,且已測比例值包括第二已測比例值。處理器59或處理器190可依據那些細調馬達位置中的代表馬達位置及對應的代表比例值決定變化關係。鏡頭位移變化為代表馬達位置與準焦位置之間的差異,且比例值變化為代表比例值與已測比例值之間的差異。In one embodiment, the processor 59 or the processor 190 can compare the one or more fine motor positions and the corresponding one or more fine motor positions of the measured camera module after its modulation transfer function value exceeds the fine tuning threshold. A second measured scale value is available as data. Of course, the measured data has recorded these fine motor positions and the corresponding second measured scale values (corresponding to the area of the reference region in the measured image corresponding to the fine motor positions). That is, the aforementioned motor position includes the fine motor position, and the measured scale value includes the second measured scale value. The processor 59 or the processor 190 may determine the variation relationship according to the representative motor position and the corresponding representative scale value among those fine-tuned motor positions. The lens shift change is the difference between the representative motor position and the focus position, and the scale value change is the difference between the representative scale value and the measured scale value.

在一實施例中,代表馬達位置對應的調變傳遞函數值為那些細調馬達位置中的最小者或稱為細調階段的第一步的位置。舉例而言,表(1)是一顆已測相機模組的馬達130移動8個位置以及其對應的調變傳遞函數值: 表(1) 步數 馬達位置 調變傳遞函數值 已測比例值 位置變化 比例值變化 1 0 1.061 518.42 18490 -63.76 2 17176 47.362 460.05 1314 -5.39 3 18276 82.348 454.79 214 -0.13 4 18496 83.618 454.28 -6 0.38 5 18716 79.84 454.92 -226 -0.26 6 18936 82.137 453.95 -446 0.71 7 19156 81.278 453.15 -666 1.51 8 18490 83.878 454.66 0 0 In one embodiment, the modulation transfer function value representing the corresponding motor position is the smallest of those fine tuning motor positions or the position of the first step of the fine tuning phase. For example, Table (1) shows the motor 130 of a tested camera module moving 8 positions and its corresponding modulation transfer function values: Table (1) Step count Motor position Modulation transfer function value Measured scale value position change Scale value change 1 0 1.061 518.42 18490 -63.76 2 17176 47.362 460.05 1314 -5.39 3 18276 82.348 454.79 214 -0.13 4 18496 83.618 454.28 -6 0.38 5 18716 79.84 454.92 -226 -0.26 6 18936 82.137 453.95 -446 0.71 7 19156 81.278 453.15 -666 1.51 8 18490 83.878 454.66 0 0

假設細調門檻值為30,則步數為2~8所對應的馬達位置為細調馬達位置,且其已測比例值為第二已測比例值。此外,變化關係ScaleRatio 的數學表示式為:

Figure 02_image001
…(1) 其中,PeakPos 為準焦位置對應的調變傳遞函數峰值,FirstPos 為代表馬達位置(以其調變傳遞函數值大於細調門檻值的第一步的馬達位置為例,但在其他實施例可能是其他步數的馬達位置),PeakScale 為準焦位置對應已測比例值,且FirstScale 為代表馬達位置對應的已測比例值。由此可知,PeakPos-FirstPos 所得的值為鏡頭位移變化,且PeakScale-FirstScale 所得的值為比例值變化。Assuming that the fine adjustment threshold is 30, the motor positions corresponding to the steps of 2 to 8 are the fine adjustment motor positions, and the measured scale value is the second measured scale value. In addition, the mathematical expression of the variation relationship ScaleRatio is:
Figure 02_image001
…(1) Among them, PeakPos is the peak value of the modulation transfer function corresponding to the quasi-focus position, and FirstPos represents the motor position (for example, the motor position of the first step whose modulation transfer function value is greater than the fine adjustment threshold, but in other The embodiment may be motor positions of other steps), PeakScale is the measured scale value corresponding to the quasi-focus position, and FirstScale is the measured scale value corresponding to the motor position. It can be seen that the value obtained by PeakPos-FirstPos is the lens shift change, and the value obtained by PeakScale-FirstScale is the scale value change.

此外,表(1)中的位置變化為準焦位置與當前馬達位置的數值差異,且比例變化為準焦位置對應的已測比例值與當前馬達位置所測得的已測比例值的數值差異。In addition, the position change in Table (1) is the numerical difference between the quasi-focus position and the current motor position, and the scale change is the numerical difference between the measured scale value corresponding to the quasi-focus position and the measured scale value measured at the current motor position .

在另一實施例中,代表馬達位置可以是已測資料中的那些馬達位置中的其他者(即,不限於細調階段的第一步的位置)。In another embodiment, the representative motor position may be other of those motor positions in the measured data (ie, not limited to the position of the first step of the fine tuning phase).

在一實施例中,處理器59或處理器190可將那些細調馬達位置與準焦位置的相對距離依據對應的調變傳遞函數值分別分類到數個細調區間中的一者。相對距離例如是前述表(1)中的位置變化(即,準焦位置與當前馬達位置的數值差異)。In one embodiment, the processor 59 or the processor 190 can respectively classify the relative distances between the fine adjustment motor positions and the focal position into one of several fine adjustment intervals according to the corresponding modulation transfer function values. The relative distance is, for example, the position change in the aforementioned table (1) (ie, the numerical difference between the focus position and the current motor position).

在一實施例中,處理器59或處理器190將細調階段的那些已測資料依據其調變傳遞函數值等分切割成數個細調區間。例如,那些已測資料的調變傳遞函數值介於30~90之間,則細調區間的大小為4且可切割成15等分(形成15筆資料)。其中,第一筆資料為調變傳遞函數值為30所對應的數據,第二筆資料為調變傳遞函數值為34所對應的數據,其餘依此類推。在另一實施例中,細調區間的大小及變化(例如,可能不是等分)仍可依據實際需求而改變,且本發明實施例不加以限制。In one embodiment, the processor 59 or the processor 190 equally divides the measured data in the fine tuning stage into several fine tuning intervals according to their modulation transfer function values. For example, if the modulation transfer function value of the measured data is between 30 and 90, the size of the fine tuning interval is 4 and can be divided into 15 equal parts (to form 15 data). Among them, the first data is the data corresponding to the modulation transfer function value of 30, the second data is the data corresponding to the modulation transfer function value of 34, and so on. In another embodiment, the size and variation of the fine adjustment interval (for example, may not be divided equally) can still be changed according to actual needs, which is not limited by the embodiment of the present invention.

各細調區間對應於那些相對距離中的一者。處理器59或處理器190確認已測資料中的某一調變傳遞函數值對應的細調區間,並將這調變傳遞函數值映射至對應的細調區間。細調區間的編號Item_Index可由公式(2)得出: Item_Index = [(MTF-30)/Interval]…(2) MTF為調變傳遞函數值,且Interval為細調區間的大小(例如,4或其他數值)。Each fine tuning interval corresponds to one of those relative distances. The processor 59 or the processor 190 confirms the fine tuning interval corresponding to a certain modulation transfer function value in the measured data, and maps the modulation transfer function value to the corresponding fine tuning interval. The number Item_Index of the fine adjustment interval can be obtained from formula (2): Item_Index = [(MTF-30)/Interval]…(2) MTF is the modulation transfer function value, and Interval is the size of the fine tuning interval (eg, 4 or other values).

舉例而言,假設細調區間的大小為4,表(2)為細調區間的相對距離數據: 表(2) 編號 1 2 3 4 5 6 7 8 相對距離 2200 2090 1942.88 1813.08 1694 1592.21 1498.74 1336.22 編號 9 10 11 12 13 14 15   相對距離 1260.77 1135.96 980.041 844.475 605.798 291.335 144.354   假設準焦位置為2013.08。當細調馬達位置在200時,其調變傳遞函數值為49,而由公式(2)可得出將調變傳遞函數值帶入公式(2) 可得出[(49-30)/4]= 4。即,當調變傳遞函數值為49時,移動至準焦位置的相對距離為2013.08-200=1813.08。在編號4的細調區間填入1813.08的數值(如表(2)所示)。依此類推,處理器59或處理器190可將所有細調階段中的調變傳遞函數值分類到各編號的細調區間並記錄其相對距離(例如形成表(2))。For example, assuming that the size of the fine adjustment interval is 4, Table (2) is the relative distance data of the fine adjustment interval: Table (2) Numbering 1 2 3 4 5 6 7 8 relative distance 2200 2090 1942.88 1813.08 1694 1592.21 1498.74 1336.22 Numbering 9 10 11 12 13 14 15 relative distance 1260.77 1135.96 980.041 844.475 605.798 291.335 144.354 Suppose the focal position is 2013.08. When the fine motor position is at 200, its modulation transfer function value is 49, and from formula (2), it can be obtained that the modulation transfer function value is brought into formula (2) to obtain [(49-30)/4 ]=4. That is, when the modulation transfer function value is 49, the relative distance of moving to the focal position is 2013.08-200=1813.08. Fill in the value of 1813.08 in the fine adjustment interval of No. 4 (as shown in Table (2)). By analogy, processor 59 or processor 190 may classify the modulation transfer function values in all fine tuning stages into each numbered fine tuning interval and record their relative distances (eg, form table (2)).

舉例而言,圖7是依據本發明一實施例的調焦過程的調變傳遞函數值與馬達位置的關係圖。請參照圖7,假設已測資料中的馬達位置x為{0, 2200, 4400, 6600, 8800, 11000, 11110, 11220, 11330, 11440},且對應的調變傳遞函數值y(x)為{1.3184, 1.0017, 1.367, 2.2299, 11.6538, 69.2429, 72.0549, 73.5307, 73.5189, 72.9504}(即,馬達位置x對應的調變傳遞函數值)。For example, FIG. 7 is a diagram illustrating a relationship between a modulation transfer function value and a motor position in a focusing process according to an embodiment of the present invention. Referring to FIG. 7, it is assumed that the motor position x in the measured data is {0, 2200, 4400, 6600, 8800, 11000, 11110, 11220, 11330, 11440}, and the corresponding modulation transfer function value y(x) is {1.3184, 1.0017, 1.367, 2.2299, 11.6538, 69.2429, 72.0549, 73.5307, 73.5189, 72.9504} (that is, the modulation transfer function value corresponding to the motor position x).

圖8是依據本發明一實施例的調焦過程的已測比例值與馬達位置的關係圖。請參照圖8,假設馬達位置x與圖7相同,且對應的已測比例值z(x)為{472.91, 468, 460.78, 453.46, 446.18, 438.84, 438.25, 438, 437.44, 437.04}。8 is a graph showing the relationship between the measured scale value and the motor position in the focusing process according to an embodiment of the present invention. Referring to FIG. 8, it is assumed that the motor position x is the same as that of FIG. 7, and the corresponding measured scale value z(x) is {472.91, 468, 460.78, 453.46, 446.18, 438.84, 438.25, 438, 437.44, 437.04}.

此外,表(3)為10顆已測相機模組的所有調焦數據(須說明的是,表(3)所示數據僅作為範例說明,且對應於這些數據的已測相機模組不同於圖7及圖8的已測相機模組): 表(3) 準焦位置 準焦位置對應的已測比例值 調變傳遞函數峰值 代表馬達位置 代表比例值 代表馬達位置所對應的調變傳遞函數值 變化關係 17050 449.35 84.9901 15400 454.66 46.4455 -310.734 18260 453.58 86.5307 16500 459.17 43.3647 -314.848 15180 450.58 83.361 13200 457.54 38.1871 -284.483 15180 451.83 87.0328 13200 458.7 38.6606 -288.21 14410 450.21 84.6829 12650 455.64 43.1075 -324.125 14850 452.11 87.3083 13200 457.94 49.5041 -281.57 17160 453.14 87.7189 15400 458.88 47.6689 -306.62 16280 451.58 84.7532 14300 458.13 42.6817 -330.29 15840 452.95 87.4093 14300 457.61 46.8523 -330.472 16500 452.85 86.8734 14300 460.01 30.6997 -307.263 In addition, table (3) is all the focusing data of the 10 tested camera modules (it should be noted that the data shown in table (3) is only for illustration, and the tested camera modules corresponding to these data are different from The tested camera modules in Figure 7 and Figure 8): Table (3) Focus position The measured ratio value corresponding to the focal position Modulation transfer function peak represents the motor position represents the scale value Represents the modulation transfer function value corresponding to the motor position alternative relation 17050 449.35 84.9901 15400 454.66 46.4455 -310.734 18260 453.58 86.5307 16500 459.17 43.3647 -314.848 15180 450.58 83.361 13200 457.54 38.1871 -284.483 15180 451.83 87.0328 13200 458.7 38.6606 -288.21 14410 450.21 84.6829 12650 455.64 43.1075 -324.125 14850 452.11 87.3083 13200 457.94 49.5041 -281.57 17160 453.14 87.7189 15400 458.88 47.6689 -306.62 16280 451.58 84.7532 14300 458.13 42.6817 -330.29 15840 452.95 87.4093 14300 457.61 46.8523 -330.472 16500 452.85 86.8734 14300 460.01 30.6997 -307.263

處理器59或處理器190可決定這些調變傳遞函數峰值的峰值代表及變化關係的關係代表。在一實施例中,峰值代表為其平均值AvgValue: AvgValue= (

Figure 02_image003
)/n…(3) 其中,
Figure 02_image005
為調變傳遞函數峰值,n為那些已測相機模組的數量。以表(3)為例,峰值代表為(84.9901+86.5307+83.361+87.0328+84.6829+87.3083+87.7189+84.7532+87.4093+86.8734)/10=86.0661。 此外,關係代表為其平均值AvgScale_Ratio: AvgScale_Ratio=
Figure 02_image007
/n…(4) 其中,
Figure 02_image009
為變化關係(例如由公式(1)得出)。以表(3)為例,關係代表為(-310.734-314.848-284.483-288.21-324.125-281.57-306.62-302.29-330.472-307.263)/10=-305.062。The processor 59 or the processor 190 can determine the peak representation of these modulation transfer function peaks and the relationship representation of the variation relationship. In one embodiment, the peak is represented as its average AvgValue: AvgValue=(
Figure 02_image003
)/n…(3) where,
Figure 02_image005
is the peak modulation transfer function, and n is the number of those camera modules that have been tested. Taking Table (3) as an example, the peak value is (84.9901+86.5307+83.361+87.0328+84.6829+87.3083+87.7189+84.7532+87.4093+86.8734)/10=86.0661. Also, the relationship is represented by its mean AvgScale_Ratio: AvgScale_Ratio=
Figure 02_image007
/n…(4) where,
Figure 02_image009
is a variation relationship (eg derived from formula (1)). Taking Table (3) as an example, the relationship representation is (-310.734-314.848-284.483-288.21-324.125-281.57-306.62-302.29-330.472-307.263)/10=-305.062.

在另一實施例中,峰值代表可以是已測資料中的那些調變傳遞函數峰值的其他統計指標(例如,中位數、或眾數)或任一者,且關係代表可以是已測資料中的那些變化關係的其他統計指標(例如,中位數、或眾數)或任一者。In another embodiment, the peak representation may be other statistical indicators (eg, median, or mode) or any of those modulation transfer function peaks in the measured data, and the relational representation may be the measured data Other statistical measures of the relationship (eg, median, or mode) or any of those in the relationship.

處理器59或處理器190可依據待測資料與變化關係決定待測相機模組的下一馬達位置(步驟S350)。具體而言,圖9是依據本發明一實施例的調焦方法的流程圖。請參照圖9,針對待測相機模組,處理器59或處理器190可分析其變化關係(步驟S910)。與已測比例值相似,針對待測相機模組,處理器59或處理器190可基於其影像感測器170所擷取的影像中的目標圖案(如圖5所示的黑色方塊為例,但不以此為限),並基於目標圖案在影像中所對應的目標區域的面積計算待測比例值(例如,影像中所占像數(pixel)的數量、數量比例或以長度單位計量)。The processor 59 or the processor 190 can determine the next motor position of the camera module to be tested according to the data to be tested and the change relationship (step S350). Specifically, FIG. 9 is a flowchart of a focusing method according to an embodiment of the present invention. Referring to FIG. 9 , for the camera module to be tested, the processor 59 or the processor 190 can analyze the change relationship (step S910 ). Similar to the measured scale value, for the camera module to be tested, the processor 59 or the processor 190 can be based on the target pattern in the image captured by the image sensor 170 (the black square shown in FIG. 5 as an example, But not limited to this), and calculate the scale value to be measured based on the area of the target area corresponding to the target pattern in the image (for example, the number of pixels occupied in the image, the ratio of the number, or measured in length units) .

在一實施例中,處理器59或處理器190可對待測比例值與已測比例值的差異使用變化關係以取得下一馬達位置。具體而言,鏡頭位移變化(相關於準焦位置與其他馬達位置的數值差異)與比例值變化(相關於準焦位置對應的比例值與其他比例值的數值差異)的比例(即,變化關係)大致相同。因此,使用變化關係可預測準焦位置。而當前馬達位置與這下一馬達位置之間的數值差異與比例值變化(相關於下一馬達位置對應的已測比例值與當前馬達位置對應的未測比例值的數值差異)也應等於或接近基於已測資料所得出的變化關係。In one embodiment, the processor 59 or the processor 190 may use the variation relationship between the scale value to be measured and the scale value measured to obtain the next motor position. Specifically, the ratio of the lens shift change (the numerical difference between the focal position and other motor positions) and the scale value change (the numerical difference between the scale value corresponding to the focal position and other scale values) (that is, the change relationship ) are roughly the same. Therefore, the in-focus position can be predicted using the variation relationship. And the numerical difference and proportional value change between the current motor position and this next motor position (related to the numerical difference between the measured proportional value corresponding to the next motor position and the unmeasured proportional value corresponding to the current motor position) should also be equal to or close to the variation based on the measured data.

下一馬達位置Next_Pos可由公式(5)得出: Next_Pos = ((Peak_Scale – Current_Scale) * Scale_Ratio) + Current_Pos…(5) 其中,Peak_Scale為已測資料中的已測比例值的比例代表(例如,那些已測資料中的一個或更多個已測相機模組的準焦位置所對應的已測比例值的統計指標或其中的任一者),Current_Scale為待測相機模組的待測比例值,Scale_Ratio為已測資料中的一個或更多個已測相機模組的變化關係的關係代表,且Current_Pos為當前馬達位置。The next motor position Next_Pos can be derived from equation (5): Next_Pos = ((Peak_Scale – Current_Scale) * Scale_Ratio) + Current_Pos…(5) Wherein, Peak_Scale is the scale representation of the measured scale value in the measured data (for example, the statistical index of the measured scale value corresponding to the quasi-focus position of one or more measured camera modules in the measured data or Any of them), Current_Scale is the measured ratio value of the camera module to be tested, Scale_Ratio is the relationship representation of the change relationship of one or more tested camera modules in the measured data, and Current_Pos is the current motor position .

處理器59或處理器190可依據下一馬達位置透過控制馬達驅動電路150驅動馬達130移動至預測位置(即,預測有調變傳遞函數峰值的位置)(步驟S920),在這下一馬達位置透過影像感測器170擷取影像,並據以取得對應的調變傳遞函數值及待測比例值。The processor 59 or the processor 190 can drive the motor 130 to move to the predicted position (ie, the predicted position with the peak value of the modulation transfer function) by controlling the motor driving circuit 150 according to the next motor position (step S920 ). The image is captured by the image sensor 170, and the corresponding modulation transfer function value and the scale value to be measured are obtained accordingly.

處理器59或處理器190可判斷當前馬達位置所對應的調變傳遞函數值是否到達細調門檻值(可能相同於或不同於已測資料所用的細調門檻值)。若當前的調變傳遞函數值未到達細調門檻值,則維持粗調階段,且處理器59或處理器190可再次使用變化關係及當前馬達位置所對應的待測比例值決定下一馬達位置。The processor 59 or the processor 190 can determine whether the modulation transfer function value corresponding to the current motor position reaches the fine tuning threshold (which may be the same as or different from the fine tuning threshold used for the measured data). If the current MTF value does not reach the fine adjustment threshold, the coarse adjustment stage is maintained, and the processor 59 or the processor 190 can again use the variation relationship and the measured proportional value corresponding to the current motor position to determine the next motor position .

若當前的調變傳遞函數值已達到細調門檻值(例如,待測相機模組的馬達位置所對應的調變傳遞函數值大於或等於細調門檻值),則進入細調階段,且處理器59或處理器190可取得當前調變傳遞函數值所屬的細調區間所對應的相對距離(步驟S930)。細調區間的切割方式可參照前述說明,且於此不再贅述。處理器59或處理器190可利用公式(2)得出當前調變傳遞函數值所屬的細調區間的編號,並依據已測資料中所屬的細調區間所對應的相對距離(如表(2)所示)。在細調階段中,處理器59或處理器190可依據這相對距離決定下一馬達位置而不使用變化關係。即,下一馬達位置為當前馬達位置與相對距離的和值。以表(2)為例,假設當前調變傳遞函數值屬於編號5,且當前馬達位置為18000,則下一馬達位置為18000+1694=19694。If the current modulation transfer function value has reached the fine tuning threshold (for example, the modulation transfer function value corresponding to the motor position of the camera module to be tested is greater than or equal to the fine tuning threshold), the fine tuning stage is entered, and processing is performed. The device 59 or the processor 190 can obtain the relative distance corresponding to the fine tuning interval to which the current modulation transfer function value belongs (step S930 ). For the cutting method of the fine adjustment interval, reference may be made to the foregoing description, and details are not repeated here. The processor 59 or the processor 190 can use the formula (2) to obtain the number of the fine adjustment interval to which the current modulation transfer function value belongs, and according to the relative distance corresponding to the fine adjustment interval in the measured data (as shown in Table (2). ) shown). During the fine-tuning phase, the processor 59 or the processor 190 can determine the next motor position based on the relative distance without using a variation relationship. That is, the next motor position is the sum of the current motor position and the relative distance. Taking Table (2) as an example, assuming that the current modulation transfer function value belongs to number 5, and the current motor position is 18000, the next motor position is 18000+1694=19694.

前述各馬達位置所得的調變傳遞函數值及待測比例值皆可作為待測資料,處理器59或處理器190可判斷當前的待測資料是否有完整曲線(步驟S940)。與步驟S440相似地,完整曲線的確定例如是待測資料中的馬達位置與一個或更多個調變傳遞函數值所形成的調焦曲線與準焦位置(對應於調變傳遞函數峰值)的差異小於對應門檻值,或是調焦曲線通過調變傳遞函數峰值。The modulation transfer function value and the ratio value to be measured obtained from the aforementioned motor positions can be used as the data to be measured, and the processor 59 or the processor 190 can determine whether the current data to be measured has a complete curve (step S940 ). Similar to step S440, the determination of the complete curve is, for example, the difference between the focus curve formed by the motor position and one or more modulation transfer function values in the data to be measured and the quasi-focus position (corresponding to the modulation transfer function peak value). The difference is less than the corresponding threshold value, or the focus curve passes through the modulation transfer function peak.

若尚未有完整曲線,則處理器59或處理器190繼續決定相機模組100的馬達130的移動距離(即,決定下一馬達)(步驟S930),直到形成完整曲線(即是找到這待測相機模組的準焦位置)。此時,代表馬達130可移動至清晰位置(即,準焦位置)(步驟S950),並據以完成調焦(步驟S960)。If there is no complete curve yet, the processor 59 or the processor 190 continues to determine the moving distance of the motor 130 of the camera module 100 (ie, determine the next motor) (step S930 ), until a complete curve is formed (ie, the test to be tested is found) the focal position of the camera module). At this time, the representative motor 130 can be moved to the clear position (ie, the focus position) (step S950 ), and the focusing is completed accordingly (step S960 ).

綜上所述,在本發明實施例的相機模組、對焦調整系統及對焦方法中,收集已測相機模組的已測資料,並得出與鏡頭位移變化與比例值變化相關的變化關係及與準焦位置的相對距離。這變化關係及相對距離可用於估測準焦位置,進而調焦流程快速進行。To sum up, in the camera module, focus adjustment system, and focus method according to the embodiments of the present invention, the measured data of the measured camera module are collected, and the change relationship related to the change of the lens displacement and the change of the scale value and The relative distance from the focus position. The changing relationship and relative distance can be used to estimate the focus position, so that the focus adjustment process can be performed quickly.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The protection scope of the present invention shall be determined by the scope of the appended patent application.

C:相機 DoF:景深 O:物體 1:對焦調整系統 50:運算裝置 59:處理器 100:相機模組 110:鏡頭 130:馬達 150:馬達驅動電路 170:影像感測器 190:處理器 S310~S350、S410~S450、S910~S960:步驟 RA:參考區域 SP:四角區域 CP:中心區域 TD:調變傳遞函數值 FC:調焦曲線C: camera DoF: Depth of Field O: object 1: Focus adjustment system 50: Computing device 59: Processor 100: Camera Module 110: Lens 130: Motor 150: Motor drive circuit 170: Image Sensor 190: Processor S310~S350, S410~S450, S910~S960: Steps RA: Reference area SP: Four Corners Area CP: Central area TD: Modulation transfer function value FC: focus curve

圖1是相機的景深的示意圖。 圖2是依據本發明一實施例的對焦調整系統的元件方塊圖。 圖3是依據本發明一實施例的對焦方法的流程圖。 圖4是依據本發明一實施例的取得已測資料的流程圖。 圖5是依據本發明一實施例的決定比例值的示意圖。 圖6A及圖6B是依據本發明一實施例的完整曲線的示意圖。 圖7是依據本發明一實施例的調焦過程的調變傳遞函數(Modulation Transfer Function,MTF)值與馬達位置的關係圖。 圖8是依據本發明一實施例的調焦過程的已測比例值與馬達位置的關係圖。 圖9是依據本發明一實施例的調焦方法的流程圖。Figure 1 is a schematic diagram of the depth of field of a camera. FIG. 2 is a block diagram of components of a focus adjustment system according to an embodiment of the present invention. FIG. 3 is a flowchart of a focusing method according to an embodiment of the present invention. FIG. 4 is a flow chart of obtaining measured data according to an embodiment of the present invention. FIG. 5 is a schematic diagram of determining a scale value according to an embodiment of the present invention. 6A and 6B are schematic diagrams of complete curves according to an embodiment of the present invention. 7 is a diagram illustrating a relationship between a Modulation Transfer Function (MTF) value and a motor position in a focusing process according to an embodiment of the present invention. 8 is a graph showing the relationship between the measured scale value and the motor position in the focusing process according to an embodiment of the present invention. FIG. 9 is a flowchart of a focusing method according to an embodiment of the present invention.

S310~S350:步驟 S310~S350: Steps

Claims (14)

一種對焦方法,包括:取得一已測資料及一待測資料,其中該已測資料包括多個已測相機模組的準焦位置、對應的調變傳遞函數(Modulation Transfer Function,MTF)峰值及對應的已測比例值,該待測資料包括一待測相機模組的馬達位置、對應的調變傳遞函數值、及對應的待測比例值,每一該準焦位置是指在對應該已測相機模組的馬達驅動其鏡頭位移所至的位置有對應的該調變傳遞函數峰值,且該已測比例值及該待測比例值相關於所擷取影像中的一參考區域的面積;依據該已測資料中的該些已測相機模組在該準焦位置及對應的該已測比例值決定一變化關係,其中該變化關係為一鏡頭位移變化與一比例值變化的比例;以及依據該待測資料與該變化關係決定該待測相機模組的下一馬達位置。 A focusing method includes: obtaining a measured data and a to-be-measured data, wherein the measured data includes the quasi-focus positions of a plurality of measured camera modules, the corresponding modulation transfer function (Modulation Transfer Function, MTF) peak value and The corresponding measured scale value, the data to be measured includes the motor position of a camera module to be measured, the corresponding modulation transfer function value, and the corresponding measured scale value, each of the quasi-focus positions refers to the corresponding The position to which the motor of the camera module drives the displacement of its lens corresponds to the peak value of the modulation transfer function, and the measured scale value and the to-be-measured scale value are related to the area of a reference area in the captured image; determining a change relationship according to the measured camera modules in the quasi-focus position and the corresponding measured scale value in the measured data, wherein the change relationship is a ratio of a lens shift change to a scale value change; and The next motor position of the camera module to be tested is determined according to the data to be tested and the changing relationship. 如請求項1所述的對焦方法,其中該已測資料更記錄該些已測相機模組在其調變傳遞函數值超過一細調門檻值後的多個細調馬達位置及對應的多個第二已測比例值,且依據該已測資料中的該些已測相機模組在該準焦位置及對應的該已測比例值決定該變化關係的步驟包括:依據該些細調馬達位置中的一代表馬達位置及對應的一代表比例值決定該變化關係,其中該鏡頭位移變化為該代表馬達位置與該準焦位置之間的差異,且該比例值變化為該代表比例值與該 已測比例值之間的差異。 The focusing method as claimed in claim 1, wherein the measured data further records a plurality of fine motor positions and a plurality of corresponding fine motor positions of the measured camera modules after their modulation transfer function values exceed a fine adjustment threshold The second measured scale value, and the step of determining the variation relationship according to the measured camera modules in the quasi-focus position and the corresponding measured scale value in the measured data includes: according to the fine adjustment motor positions A representative motor position and a corresponding representative scale value of , determine the change relationship, wherein the lens displacement change is the difference between the representative motor position and the focal position, and the scale value change is the representative scale value and the The difference between the measured scale values. 如請求項2所述的對焦方法,其中該代表馬達位置對應的調變傳遞函數值為該些細調馬達位置中的最小者。 The focusing method of claim 2, wherein the modulation transfer function value corresponding to the representative motor position is the smallest of the fine motor positions. 如請求項1所述的對焦方法,其中依據該待測資料與該變化關係決定該待測相機模組的該下一馬達位置的步驟包括:對該待測比例值與該已測比例值的差異使用該變化關係以取得該下一馬達位置。 The focusing method according to claim 1, wherein the step of determining the next motor position of the camera module to be tested according to the data to be tested and the changing relationship comprises: a difference between the scale value to be measured and the scale value that has been measured The difference uses the variation to obtain the next motor position. 如請求項2所述的對焦方法,更包括:將該些細調馬達位置與該準焦位置的相對距離依據對應的該調變傳遞函數值分別分類到多個細調區間中的一者,其中每一該細調區間對應於一該相對距離。 The focusing method of claim 2, further comprising: classifying the relative distances between the fine adjustment motor positions and the quasi-focus position into one of a plurality of fine adjustment intervals according to the corresponding modulation transfer function value, wherein Each of the fine tuning intervals corresponds to one of the relative distances. 如請求項5所述的對焦方法,其中依據該待測資料與該變化關係決定該待測相機模組的該下一馬達位置的步驟包括:依據該調變傳遞函數值所屬的一該細調區間所對應的該相對距離決定該下一馬達位置,其中該待測相機模組的馬達位置所對應的該調變傳遞函數值大於該細調門檻值。 The focusing method according to claim 5, wherein the step of determining the next motor position of the camera module to be tested according to the data to be tested and the change relationship comprises: according to the fine tuning of the modulation transfer function value to which the value of the modulation transfer function belongs. The relative distance corresponding to the interval determines the next motor position, wherein the modulation transfer function value corresponding to the motor position of the camera module to be tested is greater than the fine adjustment threshold value. 一種對焦調整系統,包括:一處理器,經配置用以:取得一已測資料及一待測資料,其中該已測資料包括多個已測相機模組的準焦位置、對應的調變傳遞函數峰值及對應的已測比例值,該待測資料包括一待測相機模組的馬達位置、對應的調變傳遞函數值、及對應的待測比例值,每一該準焦位置是指在對 應該已測相機模組的馬達驅動其鏡頭位移所至的位置有對應的該調變傳遞函數峰值,且該已測比例值及該待測比例值相關於所擷取影像中的一參考區域的面積;依據該已測資料中的該些已測相機模組在該準焦位置及對應的該已測比例值決定一變化關係,其中該變化關係為一鏡頭位移變化與一比例值變化的比例;以及依據該待測資料與該變化關係決定該待測相機模組的下一馬達位置。 A focus adjustment system, comprising: a processor configured to: obtain a measured data and a to-be-measured data, wherein the measured data includes the quasi-focus positions of a plurality of measured camera modules and the corresponding modulation transfer The peak value of the function and the corresponding measured scale value, the data to be measured includes the motor position of a camera module to be measured, the corresponding modulation transfer function value, and the corresponding measured scale value, each of the quasi-focus positions refers to the right There should be a corresponding peak value of the modulation transfer function at the position to which the motor of the measured camera module drives its lens displacement, and the measured scale value and the to-be-measured scale value are related to a reference area in the captured image. area; a variation relationship is determined according to the measured camera modules in the quasi-focus position and the corresponding measured scale value in the measured data, wherein the change relationship is a ratio of a lens shift change to a scale value change ; and determine the next motor position of the camera module to be tested according to the data to be tested and the changing relationship. 如請求項7所述的對焦調整系統,其中該已測資料更記錄該些已測相機模組在其調變傳遞函數值超過一細調門檻值後的多個細調馬達位置及對應的多個第二已測比例值,且該處理器更經配置用以:依據該些細調馬達位置中的一代表馬達位置及對應的一代表比例值決定該變化關係,其中該鏡頭位移變化為該代表馬達位置與該準焦位置之間的差異,且該比例值變化為該代表比例值與該已測比例值之間的差異。 The focus adjustment system as claimed in claim 7, wherein the measured data further records a plurality of fine-adjustment motor positions and corresponding multiples of the measured camera modules after their modulation transfer function values exceed a fine-adjustment threshold. a second measured scale value, and the processor is further configured to: determine the variation relationship according to a representative motor position and a corresponding representative scale value among the fine-tuning motor positions, wherein the lens shift variation is the representative The difference between the motor position and the focal position, and the scale value change is the difference between the representative scale value and the measured scale value. 如請求項8所述的對焦調整系統,其中該代表馬達位置對應的調變傳遞函數值為該些細調馬達位置中的最小者。 The focus adjustment system of claim 8, wherein the modulation transfer function value corresponding to the representative motor position is the smallest of the fine motor positions. 如請求項7所述的對焦調整系統,其中該處理器更經配置用以:對該待測比例值與該已測比例值的差異使用該變化關係以取得該下一馬達位置。 The focus adjustment system of claim 7, wherein the processor is further configured to: obtain the next motor position using the variation relationship for the difference between the measured scale value and the measured scale value. 如請求項8所述的對焦調整系統,其中該處理器更經配置用以:將該些細調馬達位置與該準焦位置的相對距離依據對應的該調變傳遞函數值分別分類到多個細調區間中的一者,其中每一該細調區間對應於一該相對距離。 The focus adjustment system of claim 8, wherein the processor is further configured to: classify the relative distances between the fine adjustment motor positions and the quasi-focus position into a plurality of fine adjustment motor positions according to the corresponding modulation transfer function values. one of the pitch intervals, wherein each of the fine pitch intervals corresponds to one of the relative distances. 如請求項11所述的對焦調整系統,其中該處理器更經配置用以:依據該調變傳遞函數值所屬的一該細調區間所對應的該相對距離決定該下一馬達位置,其中該待測相機模組的馬達位置所對應的該調變傳遞函數值大於該細調門檻值。 The focus adjustment system of claim 11, wherein the processor is further configured to: determine the next motor position according to the relative distance corresponding to a fine adjustment interval to which the modulation transfer function value belongs, wherein the The modulation transfer function value corresponding to the motor position of the camera module to be tested is greater than the fine adjustment threshold value. 如請求項7所述的對焦調整系統,更包括:該待測相機模組,包括:該鏡頭;該馬達,耦接該鏡頭,並用以依據該下一馬達位置驅動該鏡頭;以及一影像感測器,其中該處理器依據該影像感測器所擷取的影像取得該下一馬達位置對應的調變傳遞函數值及對應的待測比例值,以作為另一待測資料。 The focus adjustment system of claim 7, further comprising: the camera module to be tested, comprising: the lens; the motor coupled to the lens and used to drive the lens according to the next motor position; and an image sensor a measuring device, wherein the processor obtains the modulation transfer function value corresponding to the next motor position and the corresponding measured scale value according to the image captured by the image sensor, as another data to be measured. 一種相機模組,包括:一鏡頭;一馬達,耦接該鏡頭,並用以驅動該鏡頭位移;一馬達驅動電路,耦接該馬達,並用以控制該馬達; 一影像感測器,用以擷取影像,以及一處理器,耦接該馬達驅動電路及該影像感測器,並經配置用以:取得一已測資料及一待測資料,其中該已測資料包括多個已測相機模組的準焦位置、對應的調變傳遞函數峰值及對應的已測比例值,該待測資料包括一待測相機模組的馬達位置、對應的調變傳遞函數值、及對應的待測比例值,每一該準焦位置是指在對應該已測相機模組的馬達驅動其鏡頭位移所至的位置有對應的該調變傳遞函數峰值,且該已測比例值及該待測比例值相關於所擷取影像中的一參考區域的面積;依據該已測資料中的該些已測相機模組在該準焦位置及對應的該已測比例值決定一變化關係,其中該變化關係為一鏡頭位移變化與一比例值變化的比例;以及依據該待測資料與該變化關係決定該待測相機模組的下一馬達位置。 A camera module includes: a lens; a motor, coupled to the lens, and used to drive the lens to move; a motor drive circuit, coupled to the motor, and used to control the motor; an image sensor for capturing images, and a processor, coupled to the motor driving circuit and the image sensor, and configured to: obtain a measured data and a to-be-measured data, wherein the measured data The measured data includes the focal positions of a plurality of tested camera modules, the corresponding modulation transfer function peaks, and the corresponding measured ratio values. The data to be tested includes the motor position of a camera module to be tested, the corresponding modulation transfer function The function value and the corresponding scale value to be measured, each of the focal positions refers to the corresponding peak value of the modulation transfer function at the position to which the motor of the camera module under test drives the lens displacement, and the The measured scale value and the to-be-measured scale value are related to the area of a reference area in the captured image; according to the measured data, the measured camera modules are at the quasi-focus position and the corresponding measured scale value determining a change relationship, wherein the change relationship is a ratio of a lens displacement change to a proportional value change; and determining the next motor position of the camera module to be tested according to the data to be tested and the change relationship.
TW110121428A 2021-06-11 2021-06-11 Camera module, focus adjustment system and focusing method TWI774418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110121428A TWI774418B (en) 2021-06-11 2021-06-11 Camera module, focus adjustment system and focusing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110121428A TWI774418B (en) 2021-06-11 2021-06-11 Camera module, focus adjustment system and focusing method

Publications (2)

Publication Number Publication Date
TW202136894A TW202136894A (en) 2021-10-01
TWI774418B true TWI774418B (en) 2022-08-11

Family

ID=79601012

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110121428A TWI774418B (en) 2021-06-11 2021-06-11 Camera module, focus adjustment system and focusing method

Country Status (1)

Country Link
TW (1) TWI774418B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5115262A (en) * 1990-04-25 1992-05-19 Olympus Optical Co., Ltd. Auto-focusing apparatus
CN101510040A (en) * 2008-02-14 2009-08-19 株式会社尼康 Image processing device, imaging device, and medium storing image processing program
CN103458261A (en) * 2013-09-08 2013-12-18 华东电网有限公司 Video scene variation detection method based on stereoscopic vision
JP5523143B2 (en) * 2010-02-25 2014-06-18 オリンパスイメージング株式会社 Imaging apparatus and automatic focusing method
TW201504740A (en) * 2013-07-19 2015-02-01 Htc Corp Image processing device and method for controlling the same
US20150316833A1 (en) * 2014-05-01 2015-11-05 Canon Kabushiki Kaisha Focus adjustment device, method for controlling the same, and image capture apparatus
CN106686308A (en) * 2016-12-28 2017-05-17 平安科技(深圳)有限公司 Image focal length detection method and device
CN107147849A (en) * 2017-05-25 2017-09-08 潍坊科技学院 A method for controlling a photographic device
CN110266938A (en) * 2018-12-27 2019-09-20 全球能源互联网研究院有限公司 Intelligent shooting method and device for substation equipment based on deep learning

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5115262A (en) * 1990-04-25 1992-05-19 Olympus Optical Co., Ltd. Auto-focusing apparatus
CN101510040A (en) * 2008-02-14 2009-08-19 株式会社尼康 Image processing device, imaging device, and medium storing image processing program
JP5523143B2 (en) * 2010-02-25 2014-06-18 オリンパスイメージング株式会社 Imaging apparatus and automatic focusing method
TW201504740A (en) * 2013-07-19 2015-02-01 Htc Corp Image processing device and method for controlling the same
CN103458261A (en) * 2013-09-08 2013-12-18 华东电网有限公司 Video scene variation detection method based on stereoscopic vision
US20150316833A1 (en) * 2014-05-01 2015-11-05 Canon Kabushiki Kaisha Focus adjustment device, method for controlling the same, and image capture apparatus
CN106686308A (en) * 2016-12-28 2017-05-17 平安科技(深圳)有限公司 Image focal length detection method and device
CN107147849A (en) * 2017-05-25 2017-09-08 潍坊科技学院 A method for controlling a photographic device
CN110266938A (en) * 2018-12-27 2019-09-20 全球能源互联网研究院有限公司 Intelligent shooting method and device for substation equipment based on deep learning

Also Published As

Publication number Publication date
TW202136894A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN107888819A (en) A kind of auto focusing method and device
CN101950116B (en) Video automatic focusing method applied to multi-main-body scene
JP2011191568A (en) Imaging device, display method and program
TWI392852B (en) Portable electric device using auto focus for distance measurement and distance measuring method using the same
CN116156321B (en) A focusing method, device, equipment and storage medium
US9900493B2 (en) Focus detecting apparatus, and method of prediction for the same
CN117278851A (en) Focusing method, equipment and storage medium applied to monitoring equipment
TWI245556B (en) Autofocus control method, autofocus controller, and image processor
CN104864810A (en) Digital measuring method and device thereof
CN103809348B (en) Auto focus method applied to camera module
CN116182786B (en) Monocular vision ranging method, camera and medium
US20230177711A1 (en) Distance measurement apparatus, distance detection technique, and imaging apparatus
US7912314B2 (en) Method to evaluate contrast value for an image and applications thereof
TWI774418B (en) Camera module, focus adjustment system and focusing method
CN106154688A (en) A kind of method and device of auto-focusing
JP2013246052A (en) Distance measuring apparatus
JP6642998B2 (en) Image shift amount calculating apparatus, imaging apparatus, and image shift amount calculating method
KR101032174B1 (en) Auto Focus Method
CN113242387B (en) Camera module, focusing adjustment system and focusing method
CN113114905B (en) Camera module, focusing adjustment system and focusing method
TW201441713A (en) Image sensor, electric device and focusing method thereof
TWI780665B (en) Camera module, focus adjustment system, and focusing method
JP2013061560A (en) Distance measuring device, and imaging device
JP6615258B2 (en) Control device, imaging device, control method, program, and storage medium
CN100559255C (en) The image capture unit of automatic focusing method and use said method