CN103984186B - Optical zoom video camera and its autofocus control method, device - Google Patents

Optical zoom video camera and its autofocus control method, device Download PDF

Info

Publication number
CN103984186B
CN103984186B CN201410185368.XA CN201410185368A CN103984186B CN 103984186 B CN103984186 B CN 103984186B CN 201410185368 A CN201410185368 A CN 201410185368A CN 103984186 B CN103984186 B CN 103984186B
Authority
CN
China
Prior art keywords
focal zone
undetermined
subject
outline data
data
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.)
Expired - Fee Related
Application number
CN201410185368.XA
Other languages
Chinese (zh)
Other versions
CN103984186A (en
Inventor
吴炳技
朴永焕
金旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN ARGUSITS SCIENCE AND TECHNOLOGY Ltd
Original Assignee
SHENZHEN ARGUSITS SCIENCE AND TECHNOLOGY 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 SHENZHEN ARGUSITS SCIENCE AND TECHNOLOGY Ltd filed Critical SHENZHEN ARGUSITS SCIENCE AND TECHNOLOGY Ltd
Priority to CN201410185368.XA priority Critical patent/CN103984186B/en
Publication of CN103984186A publication Critical patent/CN103984186A/en
Application granted granted Critical
Publication of CN103984186B publication Critical patent/CN103984186B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Automatic Focus Adjustment (AREA)

Abstract

The present invention discloses a kind of autofocus control method of optical zoom video camera, in the case where the subject that there is different distance in picture is shot, being focused to wherein at least one subject, including:Focal zone setting steps, after setting several focal zones undetermined on picture shot, obtain the outline data of subject in each focal zone undetermined;Focal zone selects step, select that subject occupied area is maximum from described several focal zones undetermined one, used as treating focal zone;Focus controlling step, after opening focus motor, drives focus motor to treat that subject to be focused in focal zone is focused to this according to the outline data situation of change for treating subject in focal zone.The invention also discloses corresponding optical zoom video camera and its autofocus controlling apparatus.The present invention can facilitate, focal object is clearly adjusted between remote subject and closely subject, and focusing is clear not to be obscured.

Description

Optical zoom video camera and its autofocus control method, device
Technical field
The present invention relates to protection and monitor field, more particularly to a kind of subject that there is different distance in picture shot In the case of, the optical zoom video camera being focused to wherein at least one subject, and its autofocus control method, dress Put.
Background technology
The image-forming principle of optical zoom video camera is to adjust camera lens focus using motor to make it clearly image will map To sensor, the image for then again receiving sensor is carried out image processing and is showed image by display.
Fig. 1 is refer to, the figure is the composition structural representation of the optical zoom video camera of prior art;As illustrated, its Mainly by amasthenic lens (Focus Lens) 10, imageing sensor (CCD/CMOS) 20, graphics processing unit (Image Processing IC) 30, control unit (u-COM) 40, motor and its drive device (Motor Driver) 50 and button (Key) 60 grades are constituted.
During work, stored in imageing sensor 2 by way of the image of amasthenic lens 1 is with electronic data, and from figure As the image Video that the output color of processing unit 3 and brightness have been mixed up.
Control unit 4 reads each outline data of the subject of picture output in graphics processing unit 3, and controls electricity Machine drives amasthenic lens 1 to move, and when the outline data of subject reaches peak, amasthenic lens 1 reaches Jiao of subject Point position, now closes motor, completes to focus on.Clearly monitoring display device (Monitor) will be passed through by picture.
The autofocus control method of the optical zoom video camera of prior art in picture shot specifically, be directed at one Fixed focal zone, reads the outline data of subject in the region, and move to the increased direction of subject outline data Amasthenic lens, realizes focusing on when the outline data reaches maximum.Fig. 2 and Fig. 4 is refer to, they respectively illustrate existing skill Picture and the picture to closely focusing on that the optical focus video camera of art is focused on to remote subject, and Fig. 3 is corresponding with Fig. 5 Respectively illustrate when being focused on to remote subject the situation of change of lens location and subject outline data and to closely The situation of change of lens location and subject outline data when subject is focused on;As can be seen that at camera lens from Fig. 3 and Fig. 5 When focal position, the outline data of subject has reached maximum (i.e. Peak Focus Data).
However, inventor has found in the practice of the invention, when exist in a shooting picture two or two with Not only in the case of having there is remote subject in the subject of upper different distance, i.e. picture but also there is remote subject, Fig. 6 is refer to, is adjusted to camera lens position in closely subject focusing the figure shows to the focusing of remote subject Put the changing trend diagram with subject outline data.From fig. 6 it can be seen that camera lens is moved from the focal position of remote subject During moving the closely focal position of subject, the outline data of subject is that have passed through a change for reduction first Process, then starts to increase and reach maximized, and vice versa.It can be seen that, using the focus control scheme of prior art:To quilt The increased direction movement amasthenic lens of body outline data is taken the photograph, is that camera lens cannot be adjusted to from the focal position of remote subject Closely on the focal position of subject, vice versa;Plus the depth limit of camera lens, thus focus is adjusted to closely During subject, remote subject will focus blur;On the contrary, when focus is adjusted into remote subject, just Closely subject focus blur phenomenon can occur.
Due to the disadvantages mentioned above of optical zoom video camera, there is " focus system is driven " and ask in the optical zoom video camera of prior art Topic.For example, ought closely subject at 1m, when remote subject is at 10m, if focus is at 10m In the case of gathering on subject, want to make focus be adjusted to the subject at 1m, it is necessary to which the subject at 10m disappears Focus can just be gathered.
When focal point is a position, if remote subject becomes apparent from than closely subject, Focus Club It is automatically adjusted to remote subject;, whereas if closely subject sees more clearly, Focus Club is automatically adjusted to closely Apart from subject.
And, if focus is gathered in remote subject, closely the size of subject not enough greatly will in visual angle Closely subject cannot be focused on., whereas if focus is gathered in closely subject, visual angle medium and long distance subject it is big It is small not enough to will be unable to the shortcomings of focusing on remote subject greatly.
In sum, in the case of the subject that there is different distance in camera picture, the optical zoom of prior art Video camera, it is impossible to adjust focal object between remote subject and closely subject.
The content of the invention
Technical problem solved by the invention is to provide a kind of autofocus control method of optical zoom video camera, should In the case of the subject that method can have different distance in camera picture, focused on to closely to remote subject During subject focuses on adjustment, the outline data of subject is set to be always maintained at the increased shape as picture is gradually clear State, so as to can facilitate, focal object is clearly adjusted between remote subject and closely subject, focuses on clear not mould Paste.
The technical problem that the present invention is further solved is to provide a kind of auto focus control dress of optical zoom video camera Put, it is right from being focused on to remote subject in the case of the subject that the device can have different distance in camera picture During closely subject focuses on adjustment, the outline data of subject is set to be always maintained at increasing as picture is gradually clear State so that can conveniently, clearly adjust focal object between remote subject and closely subject, focus on clear Do not obscure.
The technical problem that is further solved of the present invention is to provide a kind of optical zoom video camera, and the video camera can be It is poly- to closely subject from being focused on to remote subject in the case of there is the subject of different distance in camera picture During Jiao's adjustment, the outline data of subject is set to be always maintained at the increased state as picture is gradually clear, so that can Conveniently, focal object is clearly adjusted between remote subject and closely subject, focusing is clear not to be obscured.
In order to solve the above-mentioned technical problem, the invention discloses following scheme:
A kind of autofocus control method of optical zoom video camera, for the quilt that there is different distance in picture shot In the case of taking the photograph body, wherein at least one subject is focused, including:
Focal zone setting steps, after setting several focal zones undetermined on picture shot, obtain each undetermined poly- The outline data of subject in burnt region, wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone selects step, and the one of subject occupied area maximum is selected from described several focal zones undetermined It is individual, as treating focal zone;
Focus controlling step, after opening focus motor, according to the outline data change for treating subject in focal zone Situation drives focus motor to treat that subject to be focused in focal zone is focused to this.
Preferably, the focal zone selection step includes:
Ask coefficient to accumulate step, the outline data of each focal zone undetermined for obtaining is multiplied by a default regulation respectively After coefficient, multiplied by with a preset multiple, the coefficient product of the outline data of subject in each focal zone undetermined is obtained;
Region comparison step, compares in each focal zone undetermined the outline data of subject and its coefficient is accumulated, according to than After relatively result obtains the maximum focal zone undetermined of subject occupied area, the focal zone undetermined is selected as treating focal zone Domain;
Wherein, the default adjustment factor be obtain whole outline datas in largest contours data value treated with corresponding Determine the ratio of focal zone outline data value.
Preferably, the focal zone setting steps include:
First area setting steps, in the middle position of picture shot, selection accounts for whole picture 33-45% areas shot Middle section, as the first focal zone undetermined after, obtain the outline data of subject in first focal zone undetermined, as The first profile data;
Second area setting steps, in the leftward position of picture shot, selection accounts for whole picture 33-45% areas shot Left field, as the second focal zone undetermined after, obtain the outline data of subject in second focal zone undetermined, as Second outline data;
3rd area setting step, in the right positions of picture shot, selection accounts for whole picture 33-45% areas shot Right side area, as the 3rd focal zone undetermined after, obtain the outline data of subject in the 3rd focal zone undetermined, as Third round exterior feature data.
Preferably, the region comparison step includes:
Whether first area comparison step, judge second outline data both more than the coefficient of the first profile data Product, the coefficient product also greater than third round exterior feature data, if so, following second area comparison steps are then performed, otherwise, under execution State the 3rd region comparison step;
Second area comparison step, judges whether the first profile data are more than the third round after being multiplied by preset multiple Wide data, if so, then selecting the 3rd focal zone undetermined as focal zone is treated, otherwise, selection described first is undetermined poly- Burnt region is used as treating focal zone;
Whether the 3rd region comparison step, judge the third round exterior feature data both more than the described first focal zone undetermined Coefficient product, the coefficient product also greater than second outline data, if so, following 4th region comparison steps are then performed, otherwise, choosing The described first focal zone undetermined is selected as treating focal zone;
4th region comparison step, judges whether the first profile data take turns after being multiplied by preset multiple more than described second Wide data, if so, then selecting the described second focal zone undetermined as focal zone is treated, otherwise, selection described first is undetermined poly- Burnt region is used as treating focal zone.
Preferably, the focus controlling step includes:
Step is opened, is opened and a mobile focus motor;
The first profile data comparison step, obtain described in treat the current outline data value of focal zone, and judge the profile This treats the outline data value of focal zone before whether data value is more than mobile focus motor, if so, then keeping focus motor and working as Preceding state rotating Vortex, otherwise, adjustment focus motor is reversely rotated with current state;
Second outline data comparison step, continues to obtain described after after the current outline data value of focal zone, and judgement should Whether outline data value continues increase, if so, then keep focus motor and current state rotating Vortex, and circulate execution this second Outline data comparison step, until the outline data value stops increasing;
Stop step, close focus motor, complete to focus on.
Correspondingly, the invention also discloses a kind of autofocus controlling apparatus of optical zoom video camera, for shot In the case of there is the subject of different distance in picture, wherein at least one subject is focused, included:
Focal zone setting unit, after setting several focal zones undetermined on picture shot, obtains each and treats Determine the outline data of subject in focal zone, wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone select unit, it is maximum for selecting subject occupied area from described several focal zones undetermined One, as treating focal zone;
Focus control unit, after opening focus motor, according to the outline data for treating subject in focal zone Situation of change drives focus motor to treat that the subject in focal zone is focused to this;
Preferably, the focal zone select unit is included:
Seek coefficient product unit, for by obtain each focal zone undetermined outline data be multiplied by respectively one it is default After adjustment factor, multiplied by with a preset multiple, the coefficient product of the outline data of subject in each focal zone undetermined is obtained;
Region comparing unit, accumulates, root for comparing the outline data of subject and its coefficient in each focal zone undetermined After obtaining the maximum focal zone undetermined of subject occupied area according to comparative result, the focal zone undetermined is selected as waiting to focus on Region;
Wherein, the default adjustment factor be obtain whole outline datas in largest contours data value treated with corresponding Determine the ratio of focal zone outline data value.
Preferably, the focal zone setting unit is included:
First area setting unit, in the middle position of picture shot, selection to account for entirely picture 33-45% faces shot Long-pending middle section, as the first focal zone undetermined after, obtain the outline data of subject in first focal zone undetermined, As the first profile data;
Second area setting unit, for the leftward position in picture shot, selection accounts for entirely picture 33-45% faces shot Long-pending left field, as the second focal zone undetermined after, obtain the outline data of subject in second focal zone undetermined, As the second outline data;
3rd area setting unit, for the right positions in picture shot, selection accounts for entirely picture 33-45% faces shot Long-pending right side area, as the 3rd focal zone undetermined after, obtain the outline data of subject in the 3rd focal zone undetermined, As third round exterior feature data.
Preferably, the region comparing unit is included:
First area comparing unit, for judging second outline data whether both more than the first profile data Coefficient product, the coefficient product also greater than third round exterior feature data, if so, then starting following second area comparing units, otherwise, open Move following 3rd region comparing units;
Second area comparing unit, for judging that whether the first profile data are multiplied by after preset multiple more than described the Three outline datas, if so, then selecting the 3rd focal zone undetermined as focal zone is treated, otherwise, selection described first is treated Focal zone is determined as treating focal zone;
3rd region comparing unit, for judging whether the third round exterior feature data are both more than the described first focal zone undetermined The coefficient product in domain, the coefficient product also greater than second outline data, if so, then start following 4th region comparing units, it is no Then, first focal zone undetermined is selected as treating focal zone;
4th region comparing unit, for judging that whether the first profile data are multiplied by after preset multiple more than described the Two outline datas, if so, then selecting the described second focal zone undetermined as focal zone is treated, otherwise, selection described first is treated Focal zone is determined as treating focal zone.
Preferably, the focus control unit is included:
Opening unit, for opening and a mobile focus motor;
The first profile data comparing unit, for obtain it is described treat the current outline data value of focal zone, and judge should Outline data value whether more than before mobile focus motor this treat the outline data value of focal zone, if so, then keeping focus motor With current state rotating Vortex, otherwise, adjustment focus motor is reversely rotated with current state;
Second outline data comparing unit, for continuing to obtain described after after the current outline data value of focal zone, sentences Whether the outline data value of breaking continues increase, if so, focus motor and current state rotating Vortex are then kept, until the number of contours Stop increase according to value;
Stop element, for closing focus motor, completes to focus on.
Correspondingly, the invention also discloses a kind of optical focus video camera, include amasthenic lens, graphics processing unit, Control unit, motor and motor driver, it is preferred that emphasis is, described control unit includes automatic focusing as described above Control device.
The beneficial effects of the invention are as follows:
Embodiments of the invention are treated by the case of the subject that there is different distance in camera picture, setting multiple Determine focal zone, and according to the selected focal zone of the situation of change of subject outline data after, to the subject in selection area It is focused, realizes during being focused on to remote subject to the focusing adjustment of closely subject, makes subject Outline data be always maintained at the increased state as picture is gradually clear, so as to reach convenience, clearly remote The effect of focal object is adjusted between subject and closely subject, focusing is clear not to be obscured.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the composition structure chart of the focus control circuit of the optical zoom video camera of prior art.
Fig. 2 is the picture that is focused on to remote subject of optical zoom video camera of prior art.
Fig. 3 is the optical zoom video camera of prior art to lens location and subject in remote subject focusing The changing trend diagram of outline data.
Fig. 4 is the picture that is focused on to remote subject of optical zoom video camera of prior art.
Fig. 5 is the optical zoom video camera of prior art to lens location and subject in remote subject focusing The changing trend diagram of outline data.
Fig. 6 is that the optical zoom video camera of prior art is adjusted to closely subject to the focusing of remote subject The changing trend diagram of lens location and subject outline data in focusing.
Fig. 7 is the method flow diagram of autofocus control method one embodiment of optical zoom video camera of the invention.
Fig. 8 be optical zoom video camera of the invention autofocus control method one embodiment in focal zone set The method flow diagram of step.
Fig. 9 be optical zoom video camera of the invention autofocus control method one embodiment in focal zone selection The method flow diagram of step.
Figure 10 be optical zoom video camera of the invention autofocus controlling apparatus one embodiment in focus control step Rapid method flow diagram.
Figure 11 is the composition structure chart of autofocus controlling apparatus one embodiment of optical zoom video camera of the invention.
Figure 12 be optical zoom video camera of the invention autofocus controlling apparatus one embodiment in focal zone set Put the composition structure chart of unit.
Figure 13 be optical zoom video camera of the invention autofocus controlling apparatus one embodiment in focal zone choosing Select the composition structure chart of unit.
Figure 14 be optical zoom video camera of the invention autofocus controlling apparatus one embodiment in focus control list The composition structure chart of unit.
Specific embodiment
Describe the autofocus control method of the optical zoom video camera that the present invention is provided in detail below with reference to Fig. 7-Figure 10 One embodiment, in the case that the present embodiment is mainly used in the subject that there is different distance in picture shot, to wherein At least one subject is focused;As shown in fig. 7, the present embodiment realizes an auto focus control flow mainly including following Step:
In focal zone setting steps S1, after several focal zones undetermined are set on picture shot, each is obtained The outline data of subject in focal zone undetermined, wherein, at least adjacent focal zone undetermined partially overlaps;
In focal zone selection step S2, subject occupied area is selected most from described several focal zones undetermined Big one, as treating focal zone;
In focus controlling step S3, after opening focus motor, according to the number of contours for treating subject in focal zone Focus motor is driven to treat that the subject in focal zone is focused to this according to situation of change.
Fig. 9 is refer to, when implementing, the focal zone selection step S2 may particularly include:
In asking coefficient to accumulate step S21, the outline data of each focal zone undetermined for obtaining is multiplied by one in advance respectively If adjustment factor w after, be multiplied by with a preset multiple, obtain the outline data of subject in each focal zone undetermined Scalar product;
In region comparison step S22, compare the outline data of subject and its coefficient in each focal zone undetermined and accumulate, After obtaining the maximum focal zone undetermined of subject occupied area according to comparative result, the focal zone undetermined is selected as waiting to gather Burnt region;
Wherein, the default adjustment factor w be obtain whole outline datas in largest contours data value with it is corresponding The ratio of focal zone outline data value undetermined.
The meaning for setting the adjustment factor w is, in the feelings of the same image of appearance of above-mentioned each focal zone undetermined Under condition, by the regulation of adjustment factor w so that the image ratio all 1 in each region:1.
For example, shooting same image in first area, second area, the 3rd region, the profile value L=of first area is obtained 700, in the case of the profile value M=1000, the profile value N=600 in the 3rd region of second area:
On the basis of the second area for maximum M occur, then the adjustment factor value w of first area Ll=1000/700, about Equal to 1.43;The adjustment factor value w of second area Mm=1;The adjustment factor value w of the 3rd region Nn=1000/600, it is approximately equal to 1.67。
So, the profile value in above three region is multiplied by its corresponding adjustment factor value w respectively, just obtains (1.43 ×L):(1×M):(1.67 × N)=1:1:1 ratio.
Fig. 8 is refer to, further, the focal zone setting steps S1 may particularly include:
In first area setting steps S11, in the middle position of picture shot, selection accounts for entirely picture 33- shot The middle section of 45% area, as the first focal zone undetermined after, obtain the wheel of subject in first focal zone undetermined Wide data, as the first profile data L;
In second area setting steps S12, in the leftward position of picture shot, selection accounts for entirely picture 33- shot The left field of 45% area, as the second focal zone undetermined after, obtain the wheel of subject in second focal zone undetermined Wide data, as the second outline data M;
In the 3rd area setting step S13, in the right positions of picture shot, selection accounts for entirely picture 33- shot The right side area of 45% area, as the 3rd focal zone undetermined after, obtain the wheel of subject in the 3rd focal zone undetermined Wide data, as third round exterior feature data N.
When implementing, above-mentioned each focal zone undetermined can be set to account for the face of whole picture 40% or so shot Product, so, the second focal zone undetermined and the 3rd focal zone undetermined have with the first focal zone undetermined respectively 10% it is overlap Region, is conducive to the multilevel iudge of subject outline data in regional.
When implementing, outline data can be read from control unit by graphics processing unit and be obtained.
Fig. 9 is refer to, correspondingly, the region comparison step S22 may particularly include:
In first area comparison step S221, judge whether the second outline data M is both more than the first profile The coefficient product A of data L, the coefficient also greater than third round exterior feature data N accumulate C, if so, then performing following second areas compares step Rapid S222, otherwise, performs following 3rd region comparison step S223;
In second area comparison step S222, judge the preset multiple of the first profile data L whether more than described Third round exterior feature data C, if so, the 3rd focal zone undetermined is then selected as focal zone is treated, otherwise, selection described first Focal zone undetermined is used as treating focal zone;
In the 3rd region comparison step S223, judge whether the third round exterior feature data are both undetermined more than described first poly- The coefficient product in burnt region, the coefficient product also greater than second outline data, if so, then performing following 4th region comparison steps S224, otherwise, selects first focal zone undetermined as treating focal zone;
In the 4th region comparison step S224, judge the preset multiple of the first profile data whether more than described the Two outline datas, if so, then selecting the described second focal zone undetermined as focal zone is treated, otherwise, selection described first is treated Focal zone is determined as treating focal zone.
When implementing, the ratio can be the value of interval [1,2.5];The preset multiple may be configured as [1.5,4] Value.
It is not bigger than the coefficient product of the first profile data and the Coefficient Integrals of third round exterior feature data in second outline data In the case of 1.5 times~4 times, can determine whether to be 2/3 of whole shot picture under current state, i.e., centrally located first treats Determine focal zone and the 3rd focal zone undetermined positioned at right positions does not gather focus, amasthenic lens is to be pointed to left side Second focal zone undetermined of position is focused on.
Thus, in order to be focused on automatically by reading the change of focal zone, it is necessary in the described first focusing undetermined Focal zone is treated in selection in region and the 3rd focal zone undetermined.
At this moment, if the first profile data are larger about more than 1.5 times than third round exterior feature data, in view of first is undetermined poly- Burnt region and the 3rd focal zone undetermined Chong Die 10%, the first profile data higher than third round exterior feature data, therefore can be treated the 3rd Determine focal zone to be set as treating focal zone.
Conversely, in coefficient product and the Coefficient Integrals of second outline data of the third round exterior feature data than the first profile data It is not big 1.5 times~4 times in the case of, can determine whether to be 2/3 of whole shot picture under current state, i.e., centrally located the One focal zone undetermined and the second focal zone undetermined positioned at leftward position do not gather focus, and amasthenic lens is to be pointed to 3rd focal zone undetermined of right positions is focused on.
Thus, in order to be focused on automatically by reading the change of focal zone, it is necessary in the described first focusing undetermined Focal zone is treated in selection in region and the second focal zone undetermined.
At this moment, if the first profile data are larger about more than 1.5 times than the second outline data, in view of first is undetermined poly- Burnt region and the second focal zone undetermined Chong Die 10%, the first profile data can be higher than the second outline data, therefore can be treated second Determine focal zone to be set as treating focal zone.
In addition, invalid in above-mentioned situation, it is impossible to set the second focal zone undetermined or the 3rd focal zone undetermined as In the case for the treatment of focal zone, so that it may be set as treating focal zone by the first focal zone undetermined.
Set after treating focal zone, the outline data of its interior subject can be sent to control unit, be stored as t0 Value, to carry out ensuing focus control.
Figure 10 is refer to, when implementing, the focus controlling step S3 may particularly include:
In step S31 is opened, open and move a focus motor to Near or Far directions;
In the first profile data comparison step S32, the current outline data value t of focal zone is treated described in acquisitionn, and sentence The outline data value of breaking tnWhether more than before mobile focus motor this treat the outline data value t of focal zone0, if so, then keeping poly- Burnt motor and current state rotating Vortex, otherwise, adjustment focus motor is reversely rotated with current state;
For the comparing of next time, by current outline data value tnIt is stored as t0Afterwards, n values Jia 1;
In the second outline data comparison step S33, continue to treat the current outline data value t of focal zone described in acquisitionn Afterwards, judge whether the outline data value continues increase, if so, focus motor and current state rotating Vortex are then kept, and ought Preceding outline data value tnIt is stored as t0, after n values Jia 1, circulation performs second outline data comparison step S33, until the profile Data value stops increase;
In step S34 is stopped, focus motor is closed, complete to focus on, now, had been realized in subject occupied area The bigger focusing for treating focal zone.
Describe the autofocus controlling apparatus of the optical zoom video camera that the present invention is provided in detail below with reference to Figure 11-Figure 14 One embodiment, in the case that the present embodiment is mainly used in the subject that there is different distance in picture shot, to wherein At least one subject is focused;As shown in Figure 10, the present embodiment is mainly included:
Focal zone setting unit 1, after setting several focal zones undetermined on picture shot, obtains each and treats Determine the outline data of subject in focal zone, wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone select unit 2, for selecting subject occupied area most from described several focal zones undetermined Big one, as treating focal zone;
Focus control unit 3, after opening focus motor, according to the outline data for treating subject in focal zone Situation of change drives focus motor to treat that the subject in focal zone is focused to this.
Further, the focal zone select unit 2 may particularly include:
Coefficient product unit 21 is sought, is preset for the outline data of each focal zone undetermined for obtaining to be multiplied by into one respectively Adjustment factor after, multiplied by with a preset multiple, obtain the coefficient of the outline data of subject in each focal zone undetermined Product;
Region comparing unit 22, accumulates for comparing the outline data of subject and its coefficient in each focal zone undetermined, After obtaining the maximum focal zone undetermined of subject occupied area according to comparative result, the focal zone undetermined is selected as waiting to gather Burnt region;
Wherein, the default adjustment factor is to draw the whole outline datas for obtaining successively according to order from small to large It is divided into the interval containing several segments, the ratio of segment residing for each outline data.
Figure 11 is refer to, when implementing, the focal zone setting unit 1 may particularly include:
First area setting unit 11, in the middle position of picture shot, selection to account for entirely picture 33-45% shot The middle section of area, as the first focal zone undetermined after, obtain the number of contours of subject in first focal zone undetermined According to as the first profile data;
Second area setting unit 12, for the leftward position in picture shot, selection accounts for entirely picture 33-45% shot The left field of area, as the second focal zone undetermined, obtains the outline data of subject in second focal zone undetermined, As the second outline data;
3rd area setting unit 13, for the right positions in picture shot, selection accounts for entirely picture 33-45% shot The right side area of area, as the 3rd focal zone undetermined, obtains the outline data of subject in the 3rd focal zone undetermined, As third round exterior feature data.
Figure 12 is refer to, correspondingly, the region comparing unit 22 may particularly include:
First area comparing unit 221, for judging whether second outline data is both more than the first profile number According to coefficient product, accumulate also greater than the coefficient of third round exterior feature data, if so, then start following second area comparing units 222, Otherwise, following 3rd region comparing units 223 are started;
Second area comparing unit 222, for judging the preset multiple of the first profile data whether more than described the Three outline datas, if so, then selecting the 3rd focal zone undetermined as focal zone is treated, otherwise, selection described first is treated Focal zone is determined as treating focal zone;
3rd region comparing unit 223, for judging whether the third round exterior feature data are both undetermined more than described first poly- The coefficient product in burnt region, the coefficient product also greater than second outline data, if so, then starting following 4th region comparing units 224, otherwise, first focal zone undetermined is selected as treating focal zone;
4th region comparing unit 224, for judging the preset multiple of the first profile data whether more than described the Two outline datas, if so, then selecting the described second focal zone undetermined as focal zone is treated, otherwise, selection described first is treated Focal zone is determined as treating focal zone.
When implementing, the focus control unit 3 may particularly include:
Opening unit 31, for opening and a mobile focus motor;
The first profile data comparing unit 32, for obtain it is described treat the current outline data value of focal zone, and judge This treats the outline data value of focal zone before whether the outline data value is more than mobile focus motor, if so, then keeping focusing on electricity Machine and current state rotating Vortex, otherwise, adjustment focus motor is reversely rotated with current state;
Second outline data comparing unit 33, it is described after after the current outline data value of focal zone for continuing to obtain, Judge whether the outline data value continues increase, if so, focus motor and current state rotating Vortex are then kept, until the profile Data value stops increase;
Stop element 34, for closing focus motor, completes to focus on.
The device that the present embodiment is provided is completely corresponding with the method that previous embodiment is provided, and something in common is repeated no more.
The one embodiment for the optical focus video camera that the present invention is also provided is described below in detail, Fig. 1, this implementation is refer to Example mainly includes amasthenic lens, graphics processing unit, control unit, motor and motor driver, wherein, the control Unit processed includes autofocus controlling apparatus, refer to Figure 11-Figure 14, the autofocus controlling apparatus and previous embodiment Focus control device is identical, repeats no more.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assert Specific implementation of the invention is confined to these explanations.For general technical staff of the technical field of the invention, On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should be all considered as belonging to of the invention Protection domain.

Claims (11)

1. a kind of autofocus control method of optical zoom video camera, for there is the shot of different distance in picture shot In the case of body, wherein at least one subject is focused, it is characterised in that comprise the following steps:
Focal zone setting steps, after setting several focal zones undetermined on picture shot, obtain each focal zone undetermined The outline data of subject in domain, wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone selects step, and of subject occupied area maximum is selected from described several focal zones undetermined, As treating focal zone;
Focus controlling step, after opening focus motor, according to the outline data situation of change for treating subject in focal zone Focus motor is driven to treat that subject to be focused in focal zone is focused to this.
2. the method for claim 1, it is characterised in that the focal zone selection step includes:
Ask coefficient to accumulate step, the outline data of each focal zone undetermined for obtaining is multiplied by a default adjustment factor respectively Afterwards, multiplied by with a preset multiple, the coefficient product of the outline data of subject in each focal zone undetermined is obtained;
Region comparison step, compares in each focal zone undetermined the outline data of subject and its coefficient is accumulated, according to comparing knot After fruit obtains the maximum focal zone undetermined of subject occupied area, the focal zone undetermined is selected as treating focal zone;
Wherein, the default adjustment factor is that largest contours data value is undetermined poly- with corresponding in the whole outline datas for obtaining The ratio of burnt region contour data value.
3. method as claimed in claim 2, it is characterised in that the focal zone setting steps include:
First area setting steps, in the middle position of picture shot, selection accounts for the center of whole picture 33-45% areas shot Region, as the first focal zone undetermined after, the outline data of subject in first focal zone undetermined is obtained, as first Outline data;
Second area setting steps, in the leftward position of picture shot, selection accounts for the left side of whole picture 33-45% areas shot Region, as the second focal zone undetermined after, the outline data of subject in second focal zone undetermined is obtained, as second Outline data;
3rd area setting step, in the right positions of picture shot, selection accounts for the right side of whole picture 33-45% areas shot Region, as the 3rd focal zone undetermined after, the outline data of subject in the 3rd focal zone undetermined is obtained, as the 3rd Outline data.
4. method as claimed in claim 3, it is characterised in that the region comparison step includes:
First area comparison step, judge second outline data whether both more than the first profile data coefficient product, Also greater than the coefficient product of third round exterior feature data, if so, then performing following second area comparison steps, otherwise, perform following 3rd region comparison step;
Second area comparison step, judges whether the first profile data are more than third round exterior feature number after being multiplied by preset multiple According to, if so, the 3rd focal zone undetermined is then selected as focal zone is treated, and otherwise, selection first focal zone undetermined Domain is used as treating focal zone;
Whether the 3rd region comparison step, judge the third round exterior feature data both more than the coefficient of the described first focal zone undetermined Product, the coefficient product also greater than second outline data, if so, then performing following 4th region comparison steps, otherwise, select institute The first focal zone undetermined is stated as treating focal zone;
4th region comparison step, judges whether the first profile data are more than second number of contours after being multiplied by preset multiple According to, if so, the described second focal zone undetermined is then selected as focal zone is treated, and otherwise, selection first focal zone undetermined Domain is used as treating focal zone.
5. the method as any one of claim 1-4, it is characterised in that the focus controlling step includes:
Step is opened, is opened and a mobile focus motor;
The first profile data comparison step, obtain described in treat the current outline data value of focal zone, and judge the outline data This treats the outline data value of focal zone before whether value is more than mobile focus motor, if so, then keeping focus motor and current shape State rotating Vortex, otherwise, adjustment focus motor is reversely rotated with current state;
Second outline data comparison step, continues to obtain described after after the current outline data value of focal zone, judges the profile Whether data value continues increase, if so, then keep focus motor and current state rotating Vortex, and circulates execution second profile Data comparison step, until the outline data value stops increasing;
Stop step, close focus motor, complete to focus on.
6. a kind of autofocus controlling apparatus of optical zoom video camera, for there is the shot of different distance in picture shot In the case of body, wherein at least one subject is focused, it is characterised in that include:
Focal zone setting unit, after setting several focal zones undetermined on picture shot, obtains each undetermined poly- The outline data of subject in burnt region, wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone select unit, for selecting subject occupied area maximum from described several focal zones undetermined one It is individual, as treating focal zone;
Focus control unit, after opening focus motor, according to the outline data change for treating subject in focal zone Situation drives focus motor to treat that subject to be focused in focal zone is focused to this.
7. device as claimed in claim 6, it is characterised in that the focal zone select unit is included:
Coefficient product unit is sought, for the outline data of each focal zone undetermined for obtaining to be multiplied by into a default regulation respectively After coefficient, multiplied by with a preset multiple, the coefficient product of the outline data of subject in each focal zone undetermined is obtained;
Region comparing unit, accumulates for comparing in each focal zone undetermined the outline data of subject and its coefficient, according to than After relatively result obtains the maximum focal zone undetermined of subject occupied area, the focal zone undetermined is selected as treating focal zone Domain;
Wherein, the default adjustment factor is that largest contours data value is undetermined poly- with corresponding in the whole outline datas for obtaining The ratio of burnt region contour data value.
8. device as claimed in claim 7, it is characterised in that the focal zone setting unit is included:
First area setting unit, in the middle position of picture shot, selection to account for whole picture 33-45% areas shot Middle section, as the first focal zone undetermined after, obtain the outline data of subject in first focal zone undetermined, as The first profile data;
Second area setting unit, for the leftward position in picture shot, selection accounts for whole picture 33-45% areas shot Left field, as the second focal zone undetermined after, obtain the outline data of subject in second focal zone undetermined, as Second outline data;
3rd area setting unit, for the right positions in picture shot, selection accounts for whole picture 33-45% areas shot Right side area, as the 3rd focal zone undetermined after, obtain the outline data of subject in the 3rd focal zone undetermined, as Third round exterior feature data.
9. device as claimed in claim 8, it is characterised in that the region comparing unit is included:
First area comparing unit, for judging second outline data whether both more than the coefficient of the first profile data Product, the coefficient product also greater than third round exterior feature data, if so, then start following second area comparing units, otherwise, under startup State the 3rd region comparing unit;
Second area comparing unit, for judging whether the first profile data are more than the third round after being multiplied by preset multiple Wide data, if so, then selecting the 3rd focal zone undetermined as focal zone is treated, otherwise, selection described first is undetermined poly- Burnt region is used as treating focal zone;
3rd region comparing unit, for judging the third round exterior feature data whether both more than the described first focal zone undetermined Coefficient product, the coefficient product also greater than second outline data, if so, then start following 4th region comparing units, otherwise, choosing The described first focal zone undetermined is selected as treating focal zone;
4th region comparing unit, for judging whether the first profile data take turns after being multiplied by preset multiple more than described second Wide data, if so, then selecting the described second focal zone undetermined as focal zone is treated, otherwise, selection described first is undetermined poly- Burnt region is used as treating focal zone.
10. the device as any one of claim 6-9, it is characterised in that the focus control unit includes:
Opening unit, for opening and a mobile focus motor;
The first profile data comparing unit, for obtain it is described treat the current outline data value of focal zone, and judge the profile This treats the outline data value of focal zone before whether data value is more than mobile focus motor, if so, then keeping focus motor and working as Preceding state rotating Vortex, otherwise, adjustment focus motor is reversely rotated with current state;
Second outline data comparing unit, for continuing to obtain described after after the current outline data value of focal zone, judgement should Whether outline data value continues increase, if so, focus motor and current state rotating Vortex are then kept, until the outline data value Stop increase;
Stop element, for closing focus motor, completes to focus on.
A kind of 11. optical focus video cameras, include amasthenic lens, graphics processing unit, control unit, motor and motor Drive device, it is characterised in that described control unit is included just like the auto focus control any one of claim 6-9 Device.
CN201410185368.XA 2014-05-04 2014-05-04 Optical zoom video camera and its autofocus control method, device Expired - Fee Related CN103984186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410185368.XA CN103984186B (en) 2014-05-04 2014-05-04 Optical zoom video camera and its autofocus control method, device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410185368.XA CN103984186B (en) 2014-05-04 2014-05-04 Optical zoom video camera and its autofocus control method, device

Publications (2)

Publication Number Publication Date
CN103984186A CN103984186A (en) 2014-08-13
CN103984186B true CN103984186B (en) 2017-06-16

Family

ID=51276209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410185368.XA Expired - Fee Related CN103984186B (en) 2014-05-04 2014-05-04 Optical zoom video camera and its autofocus control method, device

Country Status (1)

Country Link
CN (1) CN103984186B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323481B (en) * 2015-10-15 2018-11-20 广东欧珀移动通信有限公司 A kind of photographic method based on ultrasound and device
CN108020903A (en) * 2016-10-28 2018-05-11 广州康昕瑞基因健康科技有限公司 Auto focusing method and system
CN107295262B (en) * 2017-07-28 2021-03-26 努比亚技术有限公司 Image processing method, mobile terminal and computer storage medium
CN108200344A (en) * 2018-01-23 2018-06-22 江苏冠达通电子科技有限公司 The adjustment Zooming method of video camera
CN109274888B (en) * 2018-09-27 2020-08-11 惠州Tcl移动通信有限公司 Photographing method, storage medium and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731267A (en) * 2004-08-06 2006-02-08 三星Techwin株式会社 Automatic focusing method and digital photographing apparatus using the same
CN101408709A (en) * 2007-10-10 2009-04-15 鸿富锦精密工业(深圳)有限公司 Image viewfinding device and automatic focusing method thereof
CN101950116A (en) * 2010-09-14 2011-01-19 浙江工业大学 Video automatic focusing method applied to multi-main-body scene
CN103685941A (en) * 2013-11-22 2014-03-26 深圳市阿格斯科技有限公司 Monitoring and photographing equipment and focus control method and device of motorized lens thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006058405A (en) * 2004-08-18 2006-03-02 Casio Comput Co Ltd Camera apparatus and automatic focusing control method
JP2006145632A (en) * 2004-11-16 2006-06-08 Pentax Corp Multipoint automatic focusing apparatus and camera equipped with the apparatus
JP2007328360A (en) * 2007-07-27 2007-12-20 Fujifilm Corp Automatic focusing camera and photographing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731267A (en) * 2004-08-06 2006-02-08 三星Techwin株式会社 Automatic focusing method and digital photographing apparatus using the same
CN101408709A (en) * 2007-10-10 2009-04-15 鸿富锦精密工业(深圳)有限公司 Image viewfinding device and automatic focusing method thereof
CN101950116A (en) * 2010-09-14 2011-01-19 浙江工业大学 Video automatic focusing method applied to multi-main-body scene
CN103685941A (en) * 2013-11-22 2014-03-26 深圳市阿格斯科技有限公司 Monitoring and photographing equipment and focus control method and device of motorized lens thereof

Also Published As

Publication number Publication date
CN103984186A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN103984186B (en) Optical zoom video camera and its autofocus control method, device
CN105594194B (en) Image display device and image display method
CN102821284B (en) Dynamic video creation device and video creation method
CN101341738B (en) Camera apparatus and imaging method
CN104284094B (en) Image stabilizer and hand vibration compensation method
CN104902190A (en) Control method, photographic device and electronic device
CN107888822A (en) Image pickup method, device, terminal and readable storage medium storing program for executing
DE102012201071A1 (en) FACE IMAGING SYSTEM AND METHOD FOR CONTROLLING THE FACE IMAGING SYSTEM
US6646687B1 (en) Automatic background scene defocusing for image compositing
CN103218990A (en) Method for adjusting screen brightness and terminal
EP2747414A1 (en) Monitoring method and camera
KR101810956B1 (en) Camera device having image sensor of rolling shutter type and lighting control method
US6070016A (en) Lens control device
CN103685876B (en) Camera device, image capture method and recording medium
US12075151B2 (en) Systems and methods for obtaining a smart panoramic image
CN110769148A (en) Camera automatic control method and device based on face recognition
CN206505243U (en) Shade and the camera lens module with it
JP4880303B2 (en) Electronic device with display function, display method and program
CN104902160A (en) Information processing method and electronic equipment
CN109005325B (en) Facial camera device and method based on interactive intelligent light supplementing
CN101557469A (en) Image processing device and image processing method
JP4536248B2 (en) Imaging device
DE102009027692B4 (en) Image processing method and apparatus, and digital photographing apparatus using the latter
CN104883495A (en) Shooting method and device
CN106803885B (en) Debugging processing method based on intelligent terminal system camera function

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170616