CN106154688A - A kind of method and device of auto-focusing - Google Patents
A kind of method and device of auto-focusing Download PDFInfo
- Publication number
- CN106154688A CN106154688A CN201510160558.0A CN201510160558A CN106154688A CN 106154688 A CN106154688 A CN 106154688A CN 201510160558 A CN201510160558 A CN 201510160558A CN 106154688 A CN106154688 A CN 106154688A
- Authority
- CN
- China
- Prior art keywords
- stepping
- focusing
- angle value
- focus
- steppings
- 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
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS 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/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
- G03B13/36—Autofocus systems
Abstract
The invention provides the method and device of a kind of auto-focusing, the method for described auto-focusing includes: obtain the blur diameter value of imageing sensor, the f-number of camera lens and the kinematic parameter of motor of terminal;The object distance range of each stepping of motor described in beginning parameter transform model according to described blur diameter value, the f-number of camera lens and motor;The stepping in the object distance range of other steppings of its object distance range is weeded out in described stepping;Obtain the intensity contrast angle value of the correspondence position of each stepping remaining after rejecting;Remaining stepping is determined after rejecting the position focus as focusing of a stepping according to described intensity contrast angle value.Solve in prior art due to the speed of motor, step-length etc. be fixed from accurately focus, the problem causing image quality difference, it is achieved that fast automatic focusing, do not interfere with its image quality yet, improve Consumer's Experience.
Description
Technical field
The present invention relates to digital image processing techniques field, particularly relate to the method and device of a kind of auto-focusing.
Background technology
In recent years, along with progress and the development of technology, it is raw that electronic equipment of taking pictures (terminal) has become as people
Indispensable part alive, particularly smart mobile phone panel computer etc., change the life style of people.Its
In, the method and device of terminal auto-focusing is one of most important factor determining terminal image quality.
According to optical principle, image clearly to be photographed, the focal length (f) of camera lens, object distance (u) and image distance (v)
Need to meet:When image is clear, the acutance of image and details are enriched, at spatial domain table
The intensity contrast angle value being now adjacent pixel is maximum.Around this principle, by extracting the focusing of image
The profile of window and the intensity contrast angle value at edge, the intensity contrast angle value of the image under focusing state is maximum.Cause
This drives camera lens to move by motor, changes image distance, calculates the intensity contrast angle value obtaining image the most in real time,
The position of intensity contrast angle value maximum is focal position.
As it is shown in figure 1, be grey-scale contrast and the X-Y scheme of image distance in prior art, Fig. 1 can obtain,
Grey-scale contrast curve has three characteristics, and 1) unimodality, it is simply that only one of which grey-scale contrast maximum;2)
Monotonicity, it is simply that in grey-scale contrast maximum both sides, grey-scale contrast curve monotone decreasing or successively decrease;3)
Polarity, it can be determined that current focusing position is before Jiao or defocused.
In the prior art, will realize focusing, camera lens begins to move into end position from original position, whole
Stroke completes according to fixed speed, fixed step size and fixing step number, owing to object distance and the image distance of camera lens are not
Linear relationship, as shown in Figure 2.There is following defect in this method: if step-length is little, and step number increase causes
Focusing time is oversize, if step-length is big, then causes focusing inaccurate and unstable.
Summary of the invention
The invention provides the method and device of a kind of auto-focusing, solve in prior art due to motor
Being fixed from of speed, step-length etc. is accurately focused, the problem causing image quality difference.
In order to solve the problems referred to above, the present invention by the following technical solutions:
A kind of method of auto-focusing, including:
Obtain the blur diameter value of imageing sensor, the f-number of camera lens and the kinematic parameter of motor of terminal;
Motor described in beginning parameter transform model according to described blur diameter value, the f-number of camera lens and motor is each
The object distance range of individual stepping;
The stepping in the object distance range of other steppings of its object distance range is weeded out in described stepping;
Obtain the intensity contrast angle value of the correspondence position of each stepping remaining after rejecting;
Remaining stepping is determined after rejecting the position conduct of a stepping according to described intensity contrast angle value
The focus of focusing.
Further, from remaining stepping, the position of a stepping is determined according to described intensity contrast angle value
Focus as focusing includes: select to meet below equation:Work as n2During > i,
An=Xi, rejecting after remaining stepping as first focusing stepping;Right by controlling motor movement promotion
Burnt window is from closely to far focusing respectively to the position that described first focusing stepping is corresponding, when described first focusing step
In entering, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three
Any position corresponding between two steppings that in the position that stepping is corresponding, gray scale contrast value is bigger is as focusing
Focus;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as the focus of focusing;Xi
For remaining stepping, AnBeing the first focusing stepping, i, n are positive integer.
Further, focus the grey-scale contrast of the position that continuous three steppings are corresponding in stepping when described first
Value occurs that flex point also includes: select to meet below equation:As 3n≤NATime,
Bn=X1, rejecting after remaining stepping as second focusing stepping;Right by controlling motor movement promotion
Burnt window is from as far as closely focusing respectively to the position that described second focusing stepping is corresponding, when described second focusing step
In entering, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three
Any position corresponding between two steppings that in the position that stepping is corresponding, gray scale contrast value is bigger is as focusing
Focus;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as the focus of focusing;NA
The numbering of the farthest stepping for determining in described first focusing stepping, BnIt it is the second focusing stepping.
Further, focus the grey-scale contrast of the position that continuous three steppings are corresponding in stepping when described second
Value also includes after there is flex point: select to meet:Rejecting after remaining stepping as
Three focusing steppings;Promote focusing window from closely to far the most right to described 3rd focusing stepping by motor movement
Jiao, when flex point occurs in the described 3rd intensity contrast angle value of the position that continuous three steppings are corresponding in stepping of focusing,
The position then selecting stepping that in position corresponding to described continuous three steppings, gray scale contrast value is maximum corresponding is made
Focus for focusing;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as Jiao of focusing
Point;CnIt is the 3rd focusing stepping, NBThe numbering of the nearest stepping for determining in described second focusing stepping.
Further, by the grey-scale contrast of position corresponding for continuous three steppings in described first focusing stepping
Value occurs that the intensity contrast angle value of one of them position of flex point is defined as first threshold, by described second focusing
In stepping, there is the ash of one of them position of flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding
Degree contrast value is defined as Second Threshold, and the intensity contrast angle value of described focus is more than Second Threshold, and described the
Two threshold values are more than first threshold;Obtain the intensity contrast angle value of current focusing window, if current gray scale pair
Than angle value more than Second Threshold, less than the intensity contrast angle value of focus, then perform to select the 3rd focusing stepping
Step;If current intensity contrast angle value is more than first threshold, less than Second Threshold, then perform selection the
The step of two focusing steppings;If current intensity contrast angle value is less than first threshold, then perform selection first
The step of focusing stepping.
Further, the distance size between the velocity magnitude of described motor movement is according to adjacent two focuses
It is controlled.
A kind of device of auto-focusing, including:
Parameter acquisition module, for obtaining the blur diameter value of imageing sensor, the f-number of camera lens in terminal
And the kinematic parameter of motor;
Object distance range computing module, for according to described blur diameter value, the f-number of camera lens and motor
The object distance range of each stepping of motor described in beginning parameter transform model;
Module is rejected in stepping, for weeding out its object distance range object distance model in other steppings in described stepping
Enclose interior stepping;
Grey-scale contrast acquisition module, the gray scale of the correspondence position of each stepping remaining after obtaining rejecting
Contrast value;
Focus decision module, for determining remaining stepping after rejecting according to described intensity contrast angle value
The position of one stepping is as the focus of focusing.
Further, described focus decision module includes: the first focusing stepping selects submodule, is used for selecting
Meet below equation:Work as n2During > i, An=Xi, rejecting after remaining stepping
As the first focusing stepping;First focus determines submodule, for by controlling motor movement promotion focusing window
Mouth is from closely to far focusing, the position that described first focusing stepping is corresponding when described first focuses in stepping respectively
There is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three steppings
Any position corresponding between two steppings that in corresponding position, gray scale contrast value is bigger is as Jiao of focusing
Point;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as the focus of focusing;XiIt is surplus
Under stepping, AnBeing the first focusing stepping, i, n are positive integer.
Further, described focus decision module also includes: the second focusing stepping selects submodule, for working as
After in described first focusing stepping, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, choosing
Select and meet below equation:As 3n≤NATime, Bn=X1, rejecting after surplus
Under stepping as second focusing stepping;Second focus determines submodule, for being pushed away by control motor movement
Dynamic focusing window is from as far as closely focusing the position that described second focusing stepping is corresponding respectively, when described second right
In burnt stepping, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuously
Any position conduct corresponding between two steppings that in the position that three steppings are corresponding, gray scale contrast value is bigger
The focus of focusing;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as the focus of focusing;
NAThe numbering of the farthest stepping for determining in described first focusing stepping, BnIt it is the second focusing stepping.
Further, described focus decision module also includes: the 3rd focusing stepping selects submodule, for working as
After in described second focusing stepping, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, choosing
Select satisfied:Rejecting after remaining stepping as the 3rd focusing stepping;3rd focus is true
Stator modules, for promoting focusing window from closely to far to described 3rd focusing stepping respectively by motor movement
Focusing, when turning occurs in the described 3rd intensity contrast angle value of the position that continuous three steppings are corresponding in stepping of focusing
Point, then select the position that stepping that in position corresponding to described continuous three steppings, gray scale contrast value is maximum is corresponding
Put the focus as focusing;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as focusing
Focus;CnIt is the 3rd focusing stepping, NBFor the nearest stepping determined in described second focusing stepping
Numbering.
Further, also include: threshold determination module, for by described first focusing stepping continuous three
The intensity contrast angle value of the position that stepping is corresponding occurs that the intensity contrast angle value of one of them position of flex point determines
For first threshold, the intensity contrast angle value of the position that continuous three steppings are corresponding in stepping of focusing described second
Occur that the intensity contrast angle value of one of them position of flex point is defined as Second Threshold, the gray scale pair of described focus
It is more than first threshold more than Second Threshold, described Second Threshold than angle value;Processing module, is used for obtaining currently
The intensity contrast angle value of focusing window, if current intensity contrast angle value is more than Second Threshold, less than focus
Intensity contrast angle value, then to described 3rd focusing stepping select submodule send trigger enabled instruction;If
Current intensity contrast angle value is more than first threshold, less than Second Threshold, then to described second focusing stepping choosing
Select submodule and send triggering enabled instruction;If current intensity contrast angle value is less than first threshold, then to institute
Stating the first focusing stepping selects submodule to send triggering enabled instruction.
Beneficial effects of the present invention:
The invention provides the method and device of a kind of auto-focusing, by obtaining the imageing sensor of terminal
The kinematic parameter of blur diameter value, the f-number of camera lens and motor calculates the object distance of each stepping of motor
Scope, and weed out the stepping in the object distance range of other steppings of its object distance range, more surplus after acquisition rejecting
Under the intensity contrast angle value of correspondence position of each stepping;Remain after rejecting according to described intensity contrast angle value
Under stepping in determine the position of the stepping focus as focusing.This programme passes through will be in other steppings
Object distance range in stepping reject so that will not overlap between the object distance range of newly obtained stepping,
Decrease the number of times that motor moves, and the moving step length of motor has been also carried out changing, it is achieved thereby that the most certainly
Dynamic focusing, does not interferes with its image quality yet, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is grey-scale contrast and the X-Y scheme of image distance in terminal;
Fig. 2 is the curve chart of image distance and object distance;
The method flow diagram of the auto-focusing that Fig. 3 provides for the embodiment of the present invention one;
The detail flowchart of the method automatically repeatedly focused that Fig. 4 provides for the embodiment of the present invention one;
The image distance that Fig. 5 provides for the embodiment of the present invention one and the curve chart of grey-scale contrast;
The structural representation of the device of the auto-focusing that Fig. 6 provides for the embodiment of the present invention two.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention the present invention is described in further detail.
Embodiment one:
As it is shown on figure 3, the method flow diagram of the auto-focusing provided for the embodiment of the present invention one, refer to Fig. 3,
S301: obtain the blur diameter value of imageing sensor, the f-number of camera lens and the fortune of motor of terminal
Dynamic parameter;
Terminal in the present invention includes: mobile phone, flat board, palm PC, photographing unit, camera etc.;Described
The kinematic parameter of motor includes: concussion frequency when motor stroke and motor drive camera motion and concussion time;
In the present embodiment, the parameter being written in terminal memory by reading obtains the fuzzy of imageing sensor
When concussion frequency when diameter value, the f-number of camera lens, motor stroke and motor drive camera motion and concussion
Between;Shake frequency during for motor movement and the concussion time can also be surveyed by special measuring instrument
Measure;
S302: according to the beginning parameter transform model of described blur diameter value, the f-number of camera lens and motor
The object distance range of each stepping of motor;
It should be noted that in the imageing sensor of terminal, be all according to described blur diameter value, camera lens
F-number and the kinematic parameter of motor every length step by step entered of described motor and speed are set;Horse
The relation reaching stroke and the length of stepping is:Wherein S is motor stroke, and u is the length of stepping
Degree;Different motors coordinates different camera lens, and motor concussion frequency and concussion time are different;The fortune of motor
Dynamic speed and the relation of concussion time are vi=f'.F (tf), viFor movement velocity, tfFor shaking the time, f' is shake
Swing frequency;Moving a step for often moving in motor, object distance range corresponding to its each stepping includes: near-end object distance
The limit (Near Focus Limit):With the far-end object distance limit (Far Focus Limit):Wherein H is hyperfocal distance,A is lens aperture value, and d is imageing sensor
Blur diameter;By calculating u corresponding after each stepping of motor is moved with upper typeNAnd uF;
S303: weed out the stepping in the object distance range of other steppings of its object distance range in described stepping;
Specifically, can be obtained by the object distance range of adjacent stepping manner of comparison two-by-two: relatively adjacent stepping
Middle uNAnd uFValue, select the stepping that can cover other focusing object distance, that is, existed by its object distance range
Stepping in other object distance range is rejected so that in remaining stepping, and the distance of adjacent stepping is no longer
Identical so that the distance of every moved further of motor is the most identical, but its can cover equally itself can
With the object distance range covered, and in this step, it is that unnecessary stepping is rejected;As, in this enforcement
In example, it is assumed that the mobile stepping that motor is new is Xi, wherein XiFor remaining stepping after rejecting, i is the most whole
Number, i.e. motor is by according to new stepping XiCorresponding position moves, then it completes the formation of whole motor
The step number moved will be reduced;
S304: obtain the intensity contrast angle value of the correspondence position of each stepping remaining after rejecting;
Motor often moves a stepping, in the position that this stepping is corresponding, all there is a corresponding gray scale pair
Compare angle value;Grey-scale contrast for each stepping correspondence position is worth obtaining, it is common that by controlling motor
Move to the correspondence position of this stepping, and is focused in this position, thus obtain pixel in this focusing form
The intensity contrast angle value of point;
S305: determine the position of a stepping according to described intensity contrast angle value after rejecting remaining stepping
Put the focus as focusing;
In the present embodiment, carried out by the correspondence position of remaining stepping after controlling motor each being rejected right
Jiao, obtains the intensity contrast angle value that each stepping is corresponding, selects ash in the described intensity contrast angle value obtained
Spend the position focus as focusing of stepping corresponding to the maximum value of contrast, or, select grey-scale contrast
Value belongs to and meets the grey-scale contrast in the range of the imaging of fine definition and be worth the position of stepping as focusing
Focus.In the present embodiment, the stepping repeated by the object distance range weeded out with other steppings, reduce
The mobile number of times of motor, and the quality of its imaging does not decline, and the possibility of rapid focus can be reached, carry
The high experience of user.
Preferably, step S104 determines a stepping according to described intensity contrast angle value from remaining stepping
Position include as the focus of focusing: select to meet below equation:Work as n2During > i,
An=Xi, rejecting after remaining stepping as first focusing stepping;Right by controlling motor movement promotion
Burnt window is from closely to far focusing respectively to the position that described first focusing stepping is corresponding, when described first focusing step
In entering, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three
Any position corresponding between two steppings that in the position that stepping is corresponding, gray scale contrast value is bigger is as focusing
Focus;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as the focus of focusing;Xi
For remaining stepping, AnBeing the first focusing stepping, i, n are positive integer;In the present embodiment, by inciting somebody to action
The stepping meeting above-mentioned formula chooses as the first focusing stepping, and only to the first selected focusing step
Enter to focus, from closely to the intensity contrast angle value of the remote position calculating corresponding stepping, when described first right
After in burnt stepping, flex point occurs in the intensity contrast angle value of the position that continuous three steppings are corresponding, then need not it
He carries out focusing process in the position of the first focusing stepping, only need to be in the position that described continuous three steppings are corresponding
Any position corresponding between two steppings that intensity contrast angle value is bigger is as the focus of focusing;Described arbitrary
Position includes the position that the arbitrary stepping between two steppings that described intensity contrast angle value is bigger is corresponding, or
The position that after arbitrary rejecting between two steppings that described intensity contrast angle value is bigger, remaining stepping is corresponding;
Select this any position can not only realize focusing accurately as the focus of focusing, the purpose of imaging clearly, and,
During focusing, only there is flex point in the intensity contrast angle value of the position that continuous three steppings of need are corresponding
After avoid the need for being further continued for focusing, thus more quickly find focus, it is achieved the possibility of focusing.
In the present embodiment, owing to the position between two steppings that the first focus obtains is relatively big, by selecting
The focus relative error of the focusing obtained also can be relatively big, in order to more be accurately obtained the position of its focusing focus,
Thus need to reduce its scope selected, its step reducing the range of choice includes: when described first focusing step
Enter after flex point occurs in the intensity contrast angle value of position corresponding to continuous three steppings, select to meet below equation:As 3n≤NATime, Bn=X1, rejecting after remaining stepping as second
Focusing stepping;Promote focusing window from as far as closely corresponding to described second focusing stepping by controlling motor movement
Position focus respectively, i.e. in this focus process, be to first focusing stepping focusing stop after,
Namely first focusing stepping in intensity contrast angle value flex point occurs time;When described second focusing stepping connects
There is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three steppings pair
Any position corresponding between two steppings that in the position answered, gray scale contrast value is bigger is as Jiao of focusing
Point;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as the focus of focusing;NAFor
The numbering of the farthest stepping determined in described first focusing stepping, BnIt it is the second focusing stepping;In this reality
Execute in example, by the stepping meeting above-mentioned formula being chosen as the second focusing stepping, and only to selected
The the second focusing stepping focusing selected, from the intensity contrast angle value as far as the nearly position calculating corresponding stepping, when
After in described second focusing stepping, flex point occurs in the intensity contrast angle value of the position that continuous three steppings are corresponding, then
Need not the position of other the second focusing steppings is carried out focusing process, only need to be in described continuous three steppings pair
Any position corresponding between two steppings that in the position answered, gray scale contrast value is bigger is as Jiao of focusing
Point;Similarly, what described any position included between two steppings that described intensity contrast angle value is bigger is arbitrary
After arbitrary rejecting between the position that stepping is corresponding, or bigger two steppings of described intensity contrast angle value surplus
Under position corresponding to stepping;This any position is selected to realize focusing more further as the focus of focusing
The possibility of accuracy.
Further, so that the scope of the position of the focus of the focusing determined is more accurate, when described the
In two focusing steppings, the intensity contrast angle value of the position that continuous three steppings are corresponding also includes after there is flex point: choosing
Select satisfied:Rejecting after remaining stepping as the 3rd focusing stepping;Transported by motor
Move and promote focusing window near to far described 3rd focusing stepping being focused respectively, when described 3rd focusing stepping
In the intensity contrast angle value of position corresponding to continuous three steppings flex point occurs, then select described continuous three steps
Enter position corresponding to stepping that in the position of correspondence, gray scale contrast value the is maximum focus as focusing;Otherwise,
Position corresponding to the stepping that selects intensity contrast angle value maximum is as the focus of focusing;CnIt it is the 3rd focusing step
Enter, NBThe numbering of the nearest stepping for determining in described second focusing stepping;Divided by above three step
Not from closely to remote, from as far as closely, again from closely moving to far being controlled motor, and focus respectively
To the intensity contrast angle value of the position of each stepping, finally giving in this terminal, intensity contrast angle value is the most accurate
Ground stepping position, so, by comparing this intensity contrast angle value with the current intensity contrast angle value obtained
Relatively, obtaining how controlling the motion of motor makes the quality of photo obtained by current shooting optimal.
The method specifically focused the target being currently needed for shooting includes: first by described first focusing
In stepping, there is the ash of one of them position of flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding
Degree contrast value is defined as first threshold, by position corresponding for continuous three steppings in described second focusing stepping
Intensity contrast angle value occur that the intensity contrast angle value of one of them position of flex point is defined as Second Threshold, will
In described 3rd stepping, there is the ash of the position of flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding
The intensity contrast angle value as focus that degree contrast value is maximum, the intensity contrast angle value of described focus is more than the
Two threshold values, described Second Threshold is more than first threshold;Obtain the intensity contrast angle value of current focusing window, as
The most current intensity contrast angle value is more than Second Threshold, less than the intensity contrast angle value of focus, then performs selection
The step of the 3rd focusing stepping, thus obtain shooting the accurate focusing of current goal;If current gray scale pair
Than angle value more than first threshold, less than Second Threshold, then perform to select the step of the second focusing stepping, equally
Ground, after the step of stepping that performed to focus to second, for the accuracy focused, needs to continue executing with the
The step of three only angle steppings, so determined by focus focus will be more accurate;If current intensity contrast
Angle value is less than first threshold, then perform to select the step of the first focusing stepping, such situation and above-mentioned situation class
Seemingly, it is not repeated at this.
It should be noted that in the terminal, the velocity magnitude of motor movement be according to adjacent two steppings between
Distance size be controlled.The interference caused to reduce inertia and motor self to shake, above-mentioned really
During the grey-scale contrast of each focusing stepping is worth calmly, the speed of motor is also change.Such as, for
The determination of the position intensity contrast angle value of the first focusing stepping, the speed of its scanning is x1, for the second focusing step
The determination of the position intensity contrast angle value entered, the speed of its scanning is x2, for the position of the 3rd focusing stepping
The determination of intensity contrast angle value, the speed of its scanning is x3;Wherein there is following condition: x1=x2k1=x3k2,
0 < k2< k1< 1.
Such as, specific embodiment described in detail below is carried out being automatically performed the method repeatedly focused in this programme
Illustrate, as shown in Figure 4, for the detail flowchart of the method automatically repeatedly focused that the embodiment of the present invention one provides,
Refer to Fig. 4 and Fig. 5,
S401: read be written in the memorizer of terminal the blur diameter of imageing sensor, the aperture of camera lens,
Concussion frequency when motor stroke and motor drive camera motion and concussion time;
S402: when driving camera motion according to described blur diameter, the aperture of camera lens, motor stroke and motor
Concussion frequency and concussion Time Calculation go out corresponding object distance range after each stepping of described motor is moved;
S403: the relatively object distance range of the position of adjacent stepping, is being included in other steppings by its object distance range
The stepping of object distance range reject, remaining stepping after being rejected, position corresponding to this stepping is arranged
For Xi;
S404: select to meet below equation:Work as n2During > i, An=Xi, pick
Except rear remaining stepping is as the first focusing stepping;And from closely to far corresponding to described first focusing stepping position
Put and focus respectively, when described first focuses the intensity contrast angle value of the position that continuous three steppings are corresponding in stepping
Flex point occurs, then selects two steps that in position corresponding to described continuous three steppings, gray scale contrast value is bigger
Position corresponding between entering is defined as focus, and selects the ash of stepping correspondence position that one of them is bigger
Degree contrast value is first threshold Y1;
S405: select to meet below equation:As 3n≤NATime, Bn=X1,
Rejecting after remaining stepping as the second focusing stepping, and from as far as closely corresponding to described second focusing stepping
Position focus respectively, when described second focuses the intensity contrast of the position that continuous three steppings are corresponding in stepping
There is flex point in angle value, then select that in position corresponding to described continuous three steppings, gray scale contrast value is bigger two
Position corresponding between individual stepping is as focus, and selects stepping correspondence position that one of them is bigger
Intensity contrast angle value is Second Threshold Y2;
S406: select to meet below equation:Rejecting after remaining stepping as the 3rd
Focusing stepping, and from closely to far being focused, respectively when the described 3rd in the position that described 3rd focusing stepping is corresponding
In focusing stepping, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described company
The position that in the position that continuous three steppings are corresponding, the stepping of gray scale contrast value maximum is corresponding is as Jiao of focusing
Point, is Yf by intensity contrast angle value corresponding for this focus, completes focusing;
After S407:t ms, obtain intensity contrast angle value Y of current focusing window;
S408: judge whether to meet Y2 < Y1 < Yf, the most then turn S206;If it is not, then turn S209;
S409: judge whether to meet Y1 < Y1 < Y2, the most then turn S205;If it is not, then turn S204.
The present embodiment achieves the possibility of continuous focusing, and can realize focusing more rapidly and accurately, not only becomes
Picture element amount is improved, and saves focusing time, improves Consumer's Experience.
Embodiment two:
As shown in Figure 6, for the structural representation of device of the auto-focusing that the embodiment of the present invention two provides, please
Seeing Fig. 6, the device 60 of described auto-focusing includes: parameter acquisition module 601, object distance range calculate mould
Module 603, grey-scale contrast acquisition module 604 and focus decision module 605 are rejected in block 602, stepping;Institute
State parameter acquisition module 601 the blur diameter value of imageing sensor, f-number of camera lens in obtaining terminal
And the kinematic parameter of motor;Described object distance range computing module 602 for according to described blur diameter value,
The object distance range of each stepping of motor described in the f-number of camera lens and the beginning parameter transform model of motor;Described step
Enter to reject module 603 for weeding out its object distance range in described stepping in the object distance range of other steppings
Stepping;Described grey-scale contrast acquisition module 604 correspondence of each stepping remaining after obtaining rejecting
The intensity contrast angle value of position;Described focus decision module 605 is used for according to described intensity contrast angle value from picking
Except the position focus as focusing determining a stepping in rear remaining stepping.In the present embodiment, logical
Cross the stepping that the object distance range weeded out with other steppings repeats, reduce the mobile number of times of motor, and it becomes
The quality of picture does not decline, and can reach the possibility of rapid focus, improves the experience of user.
In an embodiment, described focus decision module 605 includes: the first focusing stepping selects submodule, is used for
Selection meets below equation:Work as n2During > i, An=Xi, rejecting after remaining
Stepping is as the first focusing stepping;First focus determines submodule, for right by controlling motor movement promotion
Burnt window is from closely to far focusing respectively to the position that described first focusing stepping is corresponding, when described first focusing step
In entering, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three
Any position corresponding between two steppings that in the position that stepping is corresponding, gray scale contrast value is bigger is as focusing
Focus;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as the focus of focusing;Xi
For remaining stepping, AnBeing the first focusing stepping, i, n are positive integer.
Further, described focus decision module 605 also includes: the second focusing stepping selects submodule, is used for
When described first focuses after flex point occurs in the intensity contrast angle value of the position that continuous three steppings are corresponding in stepping,
Selection meets below equation:As 3n≤NATime, Bn=X1, rejecting after
Remaining stepping is as the second focusing stepping;Second focus determines submodule, for by controlling motor movement
Promote focusing window from as far as closely focusing, the position that described second focusing stepping is corresponding when described second respectively
In focusing stepping, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described company
Any position corresponding between two steppings that in the position that continuous three steppings are corresponding, gray scale contrast value is bigger is made
Focus for focusing;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as Jiao of focusing
Point;NAThe numbering of the farthest stepping for determining in described first focusing stepping, BnIt it is the second focusing step
Enter;
Preferably, described focus decision module 605 also includes: the 3rd focusing stepping selects submodule, for working as
After in described second focusing stepping, there is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, choosing
Select satisfied:Rejecting after remaining stepping as the 3rd focusing stepping;3rd focus is true
Stator modules, for promoting focusing window from closely to far to described 3rd focusing stepping respectively by motor movement
Focusing, when turning occurs in the described 3rd intensity contrast angle value of the position that continuous three steppings are corresponding in stepping of focusing
Point, then select the position that stepping that in position corresponding to described continuous three steppings, gray scale contrast value is maximum is corresponding
Put the focus as focusing;Otherwise, the position that the stepping of selection intensity contrast angle value maximum is corresponding is as focusing
Focus;CnIt is the 3rd focusing stepping, NBFor the nearest stepping determined in described second focusing stepping
Numbering;
The device 60 of described auto-focusing also includes: threshold determination module, for by described first focusing stepping
In the intensity contrast angle value of position corresponding to continuous three steppings the gray scale pair of one of them position of flex point occurs
It is defined as first threshold, by the ash of position corresponding for continuous three steppings in described second focusing stepping than angle value
Degree contrast value occurs that the intensity contrast angle value of one of them position of flex point is defined as Second Threshold, described Jiao
The intensity contrast angle value of point is more than first threshold more than Second Threshold, described Second Threshold;Processing module, uses
In the intensity contrast angle value of the current focusing window of acquisition, if current intensity contrast angle value is more than Second Threshold,
Less than the intensity contrast angle value of focus, then select submodule to send triggering startup to described 3rd focusing stepping and refer to
Order;If current intensity contrast angle value is more than first threshold, less than Second Threshold, then to described second right
Burnt stepping selects submodule to send and triggers enabled instruction;If current intensity contrast angle value is less than first threshold,
Then select submodule to send to described first focusing stepping and trigger enabled instruction.
The invention provides the method and device of a kind of auto-focusing, by by the object distance range of stepping at other
Stepping in the object distance range of stepping is rejected, then the ash of the correspondence position of each stepping remaining after acquisition rejecting
Degree contrast value;After rejecting, a stepping is determined in remaining stepping according to described intensity contrast angle value
Position is as the focus of focusing.This programme by the stepping in the object distance range of other steppings is rejected,
Make will not overlap between the object distance range of newly obtained stepping, decrease the number of times that motor moves, and motor
The step distance of movement be also carried out changing, it is achieved thereby that fast automatic focusing, do not interfere with it yet
Picture element amount, improves Consumer's Experience.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to assert
Being embodied as of the present invention is confined to these explanations.Ordinary skill people for the technical field of the invention
For Yuan, without departing from the inventive concept of the premise, it is also possible to make some simple deduction or replace, all
Protection scope of the present invention should be considered as belonging to.
Claims (11)
1. the method for an auto-focusing, it is characterised in that comprise the following steps:
Obtain the blur diameter value of imageing sensor, the f-number of camera lens and the kinematic parameter of motor of terminal;
Motor described in beginning parameter transform model according to described blur diameter value, the f-number of camera lens and motor is each
The object distance range of individual stepping;
The stepping in the object distance range of other steppings of its object distance range is weeded out in described stepping;
Obtain the intensity contrast angle value of the correspondence position of each stepping remaining after rejecting;
Remaining stepping is determined after rejecting the position conduct of a stepping according to described intensity contrast angle value
The focus of focusing.
2. the method for auto-focusing as claimed in claim 1, it is characterised in that according to described gray scale
Contrast value determines that from remaining stepping the position of a stepping includes as the focus focused: select full
Foot below equation:Work as n2During > i, An=Xi, rejecting after remaining stepping make
It it is the first focusing stepping;Promote focusing window from closely to far to described first focusing step by controlling motor movement
Focus respectively in the position entering correspondence, when described first focuses the ash of the position that continuous three steppings are corresponding in stepping
There is flex point in degree contrast value, then select in position corresponding to described continuous three steppings gray scale contrast value relatively
Any position corresponding between two big steppings is as the focus of focusing;Otherwise, intensity contrast angle value is selected
Position corresponding to maximum stepping is as the focus of focusing;XiFor remaining stepping, AnIt it is the first focusing step
Entering, i, n are positive integer.
3. the method for auto-focusing as claimed in claim 2, it is characterised in that when described first right
In burnt stepping, the intensity contrast angle value of the position that continuous three steppings are corresponding occurs that flex point also includes: select to meet
Below equation:As 3n≤NATime, Bn=X1, rejecting after remaining step
Enter as the second focusing stepping;Promote focusing window from as far as closely to described second right by controlling motor movement
Focus respectively in position corresponding to burnt stepping, when described second focuses position corresponding to continuous three steppings in stepping
Intensity contrast angle value flex point occurs, then select grey-scale contrast in position corresponding to described continuous three steppings
It is worth between two bigger steppings any position focus as focusing of correspondence;Otherwise, intensity contrast is selected
Position corresponding to the maximum stepping of angle value is as the focus of focusing;NAFor described first focusing stepping determines
The numbering of the farthest stepping gone out, BnIt it is the second focusing stepping.
4. the method for auto-focusing as claimed in claim 3, it is characterised in that when described second right
In burnt stepping, the intensity contrast angle value of the position that continuous three steppings are corresponding also includes after there is flex point: select full
Foot:Rejecting after remaining stepping as the 3rd focusing stepping;Pushed away by motor movement
Dynamic focusing window is from closely to far focusing described 3rd focusing stepping respectively, when connecting in described 3rd focusing stepping
There is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three steppings pair
The position that in the position answered, the stepping of gray scale contrast value maximum is corresponding is as the focus of focusing;Otherwise, select
Position corresponding to the maximum stepping of intensity contrast angle value is as the focus of focusing;CnIt is the 3rd focusing stepping,
NBThe numbering of the nearest stepping for determining in described second focusing stepping.
5. the method for auto-focusing as claimed in claim 4, it is characterised in that by described first right
In burnt stepping, there is one of them position of flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding
Intensity contrast angle value is defined as first threshold, by position corresponding for continuous three steppings in described second focusing stepping
The intensity contrast angle value put occurs that the intensity contrast angle value of one of them position of flex point is defined as Second Threshold,
The intensity contrast angle value of described focus is more than Second Threshold, and described Second Threshold is more than first threshold;Obtain and work as
The intensity contrast angle value of front focusing window, if current intensity contrast angle value is more than Second Threshold, less than Jiao
The intensity contrast angle value of point, then perform to select the step of the 3rd focusing stepping;If current grey-scale contrast
Value, more than first threshold, less than Second Threshold, then performs to select the step of the second focusing stepping;If it is current
Intensity contrast angle value less than first threshold, then perform to select the step of the first focusing stepping.
6. the method for the auto-focusing as described in any one of claim 2-5, it is characterised in that described horse
Reach the velocity magnitude of motion be according to adjacent two steppings between distance size be controlled.
7. the device of an auto-focusing, it is characterised in that including:
Parameter acquisition module, for obtaining the blur diameter value of imageing sensor, the f-number of camera lens in terminal
And the kinematic parameter of motor;
Object distance range computing module, for according to described blur diameter value, the f-number of camera lens and motor
The object distance range of each stepping of motor described in beginning parameter transform model;
Module is rejected in stepping, for weeding out its object distance range object distance model in other steppings in described stepping
Enclose interior stepping;
Grey-scale contrast acquisition module, the gray scale of the correspondence position of each stepping remaining after obtaining rejecting
Contrast value;
Focus decision module, for determining remaining stepping after rejecting according to described intensity contrast angle value
The position of one stepping is as the focus of focusing.
8. the device of auto-focusing as claimed in claim 7, it is characterised in that described focus determines
Module includes: the first focusing stepping selects submodule, meets below equation for selection:
Work as n2During > i, An=Xi, rejecting after remaining stepping as first focusing stepping;First focus
Determine submodule, for by controlling motor movement promotion focusing window from closely to far to described first focusing step
Focus respectively in the position entering correspondence, when described first focuses the ash of the position that continuous three steppings are corresponding in stepping
There is flex point in degree contrast value, then select in position corresponding to described continuous three steppings gray scale contrast value relatively
Any position corresponding between two big steppings is as the focus of focusing;Otherwise, intensity contrast angle value is selected
Position corresponding to maximum stepping is as the focus of focusing;XiFor remaining stepping, AnIt it is the first focusing step
Entering, i, n are positive integer.
9. the device of auto-focusing as claimed in claim 8, it is characterised in that described focus determines
Module also includes: the second focusing stepping selects submodule, for when in described first focusing stepping continuous three
After flex point occurs in the intensity contrast angle value of the position that stepping is corresponding, select to meet below equation:As 3n≤NATime, Bn=X1, rejecting after remaining stepping as second
Focusing stepping;Second focus determines submodule, for by control motor movement promote focusing window from as far as
Closely is focused respectively in the position that described second focusing stepping is corresponding, when in described second focusing stepping continuous three
There is flex point in the intensity contrast angle value of the position that stepping is corresponding, then select the position that described continuous three steppings are corresponding
Put any position corresponding between two steppings that gray scale contrast value the is bigger focus as focusing;Otherwise,
Position corresponding to the stepping that selects intensity contrast angle value maximum is as the focus of focusing;NAFor described first right
The numbering of the farthest stepping determined in burnt stepping, BnIt it is the second focusing stepping.
10. the device of auto-focusing as claimed in claim 9, it is characterised in that described focus determines
Module also includes: the 3rd focusing stepping selects submodule, for when in described second focusing stepping continuous three
After flex point occurs in the intensity contrast angle value of the position that stepping is corresponding, select to meet:Pick
Except rear remaining stepping is as the 3rd focusing stepping;3rd focus determines submodule, is used for passing through motor movement
Promote focusing window from closely to far focusing, described 3rd focusing stepping when the described 3rd focuses in stepping respectively
There is flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding, then select described continuous three steppings
The position that in corresponding position, the stepping of gray scale contrast value maximum is corresponding is as the focus of focusing;Otherwise, choosing
Select position corresponding to the maximum stepping of the intensity contrast angle value focus as focusing;CnIt is the 3rd focusing stepping,
NBThe numbering of the nearest stepping for determining in described second focusing stepping.
The device of 11. auto-focusing as claimed in claim 10, it is characterised in that also include: threshold value
Determine module, for the grey-scale contrast by position corresponding for continuous three steppings in described first focusing stepping
Value occurs that the intensity contrast angle value of one of them position of flex point is defined as first threshold, by described second focusing
In stepping, there is the ash of one of them position of flex point in the intensity contrast angle value of the position that continuous three steppings are corresponding
Degree contrast value is defined as Second Threshold, and the intensity contrast angle value of described focus is more than Second Threshold, and described the
Two threshold values are more than first threshold;Processing module, for obtaining the intensity contrast angle value of current focusing window, as
The most current intensity contrast angle value is more than Second Threshold, less than the intensity contrast angle value of focus, then to described the
Three focusing steppings select submodule to send and trigger enabled instruction;If current intensity contrast angle value is more than first
Threshold value, less than Second Threshold, then selects submodule to send to described second focusing stepping and triggers enabled instruction;
If current intensity contrast angle value is less than first threshold, then submodule is selected to send out to described first focusing stepping
Send triggering enabled instruction.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510160558.0A CN106154688B (en) | 2015-04-07 | 2015-04-07 | Automatic focusing method and device |
PCT/CN2015/086686 WO2016161734A1 (en) | 2015-04-07 | 2015-08-11 | Autofocusing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510160558.0A CN106154688B (en) | 2015-04-07 | 2015-04-07 | Automatic focusing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106154688A true CN106154688A (en) | 2016-11-23 |
CN106154688B CN106154688B (en) | 2021-04-16 |
Family
ID=57071784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510160558.0A Active CN106154688B (en) | 2015-04-07 | 2015-04-07 | Automatic focusing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106154688B (en) |
WO (1) | WO2016161734A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234876A (en) * | 2018-01-22 | 2018-06-29 | 努比亚技术有限公司 | A kind of tracking focusing method, terminal and computer readable storage medium |
CN109087354A (en) * | 2018-08-29 | 2018-12-25 | 浙江霖研精密科技有限公司 | A kind of position algorithm of the best object distance of automatic search and image distance |
CN111654637A (en) * | 2020-07-14 | 2020-09-11 | RealMe重庆移动通信有限公司 | Focusing method, focusing device and terminal equipment |
WO2021102959A1 (en) * | 2019-11-29 | 2021-06-03 | 深圳市大疆创新科技有限公司 | Focus adjustment method, camera module, and computer readable storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109307970A (en) * | 2018-11-22 | 2019-02-05 | 成都市鹰诺实业有限公司 | A kind of automatic focusing method of camera |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002122776A (en) * | 2000-10-17 | 2002-04-26 | Sharp Corp | Autofocus controller, digital still camera and digital video camera equipped with the same, autofocus control method and recording medium having autofocus control program recorded thereon |
JP2003315665A (en) * | 2002-04-23 | 2003-11-06 | Nikon Gijutsu Kobo:Kk | Camera |
US20030223009A1 (en) * | 2002-03-13 | 2003-12-04 | Akihiro Yoshida | Photographing apparatus |
CN1461968A (en) * | 2002-05-31 | 2003-12-17 | 金宝电子工业股份有限公司 | Automatic focusing method cooperated with depth of field |
CN1667481A (en) * | 2004-03-08 | 2005-09-14 | 普立尔科技股份有限公司 | Quick focusing method for digital camera |
CN1811576A (en) * | 2005-12-19 | 2006-08-02 | 佛山普立华科技有限公司 | Automatic focusing method for digit imaging system |
JP2007148249A (en) * | 2005-11-30 | 2007-06-14 | Canon Inc | Automatic focusing device |
CN101071251A (en) * | 2006-05-11 | 2007-11-14 | 致伸科技股份有限公司 | Method for estimating automatic focusing least effective sampling points |
CN100510938C (en) * | 2005-07-19 | 2009-07-08 | 阿尔卑斯电气株式会社 | Optical device |
CN101995640A (en) * | 2010-09-30 | 2011-03-30 | 镇江中信科技开发有限公司 | Coarse adjustment and fine adjustment combined rapid interpolation focus exploration algorithm |
WO2012048431A1 (en) * | 2010-10-14 | 2012-04-19 | Lensvector Inc. | In-flight auto focus method and system for tunable liquid crystal optical element |
JP2013083843A (en) * | 2011-10-12 | 2013-05-09 | Canon Inc | Optical instrument, lens barrel, and automatic focus adjustment method |
CN103513395A (en) * | 2012-06-15 | 2014-01-15 | 中兴通讯股份有限公司 | Passive auto-focusing method and device |
CN103728813A (en) * | 2012-10-15 | 2014-04-16 | 浙江大华技术股份有限公司 | Method for synchronizing focusing operation and zooming operation |
CN103945126A (en) * | 2014-04-21 | 2014-07-23 | 中国人民解放军国防科学技术大学 | Automatic focusing and locating method |
CN104038666A (en) * | 2014-04-22 | 2014-09-10 | 深圳英飞拓科技股份有限公司 | Video shielding detection method and video shielding detection device |
CN104103063A (en) * | 2013-04-10 | 2014-10-15 | 江南大学 | No-reference noise image quality evaluation method based on automatic focusing principle |
US20150015769A1 (en) * | 2013-07-09 | 2015-01-15 | Htc Corporation | Handheld electronic apparatus and image capturing apparatus and focusing method thereof |
CN104459940A (en) * | 2013-09-25 | 2015-03-25 | 北京环境特性研究所 | Quick self-adaptation automatic focusing method |
-
2015
- 2015-04-07 CN CN201510160558.0A patent/CN106154688B/en active Active
- 2015-08-11 WO PCT/CN2015/086686 patent/WO2016161734A1/en active Application Filing
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002122776A (en) * | 2000-10-17 | 2002-04-26 | Sharp Corp | Autofocus controller, digital still camera and digital video camera equipped with the same, autofocus control method and recording medium having autofocus control program recorded thereon |
US20030223009A1 (en) * | 2002-03-13 | 2003-12-04 | Akihiro Yoshida | Photographing apparatus |
JP2003315665A (en) * | 2002-04-23 | 2003-11-06 | Nikon Gijutsu Kobo:Kk | Camera |
CN1461968A (en) * | 2002-05-31 | 2003-12-17 | 金宝电子工业股份有限公司 | Automatic focusing method cooperated with depth of field |
CN1667481A (en) * | 2004-03-08 | 2005-09-14 | 普立尔科技股份有限公司 | Quick focusing method for digital camera |
CN100510938C (en) * | 2005-07-19 | 2009-07-08 | 阿尔卑斯电气株式会社 | Optical device |
JP2007148249A (en) * | 2005-11-30 | 2007-06-14 | Canon Inc | Automatic focusing device |
CN1811576A (en) * | 2005-12-19 | 2006-08-02 | 佛山普立华科技有限公司 | Automatic focusing method for digit imaging system |
CN101071251A (en) * | 2006-05-11 | 2007-11-14 | 致伸科技股份有限公司 | Method for estimating automatic focusing least effective sampling points |
CN101995640A (en) * | 2010-09-30 | 2011-03-30 | 镇江中信科技开发有限公司 | Coarse adjustment and fine adjustment combined rapid interpolation focus exploration algorithm |
WO2012048431A1 (en) * | 2010-10-14 | 2012-04-19 | Lensvector Inc. | In-flight auto focus method and system for tunable liquid crystal optical element |
JP2013083843A (en) * | 2011-10-12 | 2013-05-09 | Canon Inc | Optical instrument, lens barrel, and automatic focus adjustment method |
CN103513395A (en) * | 2012-06-15 | 2014-01-15 | 中兴通讯股份有限公司 | Passive auto-focusing method and device |
CN103728813A (en) * | 2012-10-15 | 2014-04-16 | 浙江大华技术股份有限公司 | Method for synchronizing focusing operation and zooming operation |
CN104103063A (en) * | 2013-04-10 | 2014-10-15 | 江南大学 | No-reference noise image quality evaluation method based on automatic focusing principle |
US20150015769A1 (en) * | 2013-07-09 | 2015-01-15 | Htc Corporation | Handheld electronic apparatus and image capturing apparatus and focusing method thereof |
CN104459940A (en) * | 2013-09-25 | 2015-03-25 | 北京环境特性研究所 | Quick self-adaptation automatic focusing method |
CN103945126A (en) * | 2014-04-21 | 2014-07-23 | 中国人民解放军国防科学技术大学 | Automatic focusing and locating method |
CN104038666A (en) * | 2014-04-22 | 2014-09-10 | 深圳英飞拓科技股份有限公司 | Video shielding detection method and video shielding detection device |
Non-Patent Citations (3)
Title |
---|
CHEN GUOJIN等: "The Study of Image Definition Evaluation Function Based on Wavelet Filter", 《IEEE》 * |
张振久等: "透镜检测中复合自动对焦技术的研究及应用", 《光学学报》 * |
马鹏川等: "一种自动对焦算法的优化", 《光学仪器》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234876A (en) * | 2018-01-22 | 2018-06-29 | 努比亚技术有限公司 | A kind of tracking focusing method, terminal and computer readable storage medium |
CN108234876B (en) * | 2018-01-22 | 2020-10-16 | 努比亚技术有限公司 | Tracking focusing method, terminal and computer readable storage medium |
CN109087354A (en) * | 2018-08-29 | 2018-12-25 | 浙江霖研精密科技有限公司 | A kind of position algorithm of the best object distance of automatic search and image distance |
WO2021102959A1 (en) * | 2019-11-29 | 2021-06-03 | 深圳市大疆创新科技有限公司 | Focus adjustment method, camera module, and computer readable storage medium |
CN111654637A (en) * | 2020-07-14 | 2020-09-11 | RealMe重庆移动通信有限公司 | Focusing method, focusing device and terminal equipment |
CN111654637B (en) * | 2020-07-14 | 2021-10-22 | RealMe重庆移动通信有限公司 | Focusing method, focusing device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106154688B (en) | 2021-04-16 |
WO2016161734A1 (en) | 2016-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106154688A (en) | A kind of method and device of auto-focusing | |
CN105430279B (en) | Camera fast automatic focusing method and device | |
CN105391945B (en) | Camera autofocus control method and device | |
US20170201673A1 (en) | Image capturing terminal and image capturing method | |
US9693041B2 (en) | Image capturing device and method for calibrating image deformation thereof | |
CN105657238B (en) | Track focusing method and device | |
CN106954007A (en) | Camera device and image capture method | |
CN107787463B (en) | The capture of optimization focusing storehouse | |
CN108600638B (en) | Automatic focusing system and method for camera | |
CN108076278A (en) | A kind of Atomatic focusing method, device and electronic equipment | |
CN107205109A (en) | The method of electronic installation and its control with many photographing modules | |
CN106415348B (en) | Photographic device and focusing control method | |
CN107026979B (en) | Double-camera shooting method and device | |
CN105430277B (en) | Autofocus control method and device | |
CN106031148B (en) | Imaging device, method of auto-focusing in an imaging device and corresponding computer program | |
KR20100134085A (en) | Systems and methods to increase speed of object detection in a digital image | |
CN113923358A (en) | Online automatic focusing method and system in flying shooting mode | |
CN112333379A (en) | Image focusing method and device and image acquisition equipment | |
CN112738397A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN110033461A (en) | A kind of mobile phone stabilization function evaluating method based on the estimation of displacement of targets amount | |
CN108340405B (en) | Robot three-dimensional scanning system and method | |
CN102547130A (en) | Image shooting device and image shooting method thereof | |
CN107547789B (en) | Image acquisition device and method for photographing composition thereof | |
CN116182786B (en) | Monocular vision ranging method, camera and medium | |
CN101350887A (en) | Device for viewfinding image and automatic focusing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |