CN106610553A - A method and apparatus for auto-focusing - Google Patents

A method and apparatus for auto-focusing Download PDF

Info

Publication number
CN106610553A
CN106610553A CN201510690355.2A CN201510690355A CN106610553A CN 106610553 A CN106610553 A CN 106610553A CN 201510690355 A CN201510690355 A CN 201510690355A CN 106610553 A CN106610553 A CN 106610553A
Authority
CN
China
Prior art keywords
optical system
imaging optical
imaging
control voltage
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510690355.2A
Other languages
Chinese (zh)
Other versions
CN106610553B (en
Inventor
李其昌
郁树达
叶茂
蒋凌锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Super Technology Co Ltd
Original Assignee
深圳超多维光电子有限公司
深圳市墨克瑞光电子研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳超多维光电子有限公司, 深圳市墨克瑞光电子研究院 filed Critical 深圳超多维光电子有限公司
Priority to CN201510690355.2A priority Critical patent/CN106610553B/en
Publication of CN106610553A publication Critical patent/CN106610553A/en
Application granted granted Critical
Publication of CN106610553B publication Critical patent/CN106610553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • 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

Abstract

The present invention provides a method and an apparatus for auto-focusing. The method for auto-focusing comprises the steps of: acquiring scene depth information of an imaging object in a current scene; determining a control voltage of an imaging optical system based on a calibration relationship between the scene depth information and the control voltage of the imaging optical system; and controlling auto-focusing of the imaging optical system through using the control voltage. In the embodiment of the present invention, the control voltage is determined directly based on the scene depth information of the imaging object in the current scene by the calibration relationship between the scene depth information and the control voltage of the imaging optical system, so that the auto-focusing can be directly realized in accordance with the control voltage; rapid focusing is realized without mechanical movements; power consumption of the optical system is reduced; and the usage life of the optical system is prolonged.

Description

A kind of method and device of auto-focusing
Technical field
The present invention relates to technical field of imaging, more particularly to a kind of method and device of auto-focusing.
Background technology
Imaging system is respectively provided with irreplaceability, auto-focusing unit (device in national defence, scientific research and life And method) it is one of critical function module of imaging system, its life-span, power consumption and size all receive much concern. Common auto-focusing unit (such as voice coil motor VCM etc.) is all to change image distance to realize by mechanical movement Focusing, life-span, power consumption and size have significant limitation.
The content of the invention
It is an object of the invention to provide a kind of method and device of auto-focusing, solves existing focusing side Limitation of the method to the life-span, power consumption and size of imaging optical system.
In order to achieve the above object, the embodiment of the present invention provides a kind of method of auto-focusing, for imaging System, including:
Obtain the depth information of scene of imaging object under current scene;
According to the demarcation relation between the control voltage of the depth information of scene and the imaging optical system, Determine the control voltage of the imaging optical system;
The imaging optical system auto-focusing is controlled using the control voltage.
Wherein, the depth information of scene step for obtaining imaging object under current scene includes:
Under current scene, first defocusing degree and second pair of coke-like of imaging object when obtaining the first focusing state Second defocusing degree of imaging object during state;
The scene depth of the imaging object is determined according to first defocusing degree and second defocusing degree Information.
Wherein, between the control voltage according to the depth information of scene and the imaging optical system The step of demarcation relation, control voltage for determining the imaging optical system, includes:
Obtain the demarcation relation between the control voltage of the depth information of scene and the imaging optical system;
According to the depth information of scene and the demarcation relation, the control of the imaging optical system is determined Voltage.
Wherein, it is described to obtain between the depth information of scene and the control voltage of the imaging optical system The step of demarcation relation, includes:
Obtain the first demarcation relation between the focal length and the control voltage of imaging optical system of imaging optical system;
Obtain the second demarcation relation between the object distance and the focal length of imaging optical system of imaging optical system;
Obtain the 3rd demarcation relation between the object distance and the depth information of scene of imaging object of imaging optical system;
The scene depth is determined according to the first demarcation relation, the second demarcation relation and the 3rd demarcation relation Demarcation relation between the control voltage of degree information and the imaging optical system.
Wherein, the between the focal length and the control voltage of imaging optical system for obtaining imaging optical system The step of one demarcation relation, includes:
Obtain the expression formula of the focal length of imaging optical system;
According to root-mean-square value RMS, described in when determining the minimum focus of imaging optical system and recording minimum focus The control voltage of imaging optical system is minimum control voltage;
On the basis of the minimum control voltage, control voltage described in consecutive variations simultaneously records each control electricity The focal length of pressure, so that it is determined that between the control voltage of the focal length and imaging optical system of imaging optical system First demarcates relation.
Wherein, the second mark between the object distance and the focal length of imaging optical system for obtaining imaging optical system The step of determining relation includes:
Based on Gauss imaging theory, obtain between the object distance and the focal length of imaging optical system of imaging optical system Second demarcation relation.
Wherein, the between the object distance and the depth information of scene of imaging object for obtaining imaging optical system The step of three demarcation relations, includes:
Imaging object is positioned at different object distances;
The depth information of scene of the imaging object at each object distance is obtained respectively;
The mapping relations one by one of the object distance and the depth information of scene are set up, the mapping relations one by one are Described 3rd demarcates relation.
The embodiment of the present invention also provides a kind of device of auto-focusing, for imaging optical system, including:
Acquisition module, for obtaining the depth information of scene of imaging object under current scene;
Determining module, for the control voltage according to the depth information of scene and the imaging optical system it Between demarcation relation, determine the control voltage of the imaging optical system;
Focusing module, for controlling the imaging optical system auto-focusing using the control voltage.
Wherein, the acquisition module includes:
First acquisition submodule, under current scene, the first of imaging object when obtaining the first focusing state Second defocusing degree of imaging object when defocusing degree and the second focusing state;
Second acquisition submodule, for determining institute according to first defocusing degree and second defocusing degree State the depth information of scene of imaging object.
Wherein, the determining module includes:
Acquisition module, for obtain the depth information of scene and the imaging optical system control voltage it Between demarcation relation;
Determination sub-module, for according to the depth information of scene and the demarcation relation, determine it is described into The control voltage of image optical system.
Wherein, the acquisition module includes:
First acquisition submodule, for obtaining the control electricity of the focal length of imaging optical system and imaging optical system The first demarcation relation between pressure;
Second acquisition submodule, for obtain the object distance of imaging optical system and imaging optical system focal length it Between second demarcation relation;
3rd acquisition submodule, for obtaining the scene depth letter of the object distance of imaging optical system and imaging object The 3rd demarcation relation between breath;
4th acquisition submodule, for demarcating relation, the second demarcation relation and the 3rd mark according to described first Determine relation and determine the demarcation relation between the control voltage of the depth information of scene and the imaging optical system.
Wherein, first acquisition submodule includes:
Acquiring unit, for obtaining the expression formula of the focal length of imaging optical system;
First recording unit, for according to root-mean-square value RMS, determining the minimum focus of imaging optical system simultaneously During record minimum focus, the control voltage of the imaging optical system is minimum control voltage;
Second recording unit, on the basis of the minimum control voltage, control voltage described in consecutive variations And the focal length under each control voltage is recorded, so that it is determined that the focal length of imaging optical system and image opticss system The first demarcation relation between the control voltage of system.
Wherein, second acquisition submodule includes:
Gauss demarcates unit, for based on Gauss imaging theory, obtaining object distance and the imaging of imaging optical system The second demarcation relation between the focal length of optical system.
Wherein, the 3rd acquisition submodule includes:
Placement unit, for imaging object is positioned at different object distances;
Depth unit, for obtaining the depth information of scene of the imaging object at each object distance respectively;
Relation sets up unit, for setting up the mapping relations one by one of the object distance and the depth information of scene, The mapping relations one by one are the described 3rd demarcation relation.
The above-mentioned technical proposal of the present invention at least has the advantages that:
In the method and device of the auto-focusing of the embodiment of the present invention, by depth information of scene and image opticss Demarcation relation between the control voltage of system, directly believes according to the scene depth of imaging object under current scene Breath determines control voltage such that it is able to directly realizes auto-focusing according to control voltage, realizes rapid focus And not by mechanical movement come realize focusing, reduce imaging optical system power consumption, extend imaging optical system Life-span.
Description of the drawings
Fig. 1 represents the basic step flow chart of the method for auto-focusing provided in an embodiment of the present invention;
Fig. 2 obtains the concrete steps of demarcation relation in representing the method for auto-focusing provided in an embodiment of the present invention Flow chart;
Fig. 3 obtains demarcation relation in representing the concrete application of the method for auto-focusing provided in an embodiment of the present invention Detailed process figure;
Fig. 4 represents the composition structure chart of the device of auto-focusing provided in an embodiment of the present invention.
Specific embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
The present invention has to life-span of imaging optical system, power consumption and size for focusing method of the prior art A kind of problem of significant limitations, there is provided method and device of auto-focusing, by depth information of scene with into Demarcation relation between the control voltage of image optical system, the directly scene according to imaging object under current scene Depth information determines control voltage such that it is able to directly realize auto-focusing according to control voltage, realizes fast Speed focusing and not by mechanical movement come realize focusing, reduce imaging optical system power consumption, extend imaging Learn system lifetim.
As shown in figure 1, the embodiment of the present invention provides a kind of method of auto-focusing, for imaging optical system, Including:
Step 11, obtains the depth information of scene of imaging object under current scene;
Step 12, according to the mark between the control voltage of the depth information of scene and the imaging optical system Determine relation, determine the control voltage of the imaging optical system;
Step 13, controls the imaging optical system auto-focusing using the control voltage.
In the above embodiment of the present invention, scene depth is exactly the definition range before and after focus, and scene depth is got over Greatly, whole image will be more clear from distant view to close shot;Scene depth is more shallow, and focus main body is clear and prospect More will blur with background, so as to more stressing main.The factor of scene depth is affected to be mainly focal length, aperture And shooting distance.Focal length is longer, and aperture is bigger, and shooting distance is nearer, then scene depth is more shallow;Conversely, Focal length is shorter, and aperture is less, and shooting distance is more remote, then scene depth is bigger.
Generally two magnitudes of voltage of the control voltage of its imaging optical system are (V1, V2), by image opticss The focusing voltage of system realizes the auto-focusing of imaging optical system by being set to above-mentioned two magnitude of voltage. Therefore relation is demarcated according to one in the embodiment of the present invention, control voltage can be obtained according to depth information of scene directly, So as to realize rapid focus.
Atomatic focusing method provided in an embodiment of the present invention, realizes focusing without the need for by mechanical movement, it is only necessary to Rapid focus are capable of achieving by way of changing control voltage;Reduce the power consumption of imaging optical system, extend The life-span of imaging optical system, and improve focusing speed.
Further, in the embodiment of the present invention, step 11 includes:
Step 111, under current scene, the first defocusing degree of imaging object and the when obtaining the first focusing state Second defocusing degree of imaging object during two focusing states;
Step 112, determines the imaging object according to first defocusing degree and second defocusing degree Depth information of scene.
The above embodiment of the present invention calculates depth information of scene using the method for range of defocusing DFD.Specifically , DFD be one by object the defocusing degree of defocus condition difference come the method that calculates depth.Its In, when an object be in focal plane when, object can present one clearly as.And work as object distance pair During one segment distance of focal plane, image objects gradually can be obscured, we term it object is in defocus condition.Thing Body is more remote apart from focal plane, then defocusing degree is heavier.Therefore it is right in difference according to object under same scene Difference degree of defocusing degree during coke-like state is speculating the scene depth of object.
The method of general DFD is to calculate depth according to two figures.By the image distance or the Jiao that change imaging system Away from obtaining imaging 1 of the same scene under two different focus states respectively, imaging 2;Then using many Group narrow band filter (pass-band filter), or FRACTIONAL FILTER (rational filter) etc. obtains scene Relative degree of defocusing.Object is into one-to-one relationship within the specific limits relative to degree of defocusing and scene depth , therefore a range of scene depth can be calculated by this method.
Preferably, its first focusing state may be configured as focal length for minimum focus fminState, now imaging System in this case may be used in the fuzzy state of prospect clear (focusing to most front scene) and background Obtain image I-F;Its second focusing state may be configured as focal length for maximum focal length fmaxState, be now imaged The state that optical system is obscured in background clear (focusing to last scene) and prospect, in this case Image I-B can be obtained.The defocusing degree of the defocusing degree and image I-B of image I-F can be individually obtained subsequently, The relative defocusing degree of image I-F and image I-B can be also obtained, so that field is determined according to the defocusing degree for obtaining Depth of field degree.And under normal circumstances, above-mentioned depth bounds is that focusing when generating image I-F and image I-B is put down Depth between face.
It should be noted that the focusing state of its minimum focus and maximum focal length is only a preferable reality of the application Example is applied, the image that other arbitrary focusing states being located between maximum focal length and minimum focus are obtained can use To calculate scene depth, here differs a citing.
Preferably, step 12 includes in the above embodiment of the present invention:
Step 121, obtains the mark between the depth information of scene and the control voltage of the imaging optical system Determine relation;
Step 122, according to the depth information of scene and the demarcation relation, determines the image opticss system The control voltage of system.
Due between depth information of scene and the control voltage of imaging optical system in the above embodiment of the present invention Demarcation relation be not prior art content, therefore in order to smoothly realize the present invention offer auto-focusing, The demarcation relation between depth information of scene and control voltage need to first be determined, a functional relationship is generally available and is represented; So as to the depth information of scene obtained in step 11 is substituted in functional relation, its control voltage is obtained.Under Obtain the demarcation relation between the control voltage to the depth information of scene and the imaging optical system in face The process of taking is described in detail.
Specifically, as shown in Fig. 2 step 121 includes in the above embodiment of the present invention:
Step 1211, obtains the between the focal length and the control voltage of imaging optical system of imaging optical system One demarcates relation;
Step 1212, obtains the second mark between the object distance and the focal length of imaging optical system of imaging optical system Determine relation;
Step 1213, obtains the between the object distance and the depth information of scene of imaging object of imaging optical system Three demarcate relation;
Step 1214, demarcates relation, the second demarcation relation and the 3rd demarcation relation according to described first and determines Demarcation relation between the control voltage of the depth information of scene and the imaging optical system.
Specifically, the first demarcation relation between focal length f and control voltage (V1, V2) can be expressed as: F=fun1 (V1, V2);The second demarcation relation between object distance u and focal length f can be expressed as:U=fun2 (f); The 3rd demarcation relation between depth information of scene Depth and object distance u can be expressed as:Depth=fun3 (u); Then basis
F=fun1 (V1, V2);
U=fun2 (f);
Depth=fun3 (u);
Can release, the demarcation relation between control voltage (V1, V2) and depth information of scene Depth, (V1, V2)=fun4 (Depth) can be expressed as.
To sum up, the above embodiment of the present invention is finally capable of achieving to inquire imaging by depth information of scene Depth The control voltage (V1, V2) of the focusing of optical system, so as to realize rapid focus.
Separately below the acquisition process of the first demarcation relation, the second demarcation relation and the 3rd demarcation relation is entered Row is described in detail:
Specifically, the acquisition process of the first demarcation relation is as follows:
I.e. step 1211 includes:
Step 21, obtains the expression formula of the focal length of imaging optical system;
Step 22, according to root-mean-square value RMS, determines the minimum focus of imaging optical system and records minimum Jiao Away from when the imaging optical system control voltage be minimum control voltage;
Step 23, on the basis of the minimum control voltage, control voltage described in consecutive variations simultaneously records each Focal length under individual control voltage, so that it is determined that the focal length of imaging optical system is electric with the control of imaging optical system The first demarcation relation between pressure.
Wherein, liquid crystal lens are provided with the above embodiment of the present invention in imaging optical system, then the first mark Determine in the acquisition process of relation, coherent light will be interfered by liquid crystal lens, form interference fringe, and with being imaged Interferogram sampling is recorded by optical system;And the software FringeXP provided using third party obtains whole filaments of sun The position of stricture of vagina or bright fringess, then using software FringeXP obtain liquid crystal lens zernike coefficients (Ze Ni can Coefficient), so as to obtain expression formula f=z of the focal length of liquid crystal lens3/r2, by be continually changing control voltage (V1, V2), obtain comprehensive phase residual quantity RMS<During 0.07 λ, focal length is minimum, i.e., minimum focal length fmin, and record most Control voltage (V1 during little focal lengthfmin, V2fmin).Then fix V1=V1fmin, consecutive variations V2=V2fmin+ Vstep, Vstep can choose 0.1V or 0.05V according to the requirement of precision.Record each voltage (V1fmin, V2fmin+ K*Vstep) combination under focal length fK, wherein K ∈ [0, (V1fmin-V2fmin) / Vstep], so that it is determined that focal length fKControl voltage (the V1 of needsfmin, V2fmin+ K*Vstep), so as to Determine the first demarcation relation f=fun1 (V1, V2).
Specifically, the acquisition process of the second demarcation relation is as follows:
I.e. step 1212 includes:
Step 24, based on Gauss imaging theory, obtains the object distance and imaging optical system of imaging optical system The second demarcation relation between focal length.
It should be noted that must being fulfilled for Gauss imaging theory into sharply defined image:1/f=1/u+1/v, wherein, f For the focal length of imaging optical system, u positions object distance, v is image distance.Due to saturating using liquid crystal in the embodiment of the present invention Mirror, i.e., in liquid crystal imaging system, no any Mechanical Moving, therefore image distance v keeps constant;So focusing Object distance u and focal length f correspond:U=vf/ (v-f).U=fun2 (f)=vf/ (v-f) is obtained.
Specifically, the acquisition process of the 3rd demarcation relation is as follows:
I.e. step 1213 includes:
Step 25, imaging object is positioned at different object distances;
Step 26, obtains the depth information of scene of the imaging object at each object distance respectively;
Step 27, sets up the mapping relations one by one of the object distance and the depth information of scene, described to reflect one by one Relation is penetrated for the 3rd demarcation relation.
In the above embodiment of the present invention, the relation demarcated between object distance u and depth Depth:Object is put It is placed in different object distance u' ∈ [uClosely, uFar], liquid crystal lens are respectively set to work at each object distance The state of minimum focus and maximum focal length, and the image of both states is obtained respectively:I_Fu' and I_Bu', leads to Cross DFD algorithms and obtain object distance u' depth information Depth', thus establish object distance u and reflect with depth Depth Penetrate relation.
Preferably, to improve the speed demarcated, can [u near, u is remote] take 10 it is different apart from u', lead to Cross DFD algorithms and obtain 10 corresponding depth informations, then with the method for linear interpolation, obtain intensive The corresponding intensive Depth' of u', intensive u' set are designated as U, and intensive Depth' set is designated as D, set D It is also the relation that maps one by one with set U.
In other words, object distance u represents the distance between camera and object unit m, u ∈ [0, umax], depth Depth Represent the distance between camera and object relation, Depth ∈ [0,2BiteWidth], pixels of the BiteWidth for image Digit.As its physical significance is the same, depth Depth can be done with u and map one by one, Depth= (2BiteWidth/umax)*u。
To sum up, the inside in the embodiment of the present invention performs flow process and specifically includes:Obtained by depth information Depth Object distance u, obtains focal length f=uv/ (u+v) by object distance u, then by focal length f obtain corresponding control voltage (V1, V2), output voltage (V1, V2), then can be focused at once in the object that object distance is u;Under normal circumstances Response time t of the focusing time for liquid crystal lens<500ms.
In order to preferably realize above-mentioned purpose, control is obtained to provided in an embodiment of the present invention with reference to Fig. 3 Voltage is as follows with the detailed process of the demarcation relation of depth information of scene:
Step 301, liquid crystal lens focal length f is with the relation of voltage (V1, V2) for measurement, i.e., measured With the relation that the careless change in voltage of liquid crystal lens focal length is obtained after demarcation:F=fun1 (V1, V2).
Step 302, must is fulfilled for Gauss imaging theory into sharply defined image:1/f=1/u+1/v, f are image opticss System focal, u positions object distance, v is image distance.In liquid crystal imaging system, no any Mechanical Moving, image distance V keeps constant, so object distance u of focusing is corresponded with focal length f:U=fun2 (f)=vf/ (v-f).
Step 303, is adjusted the focal length f of liquid crystal lens to minima fmin, imaging device by imaging device In the state fuzzy to most front scene focusing and background, image I_F is obtained in this case.
Liquid crystal lens focal length f is modulated maximum fmax by imaging device by step 304, and imaging device is in And prospect fringe clear to background, obtains image I_B in this case.
Step 305, obtains depth information of scene using the method for DFD;I.e. according to image I_F and image I_B To calculate depth information;Using multigroup narrow band filter (pass-band filter), or FRACTIONAL FILTER (rational filter) etc. obtains the relative degree of defocusing of image I_F and image I_B.The relative degree of defocusing of object It is into one-to-one relationship within the specific limits with scene depth, therefore can be calculated by this method A range of scene depth.
Step 306, object distance u are more remote, and calculated depth value Depth is bigger for institute, and depth Depth (Depth → u and u → Depth) is mapped one by one with object distance u:Depth=fun4 (u).
Step 307, has the mapping of depth Depth to obtain object distance u, is back-calculated to obtain focal length f by object distance u, by Jiao Can inquire about away from f and obtain control voltage (V1, V2), you can obtain liquid crystal lens control voltage (V1, V2) and field The demarcation relation of depth of field degree:(V1, V2)=fun5 (Depth).
To sum up, Atomatic focusing method provided in an embodiment of the present invention can be realized directly being inquired by depth information The control voltage of focusing, so as to realize automatic rapid focus according to control voltage;Focusing efficiency is improve, together Shi Wuxu mechanical movements, improve the service life of imaging optical system.
In order to preferably realize above-mentioned purpose, as shown in figure 4, the embodiment of the present invention also provides a kind of automatically right Burnt device, for imaging optical system, including:
Acquisition module 41, for obtaining the depth information of scene of imaging object under current scene;
Determining module 42, for the control voltage according to the depth information of scene and the imaging optical system Between demarcation relation, determine the control voltage of the imaging optical system;
Focusing module 43, for controlling the imaging optical system auto-focusing using the control voltage.
Specifically, acquisition module 41 described in the above embodiment of the present invention includes:
First acquisition submodule, under current scene, the first of imaging object when obtaining the first focusing state Second defocusing degree of imaging object when defocusing degree and the second focusing state;
Second acquisition submodule, for determining institute according to first defocusing degree and second defocusing degree State the depth information of scene of imaging object.
Specifically, determining module 42 described in the above embodiment of the present invention includes:
Acquisition module, for obtain the depth information of scene and the imaging optical system control voltage it Between demarcation relation;
Determination sub-module, for according to the depth information of scene and the demarcation relation, determine it is described into The control voltage of image optical system.
Specifically, acquisition module 41 described in the above embodiment of the present invention includes:
First acquisition submodule, for obtaining the control electricity of the focal length of imaging optical system and imaging optical system The first demarcation relation between pressure;
Second acquisition submodule, for obtain the object distance of imaging optical system and imaging optical system focal length it Between second demarcation relation;
3rd acquisition submodule, for obtaining the scene depth letter of the object distance of imaging optical system and imaging object The 3rd demarcation relation between breath;
4th acquisition submodule, for demarcating relation, the second demarcation relation and the 3rd mark according to described first Determine relation and determine the demarcation relation between the control voltage of the depth information of scene and the imaging optical system.
Specifically, described in the above embodiment of the present invention, the first acquisition submodule includes:
Acquiring unit, for obtaining the expression formula of the focal length of imaging optical system;
First recording unit, for according to root-mean-square value RMS, determining the minimum focus of imaging optical system simultaneously During record minimum focus, the control voltage of the imaging optical system is minimum control voltage;
Second recording unit, on the basis of the minimum control voltage, control voltage described in consecutive variations And the focal length under each control voltage is recorded, so that it is determined that the focal length of imaging optical system and image opticss system The first demarcation relation between the control voltage of system.
Specifically, described in the above embodiment of the present invention, the second acquisition submodule includes:
Gauss demarcates unit, for based on Gauss imaging theory, obtaining object distance and the imaging of imaging optical system The second demarcation relation between the focal length of optical system.
Specifically, described in the above embodiment of the present invention, the 3rd acquisition submodule includes:
Placement unit, for imaging object is positioned at different object distances;
Depth unit, for obtaining the depth information of scene of the imaging object at each object distance respectively;
Relation sets up unit, for setting up the mapping relations one by one of the object distance and the depth information of scene, The mapping relations one by one are the described 3rd demarcation relation.
It should be noted that the above-mentioned auto-focusing of the application of the device of auto-focusing provided in an embodiment of the present invention Method device, then all embodiments of the method for above-mentioned auto-focusing suitable for the auto-focusing dress Put, and can reach same or analogous beneficial effect.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (14)

1. a kind of method of auto-focusing, for imaging optical system, it is characterised in that include:
Obtain the depth information of scene of imaging object under current scene;
According to the demarcation relation between the control voltage of the depth information of scene and the imaging optical system, Determine the control voltage of the imaging optical system;
The imaging optical system auto-focusing is controlled using the control voltage.
2. the method for auto-focusing according to claim 1, it is characterised in that obtain under current scene The depth information of scene step of imaging object includes:
Under current scene, first defocusing degree and second pair of coke-like of imaging object when obtaining the first focusing state Second defocusing degree of imaging object during state;
The scene depth of the imaging object is determined according to first defocusing degree and second defocusing degree Information.
3. the method for auto-focusing according to claim 1, it is characterised in that described according to the field Demarcation relation between the control voltage of scape depth information and the imaging optical system, determines the imaging The step of control voltage of system, includes:
Obtain the demarcation relation between the control voltage of the depth information of scene and the imaging optical system;
According to the depth information of scene and the demarcation relation, the control of the imaging optical system is determined Voltage.
4. the method for auto-focusing according to claim 3, it is characterised in that the acquisition field The step of demarcation relation between the control voltage of scape depth information and the imaging optical system, includes:
Obtain the first demarcation relation between the focal length and the control voltage of imaging optical system of imaging optical system;
Obtain the second demarcation relation between the object distance and the focal length of imaging optical system of imaging optical system;
Obtain the 3rd demarcation relation between the object distance and the depth information of scene of imaging object of imaging optical system;
The scene depth is determined according to the first demarcation relation, the second demarcation relation and the 3rd demarcation relation Demarcation relation between the control voltage of degree information and the imaging optical system.
5. the method for auto-focusing according to claim 4, it is characterised in that the acquisition imaging The step of between the control voltage of the focal length and imaging optical system of system first demarcates relation includes:
Obtain the expression formula of the focal length of imaging optical system;
According to root-mean-square value RMS, described in when determining the minimum focus of imaging optical system and recording minimum focus The control voltage of imaging optical system is minimum control voltage;
On the basis of the minimum control voltage, control voltage described in consecutive variations simultaneously records each control electricity The focal length of pressure, so that it is determined that between the control voltage of the focal length and imaging optical system of imaging optical system First demarcates relation.
6. the method for auto-focusing according to claim 4, it is characterised in that the acquisition imaging The step of between the focal length of the object distance and imaging optical system of system second demarcates relation includes:
Based on Gauss imaging theory, obtain between the object distance and the focal length of imaging optical system of imaging optical system Second demarcation relation.
7. the method for auto-focusing according to claim 4, it is characterised in that the acquisition imaging The step of between the depth information of scene of the object distance and imaging object of system the 3rd demarcates relation includes:
Imaging object is positioned at different object distances;
The depth information of scene of the imaging object at each object distance is obtained respectively;
The mapping relations one by one of the object distance and the depth information of scene are set up, the mapping relations one by one are Described 3rd demarcates relation.
8. a kind of device of auto-focusing, for imaging optical system, it is characterised in that include:
Acquisition module, for obtaining the depth information of scene of imaging object under current scene;
Determining module, for the control voltage according to the depth information of scene and the imaging optical system it Between demarcation relation, determine the control voltage of the imaging optical system;
Focusing module, for controlling the imaging optical system auto-focusing using the control voltage.
9. the device of auto-focusing according to claim 8, it is characterised in that the acquisition module bag Include:
First acquisition submodule, under current scene, the first of imaging object when obtaining the first focusing state Second defocusing degree of imaging object when defocusing degree and the second focusing state;
Second acquisition submodule, for determining institute according to first defocusing degree and second defocusing degree State the depth information of scene of imaging object.
10. the device of auto-focusing according to claim 8, it is characterised in that the determining module bag Include:
Acquisition module, for obtain the depth information of scene and the imaging optical system control voltage it Between demarcation relation;
Determination sub-module, for according to the depth information of scene and the demarcation relation, determine it is described into The control voltage of image optical system.
The device of 11. auto-focusings according to claim 10, it is characterised in that the acquisition module Including:
First acquisition submodule, for obtaining the control electricity of the focal length of imaging optical system and imaging optical system The first demarcation relation between pressure;
Second acquisition submodule, for obtain the object distance of imaging optical system and imaging optical system focal length it Between second demarcation relation;
3rd acquisition submodule, for obtaining the scene depth letter of the object distance of imaging optical system and imaging object The 3rd demarcation relation between breath;
4th acquisition submodule, for demarcating relation, the second demarcation relation and the 3rd mark according to described first Determine relation and determine the demarcation relation between the control voltage of the depth information of scene and the imaging optical system.
The device of 12. auto-focusings according to claim 10, it is characterised in that described first obtains Submodule includes:
Acquiring unit, for obtaining the expression formula of the focal length of imaging optical system;
First recording unit, for according to root-mean-square value RMS, determining the minimum focus of imaging optical system simultaneously During record minimum focus, the control voltage of the imaging optical system is minimum control voltage;
Second recording unit, on the basis of the minimum control voltage, control voltage described in consecutive variations And the focal length under each control voltage is recorded, so that it is determined that the focal length of imaging optical system and image opticss system The first demarcation relation between the control voltage of system.
The device of 13. auto-focusings according to claim 10, it is characterised in that described second obtains Submodule includes:
Gauss demarcates unit, for based on Gauss imaging theory, obtaining object distance and the imaging of imaging optical system The second demarcation relation between the focal length of optical system.
The device of 14. auto-focusings according to claim 10, it is characterised in that the described 3rd obtains Submodule includes:
Placement unit, for imaging object is positioned at different object distances;
Depth unit, for obtaining the depth information of scene of the imaging object at each object distance respectively;
Relation sets up unit, for setting up the mapping relations one by one of the object distance and the depth information of scene, The mapping relations one by one are the described 3rd demarcation relation.
CN201510690355.2A 2015-10-22 2015-10-22 A kind of method and device of auto-focusing Active CN106610553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510690355.2A CN106610553B (en) 2015-10-22 2015-10-22 A kind of method and device of auto-focusing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510690355.2A CN106610553B (en) 2015-10-22 2015-10-22 A kind of method and device of auto-focusing

Publications (2)

Publication Number Publication Date
CN106610553A true CN106610553A (en) 2017-05-03
CN106610553B CN106610553B (en) 2019-06-18

Family

ID=58610354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510690355.2A Active CN106610553B (en) 2015-10-22 2015-10-22 A kind of method and device of auto-focusing

Country Status (1)

Country Link
CN (1) CN106610553B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451241A (en) * 2018-12-10 2019-03-08 无锡祥生医疗科技股份有限公司 The focus Automatic adjustment method and device of ultrasound image
CN110099211A (en) * 2019-04-22 2019-08-06 联想(北京)有限公司 Video capture method and electronic equipment
WO2020020148A1 (en) * 2018-07-23 2020-01-30 深圳市真迈生物科技有限公司 Imaging method, device and system
CN114827462A (en) * 2022-04-15 2022-07-29 深圳市道通智能航空技术股份有限公司 Focusing method, focusing device, electronic equipment and unmanned aerial vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009082822A1 (en) * 2007-12-27 2009-07-09 Qualcomm Incorporated Method and apparatus with depth map generation
CN101770573A (en) * 2010-01-14 2010-07-07 沈洪泉 Automatic focusing iris image imaging device for iris recognition and control method thereof
CN102314683A (en) * 2011-07-15 2012-01-11 清华大学 Computational imaging method and imaging system based on nonplanar image sensor
TWI382267B (en) * 2008-09-24 2013-01-11 Univ Nat Taiwan Auto depth field capturing system and method thereof
CN102997891A (en) * 2012-11-16 2013-03-27 上海光亮光电科技有限公司 Device and method for measuring scene depth
CN103053154A (en) * 2010-08-09 2013-04-17 高通股份有限公司 Autofocus for stereo images
CN106226975A (en) * 2016-07-20 2016-12-14 成都微晶景泰科技有限公司 Atomatic focusing method, equipment and imaging device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009082822A1 (en) * 2007-12-27 2009-07-09 Qualcomm Incorporated Method and apparatus with depth map generation
TWI382267B (en) * 2008-09-24 2013-01-11 Univ Nat Taiwan Auto depth field capturing system and method thereof
CN101770573A (en) * 2010-01-14 2010-07-07 沈洪泉 Automatic focusing iris image imaging device for iris recognition and control method thereof
CN103053154A (en) * 2010-08-09 2013-04-17 高通股份有限公司 Autofocus for stereo images
CN102314683A (en) * 2011-07-15 2012-01-11 清华大学 Computational imaging method and imaging system based on nonplanar image sensor
CN102997891A (en) * 2012-11-16 2013-03-27 上海光亮光电科技有限公司 Device and method for measuring scene depth
CN106226975A (en) * 2016-07-20 2016-12-14 成都微晶景泰科技有限公司 Atomatic focusing method, equipment and imaging device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020020148A1 (en) * 2018-07-23 2020-01-30 深圳市真迈生物科技有限公司 Imaging method, device and system
US11368614B2 (en) 2018-07-23 2022-06-21 Genemind Biosciences Company Limited Imaging method, device and system
US11575823B2 (en) 2018-07-23 2023-02-07 Genemind Biosciences Company Limited Imaging method, device and system
CN109451241A (en) * 2018-12-10 2019-03-08 无锡祥生医疗科技股份有限公司 The focus Automatic adjustment method and device of ultrasound image
CN110099211A (en) * 2019-04-22 2019-08-06 联想(北京)有限公司 Video capture method and electronic equipment
US11245832B2 (en) 2019-04-22 2022-02-08 Lenovo (Beijing) Co., Ltd. Video recording method and electronic device
CN114827462A (en) * 2022-04-15 2022-07-29 深圳市道通智能航空技术股份有限公司 Focusing method, focusing device, electronic equipment and unmanned aerial vehicle
CN114827462B (en) * 2022-04-15 2024-04-16 深圳市道通智能航空技术股份有限公司 Focusing method, focusing device, electronic equipment and unmanned aerial vehicle

Also Published As

Publication number Publication date
CN106610553B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN106610553A (en) A method and apparatus for auto-focusing
US7593053B2 (en) Autofocus device method
CN102596002B (en) Intraoral camera with liquid lens
CN104980644B (en) A kind of image pickup method and device
CN106226975B (en) Atomatic focusing method, equipment and imaging device
US9182650B2 (en) Action control device, action control method, imaging device, and program
CN106060358B (en) Scene continuous analysis method and equipment and imaging device
JP5995969B2 (en) Lens unit, imaging device, and control method thereof
US10122908B2 (en) Image pickup apparatus, lens apparatus, and image pickup system
CN110022433B (en) Image pickup apparatus, lens apparatus, and control method thereof
CN207623554U (en) A kind of camera lens module compensates confocal system
CN110266944A (en) A kind of calibration quick focusing method of remote optical monitoring system
CN103760660A (en) Optical zooming and automatic focusing lens and method
WO2018103299A1 (en) Focusing method, and focusing device
CN103690137A (en) Endoscope light source brightness automatic adjusting method and device
CN107147907B (en) A kind of detection method of camera module
CN108362479A (en) A kind of determination method of virtual image image distance measuring system and virtual image image distance
JP2014174185A (en) Control device, control method, and imaging apparatus
CN107800827B (en) Shooting method of multi-camera module and multi-camera module
CN106060376A (en) Display control apparatus, display control method, and image capturing apparatus
CN103986866A (en) Imaging device, imaging method, and light-emitting device
CN112585518A (en) Focus point determining method and device, lens, imaging device and movable platform
JP6525757B2 (en) Image pickup apparatus, method of calculating light quantity change characteristics, program, and storage medium
CN205829812U (en) The continuous analytical equipment of scene and imaging device
CN203658653U (en) Optical zooming and automatic focusing lens

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180703

Address after: 518054 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant after: Shenzhen super Technology Co., Ltd.

Address before: 518053 H-1 Tung 101, overseas Chinese town, Nanshan District, Shenzhen, Guangdong.

Applicant before: Shenzhen SuperD Photoelectronic Co., Ltd.

Applicant before: The auspicious photoelectron of Shenzhen's Merck research institute

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant