CN106303214A - A kind of focusing method and device - Google Patents
A kind of focusing method and device Download PDFInfo
- Publication number
- CN106303214A CN106303214A CN201610589541.1A CN201610589541A CN106303214A CN 106303214 A CN106303214 A CN 106303214A CN 201610589541 A CN201610589541 A CN 201610589541A CN 106303214 A CN106303214 A CN 106303214A
- Authority
- CN
- China
- Prior art keywords
- ultrasound wave
- distance
- time
- reference object
- target reference
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S15/00—Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
- G01S15/02—Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
- G01S15/06—Systems determining the position data of a target
- G01S15/08—Systems for measuring distance only
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Acoustics & Sound (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Ultra Sonic Daignosis Equipment (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
The present invention provides a kind of focusing method and device.Described method, including: send ultrasound wave to preset range;The ultrasound wave reflected by target reference object in receiving described preset range;According to ultrasound examination parameter and ultrasonic transmission speed, calculate target reference object and the distance between the camera lens shooting described target reference object;Focus according to the distance between target reference object and camera lens;Described ultrasound examination parameter includes that ultrasound wave is sent to the time of target reference object and the time difference of the time receiving target reference object reflectance ultrasound ripple;Described target reference object includes the object that needs focus on.Described device includes ultrasound wave sending module, ultrasound wave receiver module, distance calculation module, Focusing module.Described method and device can have more preferable focus effects.
Description
Technical field
The present invention relates to computer software fields, particularly relate to a kind of focusing method and device.
Background technology
Along with smart mobile phone is universal and is widely applied, from strength to strength, people are to shooting for the function of intelligent mobile terminal
Experience requirements is more and more higher.
Mobile terminal is commonly provided with front and rear photographic head, and function is for post-positioned pick-up head AF (Auto Focus, auto-focusing)
Become generic configuration.With user to shooting demand for experience, that particularly autodynes is popular, and it is (the most right that front-facing camera is configured with AF
Burnt) function become a kind of trend.
Front-facing camera is generally used for autodyning, and is fixed by shooting thing and distance is shorter, and tradition focusing exists time response
Slowly, environment is bigger on its impact, than dark or relatively brighter in the environment of, often focusing is inaccurate, there is the photograph taken
Unintelligible.
Camera focusing of the prior art all uses contrast formula to focus, and this focusing response time is slow, and can not be once
Focusing successfully, will repeatedly focus and find best focus position could focus successfully, environment is very big on its impact, than dark or
Time relatively brighter, focusing is inaccurate, takes pictures or to image the mass ratio of appearance poor.
Summary of the invention
In view of this, the present invention provides a kind of focusing method and device, has more preferable focus effects.
The focusing method provided based on the above-mentioned purpose present invention, including:
Ultrasound wave is sent to target area;
The ultrasound wave reflected by target reference object in receiving described target area;
According to ultrasound examination parameter and ultrasonic transmission speed, calculate target reference object and be used for shooting described target
Distance between the camera lens of reference object;
Focus according to the distance between target reference object and camera lens;
Described ultrasound examination parameter includes that ultrasound wave is sent to the time of target reference object and receives target shooting
The time difference of the time of object reflection ultrasound wave.
Optionally, described calculating described target reference object and for shooting between the camera lens of described target reference object
Before the step of distance, also include:
Receive the ultrasound wave that the object of reference in described target area reflects;
Described ultrasound examination parameter also includes that ultrasound wave is sent to the time of described object of reference and receives described reference
The time difference of the time of thing reflectance ultrasound ripple;
Described calculating target reference object and the step of the distance between the camera lens shooting described target reference object
Specifically include:
Calculate described ultrasound wave and be sent to time of described object of reference and the ultrasound wave of the reflection that receives described object of reference
The reference time of time is poor;
Reference distance is calculated according to described object of reference time difference and ultrasonic velocity;
Distance and ultrasound wave according to the ultrasonic emitting point recorded in advance to described object of reference receive point to described ginseng
According to the distance of thing, described reference distance is corrected, calculates correction parameter;
Count according to the ultrasonic transmission time between described correction parameter and described target reference object and described camera lens
Calculate described target reference object to the distance between camera lens.
Optionally, described method is applied to mobile communication terminal;Described ultrasonic emitting point is positioned at mobile communication terminal to be subject to
Words device;Described object of reference is the outer casing inner wall that mobile communication terminal is corresponding with described speaker position.
Optionally, described transmission before ultrasound wave to target area also includes:
Receive the distance detection instruction of target reference object;
According to the distance detection instruction of described target reference object, enter the described step sending ultrasound wave to target area.
Optionally, after the step of the ultrasound wave that described reception is reflected by target reference object, described calculating target shooting
Before the step of the distance between object and camera lens, also include:
Send ultrasound wave and receive notice;
Receive ultrasound wave and receive notice;
According to ultrasound examination parameter described in described ultrasound wave notification received reception Time Calculation.
Optionally, before the step of the distance between described calculating target reference object and camera lens, also include:
Real time temperature according to detection environment and ultrasound wave reference transmission speed calculation ultrasonic transmission speed.
Meanwhile, the present invention also provides for a kind of focusing mechanism, including:
Ultrasound wave sending module: for sending ultrasound wave to target area;
First ultrasound wave receiver module: the ultrasound wave reflected by target reference object in receiving described target area;
Distance calculation module: for according to ultrasound examination parameter and ultrasonic transmission speed, calculate target reference object
And the distance between the camera lens shooting described target reference object;
Focusing module: for focusing according to the distance between target reference object and camera lens;
Described ultrasound examination parameter includes that ultrasound wave is sent to the time of target reference object and receives target shooting
The time difference of the time of object reflection ultrasound wave.
Optionally, described device also includes:
Second ultrasound wave receiver module: for receiving the ultrasound wave of the object of reference reflection in described target area;
Described ultrasound examination parameter also includes that ultrasound wave is sent to the time of described object of reference and receives described reference
The time difference of the time of thing reflectance ultrasound ripple;
Described calculating target reference object and the step of the distance between the camera lens shooting described target reference object
Specifically include:
With reference to transmission Time Calculation module: be sent to the time of described object of reference to receiving for calculating described ultrasound wave
The reference time of the time of the ultrasound wave of described object of reference reflection is poor;
Reference distance computing module: for calculating reference distance according to described object of reference time difference and ultrasonic velocity;
Calculate parametric calibration module: for the distance according to the ultrasonic emitting point recorded in advance to described object of reference and
Ultrasound wave receives the some distance to described object of reference, is corrected described reference distance, calculates correction parameter;
According to the ultrasonic transmission Time Calculation institute between described correction parameter and target reference object to described camera lens
State target reference object to the distance between camera lens.
Optionally, described device is applied to mobile communication terminal;Described ultrasonic emitting point is positioned at mobile communication terminal to be subject to
Words device;Described object of reference is the outer casing inner wall that mobile communication terminal is corresponding with described speaker position.
Optionally, described device also includes:
Distance detection command reception module: be used for receiving the distance detection instruction of target reference object;
Ultrasound wave sending module trigger module: for according to the distance detection instruction of described target reference object, entering described
The step of ultrasound wave is sent to target area.
Optionally, described device also includes:
Ultrasonic reception notice sends module: is used for sending ultrasound wave and receives notice;
Ultrasonic reception notice receiver module: be used for receiving ultrasound wave and receive notice;
Ultrasound examination parameter calculating module: for according to super described in described ultrasound wave notification received reception Time Calculation
Sonic detection parameter.
Optionally, described device also includes:
Ultrasound wave actual transmission speed computing module: for the real time temperature according to detection environment and ultrasound wave reference transmission
Speed calculation ultrasonic transmission speed.
From the above it can be seen that the focusing method of present invention offer and device, it is possible to use ultrasound wave that target is clapped
Distance between the camera lens of the object taking the photograph object and shooting needs focusing, improves measurement accuracy.Due to ultrasonic transmission speed
Degree is very fast, thus ultrasound examination parameter also is able to when shooting quickly obtain, thus improves focusing speed;Additionally, by
In using ultrasound wave can carry out distance detection the most exactly, therefore, it is possible to improve focus effects, focus effects is not
By such environmental effects.
Accompanying drawing explanation
The focusing method schematic diagram that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the Time Calculation schematic diagram of the embodiment of the present invention;
Fig. 3 is that the focal length of the embodiment of the present invention calculates schematic diagram;
Fig. 4 is the focusing mechanism schematic diagram of the embodiment of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
Present invention firstly provides a kind of focusing method, as it is shown in figure 1, comprise the steps:
Step 101: send ultrasound wave to target area;
Step 102: the ultrasound wave reflected by target reference object in receiving described target area;
Step 103: according to ultrasound examination parameter and ultrasonic transmission speed, calculates target reference object and is used for shooting
Distance between the camera lens of described target reference object;
Step 104: focus according to the distance between target reference object and camera lens;
Described ultrasound examination parameter includes that ultrasound wave is sent to the time of target reference object and receives target shooting
The time difference of the time of object reflection ultrasound wave.
From the above it can be seen that focusing method provided by the present invention, it is possible to use ultrasound wave right to target shooting
As the distance between the camera lens of photographic subjects reference object, improve measurement accuracy.Due to ultrasonic transmission speed very
Hurry up, thus ultrasound examination parameter also is able to when shooting quickly obtain, thus improve focusing speed;Additionally, due to use
Ultrasound wave can relatively accurately carry out distance detection, therefore, it is possible to improve focus effects, focus effects is not by environmental factors shadow
Ring.
In the specific embodiment of the invention, described set point can for described camera lens just to side.
In the specific embodiment of the invention, as it is shown on figure 3, the relation of object distance u, focal length w, focal distance f is 1/u+1/v=1/f.
In some embodiments of the invention, described calculating described target reference object is with to be used for shooting the shooting of described target right
Before the step of the distance between the camera lens of elephant, also include:
Receive the ultrasound wave that the object of reference in described target area reflects;
Described ultrasound examination parameter also includes that ultrasound wave is sent to the time of described object of reference and receives described reference
The time difference of the time of thing reflectance ultrasound ripple;
Described calculating target reference object and the step of the distance between the camera lens shooting described target reference object
Specifically include:
Calculate described ultrasound wave and be sent to time of described object of reference and the ultrasound wave of the reflection that receives described object of reference
The reference time of time is poor;
Reference distance is calculated according to described object of reference time difference and ultrasonic velocity;
Distance and ultrasound wave according to the ultrasonic emitting point recorded in advance to described object of reference receive point to described ginseng
According to the distance of thing, described reference distance is corrected, calculates correction parameter;
According to the ultrasonic transmission Time Calculation institute between described correction parameter and target reference object to described camera lens
State target reference object to the distance between camera lens.
Owing to the distance between object of reference and described camera lens is relatively fixed, therefore can with pre-recorded lower described object of reference with
Actual relative distance between described camera lens, when calculating, is contrasted with real-time survey calculation result by actual range, meter
Calculate correction parameter.Described correction parameter can be used for being corrected the speed of actual ultrasound wave, owing to the speed of ultrasound wave may
Due to the hardware factor such as environmental factors, ultrasonic transmitter with theoretical velocity difference, therefore, when Practical Calculation, if
Use a fixed range to be corrected, then ensure that the distance result of calculation between target reference object and camera lens has relatively
High accuracy.
In some embodiments of the invention, described method is applied to mobile communication terminal;Described ultrasonic emitting point is positioned at
Mobile communication terminal receiver;Described object of reference is the outer casing inner wall that mobile communication terminal is corresponding with described speaker position;Institute
State ultrasound wave and receive point for mobile communication terminal mike.
Owing to receiver and mike distance are closer to, when method is applied to mobile communication terminal, photographic head distance
The most relatively, therefore object distance can approximate and use formula u=VT6/2 to calculate, and wherein, V is ultrasonic for receiver and mike
Ripple transmission speed, T6 is that ultrasound wave sends the time to the time difference receiving the ultrasound wave needing the object focused on to reflect.
Described mobile communication terminal can be mobile phone, panel computer or other Portable movable product.Due to for mostly
For number mobile terminals, being not provided with other parts inside the mobile terminal case around receiver, interference factor is low, therefore can be by
Outer casing inner wall around described receiver is as object of reference.
When described mobile communication terminal is that mobile phone, panel computer, notebook computer etc. have the communication of front-facing camera eventually
During end, owing to front-facing camera is generally used for autodyning, fixed by shooting thing and distance is shorter.Can be by the i.e. audio headsets of receiver
Sound frequency range is set to comprise supersonic band, thus ultrasonic emitting module can multiplexing receiver;Ultrasound wave receiver module
The de-noising mike can being had with mobile communication terminal shares.Receiver is multiplexed with ultrasonic emitting module and sends ultrasound wave
Detection object, mike is multiplexed with ultrasound wave receiver module and carrys out received ultrasonic signal, utilize ultrasound examination arrive object away from
From rear, carry out adjusting focal length by the distance of detection and realize focusing.The method focusing speed is fast, once focuses successfully, and to not being subject to
Environmental effect.
In some embodiments of the invention, described transmission before ultrasound wave to target area also includes:
Receive the distance detection instruction of target reference object;
According to the distance detection instruction of described target reference object, enter the described step sending ultrasound wave to target area.
In some embodiments of the invention, after the step of the ultrasound wave that described reception is reflected by target reference object, institute
Before stating the step of the distance calculated between target reference object and camera lens, also include:
Send ultrasound wave and receive notice;
Receive ultrasound wave and receive notice;
According to ultrasound examination parameter described in described ultrasound wave notification received reception Time Calculation.
In one specific embodiment of the present invention, described method is applied to mobile communication terminal;Described ultrasound examination is joined
The calculating process of number is with reference to shown in Fig. 2:
Sending ultrasound wave from commander sender and send instructions to receiver, described commander sender is for having ultrasonic emitting
The element of function, described ultrasound wave sends the instruction that instruction can be ultrasound modalities;
After receiver receives ultrasound wave transmission instruction, the ultrasound wave sending module being arranged at receiver send ultrasonic
Ripple;Described object of reference is the mobile communication terminal inwall that described receiver is neighbouring;
After object of reference is by ultrasonic reflections, the ultrasound wave receiver module being arranged at mike receive the ultrasonic of reflection
Ripple;
Sending the first ultrasound wave and receive notice to notice receptor, described second ultrasound wave is received by described notice receptor
Notice responds;Described first ultrasound wave receives the notification message that notice can be ultrasound modalities;
After needing the object focused on by ultrasonic reflections, the ultrasound wave receiver module being arranged at mike again receive
Ultrasound wave to reflection;
Sending the second ultrasound wave and receive notice to notice receptor, described second ultrasound wave is received by described notice receptor
Notice responds;Described second ultrasound wave receives the notification message that notice can be ultrasound modalities.
Ultrasound wave is sent for sending instructions to receiver response from commander sender transmission ultrasound wave referring still to Fig. 2, T0
Time interval.T1 is to send instruction from ultrasound wave described in receiver response to send ultrasound wave to by the inwall of mobile communication terminal
The reflectance ultrasound ripple actual transmissions time.T2, T5 are that described ultrasound wave receiver module receives the response time of system after ultrasound wave,
The ultrasound wave namely receiving inwall reflection from ultrasound wave receiver module receives the first ultrasound wave reception to notice receptor
The time notified and the ultrasound wave receiving the object reflection needing focusing from ultrasound wave receiver module connect to notice receptor
Received for the second ultrasound wave notification received time.T4 is anti-to target reference object for launching ultrasound wave from ultrasonic emitting module
The ultrasound wave penetrated is arranged at the ultrasound wave receiver module of mike and receives the time of ultrasound wave.T6 receives for notice receptor
Receive notice to notice receptor to the first ultrasound wave and receive the second notification received time difference of ultrasound wave, i.e. respond from mobile phone
The ultrasound wave that inwall reflects and the time difference of the ultrasound wave that response reflects from target reference object.
T1 is mainly determined by the distance of object of reference to mike and receiver, is subject to owing to ultrasound wave receiver module may be disposed at
Near words device, shell distance mike and receiver are relatively simultaneously, and T1 is around in zero.T2=T5 releases T4-T1=
T6, i.e. responds the ultrasound wave reflected from mobile phone inwall and responds the time difference of the ultrasound wave reflected from target reference object.
If the distance between distance and receiver and described commander sender between mike and described notice receptor sets
Fixed, then can receive lead to according to ultrasound wave transmission instruction transmission time, the first ultrasound wave reception notice reception time, the second ultrasound wave
Know that reception Time Calculation goes out T1, T4, receive with the actual object of reference recorded to ultrasound wave sending module and ultrasound wave according to T1 value
The distance value of module is corrected calculating the ultrasonic velocity angle value used, then according to the ultrasonic velocity after T4 and correction
Can calculate need the object focused on to the distance between receiver, thus permissible according to the distance between receiver and camera lens
Calculate or estimate to need the object focused on to the distance between camera lens.
In some embodiments of the invention, before the step of the distance between described calculating target reference object and camera lens,
Also include:
Real time temperature according to detection environment and ultrasound wave reference transmission speed calculation ultrasonic transmission speed.
Ultrasound wave spread speed V=331.4+0.6t in atmosphere, t is the temperature in air, by degree Celsius in units of.t
Detection can be realized by being placed in the temp-sensitive sensor of mobile phone.
Meanwhile, the present invention provides a kind of focusing mechanism, structure as shown in Figure 4, including:
Ultrasound wave sending module 401: for sending ultrasound wave to target area;
First ultrasound wave receiver module 402: for receive in described target area by target reference object reflect ultrasonic
Ripple;
Distance calculation module 403: for according to ultrasound examination parameter and ultrasonic transmission speed, calculate target shooting right
As the distance between the camera lens for shooting described target reference object;
Focusing module 404: for focusing according to the distance between target reference object and camera lens;
Described ultrasound examination parameter includes that the time of ultrasound wave of the target reference object received reflection, ultrasound wave are sent out
Penetrate time, distance between ultrasonic emitting point and camera lens;.
In some embodiments of the invention,
Described device also includes:
Second ultrasound wave receiver module: for receiving the ultrasound wave of the object of reference reflection in described target area;
Described ultrasound examination parameter also includes that ultrasound wave is sent to the time of described object of reference and receives described reference
The time difference of the time of thing reflectance ultrasound ripple;
Described calculating target reference object and the step of the distance between the camera lens shooting described target reference object
Specifically include:
With reference to transmission Time Calculation module: for calculating object of reference to the ultrasonic transmission time between described camera lens;
Reference distance computing module: for according to the ultrasonic transmission Time Calculation between described object of reference to described camera lens
Object of reference is to the distance between described camera lens;
Calculate parametric calibration module: for according to the reality between the described object of reference recorded in advance to described camera lens away from
From, described reference distance is corrected, calculates correction parameter;
According to the ultrasonic transmission Time Calculation institute between described correction parameter and target reference object to described camera lens
State target reference object to the distance between camera lens.
In some embodiments of the invention, described device is applied to mobile communication terminal;Described ultrasonic emitting point is positioned at
Mobile communication terminal receiver;Described object of reference is the outer casing inner wall that mobile communication terminal is corresponding with described speaker position.
In some embodiments of the invention, described device also includes:
Distance detection command reception module: be used for receiving the distance detection instruction of target reference object;
Ultrasound wave sending module trigger module: for according to the distance detection instruction of described target reference object, entering described
The step of ultrasound wave is sent to target area.
In some embodiments of the invention, described device also includes:
Ultrasonic reception notice sends module: is used for sending ultrasound wave and receives notice;
Ultrasonic reception notice receiver module: be used for receiving ultrasound wave and receive notice;
Ultrasound examination parameter calculating module: for according to super described in described ultrasound wave notification received reception Time Calculation
Sonic detection parameter.
In some embodiments of the invention, described device also includes:
Ultrasound wave actual transmission speed computing module: for the real time temperature according to detection environment and ultrasound wave reference transmission
Speed calculation ultrasonic transmission speed.
From the above it can be seen that the focusing method of present invention offer and device, it is possible to use ultrasound wave that target is clapped
Distance between the camera lens of the object taking the photograph object and shooting needs focusing, improves measurement accuracy.Due to ultrasonic transmission speed
Degree is very fast, thus ultrasound examination parameter also is able to when shooting quickly obtain, thus improves focusing speed;Additionally, by
In using ultrasound wave can carry out distance detection the most exactly, therefore, it is possible to improve focus effects, focus effects is not
By such environmental effects.
Should be appreciated that the multiple embodiments described by this specification are merely to illustrate and explain the present invention, be not used to limit
Determine the present invention.And in the case of not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention
God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof
Within, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a focusing method, it is characterised in that including:
Ultrasound wave is sent to target area;
Receive the ultrasound wave that the target reference object in described target area reflects;
According to ultrasound examination parameter and ultrasonic transmission speed, calculate described target reference object and for shooting described target
Distance between the camera lens of reference object;
Focus according to the distance between described target reference object and described camera lens;
Described ultrasound examination parameter includes that ultrasound wave is sent to the time of target reference object and receives target reference object
The time difference of the time of reflectance ultrasound ripple.
Method the most according to claim 1, it is characterised in that described calculating described target reference object be used for shooting institute
Before stating the step of distance between the camera lens of target reference object, also include:
Receive the ultrasound wave that the object of reference in described target area reflects;
Described ultrasound examination parameter also includes that ultrasound wave is sent to time of described object of reference and to receive described object of reference anti-
Penetrate the time difference of the time of ultrasound wave;
The step of described calculating target reference object and the distance between the camera lens shooting described target reference object is concrete
Including:
Calculate described ultrasound wave and be sent to the time of described object of reference and the time of the ultrasound wave receiving the reflection of described object of reference
Reference time poor;
Reference distance is calculated according to described object of reference time difference and ultrasonic velocity;
Distance and ultrasound wave according to the ultrasonic emitting point recorded in advance to described object of reference receive point to described object of reference
Distance, described reference distance is corrected, calculate correction parameter;
According to the ultrasonic transmission Time Calculation institute between described correction parameter and described target reference object and described camera lens
State target reference object to the distance between camera lens.
Method the most according to claim 2, it is characterised in that described method is applied to mobile communication terminal;Described ultrasonic
Ripple launch point is positioned at mobile communication terminal receiver;Described object of reference is that mobile communication terminal is corresponding with described speaker position
Outer casing inner wall.
Method the most according to claim 1, it is characterised in that described transmission before ultrasound wave to target area also includes:
Receive the distance detection instruction of target reference object;
According to the distance detection instruction of described target reference object, enter the described step sending ultrasound wave to target area;
After the step of the ultrasound wave that described reception is reflected by target reference object, described calculating target reference object and camera lens it
Between distance step before, also include:
Send ultrasound wave and receive notice;
Receive ultrasound wave and receive notice;
According to ultrasound examination parameter described in described ultrasound wave notification received reception Time Calculation.
Method the most according to claim 1, it is characterised in that the distance between described calculating target reference object and camera lens
Step before, also include:
Real time temperature according to detection environment and ultrasound wave reference transmission speed calculation ultrasonic transmission speed.
6. a focusing mechanism, it is characterised in that including:
Ultrasound wave sending module: for sending ultrasound wave to target area;
First ultrasound wave receiver module: the ultrasound wave reflected by target reference object in receiving described target area;
Distance calculation module: for according to ultrasound examination parameter and ultrasonic transmission speed, calculate target reference object and use
Distance between the camera lens shooting described target reference object;
Focusing module: for focusing according to the distance between target reference object and camera lens;
Described ultrasound examination parameter includes that ultrasound wave is sent to the time of target reference object and receives target reference object
The time difference of the time of reflectance ultrasound ripple.
Device the most according to claim 6, it is characterised in that described device also includes:
Second ultrasound wave receiver module: for receiving the ultrasound wave of the object of reference reflection in described target area;
Described ultrasound examination parameter also includes that ultrasound wave is sent to time of described object of reference and to receive described object of reference anti-
Penetrate the time difference of the time of ultrasound wave;
The step of described calculating target reference object and the distance between the camera lens shooting described target reference object is concrete
Including:
With reference to transmission Time Calculation module: be sent to time of described object of reference to described in receiving for calculating described ultrasound wave
The reference time of the time of the ultrasound wave of object of reference reflection is poor;
Reference distance computing module: for calculating reference distance according to described object of reference time difference and ultrasonic velocity;
Calculate parametric calibration module: for the distance according to the ultrasonic emitting point recorded in advance to described object of reference and ultrasonic
Ripple receives the some distance to described object of reference, is corrected described reference distance, calculates correction parameter;
According to mesh described in the ultrasonic transmission Time Calculation between described correction parameter and target reference object to described camera lens
Mark reference object is to the distance between camera lens.
Device the most according to claim 7, it is characterised in that described device is applied to mobile communication terminal;Described ultrasonic
Ripple launch point is positioned at mobile communication terminal receiver;Described object of reference is that mobile communication terminal is corresponding with described speaker position
Outer casing inner wall.
Device the most according to claim 6, it is characterised in that described device also includes:
Distance detection command reception module: be used for receiving the distance detection instruction of target reference object;
Ultrasound wave sending module trigger module: for according to the detection instruction of described target reference object, entering described to target area
Territory sends the step of ultrasound wave;
Described device also includes:
Ultrasonic reception notice sends module: is used for sending ultrasound wave and receives notice;
Ultrasonic reception notice receiver module: be used for receiving ultrasound wave and receive notice;
Ultrasound examination parameter calculating module: for according to ultrasound wave described in described ultrasound wave notification received reception Time Calculation
Detection parameter.
Device the most according to claim 6, it is characterised in that described device also includes:
Ultrasound wave actual transmission speed computing module: for the real time temperature according to detection environment and ultrasound wave reference transmission speed
Calculate ultrasonic transmission speed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610589541.1A CN106303214B (en) | 2016-07-25 | 2016-07-25 | A kind of focusing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610589541.1A CN106303214B (en) | 2016-07-25 | 2016-07-25 | A kind of focusing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106303214A true CN106303214A (en) | 2017-01-04 |
CN106303214B CN106303214B (en) | 2019-09-27 |
Family
ID=57652270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610589541.1A Active CN106303214B (en) | 2016-07-25 | 2016-07-25 | A kind of focusing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303214B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111314602A (en) * | 2020-02-17 | 2020-06-19 | 浙江大华技术股份有限公司 | Target object focusing method, target object focusing device, storage medium and electronic device |
CN112135034A (en) * | 2019-06-24 | 2020-12-25 | Oppo广东移动通信有限公司 | Photographing method and device based on ultrasonic waves, electronic equipment and storage medium |
CN112543284A (en) * | 2020-11-27 | 2021-03-23 | 维沃移动通信有限公司 | Focusing system, method and device |
CN113542597A (en) * | 2021-07-01 | 2021-10-22 | Oppo广东移动通信有限公司 | Focusing method and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202025082U (en) * | 2011-02-23 | 2011-11-02 | 山东交通学院 | High-precision ultrasonic ranging device |
CN103616692A (en) * | 2013-11-21 | 2014-03-05 | 上海海洋大学 | Portable multifunctional ultrasonic ranging system based on Android mobile terminal |
CN104811613A (en) * | 2015-04-10 | 2015-07-29 | 深圳市金立通信设备有限公司 | Camera focusing method |
CN105208287A (en) * | 2015-10-15 | 2015-12-30 | 广东欧珀移动通信有限公司 | Photographing method and device |
CN105204270A (en) * | 2015-10-15 | 2015-12-30 | 广东欧珀移动通信有限公司 | Adjusting method and device for focusing distance of photographing terminal |
-
2016
- 2016-07-25 CN CN201610589541.1A patent/CN106303214B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202025082U (en) * | 2011-02-23 | 2011-11-02 | 山东交通学院 | High-precision ultrasonic ranging device |
CN103616692A (en) * | 2013-11-21 | 2014-03-05 | 上海海洋大学 | Portable multifunctional ultrasonic ranging system based on Android mobile terminal |
CN104811613A (en) * | 2015-04-10 | 2015-07-29 | 深圳市金立通信设备有限公司 | Camera focusing method |
CN105208287A (en) * | 2015-10-15 | 2015-12-30 | 广东欧珀移动通信有限公司 | Photographing method and device |
CN105204270A (en) * | 2015-10-15 | 2015-12-30 | 广东欧珀移动通信有限公司 | Adjusting method and device for focusing distance of photographing terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112135034A (en) * | 2019-06-24 | 2020-12-25 | Oppo广东移动通信有限公司 | Photographing method and device based on ultrasonic waves, electronic equipment and storage medium |
CN111314602A (en) * | 2020-02-17 | 2020-06-19 | 浙江大华技术股份有限公司 | Target object focusing method, target object focusing device, storage medium and electronic device |
CN111314602B (en) * | 2020-02-17 | 2021-09-17 | 浙江大华技术股份有限公司 | Target object focusing method, target object focusing device, storage medium and electronic device |
CN112543284A (en) * | 2020-11-27 | 2021-03-23 | 维沃移动通信有限公司 | Focusing system, method and device |
CN113542597A (en) * | 2021-07-01 | 2021-10-22 | Oppo广东移动通信有限公司 | Focusing method and electronic device |
CN113542597B (en) * | 2021-07-01 | 2023-08-29 | Oppo广东移动通信有限公司 | Focusing method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN106303214B (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111314597B (en) | Terminal, focusing method and device | |
CN106303214A (en) | A kind of focusing method and device | |
WO2021037129A1 (en) | Sound collection method and apparatus | |
CN105208287B (en) | A kind of image pickup method and device | |
EP3220657A1 (en) | Ultrasonic speaker assembly with ultrasonic room mapping | |
US8121472B2 (en) | Signal measurements employed to affect photographic parameters | |
KR101848864B1 (en) | Apparatus and method for tracking trajectory of target using image sensor and radar sensor | |
KR100768752B1 (en) | Method for measuring distance using camera module | |
CN104811613A (en) | Camera focusing method | |
WO2016078269A1 (en) | Focus adjustment method, device and terminal | |
CN109120664B (en) | Remote communication method, remote communication system, and autonomous moving apparatus | |
CN108989687A (en) | camera focusing method and device | |
CN109714533B (en) | Electronic device | |
CN104459703B (en) | A kind of sonar ranging method and mobile device | |
CN105323480A (en) | Ultrasonic-based photographing method and device | |
CN105657253B (en) | A kind of focusing method and electronic equipment | |
CN111896961A (en) | Position determination method and device, electronic equipment and computer readable storage medium | |
CN106546970B (en) | The ultrasonic wave calibration method and device of mobile device | |
CN111007462A (en) | Positioning method, positioning device, positioning equipment and electronic equipment | |
CN107462967A (en) | A kind of laser ranging focuses method and system | |
CN109116341A (en) | Method for building up, distance detection method and device, the electronic equipment of range function | |
CN104954677A (en) | Camera focusing determining method and electronic equipment | |
US10991392B2 (en) | Apparatus, electronic device, system, method and computer program for capturing audio signals | |
CN110225247B (en) | Image processing method and electronic equipment | |
US20170180904A1 (en) | Method for using a mobile device equipped with at least two microphones for determining the direction of loudspeakers in a setup of a surround sound system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |