CN103984186A - Optical zooming vidicon and automatic focusing control method and device thereof - Google Patents

Optical zooming vidicon and automatic focusing control method and device thereof Download PDF

Info

Publication number
CN103984186A
CN103984186A CN201410185368.XA CN201410185368A CN103984186A CN 103984186 A CN103984186 A CN 103984186A CN 201410185368 A CN201410185368 A CN 201410185368A CN 103984186 A CN103984186 A CN 103984186A
Authority
CN
China
Prior art keywords
focal zone
outline data
undetermined
subject
shot
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
CN201410185368.XA
Other languages
Chinese (zh)
Other versions
CN103984186B (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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Automatic Focus Adjustment (AREA)

Abstract

The invention discloses an automatic focusing control method of an optical zooming vidicon. The method is used under the situation that shot subjects with different distances exist in a shot picture, and at least one shot subject is subjected to focusing. The method comprises the steps that focusing zones are set, wherein a plurality of focusing zones to be confirmed are arranged on the shot picture, and then the contour data of a shot subject in each focusing zone to be confirmed are obtained; a focusing zone is selected, wherein the focusing zone where the occupied area of the shot subject is the largest is selected from the multiple focusing zones to be confirmed to be used as a zone to be focused; and focusing is controlled, wherein after a focusing motor is started, according to the changing situation of the contour data of the shot subject in the zone to be focused, the focusing motor is driven to carry out focusing on the shot subject in the zone to be focused. The invention further discloses the corresponding optical zooming vidicon and an automatic focusing control device thereof. A focusing object can be adjusted between a long-distance shot subject and a short-distance shot subject conveniently and clearly, and focusing is clear and is not blurry.

Description

Optical zoom video camera and autofocus control method thereof, device
Technical field
The present invention relates to protection and monitor field, relate in particular to a kind of in the situation that there is the subject of different distance in picture being shot, to the optical zoom video camera that wherein at least one subject focuses on, and autofocus control method, device.
Background technology
The image-forming principle of optical zoom video camera be utilize motor adjust camera lens focus make its will be clearly image be mapped to sensor, and then the image that sensor is received carries out image processing and by display, image is presented.
Please refer to Fig. 1, this figure is the composition structural representation of the optical zoom video camera of prior art; As shown in the figure, it is mainly by formations such as amasthenic lens (Focus Lens) 10, imageing sensor (CCD/CMOS) 20, graphics processing unit (Image Processing IC) 30, control module (u-COM) 40, motor and drive unit (Motor Driver) 50 and buttons (Key) 60.
During work, the image by amasthenic lens 1 is stored in imageing sensor 2 in the mode of electronic data, and the image Video having mixed up from graphics processing unit 3 output colors and brightness.
The outline data of the subject of each picture output in control module 4 reading images processing units 3, and control motor driving amasthenic lens 1 and move, when the outline data of subject reaches mxm., amasthenic lens 1 has arrived the focal position of subject, now disable motor, completes focusing.Picture is by display (Monitor) clearly.
The autofocus control method of the optical zoom video camera of prior art is specially, in picture being shot, aim at a fixing focal zone, read the outline data of subject in this region, and the direction increasing to subject outline data moves amasthenic lens, realization focusing when this outline data reaches maximal value.Please refer to Fig. 2 and Fig. 4, the picture that the optical focus video camera that they show respectively prior art focuses on remote subject and to the picture closely focusing on, and Fig. 3 and Fig. 5 show respectively the situation of change of lens location and subject outline data when remote subject is focused on accordingly and the situation of change of lens location and subject outline data when closely subject focuses on; From Fig. 3 and Fig. 5, can find out, when camera lens is in focal position time, the outline data of subject has reached maximal value (being Peak Focus Data).
Yet, inventor finds in implementing process of the present invention, in a shooting picture, there is the subject of two or more different distance, be in picture, not only to have had remote subject, but also exist in the situation of remote subject, please refer to Fig. 6, the figure shows the changing trend diagram of adjusting to lens location subject during focusing closely and subject outline data from remote subject is focused on.As can be seen from Figure 6, camera lens moves to the process of the focal position of subject closely from the focal position of remote subject, first the outline data of subject is through the change procedure of a minimizing, and then starting increases and reach maximized, and vice versa.Visible, adopt the focus control scheme of prior art: the direction increasing to subject outline data moves amasthenic lens, be camera lens cannot be adjusted to the focal position of subject closely from the focal position of remote subject, vice versa; Add the degree of depth restriction of camera lens, thereby when focus is adjusted to in-plant subject, remote subject will focus on fuzzy; On the contrary, when focus is adjusted to remote subject, will there is closely subject and focus on blooming.
Due to the above-mentioned shortcoming of optical zoom video camera, there is " focus system is imperial " problem in the optical zoom video camera of prior art.For example, when closely subject is at 1m place, remote subject is when 10m place, if focus is in the situation that gather on the subject at 10m place, want to make focus to adjust to the subject at 1m place, just need the subject disappearance at 10m place just can gather focus.
When focus is in a position, if subject is than closely subject is clearer at a distance, Focus Club adjusts to remote subject automatically; Otherwise if closely subject sees more clearly, Focus Club adjusts to closely subject automatically.
And if focus is gathered when remote subject, the words that in visual angle, closely the size of subject is large not cannot focus on closely subject.Otherwise if focus is gathered when subject closely, the large not words of size of visual angle medium and long distance subject cannot focus on the shortcomings such as remote subject.
In sum, in the situation that there is the subject of different distance in camera picture, the optical zoom video camera of prior art, cannot and closely adjust focal object in remote subject between subject.
Summary of the invention
Technical matters solved by the invention is, a kind of autofocus control method of optical zoom video camera is provided, can be in the situation that there is the subject of different distance in camera picture in the method, from remote subject being focused on to the process that closely subject focusing is adjusted, the outline data of subject is kept along with picture is known and the state of increase gradually always, thereby can facilitate, clearly in remote subject with closely adjust focal object between subject, focus on clear not fuzzy.
The technical matters that the present invention is further solved is, a kind of autofocus controlling apparatus of optical zoom video camera is provided, can be in the situation that there is the subject of different distance in camera picture in this device, from remote subject being focused on to the process that closely subject focusing is adjusted, the outline data of subject is kept along with picture is known and the state of increase gradually always, thereby can facilitate, clearly in remote subject with closely adjust focal object between subject, focus on clear not fuzzy.
The technical matters that the present invention further solved is, a kind of optical zoom video camera is provided, can be in the situation that there is the subject of different distance in camera picture in this video camera, from remote subject being focused on to the process that closely subject focusing is adjusted, the outline data of subject is kept along with picture is known and the state of increase gradually always, thereby can facilitate, clearly in remote subject with closely adjust focal object between subject, focus on clear not fuzzy.
In order to solve the problems of the technologies described above, the invention discloses following scheme:
An autofocus control method for optical zoom video camera, in the situation that picture being shot exists the subject of different distance, focuses at least one subject wherein, comprising:
Focal zone setting steps arranges after several focal zones undetermined on picture being shot, obtains the outline data of subject in each focal zone undetermined, and wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone is selected step, and of selecting subject area occupied maximum from described several focal zones undetermined, as treating focal zone;
Focus control step, opens and focuses on after motor, according to described, treats that the outline data situation of change of subject in focal zone drives focusing motor to treat that to this subject in focal zone focuses on.
Preferably, described focal zone selects step to comprise:
Ask coefficient to amass step, the outline data of each focal zone undetermined obtaining is multiplied by respectively after a default adjustment factor, then is multiplied by a preset multiple, the coefficient that obtains the outline data of subject in each focal zone undetermined is long-pending;
Region comparison step, relatively in each focal zone undetermined, the outline data of subject and coefficient thereof are long-pending, obtain after the focal zone undetermined of subject area occupied maximum according to comparative result, select this focal zone undetermined as treating focal zone;
Wherein, described default adjustment factor is the ratio of largest contours data value in the whole outline datas that obtain with corresponding focal zone outline data value undetermined.
Preferably, described focal zone setting steps comprises:
First area setting steps, at the middle position of picture being shot, choose the middle section that accounts for whole picture 33-45% area being shot, after the first focal zone undetermined, obtain the outline data of subject in this first focal zone undetermined, as the first outline data;
Second area setting steps, in the leftward position of picture being shot, choose the left field that accounts for whole picture 33-45% area being shot, after the second focal zone undetermined, obtain the outline data of subject in this second focal zone undetermined, as the second outline data;
The 3rd region division step, in the right positions of picture being shot, choose the right side area that accounts for whole picture 33-45% area being shot, after the 3rd focal zone undetermined, obtain the outline data of subject in the 3rd focal zone undetermined, as the wide data of third round.
Preferably, described region comparison step comprises:
First area comparison step, judge whether described the second outline data had both been greater than the coefficient coefficient long-pending, that be also greater than the wide data of described third round of described the first outline data long-pending, if so, carry out following second area comparison step, otherwise, carry out following the 3rd region comparison step;
Second area comparison step, whether the preset multiple that judges described the first outline data is greater than the wide data of described third round, if so, selects described the 3rd focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone;
The 3rd region comparison step, judge that the coefficient coefficient long-pending, that be also greater than described the second outline data whether described third round exterior feature data be both greater than described the first focal zone undetermined amasss, if, carry out following the 4th region comparison step, otherwise, select described the first focal zone undetermined as treating focal zone;
The 4th region comparison step, whether the preset multiple that judges described the first outline data is greater than described the second outline data, if so, selects described the second focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone.
Preferably, described focus control step comprises:
Open step, open and move and once focus on motor;
The first outline data comparison step, described in acquisition, treat the outline data value that focal zone is current, and judge whether this outline data value is greater than mobile front this of motor that focus on and treats the outline data value of focal zone, if, keep focusing on motor and current state rotating Vortex, otherwise, adjust and focus on motor and current state reverse rotation;
The second outline data comparison step, described in continue obtaining after the current outline data value of focal zone, judge whether this outline data value continues to increase, if, keep focusing on motor and current state rotating Vortex, and this second outline data comparison step of circulation execution, until this outline data value stops increasing;
Stop step, close focusing motor, complete focusing.
Correspondingly, the invention also discloses a kind of autofocus controlling apparatus of optical zoom video camera, in the situation that picture being shot exists the subject of different distance, at least one subject wherein focused on, include:
Focal zone setting unit, for arranging on picture being shot after several focal zones undetermined, obtains the outline data of subject in each focal zone undetermined, and wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone selected cell, for select of subject area occupied maximum from described several focal zones undetermined, as treating focal zone;
Focus control unit, focuses on after motor for opening, and according to described, treats that the outline data situation of change of subject in focal zone drives focusing motor to treat that to this subject in focal zone focuses on.
Preferably, described focal zone selected cell includes:
Ask coefficient product unit, for the outline data of each focal zone undetermined obtaining is multiplied by respectively after a default adjustment factor, then be multiplied by a preset multiple, the coefficient that obtains the outline data of subject in each focal zone undetermined is long-pending;
Region comparing unit, amasss for comparing outline data and the coefficient thereof of subject in each focal zone undetermined, obtains after the focal zone undetermined of subject area occupied maximum according to comparative result, selects this focal zone undetermined as treating focal zone;
Wherein, described default adjustment factor is the ratio of largest contours data value in the whole outline datas that obtain with corresponding focal zone outline data value undetermined.
Preferably, described focal zone setting unit includes:
First area setting unit, for the middle position at picture being shot, choose the middle section that accounts for whole picture 33-45% area being shot, after the first focal zone undetermined, obtain the outline data of subject in this first focal zone undetermined, as the first outline data;
Second area setting unit, for the leftward position at picture being shot, choose the left field that accounts for whole picture 33-45% area being shot, after the second focal zone undetermined, obtain the outline data of subject in this second focal zone undetermined, as the second outline data;
The 3rd region division unit, for the right positions at picture being shot, choose the right side area that accounts for whole picture 33-45% area being shot, after the 3rd focal zone undetermined, obtain the outline data of subject in the 3rd focal zone undetermined, as the wide data of third round.
Preferably, described region comparing unit includes:
First area comparing unit, long-pending for judging whether described the second outline data had both been greater than the coefficient coefficient long-pending, that be also greater than the wide data of described third round of described the first outline data, if so, start following second area comparing unit, otherwise, start following the 3rd region comparing unit;
Second area comparing unit, for judging that whether the preset multiple of described the first outline data is greater than the wide data of described third round, if so, selects described the 3rd focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone;
The 3rd region comparing unit, for judging that the coefficient coefficient long-pending, that be also greater than described the second outline data whether described third round exterior feature data be both greater than described the first focal zone undetermined amasss, if, start following the 4th region comparing unit, otherwise, select described the first focal zone undetermined as treating focal zone;
The 4th region comparing unit, for judging whether the preset multiple of described the first outline data is greater than described the second outline data, if so, select described the second focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone.
Preferably, described focus control unit includes:
Open unit, for opening and moving, once focus on motor;
The first outline data comparing unit, described in obtaining, treat the outline data value that focal zone is current, and judge whether this outline data value is greater than mobile front this of motor that focus on and treats the outline data value of focal zone, if, keep focusing on motor and current state rotating Vortex, otherwise, adjust and focus on motor and current state reverse rotation;
The second outline data comparing unit, for described in continuing to obtain after the current outline data value of focal zone, judge whether this outline data value continues to increase, if so, keep focusing on motor and current state rotating Vortex, until this outline data value stops increase;
Stop element, for closing focusing motor, completes focusing.
Correspondingly, the invention also discloses a kind of optical focus video camera, include amasthenic lens, graphics processing unit, control module, motor and motor driver, focus on, described control module includes autofocus controlling apparatus as above.
The invention has the beneficial effects as follows:
By in the situation that there is the subject of different distance in camera picture in embodiments of the invention, a plurality of focal zones undetermined are set, and according to after the selected focal zone of the situation of change of subject outline data, subject in selection area is focused on, realized in remote subject being focused on to the process that closely subject focusing is adjusted, the outline data of subject is kept along with picture is known and the state of increase gradually always, thereby reached convenience, clearly in remote subject with closely adjust the effect of focal object between subject, focus on clear not fuzzy.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the composition structural drawing of focus control circuit of the optical zoom video camera of prior art.
Fig. 2 is the picture that the optical zoom video camera of prior art focuses on remote subject.
Fig. 3 is the optical zoom video camera of the prior art changing trend diagram to lens location and subject outline data in remote subject during focusing.
Fig. 4 is the picture that the optical zoom video camera of prior art focuses on remote subject.
Fig. 5 is the optical zoom video camera of the prior art changing trend diagram to lens location and subject outline data in remote subject during focusing.
Fig. 6 is that the optical zoom video camera of prior art is from focusing on the changing trend diagram of adjusting to lens location subject during focusing closely and subject outline data to remote subject.
Fig. 7 is the method flow diagram of an embodiment of autofocus control method of optical zoom video camera of the present invention.
Fig. 8 is the method flow diagram of focal zone setting steps in embodiment of autofocus control method of optical zoom video camera of the present invention.
Fig. 9 is the method flow diagram that in embodiment of autofocus control method of optical zoom video camera of the present invention, focal zone is selected step.
Figure 10 is the method flow diagram of focus control step in embodiment of autofocus controlling apparatus of optical zoom video camera of the present invention.
Figure 11 is the composition structural drawing of an embodiment of autofocus controlling apparatus of optical zoom video camera of the present invention.
Figure 12 is the composition structural drawing of focal zone setting unit in embodiment of autofocus controlling apparatus of optical zoom video camera of the present invention.
Figure 13 is the composition structural drawing of focal zone selected cell in embodiment of autofocus controlling apparatus of optical zoom video camera of the present invention.
Figure 14 is the composition structural drawing of focus control unit in embodiment of autofocus controlling apparatus of optical zoom video camera of the present invention.
Embodiment
Below with reference to Fig. 7-Figure 10, describe an embodiment of the autofocus control method of optical zoom video camera provided by the invention in detail, the present embodiment is mainly used in the situation that there is the subject of different distance in picture being shot, and at least one subject is wherein focused on; As shown in Figure 7, the present embodiment is realized an auto focus control flow process and is mainly comprised the following steps:
In focal zone setting steps S1, on picture being shot, arrange after several focal zones undetermined, obtain the outline data of subject in each focal zone undetermined, wherein, at least adjacent focal zone undetermined partially overlaps;
At focal zone, select in step S2, from described several focal zones undetermined, select subject area occupied maximum one, as treating focal zone;
In focus control step S3, open and focus on after motor, according to described, treat that the outline data situation of change of subject in focal zone drives focusing motor to treat that to this subject in focal zone focuses on.
Please refer to Fig. 9, during specific implementation, described focal zone selects step S2 specifically to comprise:
In asking the long-pending step S21 of coefficient, the outline data of each focal zone undetermined obtaining is multiplied by respectively after a default adjustment factor w, then is multiplied by a preset multiple, the coefficient that obtains the outline data of subject in each focal zone undetermined is long-pending;
In the comparison step S22 of region, relatively in each focal zone undetermined, the outline data of subject and coefficient thereof are long-pending, obtain after the focal zone undetermined of subject area occupied maximum according to comparative result, select this focal zone undetermined as treating focal zone;
Wherein, described default adjustment factor w is the ratio of largest contours data value in the whole outline datas that obtain with corresponding focal zone outline data value undetermined.
The meaning that described adjustment factor w is set is, in the situation that the same image of the appearance of above-mentioned each focal zone undetermined, by the adjusting of adjustment factor w, making the image ratio in each region is all 1:1.
For example, in first area, second area, the 3rd region take same image, obtains the profile value L=700 of first area, the profile value M=1000 of second area, in the situation of the profile value N=600 in the 3rd region:
Take and occur that the second area of maximal value M is benchmark, the adjustment factor value w of first area L l=1000/700, approximate 1.43; The adjustment factor value w of second area M m=1; The adjustment factor value w of the 3rd region N n=1000/600, approximate 1.67.
Like this, above-mentioned trizonal profile value is multiplied by respectively to its corresponding adjustment factor value w, has just obtained (1.43 * L): (1 * M): the ratio of (1.67 * N)=1:1:1.
Please refer to Fig. 8, further, described focal zone setting steps S1 can specifically comprise:
In the setting steps S11 of first area, at the middle position of picture being shot, choose the middle section that accounts for whole picture 33-45% area being shot, after the first focal zone undetermined, obtain the outline data of subject in this first focal zone undetermined, as the first outline data L;
In second area setting steps S12, in the leftward position of picture being shot, choose the left field that accounts for whole picture 33-45% area being shot, after the second focal zone undetermined, obtain the outline data of subject in this second focal zone undetermined, as the second outline data M;
In the 3rd region division step S13, in the right positions of picture being shot, choose the right side area that accounts for whole picture 33-45% area being shot, after the 3rd focal zone undetermined, obtain the outline data of subject in the 3rd focal zone undetermined, as the wide data N of third round.
During specific implementation, above-mentioned each focal zone undetermined can be set respectively the area that accounts for whole picture being shot 40% left and right for, like this, the second focal zone undetermined and the 3rd focal zone undetermined have 10% overlapping region with the first focal zone undetermined respectively, are conducive to the relatively judgement of subject outline data in regional.
During specific implementation, outline data can read acquisition from control module by graphics processing unit.
Please refer to Fig. 9, correspondingly, described region comparison step S22 can specifically comprise:
In the comparison step S221 of first area, judge whether described the second outline data M had both been greater than the long-pending A of coefficient of described the first outline data L, be also greater than the long-pending C of coefficient of the wide data N of described third round, if, carry out following second area comparison step S222, otherwise, carry out following the 3rd region comparison step S223;
In second area comparison step S222, whether the preset multiple that judges described the first outline data L is greater than the wide data C of described third round, if so, selects described the 3rd focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone;
In the 3rd region comparison step S223, judge that the coefficient coefficient long-pending, that be also greater than described the second outline data whether described third round exterior feature data be both greater than described the first focal zone undetermined amasss, if, carry out following the 4th region comparison step S224, otherwise, select described the first focal zone undetermined as treating focal zone;
In the 4th region comparison step S224, whether the preset multiple that judges described the first outline data is greater than described the second outline data, if so, selects described the second focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone.
During specific implementation, described ratio can be the value of interval [1,2.5]; Described preset multiple can be set to the value of [1.5,4].
In the situation that described the second outline data is than not large 1.5 times~4 times of the Coefficient Integrals of the wide data of the long-pending and third round of the coefficient of the first outline data, can be judged as 2/3 of whole picture being shot under current state, the the first focal zone A undetermined that is positioned at middle position does not gather focus with the 3rd focal zone C undetermined that is positioned at right positions, and amasthenic lens is to focus on being positioned at the second focal zone B undetermined of leftward position.
Thereby, in order to carry out automatic focus by reading the variation of focal zone, need in described the first focal zone A undetermined and the 3rd focal zone C undetermined, select to treat focal zone.
At this moment, if described the first outline data than the wide data of third round larger about more than 1.5 times, in view of the first focal zone A undetermined and overlapping 10%, the first outline data of the 3rd focal zone B undetermined can be higher than the wide data of third round, therefore the 3rd focal zone C undetermined can be set as treating focal zone.
Otherwise, in the situation that the wide data of described third round long-pending than the coefficient of the first outline data with not large 1.5 times~4 times of Coefficient Integrals the second outline data, can be judged as 2/3 of whole picture being shot under current state, the the first focal zone A undetermined that is positioned at middle position does not gather focus with the second focal zone B undetermined that is positioned at right positions, and amasthenic lens is to focus on being positioned at the 3rd focal zone C undetermined of leftward position.
Thereby, in order to carry out automatic focus by reading the variation of focal zone, need in described the first focal zone A undetermined and the second focal zone B undetermined, select to treat focal zone.
At this moment, if described the first outline data than the second outline data larger about more than 1.5 times, in view of the first focal zone A undetermined and overlapping 10%, the first outline data of the second focal zone B undetermined can be higher than the second outline datas, therefore the second focal zone C undetermined can be set as treating focal zone.
In addition, in above-mentioned situation, be all false, cannot set the second focal zone B undetermined or the 3rd focal zone C undetermined treats in the situation of focal zone, just the first focal zone A undetermined can be set as treating focal zone.
After having set and treating focal zone, the outline data of subject in it can be sent to control module, be stored as t 0value, to carry out ensuing focus control.
Please refer to Figure 10, during specific implementation, described focus control step S3 can specifically comprise:
In opening step S31, open and move and once focus on motor to Near or Far direction;
In the first outline data comparison step S32, treat the outline data value t that focal zone is current described in acquisition n, and judge this outline data value t nwhether be greater than mobile front this of motor that focus on and treat the outline data value t of focal zone 0, if so, keep focusing on motor and current state rotating Vortex, otherwise, adjust and focus on motor and current state reverse rotation;
For next comparison, by current outline data value t nbe stored as t 0afterwards, n value adds 1;
In the second outline data comparison step S33, described in continuing to obtain, treat the outline data value t that focal zone is current nafter, judge whether this outline data value continues to increase, if so, keep focusing on motor and current state rotating Vortex, and by current outline data value t nbe stored as t 0, after n value adds 1, this second outline data comparison step S33 is carried out in circulation, until this outline data value stops increasing;
In stopping step S34, close focusing motor, complete focusing, now, realized the focusing for the treatment of focal zone larger to subject area occupied.
Below with reference to Figure 11-Figure 14, describe an embodiment of the autofocus controlling apparatus of optical zoom video camera provided by the invention in detail, the present embodiment is mainly used in the situation that there is the subject of different distance in picture being shot, and at least one subject is wherein focused on; As shown in figure 10, the present embodiment mainly includes:
Focal zone setting unit 1, for arranging on picture being shot after several focal zones undetermined, obtains the outline data of subject in each focal zone undetermined, and wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone selected cell 2, for select of subject area occupied maximum from described several focal zones undetermined, as treating focal zone;
Focus control unit 3, focuses on after motor for opening, and according to described, treats that the outline data situation of change of subject in focal zone drives focusing motor to treat that to this subject in focal zone focuses on.
Further, described focal zone selected cell 2 can specifically include:
Ask coefficient product unit 21, for the outline data of each focal zone undetermined obtaining is multiplied by respectively after a default adjustment factor, then be multiplied by a preset multiple, the coefficient that obtains the outline data of subject in each focal zone undetermined is long-pending;
Region comparing unit 22, amasss for comparing outline data and the coefficient thereof of subject in each focal zone undetermined, obtains after the focal zone undetermined of subject area occupied maximum according to comparative result, selects this focal zone undetermined as treating focal zone;
Wherein, described default adjustment factor is for being divided into successively the interval of containing several segments, the ratio of each outline data segment of living in by the whole outline datas that obtain according to order from small to large.
Please refer to Figure 11, during specific implementation, described focal zone setting unit 1 can specifically include:
First area setting unit 11, for the middle position at picture being shot, choose the middle section that accounts for whole picture 33-45% area being shot, after the first focal zone undetermined, obtain the outline data of subject in this first focal zone undetermined, as the first outline data;
Second area setting unit 12, for the leftward position at picture being shot, choose the left field that accounts for whole picture 33-45% area being shot, as the second focal zone undetermined, obtain the outline data of subject in this second focal zone undetermined, as the second outline data;
The 3rd region division unit 13, for the right positions at picture being shot, choose the right side area that accounts for whole picture 33-45% area being shot, as the 3rd focal zone undetermined, obtain the outline data of subject in the 3rd focal zone undetermined, as the wide data of third round.
Please refer to Figure 12, correspondingly, described region comparing unit 22 can specifically include:
First area comparing unit 221, long-pending for judging whether described the second outline data had both been greater than the coefficient coefficient long-pending, that be also greater than the wide data of described third round of described the first outline data, if, start following second area comparing unit 222, otherwise, start following the 3rd region comparing unit 223;
Second area comparing unit 222, for judging that whether the preset multiple of described the first outline data is greater than the wide data of described third round, if so, selects described the 3rd focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone;
The 3rd region comparing unit 223, for judging that the coefficient coefficient long-pending, that be also greater than described the second outline data whether described third round exterior feature data be both greater than described the first focal zone undetermined amasss, if, start following the 4th region comparing unit 224, otherwise, select described the first focal zone undetermined as treating focal zone;
The 4th region comparing unit 224, for judging whether the preset multiple of described the first outline data is greater than described the second outline data, if so, select described the second focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone.
During specific implementation, described focus control unit 3 can specifically include:
Open unit 31, for opening and moving, once focus on motor;
The first outline data comparing unit 32, described in obtaining, treat the outline data value that focal zone is current, and judge whether this outline data value is greater than mobile front this of motor that focus on and treats the outline data value of focal zone, if, keep focusing on motor and current state rotating Vortex, otherwise, adjust and focus on motor and current state reverse rotation;
The second outline data comparing unit 33, for described in continuing to obtain after the current outline data value of focal zone, judge whether this outline data value continues to increase, if, keep focusing on motor and current state rotating Vortex, until this outline data value stops increasing;
Stop element 34, for closing focusing motor, completes focusing.
The method that the device that the present embodiment provides provides with previous embodiment is completely corresponding, and something in common repeats no more.
Describe an embodiment of the optical focus video camera that the present invention also provides below in detail, please refer to Fig. 1, the present embodiment mainly includes amasthenic lens, graphics processing unit, control module, motor and motor driver, wherein, described control module includes autofocus controlling apparatus, please refer to Figure 11-Figure 14, this autofocus controlling apparatus is identical with the focus control device of previous embodiment, repeats no more.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when 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-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (11)

1. an autofocus control method for optical zoom video camera, in the situation that picture being shot exists the subject of different distance, focuses at least one subject wherein, it is characterized in that, comprises the following steps:
Focal zone setting steps arranges after several focal zones undetermined on picture being shot, obtains the outline data of subject in each focal zone undetermined, and wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone is selected step, and of selecting subject area occupied maximum from described several focal zones undetermined, as treating focal zone;
Focus control step, opens and focuses on after motor, according to described, treats that the outline data situation of change of subject in focal zone drives focusing motor to treat that to this subject in focal zone focuses on.
2. the method for claim 1, is characterized in that, described focal zone selects step to comprise:
Ask coefficient to amass step, the outline data of each focal zone undetermined obtaining is multiplied by respectively after a default adjustment factor, then is multiplied by a preset multiple, the coefficient that obtains the outline data of subject in each focal zone undetermined is long-pending;
Region comparison step, relatively in each focal zone undetermined, the outline data of subject and coefficient thereof are long-pending, obtain after the focal zone undetermined of subject area occupied maximum according to comparative result, select this focal zone undetermined as treating focal zone;
Wherein, described default adjustment factor is the ratio of largest contours data value in the whole outline datas that obtain with corresponding focal zone outline data value undetermined.
3. method as claimed in claim 2, is characterized in that, described focal zone setting steps comprises:
First area setting steps, at the middle position of picture being shot, choose the middle section that accounts for whole picture 33-45% area being shot, after the first focal zone undetermined, obtain the outline data of subject in this first focal zone undetermined, as the first outline data;
Second area setting steps, in the leftward position of picture being shot, choose the left field that accounts for whole picture 33-45% area being shot, after the second focal zone undetermined, obtain the outline data of subject in this second focal zone undetermined, as the second outline data;
The 3rd region division step, in the right positions of picture being shot, choose the right side area that accounts for whole picture 33-45% area being shot, after the 3rd focal zone undetermined, obtain the outline data of subject in the 3rd focal zone undetermined, as the wide data of third round.
4. method as claimed in claim 3, is characterized in that, described region comparison step comprises:
First area comparison step, judge whether described the second outline data had both been greater than the coefficient coefficient long-pending, that be also greater than the wide data of described third round of described the first outline data long-pending, if so, carry out following second area comparison step, otherwise, carry out following the 3rd region comparison step;
Second area comparison step, whether the preset multiple that judges described the first outline data is greater than the wide data of described third round, if so, selects described the 3rd focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone;
The 3rd region comparison step, judge that the coefficient coefficient long-pending, that be also greater than described the second outline data whether described third round exterior feature data be both greater than described the first focal zone undetermined amasss, if, carry out following the 4th region comparison step, otherwise, select described the first focal zone undetermined as treating focal zone;
The 4th region comparison step, whether the preset multiple that judges described the first outline data is greater than described the second outline data, if so, selects described the second focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone.
5. the method as described in any one in claim 1-4, is characterized in that, described focus control step comprises:
Open step, open and move and once focus on motor;
The first outline data comparison step, described in acquisition, treat the outline data value that focal zone is current, and judge whether this outline data value is greater than mobile front this of motor that focus on and treats the outline data value of focal zone, if, keep focusing on motor and current state rotating Vortex, otherwise, adjust and focus on motor and current state reverse rotation;
The second outline data comparison step, described in continue obtaining after the current outline data value of focal zone, judge whether this outline data value continues to increase, if, keep focusing on motor and current state rotating Vortex, and this second outline data comparison step of circulation execution, until this outline data value stops increasing;
Stop step, close focusing motor, complete focusing.
6. an autofocus controlling apparatus for optical zoom video camera, in the situation that picture being shot exists the subject of different distance, focuses at least one subject wherein, it is characterized in that, includes:
Focal zone setting unit, for arranging on picture being shot after several focal zones undetermined, obtains the outline data of subject in each focal zone undetermined, and wherein, at least adjacent focal zone undetermined partially overlaps;
Focal zone selected cell, for select of subject area occupied maximum from described several focal zones undetermined, as treating focal zone;
Focus control unit, focuses on after motor for opening, and according to described, treats that the outline data situation of change of subject in focal zone drives focusing motor to treat that to this subject in focal zone focuses on.
7. device as claimed in claim 6, is characterized in that, described focal zone selected cell includes:
Ask coefficient product unit, for the outline data of each focal zone undetermined obtaining is multiplied by respectively after a default adjustment factor, then be multiplied by a preset multiple, the coefficient that obtains the outline data of subject in each focal zone undetermined is long-pending;
Region comparing unit, amasss for comparing outline data and the coefficient thereof of subject in each focal zone undetermined, obtains after the focal zone undetermined of subject area occupied maximum according to comparative result, selects this focal zone undetermined as treating focal zone;
Wherein, described default adjustment factor is the ratio of largest contours data value in the whole outline datas that obtain with corresponding focal zone outline data value undetermined.
8. device as claimed in claim 7, is characterized in that, described focal zone setting unit includes:
First area setting unit, for the middle position at picture being shot, choose the middle section that accounts for whole picture 33-45% area being shot, after the first focal zone undetermined, obtain the outline data of subject in this first focal zone undetermined, as the first outline data;
Second area setting unit, for the leftward position at picture being shot, choose the left field that accounts for whole picture 33-45% area being shot, after the second focal zone undetermined, obtain the outline data of subject in this second focal zone undetermined, as the second outline data;
The 3rd region division unit, for the right positions at picture being shot, choose the right side area that accounts for whole picture 33-45% area being shot, after the 3rd focal zone undetermined, obtain the outline data of subject in the 3rd focal zone undetermined, as the wide data of third round.
9. device as claimed in claim 8, is characterized in that, described region comparing unit includes:
First area comparing unit, long-pending for judging whether described the second outline data had both been greater than the coefficient coefficient long-pending, that be also greater than the wide data of described third round of described the first outline data, if so, start following second area comparing unit, otherwise, start following the 3rd region comparing unit;
Second area comparing unit, for judging that whether the preset multiple of described the first outline data is greater than the wide data of described third round, if so, selects described the 3rd focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone;
The 3rd region comparing unit, for judging that the coefficient coefficient long-pending, that be also greater than described the second outline data whether described third round exterior feature data be both greater than described the first focal zone undetermined amasss, if, start following the 4th region comparing unit, otherwise, select described the first focal zone undetermined as treating focal zone;
The 4th region comparing unit, for judging whether the preset multiple of described the first outline data is greater than described the second outline data, if so, select described the second focal zone undetermined as treating focal zone, otherwise, select described the first focal zone undetermined as treating focal zone.
10. the device as described in any one in claim 6-9, is characterized in that, described focus control unit includes:
Open unit, for opening and moving, once focus on motor;
The first outline data comparing unit, described in obtaining, treat the outline data value that focal zone is current, and judge whether this outline data value is greater than mobile front this of motor that focus on and treats the outline data value of focal zone, if, keep focusing on motor and current state rotating Vortex, otherwise, adjust and focus on motor and current state reverse rotation;
The second outline data comparing unit, for described in continuing to obtain after the current outline data value of focal zone, judge whether this outline data value continues to increase, if so, keep focusing on motor and current state rotating Vortex, until this outline data value stops increase;
Stop element, for closing focusing motor, completes focusing.
11. 1 kinds of optical focus video cameras, include amasthenic lens, graphics processing unit, control module, motor and motor driver, it is characterized in that, described control module includes the autofocus controlling apparatus as described in any one in claim 6-10.
CN201410185368.XA 2014-05-04 2014-05-04 Optical zoom video camera and its autofocus control method, device Active 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 true CN103984186A (en) 2014-08-13
CN103984186B CN103984186B (en) 2017-06-16

Family

ID=51276209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410185368.XA Active 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323481A (en) * 2015-10-15 2016-02-10 广东欧珀移动通信有限公司 Ultrasonic-based photographing method and device
CN107295262A (en) * 2017-07-28 2017-10-24 努比亚技术有限公司 Image processing method, mobile terminal and computer-readable storage medium
CN108020903A (en) * 2016-10-28 2018-05-11 广州康昕瑞基因健康科技有限公司 Auto focusing method and system
CN108200344A (en) * 2018-01-23 2018-06-22 江苏冠达通电子科技有限公司 The adjustment Zooming method of video camera
CN109274888A (en) * 2018-09-27 2019-01-25 惠州Tcl移动通信有限公司 A kind of method taken pictures, storage medium and mobile terminal

Citations (7)

* 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
US20060072915A1 (en) * 2004-08-18 2006-04-06 Casio Computer Co., Ltd. Camera with an auto-focus function
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
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

Patent Citations (7)

* 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
US20060072915A1 (en) * 2004-08-18 2006-04-06 Casio Computer Co., Ltd. Camera with an auto-focus function
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
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323481A (en) * 2015-10-15 2016-02-10 广东欧珀移动通信有限公司 Ultrasonic-based photographing method and device
CN108020903A (en) * 2016-10-28 2018-05-11 广州康昕瑞基因健康科技有限公司 Auto focusing method and system
CN107295262A (en) * 2017-07-28 2017-10-24 努比亚技术有限公司 Image processing method, mobile terminal and computer-readable storage medium
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
CN109274888A (en) * 2018-09-27 2019-01-25 惠州Tcl移动通信有限公司 A kind of method taken pictures, storage medium and mobile terminal
CN109274888B (en) * 2018-09-27 2020-08-11 惠州Tcl移动通信有限公司 Photographing method, storage medium and mobile terminal

Also Published As

Publication number Publication date
CN103984186B (en) 2017-06-16

Similar Documents

Publication Publication Date Title
CN103984186A (en) Optical zooming vidicon and automatic focusing control method and device thereof
CN101341738B (en) Camera apparatus and imaging method
CN105594194B (en) Image display device and image display method
US8830338B2 (en) Imaging device
CN105554364A (en) Image processing method and terminal
CN103916582A (en) Image processing method and device
CN104125405B (en) Interesting image regions extracting method based on eyeball tracking and autofocus system
CN106791376A (en) Imaging device, control method, control device and electronic installation
CN103986876A (en) Image acquiring terminal and image acquiring method
CN104902190A (en) Control method, photographic device and electronic device
JPH0473672B2 (en)
EP2747414A1 (en) Monitoring method and camera
CN103167233A (en) Display apparatus and method
EP3373574B1 (en) Control method and system comprising a control device and an electronic apparatus
CN103765374A (en) Interactive screen viewing
CN106331517A (en) Soft light lamp brightness control method and electronic device
US6646687B1 (en) Automatic background scene defocusing for image compositing
US6070016A (en) Lens control device
CN109040722A (en) The system and its implementation of mobile phone realization ultra short focal projector auto-focusing
US20020008772A1 (en) Light amount adjusting apparatus and optical apparatus having the same
US11770618B2 (en) Systems and methods for obtaining a smart panoramic image
CN109005325B (en) Facial camera device and method based on interactive intelligent light supplementing
CN110012235A (en) Imagewise exposure control method and device, computer readable storage medium, system
JP4536248B2 (en) Imaging device
CN105007410A (en) Large viewing angle camera control method and user terminal

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