CN105657238A - Tracking focusing method and apparatus - Google Patents

Tracking focusing method and apparatus Download PDF

Info

Publication number
CN105657238A
CN105657238A CN201410669930.6A CN201410669930A CN105657238A CN 105657238 A CN105657238 A CN 105657238A CN 201410669930 A CN201410669930 A CN 201410669930A CN 105657238 A CN105657238 A CN 105657238A
Authority
CN
China
Prior art keywords
tracking
focusing
changing value
target
focus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410669930.6A
Other languages
Chinese (zh)
Other versions
CN105657238B (en
Inventor
怀效宁
凌佳宁
孙剑波
张科武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410669930.6A priority Critical patent/CN105657238B/en
Priority to CN201710848389.9A priority patent/CN107465877B/en
Publication of CN105657238A publication Critical patent/CN105657238A/en
Application granted granted Critical
Publication of CN105657238B publication Critical patent/CN105657238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

The embodiment of the invention discloses a tracking focusing method which comprises the steps of tracking a target to sequentially acquire image frames, wherein the image frames comprise target tracking regions; calculating change values of size parameters of the target tracking regions and a change value of a focusing evaluation value; according to the change values of the size parameters and the focusing evaluation value, calculating a rotating step length of a motor; and according to the rotating step length of the motor, generating a motor control instruction to carry out focusing. The embodiment of the invention also discloses a focusing tracking apparatus. By adopting the tracking focusing method and apparatus, an automatic focusing speed can be improved, and picture fluttering is reduced.

Description

Follow the tracks of focusing method and device
Technical field
The present invention relates to camera technique field, relate in particular to a kind of focusing method and device followed the tracks of.
Background technology
Target following is that the optical imageries such as existing digital camera, video camera, mobile phone camera and watch-dog are establishedThe standby upper function conventionally possessing. User, can be at the display screen of camera or prison in the time taking pictures or make a video recordingOn the monitor of control equipment, see the picture frame of the What You See Is What You Get of its camera imaging formation, user can be at figureOn picture frame, delimit rectangle tracing area (follow the tracks of frame, conventionally in picture frame using solid border as mark,Live in foreground image prompting user by frame), camera or watch-dog can be to the prospects in this rectangle tracing areaImage is followed the tracks of, and rectangle tracing area can obtain following in picture frame in imaging the left and right of foreground imageMove up and down and move, or following foreground image and amplifying and dwindle apart from the distance of camera lens.
In the time carrying out target following, also need automatically to focus apart from the distance of camera lens according to target object,Otherwise target object will thicken. But the focusing in conventional art in the time carrying out target following adoptsBe the modes such as climbing algorithm, focusing speed is slower, and impact is taken and experienced.
Summary of the invention
Based on this, in order to solve the slow-footed technical problem of above-mentioned focusing, spy provides a kind of tracking focusing sideMethod.
A kind of focusing method of following the tracks of, comprising:
Tracking target is obtained picture frame successively, comprises target following region in described picture frame;
Calculate the changing value of size parameter and the changing value of focusing evaluation of estimate in described target following region;
Calculate revolution step-length according to described size parameter changing value and focusing evaluation of estimate changing value;
Generating motor control instruction according to described revolution step-length focuses.
Therein in an embodiment, the changing value of the size parameter in the described target following of described calculating region andThe step of the changing value of focusing evaluation of estimate is:
Calculate size parameter and the changing value thereof in target following region according to target tracking algorism;
According to focusing evaluation of estimate and the changing value thereof of focusing evaluation function calculating chart picture frame.
In an embodiment, described according to described size parameter changing value and focusing evaluation of estimate changing value thereinThe step of calculating revolution step-length is:
According to formula:
M = k × ▿ fv ▿ dx
Calculate described revolution step-length; Wherein M is revolution step-length, and ▽ fv is the variation of focusing evaluation of estimateValue, ▽ dx is the changing value of the size parameter in target following region, k is default coefficient, and described motor turnsThe direction of moving step-length M is corresponding nearly burnt end and burnt end far away respectively.
Therein in an embodiment, describedly generate motor control instruction according to described revolution step-length and carry outAfter the step of focusing, also comprise:
Follow the tracks of to judge whether described focusing evaluation of estimate reached extreme value, if so, generate and continue movement-M/2 stepThe long motor control instruction fine setting of focusing.
Therein in an embodiment, describedly generate motor control instruction according to described revolution step-length and carry outAfter the step of focusing, also comprise:
Judge whether to focus successfully, if so, obtain motor focus point position SfocusWith motor position in closingFocal position SfocusTime the size parameter fv in target following regionfocus
Described method also comprises:
Follow the tracks of the size parameter fv that calculates target following regiontracking, according to formula:
S tracking = S focus × fv focus fv tracking
Calculate the burnt position S that follows of motortracking, according to following burnt position StrackingGenerate motor control instruction, control horseReach and move to burnt position Stracking
Correspondingly, in order to solve the slow-footed technical problem of above-mentioned focusing, spy provides a kind of tracking focusing dressPut.
A kind of focusing mechanism of following the tracks of, comprising:
Target tracking module, obtains picture frame successively for tracking target, comprises target and follow in described picture frameTrack region;
Parameter calculating module, comments for changing value and the focusing of the size parameter of calculating described target following regionThe changing value being worth;
Rotate step size computation module, for according to described size parameter changing value and focusing evaluation of estimate changing value meterCalculate revolution step-length;
Motor control module, focuses for generating motor control instruction according to described revolution step-length.
In an embodiment, described parameter calculating module is also for calculating order according to target tracking algorism thereinSize parameter and the changing value thereof of mark tracing area; According to the focusing evaluation of focusing evaluation function calculating chart picture frameValue and changing value thereof.
Therein in an embodiment, described rotation step size computation module is also for according to formula:
M = k × ▿ fv ▿ dx
Calculate described revolution step-length; Wherein M is revolution step-length, and ▽ fv is the variation of focusing evaluation of estimateValue, ▽ dx is the changing value of the size parameter in target following region, k is default coefficient, and described motor turnsThe direction of moving step-length M is corresponding nearly burnt end and burnt end far away respectively.
Therein in an embodiment, described device also comprises that fine setting module judges that for following the tracks of described focusing commentsBe worth whether reached extreme value, if so, generate the motor control instruction that continues movement-M/2 step-length carry out rightBurnt fine setting.
In an embodiment, described device also comprises follows burnt module therein, for judging whether to focus successfully,If so, obtain motor focus point position SfocusWith motor position in focus point position SfocusTime target followThe size parameter fv in track regionfocus
Follow the tracks of the size parameter fv that calculates target following regiontracking, according to formula:
S tracking = S focus × fv focus fv tracking
Calculate the burnt position S that follows of motortracking, according to following burnt position StrackingGenerate motor control instruction, control horseReach and move to burnt position Stracking
Implement the embodiment of the present invention, will there is following beneficial effect:
Above-mentioned tracking focusing method and device pass through simple computation order on the basis of target following and focusing evaluationSize parameter and the changing value thereof of mark tracing area have completed focusing, and amount of calculation is little, be quick on the draw, therebyAccelerate focusing speed.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to implementingIn example or description of the Prior Art, the accompanying drawing of required use is briefly described, and apparently, the following describesIn accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not payingGo out under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of flow chart of following the tracks of focusing method in an embodiment;
Fig. 2 takes surface chart in an application scenarios;
Fig. 3 takes surface chart in an application scenarios;
Fig. 4 takes surface chart in an application scenarios;
Fig. 5 is camera lens light path schematic diagram in an embodiment;
Fig. 6 is a kind of structural representation of following the tracks of focusing mechanism in an embodiment.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearlyChu, intactly description, obviously, described embodiment is only the present invention's part embodiment, instead ofWhole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creationThe every other embodiment obtaining under property work prerequisite, belongs to the scope of protection of the invention.
For solving the problem of convenience deficiency of aforesaid operations, spy has proposed a kind of tracking focusing method, the partyThe execution of method depends on computer program, can run on the computer system of von Neumann system. This meterCalculation machine program can be integrated in application, also can be used as independently tool-class application operation. This computer system canBe digital camera, the mobile device such as smart mobile phone, panel computer with camera function, with varifocalMonitor or the watch-dog etc. of camera.
Concrete, in the present embodiment, the method as shown in Figure 1, comprising:
Step S102, tracking target is obtained picture frame successively, comprises target following region in picture frame.
The picture frame that tracking target is obtained is successively as taking the target of thing and periphery scene thereof at cameraOr the image that in camera, imaging obtains, its form with frame is carried out buffer memory. Target following region is userThe target area as subject of on the display screen of camera or monitor screen, picture frame being delimited.
For example, as shown in Figure 2, user enters camera function with mobile phone, and mobile phone camera is opened, its lightLearn corresponding road scene by the imaging synthetic image frame of mobile phone camera, and be illustrated in the demonstration of mobile phoneOn screen, form the experience of taking pictures of What You See Is What You Get. If user wishes certain pedestrian in this road scene to enterRow focusing (focus by this pedestrian as shooting) can be followed the tracks of on display screen in this pedestrian's regional assignmentFrame (as the rectangle frame in Fig. 2) is confined as target this pedestrian in picture frame, the tracking frame of this delimitationBe initial target following region.
In upper example, the pedestrian target in the picture frame of delimiting on display screen as tracking target after, byBe kept in motion in pedestrian, therefore the distance between itself and camera is in variable condition, instant near time far away.Use the movement that target tracking algorism can tracking target, when pedestrian target is during to lens moving, become according to opticsPicture principle, as shown in Figure 3, target following region can be accompanied by pedestrian target and puts to the displacement of camera lensGreatly; When pedestrian target is during away from camera lens, according to optical imaging concept, as shown in Figure 4, target following districtTerritory can be accompanied by pedestrian target and dwindle away from the displacement of camera lens. Therefore initial target following region meetingAfter delimiting, be accompanied by the movement of tracking target on camera lens axis direction and produce big or small variation.
In the present embodiment, can be in the time utilizing target tracking algorism to carry out target following, periodically (for example 30ms)Ground synthetic image frame, is presented at the moving process that has reflected tracking target on display screen. Preferably, targetTrack algorithm can adopt MeanShift track algorithm, track algorithm based on particle group optimizing, based on templateThe track algorithm of joining or TLD target tracking algorism etc.
Step S104, calculates the changing value of size parameter and the changing value of focusing evaluation of estimate in target following region.
The size parameter in target following region is the one-dimensional linear parameter that characterizes target following area size. As aboveIn example, if target following region is tracking frame, its size parameter can be selected the one dimension of its length or widthLinear dimensions, if target following region is circular, its size parameter can be selected the one dimensions such as its radius or diameterLinear dimensions, if target following region is irregular figure, due to target following region in picture frame alwaysBecome geometric ratio to zoom in or out, can select diagonal, the one-dimensional linear parameters such as the wire length of special angle are doneFor its size parameter.
As previously mentioned, due in the time carrying out target following, can periodically generate several reflection target locationsPicture frame, therefore can calculate according to target tracking algorism size parameter and the changing value thereof in target following region,In the time of synthetic image frame, get the size parameter in the target following region in every width picture frame, then pass through
▽dx=dxcurrent-dxpre
The size parameter that obtains target following region in every width picture frame is followed with respect to the target in previous frame imageThe changing value ▽ dx (dx of the size parameter in track regioncurrentAnd dxpreBe respectively current frame image and former frame imageSize parameter).
For example Fig. 3 and Fig. 4 have reflected along with the movement of pedestrian target generates two two field pictures continuously, can unifyUsing the height of the tracking frame in image as size parameter, subtracted each other, can obtain generating shown in Fig. 4The changing value of the size parameter in target following region when picture frame.
Focusing evaluation of estimate is a judge value of image definition in focus process, and focusing evaluation of estimate is in target, in extreme value, the now imaging of camera lens is the most clear, and follows when in camera lens the focal positionThe variation of the distance of the focal position of target and camera lens, also corresponding variation of focusing evaluation of estimate, fromAnd reflect the readability of picture frame in focus process.
In the present embodiment, obtain by focusing evaluation function, for example, in the time of synthetic image frame, can basisShade of gray function (gray scale fluctuation and change function, gray scale absolute change function, Laplace function gradient letterNumber etc.), the focusing evaluation function such as informatics function, the frequency-domain function evaluation of estimate that obtains focusing, then pass through
▽fv=fvcurrent-fvpre
Obtain the changing value ▽ fv (fv of every width picture frame with respect to the focusing evaluation of estimate of previous frame imagecurrentAnd fvpreBe respectively the focusing evaluation of estimate of current frame image and former frame image).
Step S106, calculates revolution step according to the changing value of the changing value of size parameter and focusing evaluation of estimateLong.
When digital camera focusing, can pass through the distance between the lens set of motor adjustable lens, thereby focus.Therefore, the proportional relation of rotation step-length of the focal length variations of camera lens and motor. By the change of size parameterThe changing value of change value and focusing evaluation of estimate is determined the rotation step-length of motor, means the focal length of camera lens is carried outAdjusting.
In the present embodiment, can close according to the ratio of the changing value of the changing value of size parameter and focusing evaluation of estimateRevolution step-length is calculated by system. For example, can be according to formula:
M = k × ▿ fv ▿ dx
Calculate revolution step-length; Wherein M is revolution step-length, and ▽ fv is the changing value of focusing evaluation of estimate,▽ dx is the changing value of the size parameter in target following region, and k is default coefficient, and revolution step-length MRespectively corresponding nearly burnt end and burnt end far away of direction. That is to say, M is for just or when negative, corresponding closely respectivelyBurnt end and the different moving direction of burnt end far away, concrete corresponding relation can be adjusted according to k.
Step S108, generates motor control instruction according to revolution step-length and focuses.
Calculate after revolution step-length, can call the driver of the motor of camera lens, in thisThe revolution step-length obtaining is that parameter generates motor control instruction, and the motor apparatus of camera lens is receivingAfter this instruction, rotatable corresponding step-length completes focusing.
Preferably, in focus process, also can focusing finely tune. Concrete, according to revolutionAfter the step that the instruction of step-length generation motor control is focused, also comprise: follow the tracks of and whether judge focusing evaluation of estimateReach extreme value, if so, generated the motor control instruction that the continues movement-M/2 step-length fine setting of focusing.
For example,, if by after aforementioned revolution appointment step-length M, recalculate the focusing evaluation of estimate obtaining and be less than(situation of the extreme value using at selected focusing evaluation function during for maximum, if used extreme value forLittle value is contrary) the mobile focusing evaluation of estimate calculating before, show to focus and comment in moving processValue lives through extreme value, and (the revolution step-length of calculating due to abovementioned steps S106 always makes focus move to targetMoving, focusing evaluation of estimate always changes towards extreme value, does not increase counter subtracting if there is focusing evaluation of estimate, must be motorRotate the excessive Focal Point Shift that causes of step-length and crossed target, thereby the evaluation of estimate that makes to focus also experiences accordinglyExtreme value). Now, can finely tune by rotation motor-M/2 step-length (oppositely moving).
It should be noted that, the process of this fine setting can repeat, until the difference of focusing evaluation of estimate and extreme valueBe less than threshold value. For example,, if motor position is S before focusing1, to defocused be S2, fine setting can movement-M/2 stepLong i.e. mobile-(S2-S1The step-length of)/2, arrives S3Position, if in this process, still follow the tracks of judgement obtain rightBurnt evaluation of estimate has experienced extreme value, and (now M is last time movement to can again move-M/2 step-length-(S2-S1The step-length of)/2), move to-(S3-S2The step-length of)/2, by that analogy, until focusing evaluation of estimate withThe difference of extreme value is less than threshold value, thereby completes focusing.
In the present embodiment, after having focused, after focus is moved to tracking position of object, also can be to following the tracks ofTarget is followed burnt. Be specially:
Judge whether to focus successfully, if so, obtain motor focus point position SfocusWith motor position in closingFocal position SfocusTime the size parameter dx in target following regionfocus
Described method also comprises:
Follow the tracks of the size parameter dx that calculates target following regiontracking, according to formula:
S tracking = S focus × dx focus dx tracking
Calculate the burnt position S that follows of motortracking, according to following burnt position StrackingGenerate motor control instruction, control horseReach and move to burnt position Stracking
As shown in the index path of Fig. 5, after focusing successfully, the size parameter in focal length and target following regionThe relation that is inversely proportional to, therefore can follow burntly according to this relation, carry out weight and need not compute repeatedly moving step lengthMultiple focusing.
In one embodiment, as shown in Figure 6, a kind of focusing mechanism of following the tracks of, comprise target tracking module 102,Parameter calculating module 104, rotation step size computation module 106 and motor control module 108, wherein:
Target tracking module 102, obtains picture frame successively for tracking target, in described picture frame, comprises targetTracing area. ;
Parameter calculating module 104, for calculating changing value and the focusing of size parameter in described target following regionThe changing value of evaluation of estimate.
Rotate step size computation module 106, for according to described size parameter changing value and focusing evaluation of estimate changing valueCalculate revolution step-length.
Motor control module 108, focuses for generating motor control instruction according to described revolution step-length.
In the present embodiment, parameter calculating module 104 is also for calculating target following according to target tracking algorismThe size parameter in region and changing value thereof; According to the focusing evaluation of estimate of focusing evaluation function calculating chart picture frame andChanging value.
In the present embodiment, rotate step size computation module 106 also for according to formula:
M = k × ▿ fv ▿ dx
Calculate described revolution step-length; Wherein M is revolution step-length, and ▽ fv is the variation of focusing evaluation of estimateValue, ▽ dx is the changing value of the size parameter in target following region, k is default coefficient, and described motor turnsThe direction of moving step-length M is corresponding nearly burnt end and burnt end far away respectively.
In the present embodiment, as shown in Figure 6, follow the tracks of focusing mechanism and also comprise fine setting module 110, for following the tracks ofJudge whether described focusing evaluation of estimate reached extreme value, if so, generate the motor that continues movement-M/2 step-lengthThe control instruction fine setting of focusing.
In the present embodiment, as shown in Figure 6, follow the tracks of focusing mechanism device and also comprise with burnt module 112, forJudge whether to focus successfully, if so, obtain motor focus point position SfocusWith motor position in focus pointPosition SfocusTime the size parameter dx in target following regionfocus
Follow the tracks of the size parameter dx that calculates target following regiontracking, according to formula:
S tracking = S focus × dx focus dx tracking
Calculate the burnt position S that follows of motortracking, according to following burnt position StrackingGenerate motor control instruction, control horseReach and move to burnt position Stracking
In sum, implement the embodiment of the present invention, will there is following beneficial effect:
Above-mentioned tracking focusing method and device pass through simple computation order on the basis of target following and focusing evaluationSize parameter and the changing value thereof of mark tracing area have completed focusing, and amount of calculation is little, be quick on the draw, therebyAccelerate focusing speed.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,Be can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a calculatingIn machine read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory,Or random store-memory body (RandomAccessMemory, RAM) etc. ROM).
Above disclosed only for preferred embodiment of the present invention, certainly can not with this limit the present invention itInterest field, the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (10)

1. follow the tracks of a focusing method, comprising:
Tracking target is obtained picture frame successively, comprises target following region in described picture frame;
Calculate the changing value of size parameter and the changing value of focusing evaluation of estimate in described target following region;
Calculate revolution step-length according to described size parameter changing value and focusing evaluation of estimate changing value;
Generating motor control instruction according to described revolution step-length focuses.
2. tracking focusing method according to claim 1, is characterized in that, the described target of described calculatingThe step of the changing value of the changing value of the size parameter of tracing area and focusing evaluation of estimate is:
Calculate size parameter and the changing value thereof in target following region according to target tracking algorism;
According to focusing evaluation of estimate and the changing value thereof of focusing evaluation function calculating chart picture frame.
3. tracking focusing method according to claim 1, is characterized in that, described according to described sizeThe step that the changing value of the changing value of parameter and focusing evaluation of estimate calculates revolution step-length is:
According to formula:
M = k × ▿ fv ▿ dx
Calculate described revolution step-length; Wherein M is revolution step-length, and ▽ fv is the variation of focusing evaluation of estimateValue, ▽ dx is the changing value of the size parameter in target following region, k is default coefficient, and described motor turnsThe direction of moving step-length M is corresponding nearly burnt end and burnt end far away respectively.
4. tracking focusing method according to claim 3, is characterized in that, described according to described motorAfter the step that the instruction of rotation step-length generation motor control is focused, also comprise:
Follow the tracks of to judge whether described focusing evaluation of estimate reached extreme value, if so, generate and continue movement-M/2 stepThe long motor control instruction fine setting of focusing.
5. tracking focusing method according to claim 1, is characterized in that, described according to described motorAfter the step that the instruction of rotation step-length generation motor control is focused, also comprise:
Judge whether to focus successfully, if so, obtain motor focus point position SfocusWith motor position in closingFocal position SfocusTime the size parameter dx in target following regionfocus
Described method also comprises:
Follow the tracks of the size parameter dx that calculates target following regiontracking, according to formula:
S tracking = S focus × dx focus dx tracking
Calculate the burnt position S that follows of motortracking, according to following burnt position StrackingGenerate motor control instruction, control horseReach and move to burnt position Stracking
6. follow the tracks of a focusing mechanism, it is characterized in that, comprising:
Target tracking module, obtains picture frame successively for tracking target, comprises target and follow in described picture frameTrack region;
Parameter calculating module, comments for changing value and the focusing of the size parameter of calculating described target following regionThe changing value being worth;
Rotate step size computation module, for according to described size parameter changing value and focusing evaluation of estimate changing value meterCalculate revolution step-length;
Motor control module, focuses for generating motor control instruction according to described revolution step-length.
7. tracking focusing mechanism according to claim 6, is characterized in that, described parameter calculating moduleAlso for calculate size parameter and the changing value thereof in target following region according to target tracking algorism; According to focusingFocusing evaluation of estimate and the changing value thereof of evaluation function calculating chart picture frame.
8. tracking focusing mechanism according to claim 6, is characterized in that, described rotation step size computationModule is also for according to formula:
M = k × ▿ fv ▿ dx
Calculate described revolution step-length; Wherein M is revolution step-length, and ▽ fv is the variation of focusing evaluation of estimateValue, ▽ dx is the changing value of the size parameter in target following region, k is default coefficient, and described motor turnsThe direction of moving step-length M is corresponding nearly burnt end and burnt end far away respectively.
9. tracking focusing mechanism according to claim 8, is characterized in that, described device also comprises micro-Mode transfer piece is used for following the tracks of to judge whether described focusing evaluation of estimate reached extreme value, if so, generate to continue to move-The motor control instruction of the M/2 step-length fine setting of focusing.
10. tracking focusing mechanism according to claim 6, is characterized in that, described device also comprisesWith burnt module, for judging whether to focus successfully, if so, obtain motor focus point position SfocusAnd motorPosition is in focus point position SfocusTime the size parameter dx in target following regionfocus
Follow the tracks of the size parameter dx that calculates target following regiontracking, according to formula:
S tracking = S focus × dx focus dx tracking
Calculate the burnt position S that follows of motortracking, according to following burnt position StrackingGenerate motor control instruction, control horseReach and move to burnt position Stracking
CN201410669930.6A 2014-11-20 2014-11-20 Track focusing method and device Active CN105657238B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410669930.6A CN105657238B (en) 2014-11-20 2014-11-20 Track focusing method and device
CN201710848389.9A CN107465877B (en) 2014-11-20 2014-11-20 Track focusing method and device and related media production

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410669930.6A CN105657238B (en) 2014-11-20 2014-11-20 Track focusing method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710848389.9A Division CN107465877B (en) 2014-11-20 2014-11-20 Track focusing method and device and related media production

Publications (2)

Publication Number Publication Date
CN105657238A true CN105657238A (en) 2016-06-08
CN105657238B CN105657238B (en) 2017-09-19

Family

ID=56479980

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410669930.6A Active CN105657238B (en) 2014-11-20 2014-11-20 Track focusing method and device
CN201710848389.9A Expired - Fee Related CN107465877B (en) 2014-11-20 2014-11-20 Track focusing method and device and related media production

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201710848389.9A Expired - Fee Related CN107465877B (en) 2014-11-20 2014-11-20 Track focusing method and device and related media production

Country Status (1)

Country Link
CN (2) CN105657238B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918278A (en) * 2017-11-16 2018-04-17 江苏省生产力促进中心 A kind of video display camera lens is automatically with burnt method
WO2019104569A1 (en) * 2017-11-30 2019-06-06 深圳市大疆创新科技有限公司 Focusing method and device, and readable storage medium
CN112004019A (en) * 2019-05-27 2020-11-27 福建天晴数码有限公司 Tracking focusing method and computer readable storage medium
CN114302053A (en) * 2021-11-24 2022-04-08 影石创新科技股份有限公司 Lens focusing method and device of image pickup equipment, image pickup equipment and storage medium
CN114449152A (en) * 2020-10-30 2022-05-06 北京小米移动软件有限公司 Focusing method and device, electronic equipment and storage medium
US11363187B2 (en) 2018-10-12 2022-06-14 Huawei Technologies Co., Ltd. Focusing method and apparatus applied to terminal device, and terminal device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657238B (en) * 2014-11-20 2017-09-19 广东欧珀移动通信有限公司 Track focusing method and device
CN109460764B (en) * 2018-11-08 2022-02-18 中南大学 Satellite video ship monitoring method combining brightness characteristics and improved interframe difference method
CN113163114B (en) * 2021-03-29 2023-07-04 无锡闻泰信息技术有限公司 Image focusing method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052225A (en) * 2006-08-28 2008-03-06 Olympus Imaging Corp Camera, focus control method, and program
CN100565320C (en) * 2006-06-09 2009-12-02 索尼株式会社 The control method of imaging device, imaging device and computer program
CN103780841A (en) * 2014-01-23 2014-05-07 深圳市金立通信设备有限公司 Shooting method and shooting device
CN104012073A (en) * 2011-12-16 2014-08-27 奥林巴斯映像株式会社 Imaging device and imaging method, and storage medium for storing tracking program processable by computer
CN104113686A (en) * 2013-04-19 2014-10-22 佳能株式会社 Imaging Apparatus And Its Control Method And Program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4712661B2 (en) * 2006-09-22 2011-06-29 オリンパスイメージング株式会社 Imaging device
JP4725802B2 (en) * 2006-12-27 2011-07-13 富士フイルム株式会社 Imaging apparatus, focusing method, and focusing program
CN105657238B (en) * 2014-11-20 2017-09-19 广东欧珀移动通信有限公司 Track focusing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100565320C (en) * 2006-06-09 2009-12-02 索尼株式会社 The control method of imaging device, imaging device and computer program
JP2008052225A (en) * 2006-08-28 2008-03-06 Olympus Imaging Corp Camera, focus control method, and program
CN104012073A (en) * 2011-12-16 2014-08-27 奥林巴斯映像株式会社 Imaging device and imaging method, and storage medium for storing tracking program processable by computer
CN104113686A (en) * 2013-04-19 2014-10-22 佳能株式会社 Imaging Apparatus And Its Control Method And Program
CN103780841A (en) * 2014-01-23 2014-05-07 深圳市金立通信设备有限公司 Shooting method and shooting device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918278A (en) * 2017-11-16 2018-04-17 江苏省生产力促进中心 A kind of video display camera lens is automatically with burnt method
WO2019104569A1 (en) * 2017-11-30 2019-06-06 深圳市大疆创新科技有限公司 Focusing method and device, and readable storage medium
US11363187B2 (en) 2018-10-12 2022-06-14 Huawei Technologies Co., Ltd. Focusing method and apparatus applied to terminal device, and terminal device
CN112004019A (en) * 2019-05-27 2020-11-27 福建天晴数码有限公司 Tracking focusing method and computer readable storage medium
CN112004019B (en) * 2019-05-27 2023-02-24 福建天晴数码有限公司 Tracking focusing method and computer readable storage medium
CN114449152A (en) * 2020-10-30 2022-05-06 北京小米移动软件有限公司 Focusing method and device, electronic equipment and storage medium
CN114449152B (en) * 2020-10-30 2023-09-22 北京小米移动软件有限公司 Focusing method, focusing device, electronic equipment and storage medium
CN114302053A (en) * 2021-11-24 2022-04-08 影石创新科技股份有限公司 Lens focusing method and device of image pickup equipment, image pickup equipment and storage medium
CN114302053B (en) * 2021-11-24 2023-12-05 影石创新科技股份有限公司 Lens focusing method and device of image pickup apparatus, image pickup apparatus and storage medium

Also Published As

Publication number Publication date
CN107465877B (en) 2019-07-09
CN107465877A (en) 2017-12-12
CN105657238B (en) 2017-09-19

Similar Documents

Publication Publication Date Title
CN105657238A (en) Tracking focusing method and apparatus
CN107087107B (en) Image processing apparatus and method based on dual camera
RU2399937C2 (en) Image forming apparatus, method of controlling image forming apparatus
JP4664379B2 (en) Electronic device and image data processing method for image data processing
US20140240578A1 (en) Light-field based autofocus
JP5979967B2 (en) Image pickup apparatus having subject detection function, image pickup apparatus control method, and program
CN103246130A (en) Focusing method and device
TWI471677B (en) Auto focus method and auto focus apparatus
KR102059598B1 (en) Digital photographing apparatus and control method thereof
CN107257433A (en) Focusing method, device, terminal and computer-readable recording medium
US10230903B2 (en) Image pickup apparatus having image sensor capable of outputting parallax image signal, control method therefor, and storage medium storing control program therefor
US9774782B2 (en) Image pickup apparatus and image pickup method
KR102004990B1 (en) Device and method of processing images
CN105430268A (en) Automatic focusing processing method and device
CN103813093A (en) Imaging apparatus and imaging method thereof
US10491804B2 (en) Focus window determining method, apparatus, and device
CN106341596A (en) Focusing method and focusing device
JP2018087864A (en) Focus adjustment device, and focus adjustment device control method
CN112333379A (en) Image focusing method and device and image acquisition equipment
CN107517345A (en) Shooting preview method and capture apparatus
CN105629428A (en) Optical instrument and control method for lens
CN104680563B (en) The generation method and device of a kind of image data
CN102681292B (en) Image pickup apparatus
CN103988107A (en) Imaging device, method for controlling same, and program
US10880536B2 (en) Three-dimensional image capturing device and method

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.