CN105227835A - A kind of assisted focused method and apparatus - Google Patents

A kind of assisted focused method and apparatus Download PDF

Info

Publication number
CN105227835A
CN105227835A CN201510579648.3A CN201510579648A CN105227835A CN 105227835 A CN105227835 A CN 105227835A CN 201510579648 A CN201510579648 A CN 201510579648A CN 105227835 A CN105227835 A CN 105227835A
Authority
CN
China
Prior art keywords
zoom
focus
object distance
laser
laser light
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201510579648.3A
Other languages
Chinese (zh)
Other versions
CN105227835B (en
Inventor
肖亮
阙步军
苏树清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201510579648.3A priority Critical patent/CN105227835B/en
Publication of CN105227835A publication Critical patent/CN105227835A/en
Application granted granted Critical
Publication of CN105227835B publication Critical patent/CN105227835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Focusing (AREA)
  • Optical Radar Systems And Details Thereof (AREA)
  • Measurement Of Optical Distance (AREA)

Abstract

一种辅助聚焦方法,该方法应用于摄像机,该方法包括:步骤A、对目标物发射激光,并接收反射回来的激光,根据所述激光的发射及接收的时间差,计算物距,该步骤执行n次,计算得到n个物距;步骤B、依据上述n个物距,下发n条对应的变倍聚焦跟随曲线,并进行相应的图像清晰度测试;选择具有最高图像清晰度评价值所对应的物距作为最优物距;步骤C、下发所述最优物距对应的变倍聚焦跟随曲线,根据该变倍聚焦跟随曲线进行自动聚焦。本发明的辅助聚焦方法利用激光精准测距,能够快速下发更精确的变倍聚焦跟随曲线,使得聚焦更快更清晰。

An auxiliary focusing method, the method is applied to a camera, and the method includes: step A, emit laser light on the target object, and receive the reflected laser light, and calculate the object distance according to the time difference between the emission and reception of the laser light, and perform this step n times, n object distances are calculated; step B, according to the above n object distances, issue n corresponding zoom focus follow curves, and perform corresponding image definition tests; select the one with the highest image definition evaluation value The corresponding object distance is taken as the optimal object distance; step C, delivering the zoom-focus following curve corresponding to the optimal object distance, and performing automatic focusing according to the zoom-focus following curve. The auxiliary focusing method of the present invention utilizes laser precise distance measurement, and can quickly issue a more accurate zooming focus tracking curve, making focusing faster and clearer.

Description

一种辅助聚焦方法和装置An auxiliary focusing method and device

技术领域technical field

本发明涉及一种聚焦方法和装置,尤其涉及一种辅助聚焦方法和装置。The present invention relates to a focusing method and device, in particular to an auxiliary focusing method and device.

背景技术Background technique

高清一体化摄像机在变倍过程中会进行变焦操作,为了保持聚焦面与感光元件共面,必须使聚焦镜头跟随变焦镜头的移动而实时移动。为此,可以使聚焦镜头根据变倍跟随曲线进行移动。变倍跟随曲线代表在一定物距下,变倍位置(即控制变焦镜头移动的变焦电机位置)和聚焦位置(即控制聚焦镜头移动的聚焦电机位置)之间的映射关系。不同物距对应着不同的变倍跟随曲线。目前摄像机的自动聚焦方法大多采用软件估算物距而后下发变倍聚焦跟随曲线。这种处理方式一方面,估算值与实际物距会有一定的误差,下发的变倍聚焦跟随曲线不一定正确,使图像不一定能够聚焦在最清晰位置上;另一方面,在聚焦过程中,软件估算是通过FV值(FocusValue,图像清晰度描述值)来判定图像清晰度;在系统产生延时的情况下,FV值可能会出现延迟导致清晰点位置不准,这样系统通过下发更多条估算物距的变倍聚焦跟随曲线来多次判定清晰点的位置,而这将导致聚焦动作需要更长时间才能完成。The high-definition integrated camera will perform a zoom operation during the zooming process. In order to keep the focal plane coplanar with the photosensitive element, the focusing lens must be moved in real time following the movement of the zoom lens. For this purpose, the focus lens can be moved according to the zoom following curve. The zoom follow curve represents the mapping relationship between the zoom position (that is, the position of the zoom motor that controls the movement of the zoom lens) and the focus position (that is, the position of the focus motor that controls the movement of the focus lens) at a certain object distance. Different object distances correspond to different zoom follow curves. At present, most of the automatic focusing methods of cameras use software to estimate the object distance and then issue the zoom follow curve. On the one hand, this processing method has a certain error between the estimated value and the actual object distance, and the issued zoom focus tracking curve is not necessarily correct, so that the image may not be able to focus on the clearest position; on the other hand, during the focusing process In the software estimation, the image sharpness is judged by the FV value (FocusValue, image sharpness description value); in the case of delay in the system, the FV value may be delayed and the position of the clear point may be inaccurate. More zoom follower curves to estimate the object distance to determine the position of the clear point multiple times, and this will cause the focusing action to take longer to complete.

发明内容Contents of the invention

针对上述需求,本发明提出了一种辅助聚焦方法和装置,能够准确且快速聚焦。In view of the above requirements, the present invention proposes an auxiliary focusing method and device capable of accurate and fast focusing.

本发明采用如下技术方案:一种辅助聚焦方法,该方法应用于摄像机,该方法包括:The present invention adopts the following technical solutions: an auxiliary focusing method, which is applied to a video camera, and the method includes:

步骤A、对目标物发射激光,并接收反射回来的激光,根据所述激光的发射及接收的时间差,计算物距;Step A, emit laser light on the target object, and receive the reflected laser light, and calculate the object distance according to the time difference between the emission and reception of the laser light;

步骤B、下发所述物距对应的变倍聚焦跟随曲线,根据该变倍聚焦跟随曲线进行自动聚焦。Step B. Issue the zoom-focus tracking curve corresponding to the object distance, and perform automatic focusing according to the zoom-zoom focus tracking curve.

本发明也可以采用如下技术方案:一种辅助聚焦方法,该方法应用于摄像机,该方法包括:The present invention can also adopt the following technical solutions: an auxiliary focusing method, which is applied to a video camera, and the method includes:

步骤A、对目标物发射n个激光,并对应地接收n个反射回来的激光,根据每个激光的发射时间及接收的时间差,计算n个物距;步骤B、依据上述n个物距,下发n条对应的变倍聚焦跟随曲线,并进行相应的图像清晰度测试;选择具有最高图像清晰度评价值所对应的物距作为最优物距;Step A, emit n lasers to the target object, and receive n reflected lasers correspondingly, and calculate n object distances according to the emission time of each laser and the time difference of reception; step B, according to the above n object distances, Issue n corresponding zoom focus follow curves, and perform corresponding image clarity tests; select the object distance corresponding to the highest image clarity evaluation value as the optimal object distance;

步骤C、下发所述最优物距对应的变倍聚焦跟随曲线,根据该变倍聚焦跟随曲线进行自动聚焦。Step C. Delivering the variable magnification focus following curve corresponding to the optimal object distance, and performing automatic focusing according to the variable magnification focus follow curve.

优选的,在步骤B中,所述图像清晰度测试是将摄像机的变倍电机运行于某一固定位置后,根据每条变倍聚焦跟随曲线,摄像机的聚焦电机分别运行到对应的聚焦位置;针对每一个聚焦位置上摄得的图像,计算其清晰度评价值,确定所述最优物距。Preferably, in step B, the image definition test is to run the zoom motor of the camera at a certain fixed position, and then run the focus motor of the camera to the corresponding focus position according to each zoom focus following curve; For the images taken at each focus position, the sharpness evaluation value is calculated to determine the optimal object distance.

优选的,所述摄像机的变倍电机运行到的所述某一固定位置为长焦端位置。Preferably, the certain fixed position to which the variable magnification motor of the camera operates is the telephoto end position.

优选的,在所述步骤A中,由激光发生器发射出所述激光,所述激光中的一部分经过光学系统及放大整形电路触发计数器开始计时;所述激光射到目标物后反射回来,并由激光接收器接收,接收到的激光中的一部分经过光学系统及放大整形电路触发所述计数器停止计时,根据所述计数器的输出即可计算出所述物距。Preferably, in the step A, the laser is emitted by the laser generator, and a part of the laser passes through the optical system and the amplification and shaping circuit to trigger the counter to start timing; the laser is reflected back after hitting the target, and Received by the laser receiver, a part of the received laser light passes through the optical system and the amplification and shaping circuit to trigger the counter to stop timing, and the object distance can be calculated according to the output of the counter.

本发明还提供了一种辅助聚焦装置,该装置应用于摄像机,该装置包括:The present invention also provides an auxiliary focusing device, which is applied to a video camera, and the device includes:

激光测距模块,用于发射激光,并接收由目标物反射回来的激光,依据所述激光的发射与接收的时间差,计算物距;变倍聚焦处理模块,用于依据所述物距下发变倍聚焦跟随曲线,进行自动聚焦。The laser ranging module is used to emit laser light and receive the laser light reflected by the target object, and calculate the object distance according to the time difference between the emission and reception of the laser light; the variable magnification focusing processing module is used to issue The zoom focus follows the curve for automatic focus.

优选的,所述激光测距模块多次测算并得到n个物距,所述变倍聚焦处理模块下发相应的n条变倍聚焦跟随曲线,摄像机分别测试该n条变倍聚焦跟随曲线下的图像清晰度值,选择其中清晰度最佳的一次物距作为最优物距,所述变倍聚焦处理模块最终下发对应该最优物距的变倍聚焦跟随曲线。Preferably, the laser ranging module measures and calculates multiple times and obtains n object distances, and the zoom focus processing module issues corresponding n zoom focus tracking curves, and the cameras test the n zoom focus tracking curves respectively. The image sharpness value, select the primary object distance with the best sharpness as the optimal object distance, and the zoom focus processing module finally issues a zoom focus follow curve corresponding to the optimal object distance.

优选的,所述变倍聚焦处理模块将变倍电机运行于长焦端位置,根据上述变倍聚焦跟随曲线,将聚焦电机分别运行到对应的聚焦位置,并拍摄图像,计算其清晰度评价值。Preferably, the variable magnification focusing processing module operates the variable magnification motor at the telephoto end position, runs the focus motors to the corresponding focus positions according to the above variable magnification focusing following curve, and takes an image, and calculates its sharpness evaluation value .

优选的,还包括控制模块,所述控制模块通过SPI总线与所述激光测距模块通信,获取所述物距信息,并传递给变倍聚焦处理模块。Preferably, it also includes a control module, the control module communicates with the laser ranging module through the SPI bus, obtains the object distance information, and transmits it to the variable magnification focusing processing module.

优选的,激光测距模块包括激光发生器、光学系统、放大整形电路、激光接收器及计数器,所述激光发生器发射出激光,其中一部分激光经过所述光学系统及所述放大整形电路触发所述计数器开始计时;另一部分激光射到目标物后反射回来,并由激光接收器接收,接收到的激光中的一部分经过光学系统及放大整形电路触发所述计数器停止计时,根据所述计数器的输出即可计算出所述物距。Preferably, the laser ranging module includes a laser generator, an optical system, an amplification and shaping circuit, a laser receiver, and a counter. The laser generator emits laser light, and a part of the laser light passes through the optical system and the amplification and shaping circuit to trigger the The counter starts timing; another part of the laser light is reflected back after hitting the target, and is received by the laser receiver. A part of the received laser light passes through the optical system and the amplification and shaping circuit to trigger the counter to stop timing. According to the output of the counter The object distance can be calculated.

因此,本发明基于激光测距实测物体距离的方式能够下发更精确的变倍聚焦跟随曲线,使得聚焦更快更清晰。Therefore, the method of the present invention based on the method of measuring the distance of the object based on laser ranging can issue a more accurate zoom follow curve, making the focus faster and clearer.

附图说明Description of drawings

附图是为提供对本发明进一步的理解,它们被收录并构成本申请的一部分,附图示出了本发明的实施例,并与本说明书一起起到解释本发明原理的作用。附图中:The accompanying drawings are for providing a further understanding of the present invention, they are included and constitute a part of the application, the accompanying drawings show the embodiments of the present invention, and together with the description, serve to explain the principle of the present invention. In the attached picture:

图1是本发明第一实施方式的辅助聚焦方法示意图。FIG. 1 is a schematic diagram of an auxiliary focusing method according to a first embodiment of the present invention.

图2是本发明第二实施方式的辅助聚焦方法示意图。FIG. 2 is a schematic diagram of an auxiliary focusing method according to a second embodiment of the present invention.

图3是本发明辅助聚焦装置的模块示意图。Fig. 3 is a block diagram of the auxiliary focusing device of the present invention.

具体实施方式detailed description

本发明公开了具有一种辅助聚焦方法,应用于摄像机,本发明还公开了对应实现该方法的辅助聚焦装置。由于摄像机的其他结构不是本发明的重点,本专利不在此详细描述,但是基本的结构设计需保证测距模块发出的激光束能在摄像机成像的中心区域,这样测试的物距正好是聚焦的权重区域,保证物距的有效性。The invention discloses an auxiliary focusing method, which is applied to a video camera, and the invention also discloses an auxiliary focusing device corresponding to realizing the method. Since other structures of the camera are not the focus of the present invention, this patent will not describe in detail here, but the basic structural design needs to ensure that the laser beam emitted by the ranging module can be in the central area of the camera imaging, so that the object distance tested is exactly the weight of the focus area to ensure the validity of the object distance.

图1为本发明第一实施方式中的辅助聚焦方法示意图,本发明辅助聚焦方法基于激光测距,主要包括如下步骤:n次激光测距得到n个物距信息;从这n个物距中确定最优物距;依据该最优物距下发对应的变倍聚焦跟随曲线,进行自动聚焦。Fig. 1 is a schematic diagram of the auxiliary focusing method in the first embodiment of the present invention. The auxiliary focusing method of the present invention is based on laser ranging, and mainly includes the following steps: n times of laser ranging to obtain n object distance information; from the n object distances Determine the optimal object distance; issue the corresponding zoom focus follow curve according to the optimal object distance for automatic focusing.

在本实施方式中,n为3,即测距步骤执行3次,从3次物距中确定最优物距。显然,本领域的普通技术人员可以根据需要调整n的值。In this embodiment, n is 3, that is, the distance measuring step is performed three times, and the optimal object distance is determined from the three object distances. Apparently, those skilled in the art can adjust the value of n as needed.

激光测距的过程包括;对目标物发射激光,并接收反射回来的激光,根据所述激光的发射及接收的时间差,计算出目标物距离该摄像机的距离,即物距。具体的说,先由激光发生器发射出所述激光,所述激光中的一部分经过光学系统及放大整形电路触发计数器开始计时;所述激光射到目标物后反射回来,并由激光接收器接收,接收到的激光中的一部分经过光学系统及放大整形电路触发所述计数器停止计时,根据所述计数器的输出即可计算出所述物距。The process of laser ranging includes: emitting laser light to the target object and receiving the reflected laser light, and calculating the distance between the target object and the camera according to the time difference between the emission and reception of the laser light, that is, the object distance. Specifically, the laser is first emitted by the laser generator, and a part of the laser passes through the optical system and the amplification and shaping circuit to trigger the counter to start timing; the laser is reflected back after hitting the target, and is received by the laser receiver. A part of the received laser light passes through the optical system and the amplification and shaping circuit to trigger the counter to stop counting, and the object distance can be calculated according to the output of the counter.

确定最优物距的方式如下:依据上述n个物距,下发n条对应的变倍聚焦跟随曲线,以进行图像清晰度测试;然后选择具有最高图像清晰度评价值所对应的物距作为最优物距。其中图像清晰度测试的具体方法包括:将摄像机的变倍电机运行于某一固定位置后,根据每条变倍聚焦跟随曲线,摄像机的聚焦电机分别运行到对应的聚焦位置;针对每一个聚焦位置上摄得的图像,计算其清晰度评价值;最终是将清晰度评价值最高的图像所对应的物距作为所述最优物距。The way to determine the optimal object distance is as follows: according to the above n object distances, issue n corresponding zoom follower curves for image sharpness test; then select the object distance corresponding to the highest image sharpness evaluation value as optimal object distance. The specific method of the image definition test includes: after running the zoom motor of the camera at a certain fixed position, according to each zoom focus following curve, the focus motor of the camera runs to the corresponding focus position; for each focus position Calculate the sharpness evaluation value of the captured image; finally, the object distance corresponding to the image with the highest sharpness evaluation value is taken as the optimal object distance.

在上述测试该n条变倍聚焦跟随曲线下对应的图像清晰度评价值的方法中,所述摄像机的变倍电机运行到的所述某一固定位置为长焦端位置。在其它实施方式中,也可以其它位置,长焦端不是必须。In the above method of testing the image definition evaluation values corresponding to the n variable magnification focus following curves, the certain fixed position to which the zoom motor of the camera operates is the telephoto end position. In other implementation manners, other positions are also possible, and the telephoto end is not necessary.

自动聚焦步骤,是依照据上述最优物距下发的变倍聚焦跟随曲线,将摄像机的变倍电机及聚焦电机聚焦位置分别移动到计算好的特定位置,以保持聚焦面与感光元件共面,取得较好的清晰图像,实现聚焦。The automatic focusing step is to move the focus position of the zoom motor and the focus motor of the camera to the calculated specific positions respectively according to the zoom focus tracking curve issued according to the above-mentioned optimal object distance, so as to keep the focus plane and the photosensitive element coplanar , to obtain a better clear image and achieve focus.

图2为本发明第二实施方式中的辅助聚焦方法示意图,该方法与第一实施方式中的辅助聚焦方法的主要区别在于,激光测距步骤只执行一次,得到一个物距,然后直接下发该物距对应的变倍聚焦跟随曲线,进行自动聚焦。相比而言,省略了确定最优物距的过程。该实施方式是鉴于激光测距的准确性,认为仅测一次物距,也是准确性较高的。具体的激光测距步骤与第一实施方式中的激光测距方法完全相同,不再赘述。Fig. 2 is a schematic diagram of the auxiliary focusing method in the second embodiment of the present invention. The main difference between this method and the auxiliary focusing method in the first embodiment is that the laser ranging step is only performed once to obtain an object distance, and then directly issued The zoom focus corresponding to the object distance follows the curve for automatic focusing. In contrast, the process of determining the optimal object distance is omitted. In view of the accuracy of laser distance measurement in this embodiment, it is considered that the object distance is measured only once, which is also relatively accurate. The specific laser ranging steps are completely the same as the laser ranging method in the first embodiment, and will not be repeated here.

本发明还提供了对应上述辅助聚焦方法的辅助聚焦装置,该装置包括激光测距模块及变倍聚焦处理模块,可参考图3所示。The present invention also provides an auxiliary focusing device corresponding to the above-mentioned auxiliary focusing method, which includes a laser ranging module and a variable magnification focusing processing module, as shown in FIG. 3 .

所述激光测距模块,用于发射激光,并接收由目标物反射回来的激光,依据所述激光的发射与接收的时间差,测算出物距。The laser ranging module is used to emit laser light and receive the laser light reflected by the target object, and measure and calculate the object distance according to the time difference between the emission and reception of the laser light.

在上述第一实施方式的辅助聚焦方法中,所述激光测距模块的激光测距步骤执行了n次,得到n个物距,所述变倍聚焦处理模块用于从所述激光测距模块测算出的n个物距中确定出最优物距,并根据所述最优物距下发对应的变倍聚焦跟随曲线,然后进行自动聚焦。具体最优物距的确定方式前文已介绍过,不再详细描述。In the auxiliary focusing method of the above-mentioned first embodiment, the laser ranging step of the laser ranging module is executed n times to obtain n object distances, and the variable magnification focusing processing module is used to obtain from the laser ranging module The optimal object distance is determined from the calculated n object distances, and a corresponding zoom follow curve is issued according to the optimal object distance, and then automatic focusing is performed. The specific method of determining the optimal object distance has been introduced above, and will not be described in detail.

在上述第二实施方式的辅助聚焦方法中,所述激光测距模块的激光测距步骤执行了1次,得到1个物距,所述变倍聚焦处理模块,根据该物距下发对应的变倍聚焦跟随曲线,进行自动聚焦。In the auxiliary focusing method of the second embodiment above, the laser ranging step of the laser ranging module is executed once to obtain an object distance, and the variable magnification focusing processing module issues a corresponding The zoom focus follows the curve for automatic focus.

本发明的所述辅助聚焦装置还包括控制模块,所述控制模块主要实现对整个摄像机系统的控制,所述控制模块通过SPI总线与所述激光测距模块通信,获取所述物距信息,并将所述物距信息传递给变倍聚焦处理模块。The auxiliary focusing device of the present invention also includes a control module, the control module mainly realizes the control of the entire camera system, the control module communicates with the laser ranging module through the SPI bus, obtains the object distance information, and The object distance information is transmitted to the variable magnification focusing processing module.

下面再详细介绍下本发明的上述激光测距模块,该激光测距模块包括控制电源、激光发生器、激光接收器、光学系统、放大整形电路、计数器、采样电路等部分。所述激光测距模块测距的具体过程如下:在接受到测距指令后,激光测距模块进入测距工作状态,前述控制模块发出复位信号,使上述计数器对计数进行复位及实现放大整形电路的增益控制,此时触发上述激光发射器发出脉冲激光。由采样电路对前述激光发生器发射的小部分激光进行光电转换,作为控制电路测距计数的开门信号,此时计数器开始计数。其他大部分激光射到目标反射回来并聚于激光接收器,进行光电转换,及经放大整形电路进行放大处理,传输给控制电路作为测距计数的关门信号,计数器停止计数,根据计数器的输出即可计算出待测目标的距离。距离的测量结果,即一次物距信息,计算后保存到单片机,并传输给所述控制模块。The laser ranging module of the present invention will be described in detail below. The laser ranging module includes a control power supply, a laser generator, a laser receiver, an optical system, an amplification and shaping circuit, a counter, and a sampling circuit. The specific process of the ranging of the laser ranging module is as follows: After receiving the ranging instruction, the laser ranging module enters the ranging working state, and the aforementioned control module sends a reset signal, so that the above-mentioned counter resets the count and realizes the amplification and shaping circuit Gain control, trigger the above-mentioned laser transmitter to emit pulsed laser at this time. A small part of the laser light emitted by the aforementioned laser generator is photoelectrically converted by the sampling circuit, which is used as an opening signal for the distance measurement and counting of the control circuit, and the counter starts counting at this time. Most of the other laser light hits the target and is reflected back and gathered in the laser receiver for photoelectric conversion, and amplified by the amplification and shaping circuit, and then transmitted to the control circuit as the closing signal for distance measurement and counting, and the counter stops counting. According to the output of the counter, The distance to the target to be measured can be calculated. The distance measurement result, that is, the primary object distance information, is calculated and saved to the single-chip microcomputer, and transmitted to the control module.

本发明辅助聚焦装置利用激光测距模块,能够准确获取物距,减少了优选物距识别的时间,尤其在低照、多场景、强光场合下,更能体现本设计的快速辅助聚焦能力和成像高清晰度的优点。The auxiliary focusing device of the present invention uses a laser ranging module, which can accurately obtain the object distance, reduces the time for identifying the optimal object distance, and can better reflect the rapid auxiliary focusing ability and Advantages of high-definition imaging.

本领域技术人员可显见,可对本发明的上述示例性实施例进行各种修改和变型而不偏离本发明的精神和范围。因此,旨在使本发明覆盖落在所附权利要求书及其等效技术方案范围内的对本发明的修改和变型。It will be apparent to those skilled in the art that various modifications and variations can be made to the above-described exemplary embodiments of the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention that come within the scope of the appended claims and their equivalents.

Claims (10)

1.一种辅助聚焦方法,该方法应用于摄像机,其特征在于,该方法包括: 1. an auxiliary focus method, the method is applied to video camera, it is characterized in that, the method comprises: 步骤A、对目标物发射激光,并接收反射回来的激光,根据所述激光的发射及接收的时间差,计算物距; Step A, emit laser light on the target object, and receive the reflected laser light, and calculate the object distance according to the time difference between the emission and reception of the laser light; 步骤B、下发所述物距对应的变倍聚焦跟随曲线,根据该变倍聚焦跟随曲线进行自动聚焦。 Step B. Issue the zoom-focus tracking curve corresponding to the object distance, and perform automatic focusing according to the zoom-zoom focus tracking curve. 2.一种辅助聚焦方法,该方法应用于摄像机,其特征在于,该方法包括: 2. An auxiliary focus method, which is applied to a video camera, is characterized in that the method comprises: 步骤A、对目标物发射n个激光,并对应地接收n个反射回来的激光,根据每个所述激光的发射及接收的时间差,计算n个物距; Step A, emit n lasers to the target object, and receive n reflected lasers correspondingly, and calculate n object distances according to the time difference between the emission and reception of each of the lasers; 步骤B、依据上述n个物距,下发n条对应的变倍聚焦跟随曲线,并进行相应的图像清晰度测试;选择具有最高图像清晰度评价值所对应的物距作为最优物距; Step B. According to the above n object distances, issue n corresponding zoom follower curves, and perform a corresponding image definition test; select the object distance corresponding to the highest image definition evaluation value as the optimal object distance; 步骤C、下发所述最优物距对应的变倍聚焦跟随曲线,根据该变倍聚焦跟随曲线进行自动聚焦。 Step C. Delivering the variable magnification focus following curve corresponding to the optimal object distance, and performing automatic focusing according to the variable magnification focus follow curve. 3.如权利要求2所述的辅助聚焦方法,其特征在于,在步骤B中,所述图像清晰度测试是将摄像机的变倍电机运行于某一固定位置后,根据每条变倍聚焦跟随曲线,摄像机的聚焦电机分别运行到对应的聚焦位置;针对每一个聚焦位置上摄得的图像,计算其清晰度评价值,确定所述最优物距。 3. The auxiliary focusing method according to claim 2, wherein in step B, the image definition test is to run the zoom motor of the video camera at a certain fixed position, and follow each variable zoom motor. The focus motor of the camera runs to the corresponding focus position respectively; for the image captured at each focus position, calculate its sharpness evaluation value, and determine the optimal object distance. 4.如权利要求3所述的辅助聚焦方法,其特征在于,所述摄像机的变倍电机运行到的所述某一固定位置为长焦端位置。 4 . The auxiliary focusing method according to claim 3 , wherein the certain fixed position to which the zoom motor of the camera operates is the telephoto end position. 5 . 5.如权利要求2所述的辅助聚焦方法,其特征在于,在所述步骤A中,由激光发生器发射出所述激光,所述激光中的一部分经过光学系统及放大整形电路触发计数器开始计时;所述激光射到目标物后反射回来,并由激光接收器接收,接收到的激光中的一部分经过光学系统及放大整形电路触发所述计数器停止计时,根据所述计数器的输出即可计算出所述物距。 5. The auxiliary focusing method according to claim 2, wherein in said step A, said laser is emitted by a laser generator, and a part of said laser passes through an optical system and an amplification and shaping circuit to trigger a counter to start Timing: the laser is reflected back after hitting the target and is received by the laser receiver. A part of the received laser passes through the optical system and the amplification and shaping circuit to trigger the counter to stop timing, and it can be calculated according to the output of the counter out of the object distance. 6.一种辅助聚焦装置,该装置应用于摄像机,其特征在于,该装置包括: 6. An auxiliary focusing device, which is applied to a video camera, is characterized in that the device includes: 激光测距模块,用于发射激光,并接收由目标物反射回来的激光,依据所述激光的发射与接收的时间差,计算物距; The laser ranging module is used to emit laser light and receive the laser light reflected by the target object, and calculate the object distance according to the time difference between the emission and reception of the laser light; 变倍聚焦处理模块,用于依据所述物距下发变倍聚焦跟随曲线,进行自动聚焦。 The variable magnification focus processing module is used to issue a variable magnification focus follow curve according to the object distance for automatic focusing. 7.如权利要求6所述的辅助聚焦装置,其特征在于:所述激光测距模块多次测算并得到n个物距,所述变倍聚焦处理模块下发相应的n条变倍聚焦跟随曲线,摄像机分别测试该n条变倍聚焦跟随曲线下的图像清晰度值,选择其中清晰度最佳的一次物距作为最优物距,所述变倍聚焦处理模块最终下发对应该最优物距的变倍聚焦跟随曲线。 7. The auxiliary focusing device according to claim 6, characterized in that: the laser distance measurement module measures and calculates multiple times and obtains n object distances, and the zoom zoom processing module issues corresponding n zoom zoom follow-up curve, the camera respectively tests the image clarity values under the n zoom focus tracking curves, selects the primary object distance with the best clarity as the optimal object distance, and the zoom focus processing module finally issues the corresponding optimal object distance. The zoom focus of the object distance follows the curve. 8.如权利要求7所述的辅助聚焦装置,其特征在于:所述变倍聚焦处理模块将变倍电机运行于长焦端位置,根据上述变倍聚焦跟随曲线,将聚焦电机分别运行到对应的聚焦位置,并拍摄图像,计算其清晰度评价值。 8. The auxiliary focusing device according to claim 7, wherein the zoom focusing processing module runs the zoom motor at the telephoto end position, and runs the focus motor to the corresponding The focus position of the image is taken, and the sharpness evaluation value is calculated. 9.如权利要求6所述的辅助聚焦装置,其特征在于:还包括控制模块,所述控制模块通过SPI总线与所述激光测距模块通信,获取所述物距信息,并传递给变倍聚焦处理模块。 9. The auxiliary focusing device according to claim 6, further comprising a control module, the control module communicates with the laser distance measuring module through the SPI bus, obtains the object distance information, and transmits it to the variable magnification Focus processing module. 10.如权利要求6所述的辅助聚焦装置,其特征在于,激光测距模块包括激光发生器、光学系统、放大整形电路、激光接收器及计数器,所述激光发生器发射出激光,其中一部分激光经过所述光学系统及所述放大整形电路触发所述计数器开始计时;另一部分激光射到目标物后反射回来,并由激光接收器接收,接收到的激光中的一部分经过光学系统及放大整形电路触发所述计数器停止计时,根据所述计数器的输出即可计算出所述物距。 10. Auxiliary focusing device as claimed in claim 6, characterized in that, the laser ranging module comprises a laser generator, an optical system, an amplification and shaping circuit, a laser receiver and a counter, and the laser generator emits laser light, a part of which The laser beam passes through the optical system and the amplification and shaping circuit to trigger the counter to start timing; another part of the laser light is reflected back after hitting the target, and is received by the laser receiver, and a part of the received laser light passes through the optical system and the amplification and shaping circuit. The circuit triggers the counter to stop timing, and the object distance can be calculated according to the output of the counter.
CN201510579648.3A 2015-09-11 2015-09-11 A kind of assisted focused method and apparatus Active CN105227835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510579648.3A CN105227835B (en) 2015-09-11 2015-09-11 A kind of assisted focused method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510579648.3A CN105227835B (en) 2015-09-11 2015-09-11 A kind of assisted focused method and apparatus

Publications (2)

Publication Number Publication Date
CN105227835A true CN105227835A (en) 2016-01-06
CN105227835B CN105227835B (en) 2018-09-18

Family

ID=54996486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510579648.3A Active CN105227835B (en) 2015-09-11 2015-09-11 A kind of assisted focused method and apparatus

Country Status (1)

Country Link
CN (1) CN105227835B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303277A (en) * 2016-08-22 2017-01-04 深圳市金立通信设备有限公司 The parameter control method of light compensating lamp, terminal and self-shooting bar
CN106303244A (en) * 2016-08-22 2017-01-04 深圳市金立通信设备有限公司 Self-shooting bar and length calculation method, acquisition parameters control method and terminal
CN106331477A (en) * 2016-08-22 2017-01-11 深圳市金立通信设备有限公司 Selfie rod and length calculation method therefor, shooting parameter adjusting method and terminal
CN106341593A (en) * 2016-08-22 2017-01-18 深圳市金立通信设备有限公司 Photographing control method and terminal
CN106645082A (en) * 2016-11-03 2017-05-10 北京信息科技大学 Gating optical fiber Raman spectrometer based on laser ranging automatic focusing
CN107462967A (en) * 2017-08-23 2017-12-12 深圳市明日实业股份有限公司 A kind of laser ranging focuses method and system
WO2018090825A1 (en) * 2016-11-15 2018-05-24 杭州海康威视数字技术股份有限公司 Method for automatic focus and ptz camera
CN108885384A (en) * 2016-05-27 2018-11-23 深圳市莫孚康技术有限公司 Image auto-focusing system and method based on laser radar range
WO2019061887A1 (en) * 2017-09-28 2019-04-04 深圳市大疆创新科技有限公司 Control device, photographing device, aircraft, control method and program
CN112601006A (en) * 2020-11-10 2021-04-02 山东信通电子股份有限公司 Tracking focusing method and device based on pan-tilt camera
CN112601012A (en) * 2020-12-07 2021-04-02 深圳市维海德技术股份有限公司 Zoom follow-up method, device and computer readable storage medium
CN112748438A (en) * 2019-10-31 2021-05-04 傲基科技股份有限公司 Method suitable for accurate positioning of laser ranging device and laser ranging system and method
CN113917437A (en) * 2021-10-09 2022-01-11 福建汇川物联网技术科技股份有限公司 Focusing method and device of measuring equipment, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798249A (en) * 2004-12-30 2006-07-05 亚洲光学股份有限公司 Ranging type digital camera
CN103197491A (en) * 2013-03-28 2013-07-10 华为技术有限公司 Method capable of achieving rapid automatic focusing and image acquisition device
CN103376615A (en) * 2012-04-24 2013-10-30 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN103595920A (en) * 2013-11-15 2014-02-19 浙江宇视科技有限公司 Image collection equipment and auxiliary focusing method and device in zooming process
CN104469169A (en) * 2014-12-29 2015-03-25 信利光电股份有限公司 Phase ranging camera shooting module and automatic focusing method thereof
CN104469168A (en) * 2014-12-29 2015-03-25 信利光电股份有限公司 Shooting module and automatic focusing method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798249A (en) * 2004-12-30 2006-07-05 亚洲光学股份有限公司 Ranging type digital camera
CN103376615A (en) * 2012-04-24 2013-10-30 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN103197491A (en) * 2013-03-28 2013-07-10 华为技术有限公司 Method capable of achieving rapid automatic focusing and image acquisition device
CN103595920A (en) * 2013-11-15 2014-02-19 浙江宇视科技有限公司 Image collection equipment and auxiliary focusing method and device in zooming process
CN104469169A (en) * 2014-12-29 2015-03-25 信利光电股份有限公司 Phase ranging camera shooting module and automatic focusing method thereof
CN104469168A (en) * 2014-12-29 2015-03-25 信利光电股份有限公司 Shooting module and automatic focusing method thereof

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108885384A (en) * 2016-05-27 2018-11-23 深圳市莫孚康技术有限公司 Image auto-focusing system and method based on laser radar range
CN108885384B (en) * 2016-05-27 2020-08-25 深圳市莫孚康技术有限公司 Image focusing system and method based on laser radar ranging
CN106303244A (en) * 2016-08-22 2017-01-04 深圳市金立通信设备有限公司 Self-shooting bar and length calculation method, acquisition parameters control method and terminal
CN106331477A (en) * 2016-08-22 2017-01-11 深圳市金立通信设备有限公司 Selfie rod and length calculation method therefor, shooting parameter adjusting method and terminal
CN106341593A (en) * 2016-08-22 2017-01-18 深圳市金立通信设备有限公司 Photographing control method and terminal
CN106303277A (en) * 2016-08-22 2017-01-04 深圳市金立通信设备有限公司 The parameter control method of light compensating lamp, terminal and self-shooting bar
CN106341593B (en) * 2016-08-22 2019-04-23 深圳市金立通信设备有限公司 Camera control method and terminal
CN106645082A (en) * 2016-11-03 2017-05-10 北京信息科技大学 Gating optical fiber Raman spectrometer based on laser ranging automatic focusing
WO2018090825A1 (en) * 2016-11-15 2018-05-24 杭州海康威视数字技术股份有限公司 Method for automatic focus and ptz camera
US10652452B2 (en) 2016-11-15 2020-05-12 Hangzhou Hikvision Digital Technology Co., Ltd. Method for automatic focus and PTZ camera
CN107462967B (en) * 2017-08-23 2020-04-10 深圳市明日实业有限责任公司 Focusing method and system for laser ranging
CN107462967A (en) * 2017-08-23 2017-12-12 深圳市明日实业股份有限公司 A kind of laser ranging focuses method and system
WO2019061887A1 (en) * 2017-09-28 2019-04-04 深圳市大疆创新科技有限公司 Control device, photographing device, aircraft, control method and program
CN112748438A (en) * 2019-10-31 2021-05-04 傲基科技股份有限公司 Method suitable for accurate positioning of laser ranging device and laser ranging system and method
CN112601006A (en) * 2020-11-10 2021-04-02 山东信通电子股份有限公司 Tracking focusing method and device based on pan-tilt camera
CN112601006B (en) * 2020-11-10 2022-06-10 山东信通电子股份有限公司 Tracking focusing method and device based on pan-tilt camera
CN112601012A (en) * 2020-12-07 2021-04-02 深圳市维海德技术股份有限公司 Zoom follow-up method, device and computer readable storage medium
CN113917437A (en) * 2021-10-09 2022-01-11 福建汇川物联网技术科技股份有限公司 Focusing method and device of measuring equipment, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105227835B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN105227835B (en) A kind of assisted focused method and apparatus
US10764487B2 (en) Distance image acquisition apparatus and application thereof
US10630884B2 (en) Camera focusing method, apparatus, and device for terminal
CN101526619B (en) Synchronous range/velocity measurement system based on non-scanning laser radar and CCD camera
JP6304567B2 (en) Ranging device and ranging method
CN104469168A (en) Shooting module and automatic focusing method thereof
CN106815867B (en) TOF camera calibration and correction system, and equipment and method thereof
US20180120687A1 (en) Ranging method, automatic focusing method and device
WO2016155074A1 (en) Correcting and focusing method and system for included angle of optical axis, and dual-camera equipment
CN106886027B (en) Laser positioning device and laser positioning method
CN105204269A (en) Laser-assisted focusing method and shooting device
CN111024242A (en) Thermal infrared imager and continuous automatic focusing method thereof
CN104486550A (en) Image focus detecting device and method for aerial camera
CN105472237A (en) Imaging apparatus and imaging method
CN103424978A (en) System and method for testing camera module
CN107462967B (en) Focusing method and system for laser ranging
TWI553395B (en) Camera module testing system and method
US20190369245A1 (en) Laser positioning apparatus and laser positioning method
JP2006072384A (en) Method and device for automatic focus adjustment
JP2006065355A (en) Apparatus and method for automatic focusing
CN219778080U (en) Automatic focusing projector
CN119511493B (en) Step-by-step automatic focusing method
JP2006215398A (en) Image pickup device
CN112153286B (en) AA (advanced) processing method, AA processing equipment and system for image sensor
US9354056B2 (en) Distance measurement apparatus, distance measurement method, and camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant