WO2018103299A1 - Focusing method, and focusing device - Google Patents

Focusing method, and focusing device Download PDF

Info

Publication number
WO2018103299A1
WO2018103299A1 PCT/CN2017/089223 CN2017089223W WO2018103299A1 WO 2018103299 A1 WO2018103299 A1 WO 2018103299A1 CN 2017089223 W CN2017089223 W CN 2017089223W WO 2018103299 A1 WO2018103299 A1 WO 2018103299A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
follow
focus
data
data points
Prior art date
Application number
PCT/CN2017/089223
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2018103299A1 publication Critical patent/WO2018103299A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a focusing method and a focusing device.
  • the auto-focus multi-camera module generally has a memory inside for burning some parameter information related to photographing, focusing, and the like.
  • the parameters of the voice coil motor of near focus and far focus will be burned.
  • the parameters between the cameras are strictly the same, or The focus parameters between the cameras are simply mapped, and the focus speed and focus accuracy are not satisfactory.
  • the embodiments of the present invention provide a focusing method and a focusing device to achieve fast and effective focusing of a multi-camera when performing multi-camera focusing.
  • An embodiment of the present invention provides a focusing method, where the method includes:
  • Receiving a focus command controlling a reference camera of at least two cameras to perform focusing, and acquiring a data point after the reference camera is in focus;
  • the follower camera is a camera other than the reference camera of the at least two cameras;
  • the follow-up camera is controlled to perform focusing according to the number of data points of the follow-up camera.
  • the method further includes:
  • the method further includes:
  • the sharpness of the photographing screen of each camera is determined, and the camera to which the sharpest photographing screen belongs is determined as the reference camera.
  • the step of determining the number of data points of the follow-up camera according to the number of data points of the reference camera comprises:
  • the method further includes at least one of the following:
  • a fitting curve parameter corresponding to the fitting curve relationship is set, and the focus data relationship is generated according to the fitting curve parameter and the fitting curve relationship.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • an embodiment of the present invention further provides a focusing device, the device comprising: at least two camera units, the device further comprising: a reference focusing unit, a data acquiring unit, and a follow-up focusing unit;
  • the reference focusing unit is configured to control a reference imaging unit of the at least two imaging units to perform focusing when receiving a focus instruction, and acquire data points after the reference imaging unit is in focus number;
  • the data acquisition unit is configured to determine the number of data points of the following imaging unit according to the number of data points of the reference imaging unit; wherein the following imaging unit is other than the reference imaging unit of the at least two imaging units Camera unit
  • the follow-up focusing unit is configured to control the follow-up imaging unit to perform focusing according to the number of data points of the following imaging unit.
  • the device further includes: a first reference determining unit, where the first reference determining unit is configured to:
  • the device further includes: a second reference determining unit, where the second reference determining unit is configured to:
  • the sharpness of the photographing screen of each imaging unit is determined, and the imaging unit to which the highest-definition photographing screen belongs is determined as the reference camera.
  • the data obtaining unit is configured to:
  • the embodiment of the invention further provides a focusing device, the device comprising: a controller, a reference camera module and a follow-up camera module; wherein the follow-up camera module is at least two camera modules except the reference a camera module other than the camera module;
  • the controller is configured to: when the focus command is received, control the reference camera module to perform focusing, and obtain the number of data points after the reference camera module is in focus; and determine the number according to the data points of the reference camera module. The number of data points of the follow-up camera module;
  • the follow-up camera module is configured to perform focusing according to the number of data points of the following camera module.
  • the device further includes: a sensor;
  • the sensor is configured to acquire an environmental parameter, and send the environmental parameter to the controller;
  • the controller is configured to determine a reference camera module and/or a follow-up camera module corresponding to the environment parameter from the at least two camera modules according to an environmental parameter.
  • controller is further configured to:
  • Determining the sharpness of the captured image of each camera module, and determining the camera module to which the highest-resolution captured image belongs is the reference camera module.
  • the reference camera module includes a reference voice coil motor and a reference lens; the following camera module includes a follower voice coil motor and a follower lens;
  • the controller determines the number of data points of the following camera module according to the number of data points of the reference camera module in the following manner:
  • the embodiment of the present invention provides a focusing method and a focusing device.
  • the method includes: when receiving a focus command, controlling a reference camera of at least two cameras to perform focusing, and acquiring data points after focusing of the reference camera; Determining the number of data points of the follow-up camera by the number of data points of the reference camera; wherein the follow-up camera is a camera other than the reference camera of at least two cameras; controlling the follow-up according to the number of data points of the follow-up camera The camera focuses.
  • the number of data points after the reference camera is focused is determined, and the number of data points of each camera is used to control each camera to focus, thereby effectively improving the focusing speed of the multi-camera and the accuracy of focusing, thereby realizing between multiple cameras. Fast and effective focus.
  • FIG. 1 is a flowchart of a focusing method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram showing a relationship between an object distance and a moving distance of a lens according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic diagram showing a relationship between a moving distance of a lens and a number of data points according to Embodiment 2 of the present invention
  • FIG. 4 is a flowchart of a four focus method according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram 1 of a focusing device according to Embodiment 4 of the present invention.
  • FIG. 6 is a second schematic structural diagram of a focusing device according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram 1 of a focusing device according to Embodiment 5 of the present invention.
  • FIG. 8 is a second schematic structural diagram of a focusing device according to Embodiment 5 of the present invention.
  • FIG. 9 is a schematic structural diagram of a focusing device according to Embodiment 6 of the present invention.
  • a reference camera of the at least two cameras when receiving the focus command, controlling a reference camera of the at least two cameras to perform focusing, and acquiring a data point after the reference camera is focused; determining, according to the number of data points of the reference camera The number of data points of the moving camera; wherein the follow-up camera is a camera other than the reference camera of at least two cameras; and the follow-up camera is controlled to perform focusing according to the number of data points of the follow-up camera.
  • a first embodiment of the present invention provides a focusing method applied to a terminal having at least two cameras. As shown in FIG. 1, the method includes:
  • the terminal When the terminal receives the photographing operation or the focusing operation of the user, generating a focus command, acquiring a reference camera of at least two cameras in the terminal to perform focusing and acquiring data points after focusing based on the focus instruction, where the number of data points is in the camera
  • the parameters of the drive output of the voice coil motor In order to control the moving distance of the lens of the camera, when controlling the moving distance of the lens, it includes controlling the linear motion of the lens and the motion with the swing angle, thereby controlling the linear and angular displacement of the camera.
  • the reference camera is determined, and one of the at least two cameras can be determined in advance as the reference camera, and the reference camera can also be determined according to the environmental parameters or the shooting pictures of the cameras.
  • the designated camera may be preset as the reference camera, or the first camera to be activated may be used as the reference camera.
  • the camera In the selection of the reference camera, when any camera has been clearly focused on the focus, the camera can be selected as the reference camera. At this time, it is not necessary to open all the cameras at the same time, and then select from several, thereby saving the reference camera. Choose time and power consumption.
  • the selected camera is the clearest, use the camera as a reference camera, and then start other cameras to focus.
  • the camera does not control any movement, and the number of data points or the object distance of each camera is maintained at the state when the focus command is received.
  • the focus command is received, the number of data points or the object distance of each camera is kept the same.
  • the reference camera is already at the sharpest point of focus, no need to refocus or additional adjustments.
  • the method further includes: acquiring an environmental parameter, and determining, from the at least two cameras, a reference camera and/or a follow-up camera corresponding to the environmental parameter according to the environmental parameter.
  • the environmental parameters may include parameters such as light intensity, temperature, and humidity. Taking the environmental parameter as the light intensity and the terminal having the camera 1 and the camera 2 as an example, when the value of the acquired light intensity is relatively large, indicating that the current terminal is in a strong light environment, the camera 1 is selected as the reference camera; when the acquired light is obtained When the value of the intensity is relatively small, indicating that the current terminal is in a low light environment, the camera 2 is selected as the reference camera.
  • the specific correspondence between the corresponding reference cameras selected according to the specific environmental parameters may be set according to requirements.
  • the method further includes: acquiring a photographing screen of each of the at least two cameras; determining a sharpness of the photographing screen of each camera, and setting a photographing screen with the highest definition The associated camera is determined as the reference camera.
  • the image head when the focus is performed, the image capturing screens of the respective cameras are acquired, the screen images of the respective camera images are analyzed, the screen parameters of the respective shooting screens are acquired, the sharpness of each shooting screen is determined, and the highest resolution image is determined. Select the camera to which the highest resolution shooting screen belongs as the reference camera.
  • the movement of each camera may be controlled without any movement, and the data points or object distances of the respective cameras are maintained at the state when the focus command is received, and the data of each camera is also obtained when the focus command is received. Points or object distances are consistent.
  • the reference camera After determining the reference camera, the reference camera is controlled to focus.
  • the object distance of the reference camera lens is adjusted by referring to the data point of the voice coil motor of the camera, and the focus distance of the reference camera is adjusted to make the reference camera The imaging is in the clearest state.
  • the number of data points of the voice coil motor of the reference camera is obtained, that is, the number of data points of the reference camera is determined.
  • S102 Determine, according to the number of data points of the reference camera, the number of data points of the follow-up camera; wherein the follow-up camera is a camera other than the reference camera of the at least two cameras;
  • each camera has a corresponding focus data relationship, wherein the focus data map is closed to a correspondence relationship between the number of data points and the object distance.
  • the method further includes at least one of: setting a data point number and an object distance having a one-to-one mapping relationship, generating a focus data relationship; setting a fitting curve parameter corresponding to the fitting curve relationship, according to the fitting curve The relationship between the parameter and the fitted curve generates a focus data relationship.
  • the correspondence between the number of data points of each camera and the object distance can be determined according to actual tests, and the one-to-one correspondence is preset in advance in the terminal.
  • the number of data points and the object distance of the relationship generate a focus data relationship composed of the relationship between the number of data points and the object distance.
  • the curve relationship can be determined according to the test and preset
  • the data points and the object distance are used as the fitting parameters
  • the curve parameters are fitted as the fitting coefficients, thereby generating the focus data relationship between the data points and the object distance.
  • you can choose different methods to fit such as polynomial fitting, exponential function fitting, linear fitting and so on.
  • the specific fitting curve relationship is not limited in the embodiment of the present invention.
  • determining the number of data points of the follow-up camera according to the data points of the reference camera includes: determining, according to the data point number of the reference camera and the focus data relationship of the reference camera Determining the object distance corresponding to the camera; determining the object distance corresponding to the following camera according to the object distance corresponding to the reference camera; determining the relationship according to the object distance corresponding to the following camera and the focus data relationship of the follow-up camera The number of data points of the follow-up camera.
  • the object distance of the reference camera is determined according to the number of data points of the reference camera
  • the object distance of the follow-up camera is determined according to the object distance of the reference camera
  • the data points of the other follow-up cameras are further determined according to the determined object distance of the follow-up camera.
  • the reference camera and the follow-up camera belong to the same terminal, and the objects to be photographed are the same, and the object distance of the reference camera and the object distance of the follow-up camera are considered to be the same, that is, the object distance of the reference camera and the object distance of the follow-up camera are equal.
  • the number of data points of the reference camera is DN1
  • the corresponding object distance is determined as L1 according to the focus data relationship of the reference camera
  • the data point number DN2, DN3 of the follow-up camera is determined according to the focus data relationship of the follow-up camera according to the object distance L1.
  • the number of determined data points is the same as the number of follow-up cameras, thereby ensuring that one camera has a corresponding number of data points.
  • the voice coil motor of each follow-up camera is controlled to perform corresponding movement according to the number of data points of each follow-up camera, thereby achieving focusing of a plurality of cameras including the reference camera and the follow-up camera.
  • the reference camera may be determined according to a default setting, and the reference camera may be determined according to environmental parameters or imaging of each camera, so that the selection of the reference camera can be flexibly selected according to actual needs, and the focus command is received. After that, first focus on the reference camera, and obtain the number of data points of the reference camera, and further determine the number of data points of other follow-up cameras according to the number of data points of the reference camera, so that all the cameras can quickly focus.
  • the focusing method provided by the embodiment of the present invention is further described by a specific scenario application.
  • the method relates to measuring and fitting the focus parameters of a voice coil motor (VCM) of a plurality of cameras.
  • VCM voice coil motor
  • the focusing parameter of the camera is fitted to the corresponding output curve, and the parameters of the fitting curve are stored on the terminal.
  • the horizontal axis represents the object distance (unit: meter), and the vertical axis represents The distance the lens lens needs to move (in millimeters).
  • L the distance that the lens needs to move
  • M the distance that the lens needs to move
  • the VCM is driven by the driving circuit.
  • the measured data of the output data point number (DN) of the driving circuit and the moving distance M of the lens (unit: mm) can pass the relationship shown in FIG. 3: where the horizontal axis is lens The moving distance is M, and the vertical axis is the output DN of the driving circuit.
  • VCM due to the effect of gravity, VCM will have three orientations of up, down and horizontal when shooting. As shown in Figure 3, the driving current of VCM is horizontally placed. From 0 to full scale / from full scale to 0, that is, two curves of data points from 0 to full scale / from full scale to 0. For the other two direction curve characteristics, you only need to increase or decrease the necessary offset based on the horizontal curve.
  • the control can be known according to the object distance L value.
  • the DN value of the drive circuit output of the voice coil motor, and the object distance L is obtained from the DN value.
  • L 1 ln((k3 1 *DN 1 +offset 1 )/k1 1 )/k2 1 ;
  • L 2 ln((k3 2 *DN 2 +offset 2 )/k1 2 )/k2 2 ;
  • the object distance L 1 is calculated according to the focus data relationship of the camera 1 , and the focus data relationship 4 is used by L 1 to calculate other cameras.
  • the DN value of the driver IC output of the voice coil motor is used by L 1 to calculate other cameras.
  • the focus data relationship can be determined in the following ways:
  • parameters of the fitting curve such as k1, k2, k3, and off, are stored, and a focus data relationship is generated.
  • the fitting curve parameter is set in the (1) mode, and the focus data relationship between the object distance and the number of data points is generated according to the fitting curve parameter and the fitting curve relationship.
  • the object distance and the number of data points having a one-to-one correspondence relationship are set to generate a focus data relationship regarding the object distance and the number of data points.
  • the reference camera performs focusing, and obtains the data points of the reference camera
  • One of the cameras starts taking a photo to complete the focus. Record the DN value at this time.
  • the camera focuses as a reference camera.
  • the number of data points of the reference camera is recorded as DN 0 .
  • S403. Determine an object distance of the reference camera according to the number of data points of the reference camera.
  • the object distance L corresponding to the DN 0 of the reference camera is determined by a function formula or a table lookup form.
  • the object distance L of the reference camera determined in S403 is the object distance of the follow-up camera
  • the DN i of the follow-up camera is determined according to the object distance L according to the function type or the look-up table, and the data point of the i-th camera is DN. i .
  • the follow-up camera may be one or plural.
  • the i-th camera is moved to the DNi position according to the DN i determined in S404.
  • the data of the camera, video or captured video can be comprehensively processed, such as photo combination.
  • S401 can be executed when the terminal is started, so that the loaded data is directly used when starting the focusing of the multi-camera.
  • a focusing method provided by an embodiment of the present invention is described by taking a dual camera device having chrome+mono as an example.
  • the chrome camera module is used as the reference camera to focus, and the mono camera module is used as the follow-up camera. After the main camera is focused, the number of data points of the chrome camera module is used to quickly calculate the DN value required for the mono camera module to focus. .
  • the mono camera module In the dark environment, due to the mono camera module, with higher signal-to-noise ratio and better sensitivity, the mono camera module is selected as the reference camera, and the chrome camera module is used as the follow-up camera.
  • the mono camera module is in focus, Through the data points of the mono camera module, the DN value required for the focus of the chrome camera module can be accurately obtained.
  • Embodiments of the present invention further provide a computer readable storage medium storing a computer executable The instructions, when the computer executable instructions are executed, implement the above method.
  • the embodiment provides a focusing device.
  • the device includes: at least two imaging units 501, as shown by the dotted line in FIG.
  • the device further includes: a reference focusing unit 502, a data acquiring unit 503, and a follow-up focusing unit 504;
  • the reference focusing unit 502 is configured to control the reference imaging unit of the at least two imaging units 501 to perform focusing, and acquire the number of data points after the reference imaging unit is in focus;
  • the data acquisition unit 503 is configured to determine the number of data points of the following imaging unit according to the number of data points of the reference imaging unit; wherein the following imaging unit is an image of the at least two imaging units 501 other than the reference imaging unit unit;
  • the data acquisition unit 503 is configured to: determine an object distance corresponding to the reference imaging unit according to the data point number of the reference imaging unit and the focus data relationship of the reference imaging unit; determine the object distance according to the object distance corresponding to the reference imaging unit The object distance corresponding to the following camera unit is determined; and the number of data points of the following camera unit is determined according to the object distance corresponding to the following camera unit and the focus data relationship of the following camera unit.
  • the follow-up focusing unit 504 is configured to control the following imaging unit to perform focusing according to the number of data points of the following imaging unit.
  • the apparatus further includes: a first reference determining unit 505, and the first reference determining unit 505 is configured to:
  • the apparatus further includes: a second reference determining unit 506, and the second reference determining unit 506 is configured to:
  • the device sets the focus data relationship by at least one of the following:
  • a fitting curve parameter corresponding to the fitting curve relationship is set, and a focus data relationship is generated according to the fitting curve parameter and the fitting curve relationship.
  • the camera unit 501 can be implemented by a camera.
  • the reference focus unit 502, the data acquisition unit 503, and the follow-up focus unit 504 can be centrally located in the terminal (CPU, Central Processing). Unit), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA) implementation.
  • CPU Central Processing
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the embodiment provides a focusing device.
  • the device includes: a controller 701, a reference camera module 702, and a follow-up camera module 703.
  • the module 703 is a camera module other than the reference camera module 702 of the at least two camera modules;
  • the controller 701 is configured to, when receiving the focus command, control the reference camera module 702 to perform focusing, and obtain the number of data points after the reference camera module 702 focuses; determine the follow-up camera module according to the data points of the reference camera module 702. 703 data points;
  • the follow-up camera module 703 is configured to perform focusing according to the number of data points of the follow-up camera module.
  • the reference camera module 702 includes a reference voice coil motor 7021 and a reference lens 7022;
  • the follow-up camera module 703 includes a follower voice coil motor 7031 and a follower lens 7032; and the controller 701
  • Determining the number of data points of the following camera module 703 according to the number of data points of the reference camera module 702 includes: determining the object distance corresponding to the reference lens 7022 according to the data point number of the reference voice coil motor 7021 and the focus data relationship of the reference camera module; Determining the object distance corresponding to the follower lens 7032 according to the object distance corresponding to the reference lens 7022; determining the data points of the follower voice coil motor 7031 according to the object distance of the follower lens 7032 and the focus data relationship of the following camera module .
  • the device further includes: a sensor 704;
  • the sensor 704 is configured to acquire an environmental parameter, and send the environmental parameter to the controller 701;
  • the controller 701 is configured to determine the ring from the at least two camera modules according to the environmental parameter
  • the controller 701 is further configured to: acquire a shooting image of each of the at least two camera modules; determine a sharpness of the captured image of each camera module, and capture the highest resolution
  • the camera module to which the screen belongs is determined as the reference camera module 702.
  • the memory may be further configured to store a focus data relationship of each camera module; wherein the focus data relationship is generated by at least one of the following:
  • a fitting curve parameter corresponding to the fitting curve relationship is set, and a focus data relationship is generated according to the fitting curve parameter and the fitting curve relationship.
  • the camera module in the embodiment of the present invention includes a voice coil motor and a lens.
  • the circle motor and the lens are referred to as a reference voice coil motor 7021 and a reference lens 7022, respectively; the voice coil motor and the lens of the following camera module are referred to as a follower voice coil motor 7031 and a follower lens 7032, respectively.
  • the reference camera module 702 determined from the at least two camera modules may be one, and the determined follow-up camera module 703 may be one or more.
  • the focusing device provided by the embodiment of the present invention is described by the mobile camera shown in FIG. 9.
  • the controller 901 and the i camera modules 902 and the i camera modules 902 are included. They are camera modules 9021 to 902i, respectively.
  • the controller 901 is configured to control functions such as focusing, photographing, effect, ranging, calculation, and compensation of the camera module 902.
  • functions such as focusing, photographing, effect, ranging, calculation, and compensation of the camera module 902.
  • the camera module 9021-902i, i ⁇ 2 mainly used for photographing, video recording and other functions.
  • Each camera module includes a lens, a voice coil motor, a sensor, and a memory.
  • the memory stores parameters for photographing and fitting data.
  • one of the camera modules 9021-902i serves as a reference camera module, and the remaining camera modules serve as a follow-up camera module.
  • the reference camera module performs focusing, and sends the data points of the voice coil motor after the focus is completed to the controller, and the controller according to the received data points and the focus stored in the memory in the reference camera module.
  • Data relationship determination Referencing the object distance of the lens of the camera module and the object distance of the lens of the remaining camera module, and further according to the object distance of the follow-up camera module and the focus data stored in the memory in the follow-up camera module
  • the number of data points of each follow-up data module is determined, and the voice coil motor of the corresponding follow-up camera module is controlled according to each data point to perform focusing, thereby achieving coordinated focusing of multiple cameras.
  • the object distance between the reference camera module and the follow-up camera module is the same.
  • each camera module can be stored through a total memory.
  • the reference camera module is selected by a sensor.
  • the application can take the form of a hardware embodiment, a software embodiment, or an embodiment in combination with software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the embodiment of the invention provides a focusing method and a focusing device, so as to determine the number of data points of the remaining follow-up cameras according to the number of data points after the reference camera is focused, and control the cameras to focus by the number of data points of each camera, thereby effectively improving the number of the cameras.
  • the camera's focusing speed and focus accuracy enable fast and effective focusing between multiple cameras.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

Disclosed in embodiments of the present invention is a focusing method, the method comprising: upon receiving a focusing instruction, controlling a reference camera among at least two cameras to focus, and acquiring the number of data points after the reference camera is in focus; determining, according to the number of the data points of the reference camera, the number of data points of a follower camera, wherein the follower camera is a camera among the at least two cameras other than the reference camera; and controlling, according to the number of the data points of the follower camera, the follower camera to focus. Also disclosed in the embodiments of the present invention is a focusing device.

Description

一种对焦方法及对焦装置Focus method and focusing device 技术领域Technical field
本申请涉及但不限于通信领域,尤其涉及一种对焦方法及对焦装置。The present application relates to, but is not limited to, the field of communications, and in particular, to a focusing method and a focusing device.
背景技术Background technique
随着人们在生活中越来越多的通过拍照来记录生活中的点点滴滴,人们对拍照画面的要求也越来越高,而多摄像头的应用在提升拍照效果方面有一定的优势。As people in life are more and more photographed to record the bits and pieces of life, people have higher and higher requirements for taking pictures, and the application of multiple cameras has certain advantages in improving the effect of photographing.
目前,自动对焦的多摄像模组内部一般都有存储器,用来烧录一些跟拍照、对焦等有关的参数信息。正常情况下,会烧录近焦和远焦的音圈马达参数,当多个摄像头在对同一场景拍照时,需要快速准确的实现对焦,相关技术中,要么是摄像头间参数严格一致,要么对摄像头间的对焦参数做简单的映射,对焦速度及对焦精度上并不令人满意。At present, the auto-focus multi-camera module generally has a memory inside for burning some parameter information related to photographing, focusing, and the like. Under normal circumstances, the parameters of the voice coil motor of near focus and far focus will be burned. When multiple cameras are taking photos of the same scene, it is necessary to achieve fast and accurate focus. In the related art, the parameters between the cameras are strictly the same, or The focus parameters between the cameras are simply mapped, and the focus speed and focus accuracy are not satisfactory.
但多摄的对焦时,如何有效,快速的提升对焦的速度,是一个很有挑战性的工作。However, when focusing more on the camera, how to effectively and quickly increase the speed of focusing is a very challenging task.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
有鉴于此,本发明实施例提供一种对焦方法及对焦装置,以在进行多摄像头对焦时,实现多摄像头快速有效的对焦。In view of this, the embodiments of the present invention provide a focusing method and a focusing device to achieve fast and effective focusing of a multi-camera when performing multi-camera focusing.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种对焦方法,所述方法包括:An embodiment of the present invention provides a focusing method, where the method includes:
接收到对焦指令时,控制至少两个摄像头中的参考摄像头进行对焦,并获取所述参考摄像头对焦后的数据点数;Receiving a focus command, controlling a reference camera of at least two cameras to perform focusing, and acquiring a data point after the reference camera is in focus;
根据所述参考摄像头的数据点数确定随动摄像头的数据点数;其中,所 述随动摄像头为所述至少两个摄像头中除所述参考摄像头以外的摄像头;Determining, according to the number of data points of the reference camera, the number of data points of the follow-up camera; The follower camera is a camera other than the reference camera of the at least two cameras;
根据所述随动摄像头的数据点数控制所述随动摄像头进行对焦。The follow-up camera is controlled to perform focusing according to the number of data points of the follow-up camera.
可选地,所述方法还包括:Optionally, the method further includes:
获取环境参数,根据所述环境参数从所述至少两个摄像头中确定与所述环境参数对应的参考摄像头和/或随动摄像头。Obtaining an environmental parameter, and determining, from the at least two cameras, a reference camera and/or a follow-up camera corresponding to the environmental parameter according to the environmental parameter.
可选地,所述方法还包括:Optionally, the method further includes:
获取所述至少两个摄像头中的每个摄像头的拍摄画面;Obtaining a photographing screen of each of the at least two cameras;
确定每个摄像头的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像头确定为所述参考摄像头。The sharpness of the photographing screen of each camera is determined, and the camera to which the sharpest photographing screen belongs is determined as the reference camera.
可选地,根据所述参考摄像头的数据点数确定随动摄像头的数据点数的步骤包括:Optionally, the step of determining the number of data points of the follow-up camera according to the number of data points of the reference camera comprises:
根据所述参考摄像头的数据点数和所述参考摄像头的对焦数据关系确定所述参考摄像头对应的物距;Determining an object distance corresponding to the reference camera according to a relationship between a data point number of the reference camera and a focus data of the reference camera;
根据所述参考摄像头对应的物距确定所述随动摄像头对应的物距;Determining an object distance corresponding to the following camera according to an object distance corresponding to the reference camera;
根据所述随动摄像头对应的物距和所述随动摄像头的对焦数据关系确定所述随动摄像头的数据点数。Determining the number of data points of the follow-up camera according to the object distance corresponding to the follow-up camera and the focus data relationship of the follow-up camera.
可选地,所述方法还包括以下至少之一:Optionally, the method further includes at least one of the following:
设置具有一一映射关系的数据点数和物距,生成所述对焦数据关系;Setting a data point number and an object distance having a one-to-one mapping relationship to generate the focus data relationship;
设置拟合曲线关系对应的拟合曲线参数,根据所述拟合曲线参数和所述拟合曲线关系生成所述对焦数据关系。A fitting curve parameter corresponding to the fitting curve relationship is set, and the focus data relationship is generated according to the fitting curve parameter and the fitting curve relationship.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
为实现上述方法,本发明实施例还提供了一种对焦装置,所述装置包括:至少两个摄像单元,所述装置还包括:参考对焦单元、数据获取单元和随动对焦单元;其中,In order to achieve the above method, an embodiment of the present invention further provides a focusing device, the device comprising: at least two camera units, the device further comprising: a reference focusing unit, a data acquiring unit, and a follow-up focusing unit;
所述参考对焦单元,设置成接收到对焦指令时,控制所述至少两个摄像单元中的参考摄像单元进行对焦,并获取所述参考摄像单元对焦后的数据点 数;The reference focusing unit is configured to control a reference imaging unit of the at least two imaging units to perform focusing when receiving a focus instruction, and acquire data points after the reference imaging unit is in focus number;
所述数据获取单元,设置成根据所述参考摄像单元的数据点数确定随动摄像单元的数据点数;其中,所述随动摄像单元为所述至少两个摄像单元中除所述参考摄像单元以外的摄像单元;The data acquisition unit is configured to determine the number of data points of the following imaging unit according to the number of data points of the reference imaging unit; wherein the following imaging unit is other than the reference imaging unit of the at least two imaging units Camera unit
所述随动对焦单元,设置成根据所述随动摄像单元的数据点数控制所述随动摄像单元进行对焦。The follow-up focusing unit is configured to control the follow-up imaging unit to perform focusing according to the number of data points of the following imaging unit.
可选地,所述装置还包括:第一参考确定单元,所述第一参考确定单元设置成:Optionally, the device further includes: a first reference determining unit, where the first reference determining unit is configured to:
获取环境参数,根据环境参数从所述至少两个摄像单元中确定与所述环境参数对应的参考摄像单元和/或随动摄像单元。Obtaining an environment parameter, and determining, from the at least two camera units, a reference camera unit and/or a follow-up camera unit corresponding to the environment parameter according to the environment parameter.
可选地,所述装置还包括:第二参考确定单元,所述第二参考确定单元设置成:Optionally, the device further includes: a second reference determining unit, where the second reference determining unit is configured to:
获取所述至少两个摄像单元中的每个摄像单元的拍摄画面;Obtaining a photographing screen of each of the at least two camera units;
确定每个摄像单元的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像单元确定为所述参考摄像头。The sharpness of the photographing screen of each imaging unit is determined, and the imaging unit to which the highest-definition photographing screen belongs is determined as the reference camera.
可选地,所述数据获取单元,设置成:Optionally, the data obtaining unit is configured to:
根据所述参考摄像单元的数据点数和所述参考摄像单元的对焦数据关系确定所述参考摄像单元对应的物距;Determining an object distance corresponding to the reference camera unit according to a relationship between a data point number of the reference camera unit and a focus data relationship of the reference camera unit;
根据所述参考摄像单元对应的物距确定所述随动摄像单元对应的物距;Determining an object distance corresponding to the following camera unit according to an object distance corresponding to the reference camera unit;
根据所述随动摄像单元对应的物距和所述随动摄像单元的对焦数据关系确定所述随动摄像单元的数据点数。Determining the number of data points of the follow-up imaging unit according to the object distance corresponding to the following imaging unit and the focus data relationship of the following imaging unit.
本发明实施例还提供了一种对焦装置,所述装置包括:控制器、参考摄像模组和随动摄像模组;所述随动摄像模组为至少两个摄像模组中除所述参考摄像模组以外的摄像模组;The embodiment of the invention further provides a focusing device, the device comprising: a controller, a reference camera module and a follow-up camera module; wherein the follow-up camera module is at least two camera modules except the reference a camera module other than the camera module;
所述控制器,设置成接收到对焦指令时,控制所述参考摄像模组进行对焦,并获取所述参考摄像模组对焦后的数据点数;根据所述参考摄像模组的数据点数确定所述随动摄像模组的数据点数; The controller is configured to: when the focus command is received, control the reference camera module to perform focusing, and obtain the number of data points after the reference camera module is in focus; and determine the number according to the data points of the reference camera module. The number of data points of the follow-up camera module;
所述随动摄像模组,设置成根据所述随动摄像模组的数据点数进行对焦。The follow-up camera module is configured to perform focusing according to the number of data points of the following camera module.
可选地,所述装置还包括:传感器;Optionally, the device further includes: a sensor;
所述传感器设置成获取环境参数,将所述环境参数发送至所述控制器;The sensor is configured to acquire an environmental parameter, and send the environmental parameter to the controller;
所述控制器,设置成根据环境参数从所述至少两个摄像模组中确定与所述环境参数对应的参考摄像模组和/或随动摄像模组。The controller is configured to determine a reference camera module and/or a follow-up camera module corresponding to the environment parameter from the at least two camera modules according to an environmental parameter.
可选地,所述控制器还设置成:Optionally, the controller is further configured to:
获取所述至少两个摄像模组中的每个摄像模组的拍摄画面;Obtaining a shooting image of each of the at least two camera modules;
确定每个摄像模组的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像模组确定为所述参考摄像模组。Determining the sharpness of the captured image of each camera module, and determining the camera module to which the highest-resolution captured image belongs is the reference camera module.
可选地,所述参考摄像模组包括参考音圈马达和参考镜头;所述随动摄像模组包括随动音圈马达和随动镜头;Optionally, the reference camera module includes a reference voice coil motor and a reference lens; the following camera module includes a follower voice coil motor and a follower lens;
所述控制器通过下列方式根据所述参考摄像模组的数据点数确定随动摄像模组的数据点数:The controller determines the number of data points of the following camera module according to the number of data points of the reference camera module in the following manner:
根据所述参考音圈马达的数据点数和所述参考摄像模组的对焦数据关系确定所述参考镜头对应的物距;Determining an object distance corresponding to the reference lens according to a relationship between a data point number of the reference voice coil motor and a focus data of the reference camera module;
根据所述参考镜头对应的物距确定所述随动镜头对应的物距;Determining an object distance corresponding to the following lens according to an object distance corresponding to the reference lens;
根据所述随动镜头对应的物距和所述随动摄像模组的对焦数据关系确定所述随动音圈马达的数据点数。Determining the number of data points of the follower voice coil motor according to the object distance corresponding to the following lens and the focus data relationship of the following camera module.
本发明实施例提供了一种对焦方法及对焦装置,该方法包括:接收到对焦指令时,控制至少两个摄像头中的参考摄像头进行对焦,并获取所述参考摄像头对焦后的数据点数;根据所述参考摄像头的数据点数确定随动摄像头的数据点数;其中,所述随动摄像头为至少两个摄像头中除所述参考摄像头以外的摄像头;根据所述随动摄像头的数据点数控制所述随动摄像头进行对焦。从而根据参考摄像头对焦之后的数据点数来确定其余的随动摄像头的数据点数,通过各摄像头的数据点数分别控制各摄像头进行对焦,有效提高多摄像头对焦速度和对焦的精度,实现多个摄像头之间快速有效的对焦。The embodiment of the present invention provides a focusing method and a focusing device. The method includes: when receiving a focus command, controlling a reference camera of at least two cameras to perform focusing, and acquiring data points after focusing of the reference camera; Determining the number of data points of the follow-up camera by the number of data points of the reference camera; wherein the follow-up camera is a camera other than the reference camera of at least two cameras; controlling the follow-up according to the number of data points of the follow-up camera The camera focuses. Therefore, according to the number of data points after the reference camera is focused, the number of data points of the remaining follow-up cameras is determined, and the number of data points of each camera is used to control each camera to focus, thereby effectively improving the focusing speed of the multi-camera and the accuracy of focusing, thereby realizing between multiple cameras. Fast and effective focus.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一提供的对焦方法的流程图;1 is a flowchart of a focusing method according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的物距与镜头的移动距离的关系示意图;2 is a schematic diagram showing a relationship between an object distance and a moving distance of a lens according to Embodiment 2 of the present invention;
图3为本发明实施例二提供的镜头的移动距离与数据点数的关系示意图;3 is a schematic diagram showing a relationship between a moving distance of a lens and a number of data points according to Embodiment 2 of the present invention;
图4为本发明实施例二提供的四对焦方法的流程图;4 is a flowchart of a four focus method according to Embodiment 2 of the present invention;
图5为本发明实施例四提供的对焦装置的结构示意图一;FIG. 5 is a schematic structural diagram 1 of a focusing device according to Embodiment 4 of the present invention; FIG.
图6为本发明实施例四提供的对焦装置的结构示意图二;6 is a second schematic structural diagram of a focusing device according to Embodiment 4 of the present invention;
图7为本发明实施例五提供的对焦装置的结构示意图一;FIG. 7 is a schematic structural diagram 1 of a focusing device according to Embodiment 5 of the present invention; FIG.
图8为本发明实施例五提供的对焦装置的结构示意图二;FIG. 8 is a second schematic structural diagram of a focusing device according to Embodiment 5 of the present invention; FIG.
图9为本发明实施例六提供的对焦装置的结构示意图。FIG. 9 is a schematic structural diagram of a focusing device according to Embodiment 6 of the present invention.
本发明的实施方式Embodiments of the invention
在本发明的各种实施例中:接收到对焦指令时,控制至少两个摄像头中的参考摄像头进行对焦,并获取所述参考摄像头对焦后的数据点数;根据所述参考摄像头的数据点数确定随动摄像头的数据点数;其中,所述随动摄像头为至少两个摄像头中除所述参考摄像头以外的摄像头;根据所述随动摄像头的数据点数控制所述随动摄像头进行对焦。In various embodiments of the present invention, when receiving the focus command, controlling a reference camera of the at least two cameras to perform focusing, and acquiring a data point after the reference camera is focused; determining, according to the number of data points of the reference camera The number of data points of the moving camera; wherein the follow-up camera is a camera other than the reference camera of at least two cameras; and the follow-up camera is controlled to perform focusing according to the number of data points of the follow-up camera.
下面结合附图对技术方案的实施作进一步的详细描述。The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings.
实施例一Embodiment 1
本发明实施例一提供一种对焦方法,应用于具有至少两个摄像头的终端,如图1所示,该方法包括:A first embodiment of the present invention provides a focusing method applied to a terminal having at least two cameras. As shown in FIG. 1, the method includes:
S101、接收到对焦指令时,控制至少两个摄像头中的参考摄像头进行对焦,并获取所述参考摄像头对焦后的数据点数;S101. When receiving the focus command, control a reference camera of the at least two cameras to perform focusing, and obtain a data point number after the reference camera is in focus;
当终端接收到用户的拍照操作或对焦操作时,生成对焦指令,基于对焦指令,获取终端中的至少两个摄像头中的参考摄像头进行对焦并获取对焦之后的数据点数,这里,数据点数为摄像头中的音圈马达的驱动输出的参数, 以控制摄像头的镜头的移动距离,在控制镜头的移动距离时,包括控制镜头的直线运动和具有摆角的运动,从而控制摄像头进行直线和角度的位移。When the terminal receives the photographing operation or the focusing operation of the user, generating a focus command, acquiring a reference camera of at least two cameras in the terminal to perform focusing and acquiring data points after focusing based on the focus instruction, where the number of data points is in the camera The parameters of the drive output of the voice coil motor, In order to control the moving distance of the lens of the camera, when controlling the moving distance of the lens, it includes controlling the linear motion of the lens and the motion with the swing angle, thereby controlling the linear and angular displacement of the camera.
在获取参考摄像头的数据点数之前,先确定参考摄像头,可预先确定至少两个摄像头中的一个摄像头作为参考摄像头,也可根据环境参数或各摄像头的拍摄画面来确定参考摄像头。Before obtaining the data points of the reference camera, the reference camera is determined, and one of the at least two cameras can be determined in advance as the reference camera, and the reference camera can also be determined according to the environmental parameters or the shooting pictures of the cameras.
这里,当预先确定至少两个摄像头中的一个摄像头作为参考摄像头时,可预先设置指定摄像头为参考摄像头,也可将启动的第一个摄像头作为参考摄像头,Here, when one of the at least two cameras is predetermined as the reference camera, the designated camera may be preset as the reference camera, or the first camera to be activated may be used as the reference camera.
参考摄像头的选择中,当任意一个摄像头只要已经清晰对上焦,就可以选定该摄像头为参考摄像头,此时,不用同时将所有的摄像头打开,再从几个中挑选,从而节省参考摄像头的选择时间以及功耗。In the selection of the reference camera, when any camera has been clearly focused on the focus, the camera can be selected as the reference camera. At this time, it is not necessary to open all the cameras at the same time, and then select from several, thereby saving the reference camera. Choose time and power consumption.
可选地,当对焦时,可以选任意一个摄像头对焦,或指定某一个摄像头开始对焦,当选定的这个摄像头拍摄最清晰时,以该摄像头作为参考摄像头,然后再启动其他摄像头进行对焦。此时,不控制各摄像头进行任何的移动,保持各摄像头的数据点数或物距维持在接收对焦指令时的状态,也在接收到对焦指令时,使得各摄像头的数据点数或物距保持一致。此时,参考摄像头已经是处于对焦最清晰点上,不需要再重新对焦或者额外的调整。Optionally, when focusing, you can select any camera to focus, or specify a camera to start focusing. When the selected camera is the clearest, use the camera as a reference camera, and then start other cameras to focus. At this time, the camera does not control any movement, and the number of data points or the object distance of each camera is maintained at the state when the focus command is received. When the focus command is received, the number of data points or the object distance of each camera is kept the same. At this point, the reference camera is already at the sharpest point of focus, no need to refocus or additional adjustments.
当根据环境参数确定参考摄像头时,还包括:获取环境参数,根据环境参数从所述至少两个摄像头中确定与所述环境参数对应的参考摄像头和/或随动摄像头。其中,环境参数可包括光线强度、温度、湿度等参数。以环境参数为光线强度、终端具有摄像头1和摄像头2为例,当获取的光线强度的值比较大时,表征当前的终端处于强光环境中,则选取摄像头1作为参考摄像头;当获取的光线强度的值比较小时,表征当前的终端处于弱光环境中,则选取摄像头2作为参考摄像头。这里,根据具体的环境参数来选取对应的参考摄像头的具体对应关系可由根据需求进行设置。When determining the reference camera according to the environmental parameter, the method further includes: acquiring an environmental parameter, and determining, from the at least two cameras, a reference camera and/or a follow-up camera corresponding to the environmental parameter according to the environmental parameter. The environmental parameters may include parameters such as light intensity, temperature, and humidity. Taking the environmental parameter as the light intensity and the terminal having the camera 1 and the camera 2 as an example, when the value of the acquired light intensity is relatively large, indicating that the current terminal is in a strong light environment, the camera 1 is selected as the reference camera; when the acquired light is obtained When the value of the intensity is relatively small, indicating that the current terminal is in a low light environment, the camera 2 is selected as the reference camera. Here, the specific correspondence between the corresponding reference cameras selected according to the specific environmental parameters may be set according to requirements.
当根据各摄像头的拍摄画面来确定参考摄像头时,还包括:获取所述至少两个摄像头中的每个摄像头的拍摄画面;确定每个摄像头的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像头确定为所述参考摄像头。When determining the reference camera according to the photographing screen of each camera, the method further includes: acquiring a photographing screen of each of the at least two cameras; determining a sharpness of the photographing screen of each camera, and setting a photographing screen with the highest definition The associated camera is determined as the reference camera.
这里,在进行对焦之前,并不确定多个摄像头中的哪个摄像头为参考摄 像头,在进行对焦时,分别获取各摄像头的拍摄画面,对各摄像头的拍摄画面进行画面分析,获取各拍摄画面的画面参数确定各拍摄画面的清晰度,确定出清晰度最高的拍摄画面,选取清晰度最高的拍摄画面所属的摄像头作为参考摄像头。在分别获取各摄像头的拍摄画面时,可不控制各摄像头进行任何的移动,保持各摄像头的数据点数或物距维持在接收对焦指令时的状态,也在接收到对焦指令时,使得各摄像头的数据点数或物距保持一致。Here, it is not determined which of the plurality of cameras is a reference photo before focusing. In the image head, when the focus is performed, the image capturing screens of the respective cameras are acquired, the screen images of the respective camera images are analyzed, the screen parameters of the respective shooting screens are acquired, the sharpness of each shooting screen is determined, and the highest resolution image is determined. Select the camera to which the highest resolution shooting screen belongs as the reference camera. When the photographing screens of the respective cameras are respectively acquired, the movement of each camera may be controlled without any movement, and the data points or object distances of the respective cameras are maintained at the state when the focus command is received, and the data of each camera is also obtained when the focus command is received. Points or object distances are consistent.
在确定出参考摄像头后,控制参考摄像头进行对焦,当参考摄像头进行对焦时,通过参考摄像头的音圈马达的数据点数调整参考摄像头的镜头的物距,调整好参考摄像头的焦点距离,使参考摄像头的成像达到最清晰的状态。当参考摄像头完成对焦后,获取参考摄像头的音圈马达的数据点数,即确定参考摄像头的数据点数。After determining the reference camera, the reference camera is controlled to focus. When the reference camera performs focusing, the object distance of the reference camera lens is adjusted by referring to the data point of the voice coil motor of the camera, and the focus distance of the reference camera is adjusted to make the reference camera The imaging is in the clearest state. After the reference camera finishes focusing, the number of data points of the voice coil motor of the reference camera is obtained, that is, the number of data points of the reference camera is determined.
S102、根据所述参考摄像头的数据点数确定随动摄像头的数据点数;其中,所述随动摄像头为至少两个摄像头中除所述参考摄像头以外的摄像头;S102: Determine, according to the number of data points of the reference camera, the number of data points of the follow-up camera; wherein the follow-up camera is a camera other than the reference camera of the at least two cameras;
这里,每一个摄像头具有对应的对焦数据关系,其中,对焦数据映射关为由数据点数与物距设置的对应关系。在本发明实施例中,还包括以下至少之一:设置具有一一映射关系的数据点数和物距,生成对焦数据关系;设置拟合曲线关系对应的拟合曲线参数,根据所述拟合曲线参数和所述拟合曲线关系生成对焦数据关系。Here, each camera has a corresponding focus data relationship, wherein the focus data map is closed to a correspondence relationship between the number of data points and the object distance. In the embodiment of the present invention, the method further includes at least one of: setting a data point number and an object distance having a one-to-one mapping relationship, generating a focus data relationship; setting a fitting curve parameter corresponding to the fitting curve relationship, according to the fitting curve The relationship between the parameter and the fitted curve generates a focus data relationship.
在上述设置具有一一映射关系的数据点数和物距生成对焦数据关系中,可根据实际的测试确定各摄像头的数据点数与物距之间的对应关系,在终端中提前预先设置具有一一对应关系的数据点数和物距,生成由数据点数和物距的关系构成的对焦数据关系。In the above relationship between the number of data points having a one-to-one mapping relationship and the object distance generating focus data, the correspondence between the number of data points of each camera and the object distance can be determined according to actual tests, and the one-to-one correspondence is preset in advance in the terminal. The number of data points and the object distance of the relationship generate a focus data relationship composed of the relationship between the number of data points and the object distance.
在上述设置拟合曲线关系对应的拟合曲线参数,根据所述拟合曲线参数和所述拟合曲线关系生成对焦数据关系生成对焦数据关系中,可根据测试确定拟合曲线关系并预先设置拟合曲线参数,这里,在拟合曲线关系中,以数据点数和物距为拟合参数,以拟合曲线参数为拟合系数,从而生成数据点数和物距的对焦数据关系。其中,选择拟合曲线关系时,可选取不同的方法进行拟合,比如:多项式拟合,指数函数拟合,线性拟合等方法。本发明实施例中对具体的拟合曲线关系并不进行限定。 In the above-mentioned setting curve curve corresponding to the fitting curve relationship, according to the relationship between the fitting curve parameter and the fitting curve relationship to generate a focus data relationship to generate a focus data relationship, the curve relationship can be determined according to the test and preset In combination with the curve parameters, in the curve relationship, the data points and the object distance are used as the fitting parameters, and the curve parameters are fitted as the fitting coefficients, thereby generating the focus data relationship between the data points and the object distance. Among them, when choosing the curve relationship, you can choose different methods to fit, such as polynomial fitting, exponential function fitting, linear fitting and so on. The specific fitting curve relationship is not limited in the embodiment of the present invention.
获取参考摄像头完成对焦后的数据点数后,根据所述参考摄像头的数据点数确定随动摄像头的数据点数的步骤包括:根据所述参考摄像头的数据点数和所述参考摄像头的对焦数据关系确定所述参考摄像头对应的物距;根据所述参考摄像头对应的物距确定所述随动摄像头对应的物距;根据所述随动摄像头对应的物距和所述随动摄像头的对焦数据关系确定所述随动摄像头的数据点数。这里,根据参考摄像头的数据点数确定参考摄像头的物距,根据参考摄像头的物距确定随动摄像头的物距,进一步的根据确定的随动摄像头的物距来确定其他随动摄像头的数据点数。这里,基于参考摄像头与随动摄像头属于同一终端,且拍摄的对象相同,可认为参考摄像头的物距和随动摄像头的物距相同,即参考摄像头的物距和随动摄像头的物距相等。After obtaining the number of data points after the reference camera completes focusing, determining the number of data points of the follow-up camera according to the data points of the reference camera includes: determining, according to the data point number of the reference camera and the focus data relationship of the reference camera Determining the object distance corresponding to the camera; determining the object distance corresponding to the following camera according to the object distance corresponding to the reference camera; determining the relationship according to the object distance corresponding to the following camera and the focus data relationship of the follow-up camera The number of data points of the follow-up camera. Here, the object distance of the reference camera is determined according to the number of data points of the reference camera, the object distance of the follow-up camera is determined according to the object distance of the reference camera, and the data points of the other follow-up cameras are further determined according to the determined object distance of the follow-up camera. Here, the reference camera and the follow-up camera belong to the same terminal, and the objects to be photographed are the same, and the object distance of the reference camera and the object distance of the follow-up camera are considered to be the same, that is, the object distance of the reference camera and the object distance of the follow-up camera are equal.
例如:当参考摄像头的数据点数为DN1时,根据参考摄像头的对焦数据关系确定对应的物距为L1;则根据物距L1通过随动摄像头的对焦数据关系确定随动摄像头的数据点数DN2、DN3等,这里,确定的数据点数的数量同随动摄像头的数量一致,从而保证一个摄像头具有对应的数据点数。For example, when the number of data points of the reference camera is DN1, the corresponding object distance is determined as L1 according to the focus data relationship of the reference camera; then the data point number DN2, DN3 of the follow-up camera is determined according to the focus data relationship of the follow-up camera according to the object distance L1. Etc. Here, the number of determined data points is the same as the number of follow-up cameras, thereby ensuring that one camera has a corresponding number of data points.
S103、根据所述随动摄像头的数据点数控制所述随动摄像头进行对焦。S103. Control the follow-up camera to perform focusing according to the number of data points of the follow-up camera.
当确定随动摄像头的数据点数后,根据各随动摄像头的数据点数控制各随动摄像头的音圈马达进行对应的移动,从而实现包括参考摄像头和随动摄像头在内的多个摄像头的对焦。After determining the number of data points of the follow-up camera, the voice coil motor of each follow-up camera is controlled to perform corresponding movement according to the number of data points of each follow-up camera, thereby achieving focusing of a plurality of cameras including the reference camera and the follow-up camera.
在本发明实施例中,可根据默认的设置确定参考摄像头,也可根据环境参数或各摄像头的成像来确定参考摄像头,使得参考摄像头的选择可根据实际的需求进行灵活选择,在接收到对焦指令后,先进行参考摄像头的对焦,并获取参考摄像头的数据点数,再进一步的根据参考摄像头的数据点数来确定其他随动摄像头的数据点数,来实现所有的摄像头快速的进行对焦。在本发明实施例中,并未强制性的保证各摄像头间的参数保持一致或进行对应的映射,而是根据各摄像头具有各自的对焦数据关系,实现各摄像头进行精准的对焦。In the embodiment of the present invention, the reference camera may be determined according to a default setting, and the reference camera may be determined according to environmental parameters or imaging of each camera, so that the selection of the reference camera can be flexibly selected according to actual needs, and the focus command is received. After that, first focus on the reference camera, and obtain the number of data points of the reference camera, and further determine the number of data points of other follow-up cameras according to the number of data points of the reference camera, so that all the cameras can quickly focus. In the embodiment of the present invention, it is not mandatory to ensure that the parameters between the cameras are consistent or corresponding mapping, but each camera has its own focus data relationship, so that each camera performs precise focusing.
实施例二Embodiment 2
在本实施例中,通过具体的场景应用对本发明实施例提供的对焦方法进行进一步说明。 In this embodiment, the focusing method provided by the embodiment of the present invention is further described by a specific scenario application.
这里,首先对本发明实施例中的各摄像头的对焦数据关系进行说明,具体的,涉及对多个摄像头的音圈马达(Voice Coil Motor,VCM)对焦参数的测量及拟合,根据实测的多个摄像头的对焦参数,拟合出对应的输出曲线,将拟合曲线的参数存储终端上。当进行对焦时候,当对一个摄像头完成对焦后,根据各摄像头的数据信息,计算出其他摄像头的需要到达的位置,以便在多摄像头拍照中提高对焦速度,更有效的实现多摄像头的协同对焦。Here, first, the relationship of the focus data of each camera in the embodiment of the present invention will be described. Specifically, the method relates to measuring and fitting the focus parameters of a voice coil motor (VCM) of a plurality of cameras. The focusing parameter of the camera is fitted to the corresponding output curve, and the parameters of the fitting curve are stored on the terminal. When focusing is performed, after focusing on one camera, according to the data information of each camera, the positions that other cameras need to reach are calculated, so that the focusing speed can be improved in the multi-camera photographing, and the multi-camera cooperative focusing can be more effectively realized.
这里,通过镜头的景深表信息可以得到物距与对焦清晰时候,镜头需要移动距离的对应关系如图2所示,其中,图2中,横轴表示物距(单位:米),纵轴表示镜头lens需要移动的距离(单位:毫米)。在摄像头对焦清晰成像时,物距用L表示,镜头需要移动的距离用M表示,根据镜头的物距和移动量的分布数据特征选择不同的方法进行拟合,例如:多项式拟合,指数函数拟合,线性拟合等方法,当采用多项式拟合时,可采用如下拟合曲线关系式:
Figure PCTCN2017089223-appb-000001
当采用指数函数拟合时,可采用拟合曲线关系式:M=k1*ek2*L  ①。
Here, through the depth of field information of the lens, the correspondence between the object distance and the focus is clear, and the corresponding distance of the lens needs to be moved as shown in FIG. 2, wherein, in FIG. 2, the horizontal axis represents the object distance (unit: meter), and the vertical axis represents The distance the lens lens needs to move (in millimeters). When the camera focuses on clear imaging, the object distance is represented by L, and the distance that the lens needs to move is represented by M. Different methods are selected according to the distribution data characteristics of the object distance and the movement amount of the lens, for example: polynomial fitting, exponential function Fitting, linear fitting, etc., when using polynomial fitting, the following fitting curve relationship can be used:
Figure PCTCN2017089223-appb-000001
When fitting with an exponential function, a fitting curve relationship can be used: M = k1 * e k2 * L 1 .
这里,通过多项式拟合的拟合曲线关系式的拟合来进行说明,将①进行变化得到:
Figure PCTCN2017089223-appb-000002
Here, the fitting of the fitting curve relationship by the polynomial fitting is explained, and 1 is changed to obtain:
Figure PCTCN2017089223-appb-000002
VCM通过驱动电路进行驱动,驱动电路的输出数据点数(data number,DN)跟lens的移动距离M(单位:毫米)的实测数据可通过如图3所示的关系式:其中,横轴为lens的移动距离M,纵轴为驱动电路的输出DN。The VCM is driven by the driving circuit. The measured data of the output data point number (DN) of the driving circuit and the moving distance M of the lens (unit: mm) can pass the relationship shown in FIG. 3: where the horizontal axis is lens The moving distance is M, and the vertical axis is the output DN of the driving circuit.
其中,由于重力作用,VCM随着终端在拍照时的情况,VCM本身在拍摄时会有上,下,水平三种摆放方向,如图3所示,在水平摆放时候,VCM的驱动电流从0到满量程/从满量程到0,即数据点数从0到满量程/从满量程到0对应的两条曲线。对于另两种方向曲线特性,只需在水平曲线基础上增减必要的偏移量Among them, due to the effect of gravity, VCM will have three orientations of up, down and horizontal when shooting. As shown in Figure 3, the driving current of VCM is horizontally placed. From 0 to full scale / from full scale to 0, that is, two curves of data points from 0 to full scale / from full scale to 0. For the other two direction curve characteristics, you only need to increase or decrease the necessary offset based on the horizontal curve.
M=k3*DN+offset  ③来表示,M=k3*DN+offset 3 to indicate that
由②、③得到物距L跟音圈马达的DN的函数关系:The relationship between the object distance L and the DN of the voice coil motor is obtained from 2 and 3:
Figure PCTCN2017089223-appb-000003
Figure PCTCN2017089223-appb-000003
即,对焦数据关系;通过对焦数据关系④可以根据物距L值,得知控制 音圈马达的驱动电路输出的DN值,反之由DN值求得物距L。That is, the focus data relationship; through the focus data relationship 4, the control can be known according to the object distance L value. The DN value of the drive circuit output of the voice coil motor, and the object distance L is obtained from the DN value.
对于有i个摄像头的终端或者装置,分别通测试i个摄像头各自的数据,分别拟合L_i跟DN_i的函数关系:For the terminal or device with i cameras, test the data of each camera separately, and fit the function relationship between L_i and DN_i respectively:
对于摄像头1:L1=ln((k31*DN1+offset1)/k11)/k21For camera 1: L 1 =ln((k3 1 *DN 1 +offset 1 )/k1 1 )/k2 1 ;
对于摄像头2:L2=ln((k32*DN2+offset2)/k12)/k22;……For camera 2: L 2 = ln((k3 2 *DN 2 +offset 2 )/k1 2 )/k2 2 ;......
对于摄像头i:Li=ln((k3i*DNi+offseti)/k1i)/k2iFor camera i:L i =ln((k3 i *DN i +offset i )/k1 i )/k 2 i
当多个摄像头协同对焦时,其中一颗摄像头在DN1处对焦清晰,则根据摄像头1的对焦数据关系式计算出物距L1,通过L1利用对焦数据关系④,可以计算出其他摄像头的音圈马达的driver IC输出的DN值。When multiple cameras are in focus, one of the cameras is in focus at DN 1 , then the object distance L 1 is calculated according to the focus data relationship of the camera 1 , and the focus data relationship 4 is used by L 1 to calculate other cameras. The DN value of the driver IC output of the voice coil motor.
在实际应用中,可通过以下方式确定对焦数据关系:In practical applications, the focus data relationship can be determined in the following ways:
(1)在摄像头的存储器件中,存入拟合曲线的参数,比如:k1、k2、k3和offest,生成对焦数据关系式。(1) In the storage device of the camera, parameters of the fitting curve, such as k1, k2, k3, and off, are stored, and a focus data relationship is generated.
(2)根据用拟合曲线,生成L跟DN的数据表,将信息存入摄像头的存储器件中。(2) According to the fitting curve, a data table of L and DN is generated, and the information is stored in the storage device of the camera.
(3)确定L及DN对应关系的数据,将数据存入摄像头存储器中。(3) Determine the data of the correspondence between L and DN, and store the data in the camera memory.
其中,(1)方式中设置拟合曲线参数,根据拟合曲线参数和拟合曲线关系生成关于物距和数据点数的对焦数据关系。(2)、(3)方式中设置具有一一对应关系的物距和数据点数生成关于物距和数据点数的对焦数据关系。Wherein, the fitting curve parameter is set in the (1) mode, and the focus data relationship between the object distance and the number of data points is generated according to the fitting curve parameter and the fitting curve relationship. In the (2) and (3) modes, the object distance and the number of data points having a one-to-one correspondence relationship are set to generate a focus data relationship regarding the object distance and the number of data points.
当设置完成上述数据后,进行多摄像头的对焦时,对焦的方法如图4所示:包括:When setting the above data, when focusing on multiple cameras, the method of focusing is shown in Figure 4:
S401、启动摄像头,加载各摄像头的映射数据关系;S401, start a camera, and load a mapping data relationship of each camera;
S402、参考摄像头进行对焦,并获取参考摄像头的数据点数;S402, the reference camera performs focusing, and obtains the data points of the reference camera;
其中一个摄像头启动拍照完成对焦。记录下此时DN值,这里,可以任选一个摄像头作为参考摄像头完成对焦,也可选定用户设置的主摄像头作为参考摄像头进行对焦,也可将多个摄像头分别进行对焦,将成像最清晰的摄像头作为参考摄像头进行对焦。One of the cameras starts taking a photo to complete the focus. Record the DN value at this time. Here, you can select one camera as the reference camera to complete the focus. You can also select the main camera set by the user as the reference camera to focus, or you can focus multiple cameras separately to get the most clear image. The camera focuses as a reference camera.
参考摄像头对焦完成后,记录参考摄像头的数据点数记为DN0After the reference camera is focused, the number of data points of the reference camera is recorded as DN 0 .
S403、根据参考摄像头的数据点数确定参考摄像头的物距;S403. Determine an object distance of the reference camera according to the number of data points of the reference camera.
根据参考摄像头的对焦数据映射关系的具体形式,通过函数式或查表的形式确定参考摄像头的DN0对应的物距L。According to the specific form of the focus data mapping relationship of the reference camera, the object distance L corresponding to the DN 0 of the reference camera is determined by a function formula or a table lookup form.
S404、根据参考摄像头的物距确定随动摄像头的数据点数;S404. Determine, according to the object distance of the reference camera, the number of data points of the follow-up camera;
这里,S403中确定的参考摄像头的物距L为随动摄像头的物距,则根据物距L通过函数式或查表的形式确定随动摄像头的DNi,第i个摄像头的数据点数为DNi。这里,随动摄像头可为一个,也可为多个。Here, the object distance L of the reference camera determined in S403 is the object distance of the follow-up camera, and the DN i of the follow-up camera is determined according to the object distance L according to the function type or the look-up table, and the data point of the i-th camera is DN. i . Here, the follow-up camera may be one or plural.
S405、根据随动摄像头的数据点数控制随动摄像头进行对焦。S405. Control the follow-up camera to focus according to the data points of the follow-up camera.
根据S404中确定的DNi驱动第i各摄像头运动到DNi位置。The i-th camera is moved to the DNi position according to the DN i determined in S404.
这里,在将摄像头运动到DNi位置后,可进一步判断在当前DNi时,摄像头i拍照是否足够清晰,如果不满足清晰度要求,可在DNi附近做微调,直到清晰度满足要求。Here, after moving the camera to the DNi position, it can be further judged whether the camera i is sufficiently clear when the current DNi is photographed, and if the definition is not satisfied, fine adjustment can be made near DNi until the resolution meets the requirements.
当终端的多个摄像头都对焦清晰后,即可对相机拍照、录像或者拍摄的视频的数据进行综合处理,例如照片组合等。When the camera of the terminal is in focus, the data of the camera, video or captured video can be comprehensively processed, such as photo combination.
在实际应用中,可在终端启动时,执行S401,从而在启动多摄像头的对焦时,直接使用加载的数据。In practical applications, S401 can be executed when the terminal is started, so that the loaded data is directly used when starting the focusing of the multi-camera.
实施例三Embodiment 3
在本实施例中,以具有chrome+mono的双摄像头装置为例对本发明实施例提供的对焦方法进行说明。In this embodiment, a focusing method provided by an embodiment of the present invention is described by taking a dual camera device having chrome+mono as an example.
强光环境下,chrome摄像模组作为参考摄像头对焦,mono摄像模组作为随动摄像头,待主摄像头对焦后,通过chrome摄像模组的数据点数,快速计算mono摄像模组对焦所需的DN值。In the glare environment, the chrome camera module is used as the reference camera to focus, and the mono camera module is used as the follow-up camera. After the main camera is focused, the number of data points of the chrome camera module is used to quickly calculate the DN value required for the mono camera module to focus. .
在暗环境下,由于mono摄像模组,具有更加高的信噪比,更好的灵敏度,选择mono摄像模组作为参考摄像头,chrome摄像模组作为随动摄像头,当mono摄像模组准确对焦后,通过mono摄像模组的数据点数,可以精确得到chrome摄像模组对焦所需DN值。In the dark environment, due to the mono camera module, with higher signal-to-noise ratio and better sensitivity, the mono camera module is selected as the reference camera, and the chrome camera module is used as the follow-up camera. When the mono camera module is in focus, Through the data points of the mono camera module, the DN value required for the focus of the chrome camera module can be accurately obtained.
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行 指令,所述计算机可执行指令被执行时实现上述方法。Embodiments of the present invention further provide a computer readable storage medium storing a computer executable The instructions, when the computer executable instructions are executed, implement the above method.
实施例四Embodiment 4
在本实施例中,为实现上述实施例提供的对焦方法,本实施例提供一种对焦装置,如图5所示,所述装置包括:至少两个摄像单元501,如图5中的虚线所示,所述装置还包括:参考对焦单元502、数据获取单元503和随动对焦单元504;其中,In this embodiment, in order to implement the focusing method provided by the foregoing embodiment, the embodiment provides a focusing device. As shown in FIG. 5, the device includes: at least two imaging units 501, as shown by the dotted line in FIG. The device further includes: a reference focusing unit 502, a data acquiring unit 503, and a follow-up focusing unit 504;
参考对焦单元502,设置成接收到对焦指令时,控制至少两个摄像单元501中的参考摄像单元进行对焦,并获取所述参考摄像单元对焦后的数据点数;The reference focusing unit 502 is configured to control the reference imaging unit of the at least two imaging units 501 to perform focusing, and acquire the number of data points after the reference imaging unit is in focus;
数据获取单元503,设置成根据所述参考摄像单元的数据点数确定随动摄像单元的数据点数;其中,所述随动摄像单元为至少两个摄像单元501中除所述参考摄像单元以外的摄像单元;The data acquisition unit 503 is configured to determine the number of data points of the following imaging unit according to the number of data points of the reference imaging unit; wherein the following imaging unit is an image of the at least two imaging units 501 other than the reference imaging unit unit;
数据获取单元503,设置成:根据所述参考摄像单元的数据点数和所述参考摄像单元的对焦数据关系确定所述参考摄像单元对应的物距;根据所述参考摄像单元对应的物距确定所述随动摄像单元对应的物距;根据所述随动摄像单元对应的物距和所述随动摄像单元的对焦数据关系确定所述随动摄像单元的数据点数。The data acquisition unit 503 is configured to: determine an object distance corresponding to the reference imaging unit according to the data point number of the reference imaging unit and the focus data relationship of the reference imaging unit; determine the object distance according to the object distance corresponding to the reference imaging unit The object distance corresponding to the following camera unit is determined; and the number of data points of the following camera unit is determined according to the object distance corresponding to the following camera unit and the focus data relationship of the following camera unit.
随动对焦单元504,设置成根据所述随动摄像单元的数据点数控制所述随动摄像单元进行对焦。The follow-up focusing unit 504 is configured to control the following imaging unit to perform focusing according to the number of data points of the following imaging unit.
如图6所示,所述装置还包括:第一参考确定单元505,第一参考确定单元505设置成:As shown in FIG. 6, the apparatus further includes: a first reference determining unit 505, and the first reference determining unit 505 is configured to:
获取环境参数,根据环境参数从所述至少两个摄像单元中确定与所述环境参数对应的参考摄像单元和/或随动摄像单元。Obtaining an environment parameter, and determining, from the at least two camera units, a reference camera unit and/or a follow-up camera unit corresponding to the environment parameter according to the environment parameter.
如图6所示,所述装置还包括:第二参考确定单元506,第二参考确定单元506设置成:As shown in FIG. 6, the apparatus further includes: a second reference determining unit 506, and the second reference determining unit 506 is configured to:
获取所述至少两个摄像单元中的每个摄像单元的拍摄画面;确定每个摄像单元的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像单元确定为所述参考摄像头。 Obtaining a photographing screen of each of the at least two imaging units; determining a sharpness of a photographing screen of each of the image capturing units, and determining an image capturing unit to which the sharpest photographing screen belongs is the reference camera.
在本发明实施例中,该装置通过以下至少之一的方式设置对焦数据关系:In an embodiment of the invention, the device sets the focus data relationship by at least one of the following:
设置具有一一映射关系的数据点数和物距,生成对焦数据关系;Setting a data point number and an object distance having a one-to-one mapping relationship to generate a focus data relationship;
设置拟合曲线关系对应的拟合曲线参数,根据所述拟合曲线参数和所述拟合曲线关系生成对焦数据关系。A fitting curve parameter corresponding to the fitting curve relationship is set, and a focus data relationship is generated according to the fitting curve parameter and the fitting curve relationship.
在实际应用中,摄像单元501可通过摄像头实现,当在终端中增加逻辑单元时,参考对焦单元502、数据获取单元503和随动对焦单元504可由位于终端中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、或可编程门阵列(FPGA,Field Programmable Gate Array)实现。In practical applications, the camera unit 501 can be implemented by a camera. When a logic unit is added to the terminal, the reference focus unit 502, the data acquisition unit 503, and the follow-up focus unit 504 can be centrally located in the terminal (CPU, Central Processing). Unit), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA) implementation.
实施例五Embodiment 5
为实现上述实施例提供的对焦方法,本实施例提供一种对焦装置,如图7所示,所述装置包括:控制器701、参考摄像模组702和随动摄像模组703,随动摄像模组703为至少两个摄像模组中除参考摄像模组702以外的摄像模组;In order to implement the focusing method provided by the foregoing embodiment, the embodiment provides a focusing device. As shown in FIG. 7, the device includes: a controller 701, a reference camera module 702, and a follow-up camera module 703. The module 703 is a camera module other than the reference camera module 702 of the at least two camera modules;
控制器701,设置成在接收到对焦指令时,控制参考摄像模组702进行对焦,并获取参考摄像模组702对焦后的数据点数;根据参考摄像模组702的数据点数确定随动摄像模组703的数据点数;The controller 701 is configured to, when receiving the focus command, control the reference camera module 702 to perform focusing, and obtain the number of data points after the reference camera module 702 focuses; determine the follow-up camera module according to the data points of the reference camera module 702. 703 data points;
随动摄像模组703,设置成根据所述随动摄像模组的数据点数进行对焦。The follow-up camera module 703 is configured to perform focusing according to the number of data points of the follow-up camera module.
在本实施例中,如图8所示,参考摄像模组702包括参考音圈马达7021和参考镜头7022;随动摄像模组703包括随动音圈马达7031和随动镜头7032;控制器701根据参考摄像模组702的数据点数确定随动摄像模组703的数据点数包括:根据参考音圈马达7021的数据点数和所述参考摄像模组的对焦数据关系确定参考镜头7022对应的物距;根据参考镜头7022对应的物距确定随动镜头7032对应的物距;根据所述随动镜头7032的物距和所述随动摄像模组的对焦数据关系确定随动音圈马达7031的数据点数。In this embodiment, as shown in FIG. 8, the reference camera module 702 includes a reference voice coil motor 7021 and a reference lens 7022; the follow-up camera module 703 includes a follower voice coil motor 7031 and a follower lens 7032; and the controller 701 Determining the number of data points of the following camera module 703 according to the number of data points of the reference camera module 702 includes: determining the object distance corresponding to the reference lens 7022 according to the data point number of the reference voice coil motor 7021 and the focus data relationship of the reference camera module; Determining the object distance corresponding to the follower lens 7032 according to the object distance corresponding to the reference lens 7022; determining the data points of the follower voice coil motor 7031 according to the object distance of the follower lens 7032 and the focus data relationship of the following camera module .
可选地,如图8所示,所述装置还包括:传感器704;Optionally, as shown in FIG. 8, the device further includes: a sensor 704;
传感器704设置成获取环境参数,将所述环境参数发送至所述控制器701;The sensor 704 is configured to acquire an environmental parameter, and send the environmental parameter to the controller 701;
控制器701,设置成根据环境参数从至少两个摄像模组中确定与所述环 境参数对应的参考摄像模组702和/或随动摄像模组703。The controller 701 is configured to determine the ring from the at least two camera modules according to the environmental parameter The reference camera module 702 and/or the follow-up camera module 703 corresponding to the environment parameters.
可选地,控制器701还设置成:获取所述至少两个摄像模组中的每个摄像模组的拍摄画面;确定每个摄像模组的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像模组确定为所述参考摄像模组702。Optionally, the controller 701 is further configured to: acquire a shooting image of each of the at least two camera modules; determine a sharpness of the captured image of each camera module, and capture the highest resolution The camera module to which the screen belongs is determined as the reference camera module 702.
在实际应用中,还可包括存储器,设置成存储各摄像模组的对焦数据关系;其中,通过以下至少之一的方式生成对焦数据关系:In an actual application, the memory may be further configured to store a focus data relationship of each camera module; wherein the focus data relationship is generated by at least one of the following:
设置具有一一映射关系的数据点数和物距,生成对焦数据关系;Setting a data point number and an object distance having a one-to-one mapping relationship to generate a focus data relationship;
设置拟合曲线关系对应的拟合曲线参数,根据所述拟合曲线参数和所述拟合曲线关系生成对焦数据关系。A fitting curve parameter corresponding to the fitting curve relationship is set, and a focus data relationship is generated according to the fitting curve parameter and the fitting curve relationship.
需要说明的时,本发明实施例中的摄像模组包括音圈马达和镜头,在确定摄像模组中的参考摄像模组702和随动摄像模组703后,将参考摄像模组703的音圈马达和镜头分别称为参考音圈马达7021、参考镜头7022;将随动摄像模组的音圈马达和镜头分别称为随动音圈马达7031、随动镜头7032。这里,从至少两个摄像模组中确定的参考摄像模组702可为一个,确定的随动摄像模组703可为一个或多个。When the description is made, the camera module in the embodiment of the present invention includes a voice coil motor and a lens. After determining the reference camera module 702 and the follow-up camera module 703 in the camera module, the sound of the camera module 703 will be referred to. The circle motor and the lens are referred to as a reference voice coil motor 7021 and a reference lens 7022, respectively; the voice coil motor and the lens of the following camera module are referred to as a follower voice coil motor 7031 and a follower lens 7032, respectively. Here, the reference camera module 702 determined from the at least two camera modules may be one, and the determined follow-up camera module 703 may be one or more.
实施例六Embodiment 6
在本实施例中,以图9所示的移动摄像装置对本发明实施例提供的对焦装置进行说明,如图9所示,包括控制器901和i个摄像模组902,i个摄像模组902分别为摄像模组9021至902i。In the embodiment, the focusing device provided by the embodiment of the present invention is described by the mobile camera shown in FIG. 9. As shown in FIG. 9, the controller 901 and the i camera modules 902 and the i camera modules 902 are included. They are camera modules 9021 to 902i, respectively.
其中,控制器901设置成控制摄像模组902的对焦、拍照、效果、测距、计算、补偿等功能。对于摄像模组9021-902i来说,i≥2,主要用于拍照、录像等功能。The controller 901 is configured to control functions such as focusing, photographing, effect, ranging, calculation, and compensation of the camera module 902. For the camera module 9021-902i, i≥2, mainly used for photographing, video recording and other functions.
各摄像模组包含了镜头、音圈马达、传感器和存储器。存储器保存拍照及拟合数据的参数。Each camera module includes a lens, a voice coil motor, a sensor, and a memory. The memory stores parameters for photographing and fitting data.
在实际应用中,摄像模组9021-902i中的一个摄像模组作为参考摄像模组,其余的摄像模组作为随动摄像模组。当接收到对焦指令时,参考摄像模组进行对焦,并将对焦完成后的音圈马达的数据点数发送给控制器,控制器根据接收的数据点数和参考摄像模组中的存储器中存储的对焦数据关系确定 参考摄像模组的镜头的物距和其余的随动摄像模组的镜头的物距,并进一步的根据随动摄像模组的物距和随动摄像模组中的存储器中存储的对焦数据关系确定各随动数据模组的数据点数,并根据各数据点数控制对应的随动摄像模组的音圈马达进行对焦,实现多摄像头的协同对焦。这里,参考摄像模组和随动摄像模组的物距相同。In practical applications, one of the camera modules 9021-902i serves as a reference camera module, and the remaining camera modules serve as a follow-up camera module. When receiving the focus command, the reference camera module performs focusing, and sends the data points of the voice coil motor after the focus is completed to the controller, and the controller according to the received data points and the focus stored in the memory in the reference camera module. Data relationship determination Referencing the object distance of the lens of the camera module and the object distance of the lens of the remaining camera module, and further according to the object distance of the follow-up camera module and the focus data stored in the memory in the follow-up camera module The number of data points of each follow-up data module is determined, and the voice coil motor of the corresponding follow-up camera module is controlled according to each data point to perform focusing, thereby achieving coordinated focusing of multiple cameras. Here, the object distance between the reference camera module and the follow-up camera module is the same.
需要说明的是,可通过一个总的存储器来存储各摄像模组的对焦数据关系。并通过一个传感器来选择参考摄像模组。It should be noted that the focus data relationship of each camera module can be stored through a total memory. The reference camera module is selected by a sensor.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the application can take the form of a hardware embodiment, a software embodiment, or an embodiment in combination with software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本申请是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组 合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或者所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable groups thereof. Hehe. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical units; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
以上所述,仅为本发明的较佳实施例而已,并非用于限定本申请的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present application.
工业实用性Industrial applicability
本发明实施例提供了一种对焦方法及对焦装置,从而根据参考摄像头对焦之后的数据点数来确定其余的随动摄像头的数据点数,通过各摄像头的数据点数分别控制各摄像头进行对焦,有效提高多摄像头对焦速度和对焦的精度,实现多个摄像头之间快速有效的对焦。 The embodiment of the invention provides a focusing method and a focusing device, so as to determine the number of data points of the remaining follow-up cameras according to the number of data points after the reference camera is focused, and control the cameras to focus by the number of data points of each camera, thereby effectively improving the number of the cameras. The camera's focusing speed and focus accuracy enable fast and effective focusing between multiple cameras.

Claims (14)

  1. 一种对焦方法,包括:A focusing method comprising:
    接收到对焦指令时,控制至少两个摄像头中的参考摄像头进行对焦,并获取所述参考摄像头对焦后的数据点数;Receiving a focus command, controlling a reference camera of at least two cameras to perform focusing, and acquiring a data point after the reference camera is in focus;
    根据所述参考摄像头的数据点数确定随动摄像头的数据点数;其中,所述随动摄像头为所述至少两个摄像头中除所述参考摄像头以外的摄像头;Determining, according to the number of data points of the reference camera, the number of data points of the follow-up camera; wherein the follow-up camera is a camera other than the reference camera of the at least two cameras;
    根据所述随动摄像头的数据点数控制所述随动摄像头进行对焦。The follow-up camera is controlled to perform focusing according to the number of data points of the follow-up camera.
  2. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    获取环境参数,根据所述环境参数从所述至少两个摄像头中确定与所述环境参数对应的参考摄像头和/或随动摄像头。Obtaining an environmental parameter, and determining, from the at least two cameras, a reference camera and/or a follow-up camera corresponding to the environmental parameter according to the environmental parameter.
  3. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    获取所述至少两个摄像头中的每个摄像头的拍摄画面;Obtaining a photographing screen of each of the at least two cameras;
    确定每个摄像头的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像头确定为所述参考摄像头。The sharpness of the photographing screen of each camera is determined, and the camera to which the sharpest photographing screen belongs is determined as the reference camera.
  4. 根据权利要求1所述的方法,其中,根据所述参考摄像头的数据点数确定随动摄像头的数据点数的步骤包括:The method of claim 1, wherein the step of determining the number of data points of the follower camera based on the number of data points of the reference camera comprises:
    根据所述参考摄像头的数据点数和所述参考摄像头的对焦数据关系确定所述参考摄像头对应的物距;Determining an object distance corresponding to the reference camera according to a relationship between a data point number of the reference camera and a focus data of the reference camera;
    根据所述参考摄像头对应的物距确定所述随动摄像头对应的物距;Determining an object distance corresponding to the following camera according to an object distance corresponding to the reference camera;
    根据所述随动摄像头对应的物距和所述随动摄像头的对焦数据关系确定所述随动摄像头的数据点数。Determining the number of data points of the follow-up camera according to the object distance corresponding to the follow-up camera and the focus data relationship of the follow-up camera.
  5. 根据权利要求4所述的方法,所述方法还包括以下至少之一:The method of claim 4, the method further comprising at least one of the following:
    设置具有一一映射关系的数据点数和物距,生成所述对焦数据关系;Setting a data point number and an object distance having a one-to-one mapping relationship to generate the focus data relationship;
    设置拟合曲线关系对应的拟合曲线参数,根据所述拟合曲线参数和所述拟合曲线关系生成所述对焦数据关系。A fitting curve parameter corresponding to the fitting curve relationship is set, and the focus data relationship is generated according to the fitting curve parameter and the fitting curve relationship.
  6. 一种对焦装置,包括:至少两个摄像单元,所述装置还包括:参考对焦单元、数据获取单元和随动对焦单元;其中, A focusing device includes: at least two imaging units, the device further comprising: a reference focusing unit, a data acquiring unit, and a follow-up focusing unit; wherein
    所述参考对焦单元,设置成接收到对焦指令时,控制所述至少两个摄像单元中的参考摄像单元进行对焦,并获取所述参考摄像单元对焦后的数据点数;The reference focusing unit is configured to control a reference imaging unit of the at least two imaging units to perform focusing when receiving a focus instruction, and acquire a data point after the reference imaging unit is in focus;
    所述数据获取单元,设置成根据所述参考摄像单元的数据点数确定随动摄像单元的数据点数;其中,所述随动摄像单元为所述至少两个摄像单元中除所述参考摄像单元以外的摄像单元;The data acquisition unit is configured to determine the number of data points of the following imaging unit according to the number of data points of the reference imaging unit; wherein the following imaging unit is other than the reference imaging unit of the at least two imaging units Camera unit
    所述随动对焦单元,设置成根据所述随动摄像单元的数据点数控制所述随动摄像单元进行对焦。The follow-up focusing unit is configured to control the follow-up imaging unit to perform focusing according to the number of data points of the following imaging unit.
  7. 根据权利要求6所述的装置,还包括:第一参考确定单元,所述第一参考确定单元设置成:The apparatus of claim 6, further comprising: a first reference determining unit, the first reference determining unit being configured to:
    获取环境参数,根据环境参数从所述至少两个摄像单元中确定与所述环境参数对应的参考摄像单元和/或随动摄像单元。Obtaining an environment parameter, and determining, from the at least two camera units, a reference camera unit and/or a follow-up camera unit corresponding to the environment parameter according to the environment parameter.
  8. 根据权利要求6所述的装置,还包括:第二参考确定单元,所述第二参考确定单元设置成:The apparatus of claim 6, further comprising: a second reference determining unit, the second reference determining unit being configured to:
    获取所述至少两个摄像单元中的每个摄像单元的拍摄画面;Obtaining a photographing screen of each of the at least two camera units;
    确定每个摄像单元的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像单元确定为所述参考摄像头。The sharpness of the photographing screen of each imaging unit is determined, and the imaging unit to which the highest-definition photographing screen belongs is determined as the reference camera.
  9. 根据权利要求6所述的装置,其中,所述数据获取单元设置成:The apparatus according to claim 6, wherein said data acquisition unit is configured to:
    根据所述参考摄像单元的数据点数和所述参考摄像单元的对焦数据关系确定所述参考摄像单元对应的物距;Determining an object distance corresponding to the reference camera unit according to a relationship between a data point number of the reference camera unit and a focus data relationship of the reference camera unit;
    根据所述参考摄像单元对应的物距确定所述随动摄像单元对应的物距;Determining an object distance corresponding to the following camera unit according to an object distance corresponding to the reference camera unit;
    根据所述随动摄像单元对应的物距和所述随动摄像单元的对焦数据关系确定所述随动摄像单元的数据点数。Determining the number of data points of the follow-up imaging unit according to the object distance corresponding to the following imaging unit and the focus data relationship of the following imaging unit.
  10. 一种对焦装置,包括:控制器、参考摄像模组和随动摄像模组;所述随动摄像模组为至少两个摄像模组中除所述参考摄像模组以外的摄像模组;A focusing device includes: a controller, a reference camera module, and a follow-up camera module; the follow-up camera module is a camera module other than the reference camera module of at least two camera modules;
    所述控制器,设置成在接收到对焦指令时,控制所述参考摄像模组进行对焦,并获取所述参考摄像模组对焦后的数据点数;根据所述参考摄像模组 的数据点数确定所述随动摄像模组的数据点数;The controller is configured to, when receiving the focus command, control the reference camera module to perform focusing, and acquire data points after the reference camera module is in focus; according to the reference camera module The number of data points determines the number of data points of the follow-up camera module;
    所述随动摄像模组,设置成根据所述随动摄像模组的数据点数进行对焦。The follow-up camera module is configured to perform focusing according to the number of data points of the following camera module.
  11. 根据权利要求10所述的装置,还包括:传感器;The apparatus of claim 10 further comprising: a sensor;
    所述传感器设置成获取环境参数,将所述环境参数发送至所述控制器;The sensor is configured to acquire an environmental parameter, and send the environmental parameter to the controller;
    所述控制器,设置成根据环境参数从所述至少两个摄像模组中确定与所述环境参数对应的参考摄像模组和/或随动摄像模组。The controller is configured to determine a reference camera module and/or a follow-up camera module corresponding to the environment parameter from the at least two camera modules according to an environmental parameter.
  12. 根据权利要求10所述的装置,所述控制器还设置成:The apparatus of claim 10, the controller further configured to:
    获取所述至少两个摄像模组中的每个摄像模组的拍摄画面;Obtaining a shooting image of each of the at least two camera modules;
    确定每个摄像模组的拍摄画面的清晰度,将清晰度最高的拍摄画面所属的摄像模组确定为所述参考摄像模组。Determining the sharpness of the captured image of each camera module, and determining the camera module to which the highest-resolution captured image belongs is the reference camera module.
  13. 根据权利要求10所述的装置,其中,所述参考摄像模组包括参考音圈马达和参考镜头;所述随动摄像模组包括随动音圈马达和随动镜头;The device according to claim 10, wherein the reference camera module comprises a reference voice coil motor and a reference lens; the follow-up camera module comprises a follower voice coil motor and a follower lens;
    所述控制器通过下列方式根据所述参考摄像模组的数据点数确定随动摄像模组的数据点数:The controller determines the number of data points of the following camera module according to the number of data points of the reference camera module in the following manner:
    根据所述参考音圈马达的数据点数和所述参考摄像模组的对焦数据关系确定所述参考镜头对应的物距;Determining an object distance corresponding to the reference lens according to a relationship between a data point number of the reference voice coil motor and a focus data of the reference camera module;
    根据所述参考镜头对应的物距确定所述随动镜头对应的物距;Determining an object distance corresponding to the following lens according to an object distance corresponding to the reference lens;
    根据所述随动镜头对应的物距和所述随动摄像模组的对焦数据关系确定所述随动音圈马达的数据点数。Determining the number of data points of the follower voice coil motor according to the object distance corresponding to the following lens and the focus data relationship of the following camera module.
  14. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。 A computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
PCT/CN2017/089223 2016-12-09 2017-06-20 Focusing method, and focusing device WO2018103299A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611132287.9 2016-12-09
CN201611132287.9A CN108616685B (en) 2016-12-09 2016-12-09 Focusing method and focusing device

Publications (1)

Publication Number Publication Date
WO2018103299A1 true WO2018103299A1 (en) 2018-06-14

Family

ID=62490640

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089223 WO2018103299A1 (en) 2016-12-09 2017-06-20 Focusing method, and focusing device

Country Status (2)

Country Link
CN (1) CN108616685B (en)
WO (1) WO2018103299A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110767145A (en) * 2019-10-24 2020-02-07 武汉天马微电子有限公司 Display device and driving method thereof
CN112995496A (en) * 2019-12-18 2021-06-18 青岛海信移动通信技术股份有限公司 Video recording method and mobile terminal
CN113315909A (en) * 2021-05-06 2021-08-27 湖北三赢兴光电科技股份有限公司 Quick focusing and laminating method based on camera module AA (advanced manufacturing technology) process
CN116233605A (en) * 2023-05-08 2023-06-06 此芯科技(武汉)有限公司 Focusing implementation method and device, storage medium and image pickup equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147741B (en) * 2019-12-27 2021-08-13 Oppo广东移动通信有限公司 Focusing processing-based anti-shake method and device, electronic equipment and storage medium
CN112770057A (en) * 2021-01-20 2021-05-07 北京地平线机器人技术研发有限公司 Camera parameter adjusting method and device, electronic equipment and storage medium
CN114095657B (en) * 2021-11-22 2024-02-27 成都天翼空间科技有限公司 Automatic calibration method and system based on newly added camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722080A (en) * 2012-06-27 2012-10-10 绍兴南加大多媒体通信技术研发有限公司 Multifunctional three-dimensional shooting method based on multiple-lens shooting
CN103986876A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring terminal and image acquiring method
CN104660909A (en) * 2015-03-11 2015-05-27 酷派软件技术(深圳)有限公司 Image acquisition method, image acquisition device and terminal
US20150271467A1 (en) * 2014-03-20 2015-09-24 Neal Weinstock Capture of three-dimensional images using a single-view camera
CN105578024A (en) * 2015-05-27 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Camera focusing method, focusing device and mobile terminal
CN105847664A (en) * 2015-07-31 2016-08-10 维沃移动通信有限公司 Shooting method and device for mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9998665B2 (en) * 2014-07-21 2018-06-12 Lenovo (Singapore) Pte. Ltd. Camera mode selection based on context

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722080A (en) * 2012-06-27 2012-10-10 绍兴南加大多媒体通信技术研发有限公司 Multifunctional three-dimensional shooting method based on multiple-lens shooting
US20150271467A1 (en) * 2014-03-20 2015-09-24 Neal Weinstock Capture of three-dimensional images using a single-view camera
CN103986876A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring terminal and image acquiring method
CN104660909A (en) * 2015-03-11 2015-05-27 酷派软件技术(深圳)有限公司 Image acquisition method, image acquisition device and terminal
CN105578024A (en) * 2015-05-27 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Camera focusing method, focusing device and mobile terminal
CN105847664A (en) * 2015-07-31 2016-08-10 维沃移动通信有限公司 Shooting method and device for mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110767145A (en) * 2019-10-24 2020-02-07 武汉天马微电子有限公司 Display device and driving method thereof
CN110767145B (en) * 2019-10-24 2022-07-26 武汉天马微电子有限公司 Display device and driving method thereof
CN112995496A (en) * 2019-12-18 2021-06-18 青岛海信移动通信技术股份有限公司 Video recording method and mobile terminal
CN112995496B (en) * 2019-12-18 2022-07-05 青岛海信移动通信技术股份有限公司 Video recording method and mobile terminal
CN113315909A (en) * 2021-05-06 2021-08-27 湖北三赢兴光电科技股份有限公司 Quick focusing and laminating method based on camera module AA (advanced manufacturing technology) process
CN116233605A (en) * 2023-05-08 2023-06-06 此芯科技(武汉)有限公司 Focusing implementation method and device, storage medium and image pickup equipment
CN116233605B (en) * 2023-05-08 2023-07-25 此芯科技(武汉)有限公司 Focusing implementation method and device, storage medium and image pickup equipment

Also Published As

Publication number Publication date
CN108616685A (en) 2018-10-02
CN108616685B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
WO2018103299A1 (en) Focusing method, and focusing device
KR102143456B1 (en) Depth information acquisition method and apparatus, and image collection device
CN103197491B (en) The method of fast automatic focusing and image collecting device
US9531938B2 (en) Image-capturing apparatus
JP2008541161A (en) Digital camera with triangulation autofocus system and associated method
US20130322862A1 (en) Method and digital camera having improved autofocus
JP2005033508A (en) Imaging device
WO2018049791A1 (en) Focusing compensation device of camera module and method therefor, and camera terminal
US20160248988A1 (en) Method for Obtaining a Picture and Multi-Camera System
JP2019092119A (en) Imaging device, lens device, and control method thereof
JP2018087864A (en) Focus adjustment device, and focus adjustment device control method
CN105472237B (en) Picture pick-up device and image capture method
JP2011013425A (en) Image pickup apparatus, zoom correction information creating method and program
JP2011217368A (en) Imaging apparatus, camera body and interchangeable lens
JP2016143022A (en) Imaging device and imaging method
CN105635564A (en) Multiple camera apparatus and method for synchronized autofocus
JP6432038B2 (en) Imaging device
JP6357646B2 (en) Imaging device
JP2008129455A (en) Imaging device, control method, and program
JP2009232325A5 (en)
JP2019004416A (en) Imaging apparatus, control method for the same, and control program
JP6089232B2 (en) Imaging device
JP2020046615A (en) Control device, imaging apparatus, control method, program, and storage medium
JP2014164028A (en) Imaging apparatus and switching method of imaging parameter and program
US11930280B2 (en) Imaging support device, imaging system, imaging support method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17878591

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17878591

Country of ref document: EP

Kind code of ref document: A1