CN104065885A - Terminal, and video shooting device and method - Google Patents

Terminal, and video shooting device and method Download PDF

Info

Publication number
CN104065885A
CN104065885A CN201410300830.6A CN201410300830A CN104065885A CN 104065885 A CN104065885 A CN 104065885A CN 201410300830 A CN201410300830 A CN 201410300830A CN 104065885 A CN104065885 A CN 104065885A
Authority
CN
China
Prior art keywords
automatic focusing
focusing function
module
predetermined threshold
threshold value
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
CN201410300830.6A
Other languages
Chinese (zh)
Other versions
CN104065885B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201410300830.6A priority Critical patent/CN104065885B/en
Publication of CN104065885A publication Critical patent/CN104065885A/en
Application granted granted Critical
Publication of CN104065885B publication Critical patent/CN104065885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a terminal, and a video shooting device and method. The method comprises the following steps: a shooting enabling instruction is received, and video shooting is enabled according to the shooting enabling instruction; in the video shooting process, monitoring is performed to see whether the automatic focusing function enabling or disenabling condition is satisfied, in the state that the automatic focusing function is enabled, if the automatic focusing function disenabling condition is satisfied, then the automatic focusing function is disenabled, and in the state that the automatic focusing function is disenabled, if the automatic focusing function enabling condition is satisfied, then the automatic focusing function is enabled; and a shooting disenabling instruction is received, and the video shooting is finished according to the shooting disenabling instruction. According to the invention, through the technical scheme, the problem that the existing automatic focusing function is easy to have unstable picture clarity can be solved.

Description

A kind of terminal, video shooting device and method
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of terminal, video shooting device and method.
Background technology
The existing device with video camera function all has automatic focusing function, when starting camera, acquiescence is opened automatic focusing function, after once automatic focusing function is opened, in whole video capture process, according to the variation of picture, automatically focus, until while finishing video capture, acquiescence is closed automatic focusing function.Therefore, prior art is in video capture process, and automatic focusing function is held open state always, the closing or opening of uncontrollable automatic focusing function.
Although automatic focusing function has brought facility to user.But, once after automatic focusing function opens, be subject in the defect, video capture process of its algorithm design the shake of video shooting device, the impact of variation of the variation of subject, photographed scene luminous environment etc. factor can trigger focusing again continually.Especially in the situation that the change of distance between subject and camera lens is little, picture still clearly, in fact without focusing, but the impact due to more above-mentioned factors, still can trigger again focusing, cause picture to occur that one is clearly arrived process clearly again to fuzzy, if at dollying, easily there is the long-time fuzzy situation of whole picture, to user, bring bad experience.
Summary of the invention
The invention provides a kind of terminal, video shooting device and method, solve existing automatic focusing function and easily occur the unsettled problem of image sharpness.
For solving the problems of the technologies described above, the present invention by the following technical solutions:
A video shooting device, comprising: start taking module, for receiving shooting enabled instruction, according to described shooting enabled instruction, start video capture; The first monitoring module, for video capture process, whether monitoring meets automatic focusing function unlocking condition; The second monitoring module, for video capture process, whether monitoring meets automatic focusing function is closed condition; Automatic focusing function control module, while closing condition for meet automatic focusing function under automatic focusing function opening, close automatic focusing function, while meeting automatic focusing function unlocking condition under automatic focusing function closed condition, open automatic focusing function; Automatic focusing module, opens after automatic focusing function for automatic focusing function control module, according to predetermined manner, automatically focuses; Close taking module, for receiving shooting out code, according to described shooting out code, finish video capture.
Further, the first monitoring module comprises the first receiver module, or comprises the first computing module and the first judge module, or comprises the first computing module, the first judge module, the first reminding module and the first receiver module; The first receiver module is used for receiving outside automatic focusing function open operation; The first computing module is for calculating the contrast evaluation value of the current collection picture of view-finder; Whether the contrast evaluation value that the first judge module is used for judging the current collection picture of view-finder is lower than the first predetermined threshold value; The first reminding module, under automatic focusing function closed condition, when the contrast evaluation value that judgment result is that the current collection picture of view-finder of the first judge module is equal to or less than the first predetermined threshold value, is pointed out user.
Further, the second monitoring module comprises the second receiver module, or comprises the second computing module and the second judge module, or comprises the second computing module, the second judge module, the second reminding module and the second receiver module; The second receiver module is used for receiving outside automatic focusing function shutoff operation; The second computing module for carrying out following at least one calculating under automatic focusing function opening: calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section, calculate the change frequency of contrast evaluation value in described Preset Time section according to the contrast evaluation value calculating; Calculate the automatic focusing frequency in a nearest Preset Time section; Calculate nearest adjusting range of automatically focusing for twice; The second judge module is used for carrying out following at least one judgement: judge whether the described change frequency that the second computing module calculates is equal to or greater than the second predetermined threshold value; Judge whether the described automatic focusing frequency that the second computing module calculates is equal to or greater than the 3rd predetermined threshold value; Judge whether the described nearest adjusting range of automatically focusing for twice that the second computing module calculates is equal to or greater than the 4th predetermined threshold value; The second reminding module judgment result is that for the second judge module described change frequency is equal to or greater than the second predetermined threshold value, described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, or when described nearest adjusting range of automatically focusing for twice is equal to or greater than the 4th predetermined threshold value, prompting user.
Further, automatic focusing module comprises: the 3rd computing module, for automatic focusing function control module, open after automatic focusing function, and calculate the contrast evaluation value of the two continuous frames picture of up-to-date shooting; The 3rd judge module, for judging whether the difference of the contrast evaluation value of this two continuous frames picture is equal to or greater than the 5th predetermined threshold value; Focusing module, while being equal to or greater than the 5th predetermined threshold value for the described difference of judgment result is that of the 3rd judge module, focuses.
A video camera method, comprising: receive and take enabled instruction, according to described shooting enabled instruction, start video capture; In video capture process, whether monitoring meets automatic focusing function is opened or closes condition, if meet automatic focusing function under automatic focusing function opening, close condition, close automatic focusing function, if meet automatic focusing function unlocking condition under automatic focusing function closed condition, open automatic focusing function; Receive and take out code, according to described shooting out code, finish video capture.
Further, the method that whether monitoring meets automatic focusing function unlocking condition comprises:
Whether monitoring receives outside automatic focusing function open operation, if receive outside automatic focusing function open operation under automatic focusing function closed condition, monitoring result is for meeting automatic focusing function unlocking condition; Or, calculate the contrast evaluation value of the current collection picture of view-finder, whether the contrast evaluation value that judges the current collection picture of view-finder is equal to or less than the first predetermined threshold value, if under automatic focusing function closed condition, the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, and monitoring result is for meeting automatic focusing function unlocking condition.
Further, before whether monitoring receives outside automatic focusing function open operation, also comprise: the contrast evaluation value of calculating the current collection picture of view-finder, whether the contrast evaluation value that judges the current collection picture of view-finder is equal to or less than the first predetermined threshold value, if under automatic focusing function closed condition, the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, points out user.
Further, monitoring whether meet automatic focusing function close the method for condition comprise following at least one:
Whether monitoring receives outside automatic focusing function shutoff operation, if receive outside automatic focusing function shutoff operation under automatic focusing function opening, monitoring result is closed condition for meeting automatic focusing function;
Under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section; According to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section; Judge whether described change frequency is equal to or greater than the second predetermined threshold value, if so, monitoring result is closed condition for meeting automatic focusing function;
Under automatic focusing function opening, calculate the automatic focusing frequency in a nearest Preset Time section, judge whether described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, and if so, monitoring result is closed condition for meeting automatic focusing function;
Under automatic focusing function opening, calculate nearest adjusting range of automatically focusing for twice; Judge whether described adjusting range is equal to or greater than the 4th predetermined threshold value, and if so, monitoring result is closed condition for meeting automatic focusing function.
Further, before whether monitoring receives outside automatic focusing function shutoff operation, also comprise according to following at least one mode and point out user:
Under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section; According to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section; Judge whether described change frequency is equal to or greater than the second predetermined threshold value, if so, point out user;
Under automatic focusing function opening, calculate the automatic focusing frequency in a nearest Preset Time section, judge that whether described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, if so, points out user;
Under automatic focusing function opening, calculate nearest adjusting range of automatically focusing for twice; Judge that whether described adjusting range is equal to or greater than the 4th predetermined threshold value, if so, points out user.
A terminal, comprises terminal body, and described video shooting device.
The invention provides a kind of terminal, video shooting device and method, in video capture process, whether monitoring meets automatic focusing function is opened or closes condition, if meet automatic focusing function under automatic focusing function opening, close condition, close automatic focusing function, if meet automatic focusing function unlocking condition under automatic focusing function closed condition, open automatic focusing function.Therefore, scheme provided by the invention, in video capture process, also can control the opening and closing of automatic focusing function, thereby can effectively utilize automatic focusing function to carry out the service for user, avoids being subject to the impact of irrelevant factor, occurs continually focusing again.
Accompanying drawing explanation
The flow chart of the video camera method that Fig. 1 provides for one embodiment of the invention;
The schematic diagram of the video shooting device that Fig. 2 provides for one embodiment of the invention.
Embodiment
Terminal in the present invention, including, but not limited to mobile phone, PAD, digital camera, PC, except comprising terminal body, also comprises video shooting device provided by the invention in terminal.
Below by embodiment, by reference to the accompanying drawings the present invention is described in further detail.
The flow chart of the video camera method that Fig. 1 provides for one embodiment of the invention, please refer to Fig. 1, comprises following flow process:
Enabled instruction is taken in S101, reception, according to described shooting enabled instruction, starts video capture.
In S102, video capture process, whether monitoring meets automatic focusing function is opened or closes condition, if meet automatic focusing function under automatic focusing function opening, close condition, close automatic focusing function, if meet automatic focusing function unlocking condition under automatic focusing function closed condition, open automatic focusing function;
Out code is taken in S103, reception, according to described shooting out code, finishes video capture.
The mode of opening automatic focusing function in step S102 video capture process, comprises following three kinds substantially: A, also manually opened by the subjective monitoring of user; B, by automatically monitoring automatically opening of video shooting device; C, by automatically monitoring pointing out to user of video shooting device, more manually opened by user, i.e. the manual mode of semi-intelligent half.Wherein,
A, by the subjective monitoring of user manually opened mode, this mode is determined the unlatching of automatic focusing function, comparatively hommization by user.Comprise:
In video capture process, whether monitoring receives outside automatic focusing function open operation, if receive outside automatic focusing function open operation under automatic focusing function closed condition, meet automatic focusing function unlocking condition, open automatic focusing function.Concrete, unlatching button can be set on video shooting device, comprise physical button or be arranged at the virtual key on interface, user clicks or touches this unlatching button as outside automatic focusing function open operation.Based on this mode, in video capture process, user can be according to the demand of oneself, open at any time automatic focusing function, for example, when user judges that by human eye the picture of the current collection of view-finder is clear not, click or touch this unlatching button, just can open automatic focusing function, comparatively hommization.
B, the mode of automatically being monitored and automatically opening by video shooting device, the mode of this mode for automatically being carried out by video shooting device, provides convenience to user.Including, but not limited to following cited:
In video capture process, calculate the contrast evaluation value of the current collection picture of view-finder, whether the contrast evaluation value that judges the current collection picture of view-finder is equal to or less than the first predetermined threshold value, if under automatic focusing function closed condition, the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, monitoring result, for meeting automatic focusing function unlocking condition, is opened automatic focusing function.
The concrete mode of calculating contrast evaluation value can be with reference to prior art, for example, utilize the light and shade difference of each pixel of picture to calculate, because fuzzy picture, bright with secretly not obvious between pixel, and picture clearly, bright following between pixel secretly can be clearly, therefore, according to the absolute value of the light and shade difference between certain order computation neighbor, then summation just can calculate the contrast evaluation value of a frame picture.Contrast evaluation value is larger, represents that picture is more clear.The first predetermined threshold value is set in advance by user or by the video shooting device default setting that dispatches from the factory, the first predetermined threshold value is less, the minimum requirements of expression to image sharpness, if the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, the definition that represents the current collection picture of view-finder has reached or lower than minimum requirements, this kind of situation meets automatic focusing function unlocking condition.
C, by automatically monitoring pointing out to user of video shooting device, more manually opened by user, i.e. the manual mode of semi-intelligent half.This mode has realized the intellectuality of monitoring step on the one hand, to user, provides convenience, and another conveniently also has no lack of hommization, and prompting user determines the mode of whether opening by user again, also can effectively revise the video shooting device accuracy of monitoring automatically.Including, but not limited to following cited:
In video capture process, calculate the contrast evaluation value of the current collection picture of view-finder, whether the contrast evaluation value that judges the current collection picture of view-finder is equal to or less than the first predetermined threshold value, if under automatic focusing function closed condition, the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, to preset form prompting user, if thinking, user is necessary to open automatic focusing function, carry out outside automatic focusing function open operation, video shooting device receives outside automatic focusing function open operation, meet automatic focusing function unlocking condition, open automatic focusing function.
In step S102 video capture process, close the mode of automatic focusing function, also comprise substantially following three kinds: D, by the subjective monitoring of user manual-lock; E, by automatically monitoring automatically closing of video shooting device; F, by automatically monitoring pointing out to user of video shooting device, then by user's manual-lock, i.e. the manual mode of semi-intelligent half.Wherein,
D, by the mode of the subjective monitoring of user manual-lock, this mode determines closing of automatic focusing function, comparatively hommization by user.Comprise:
In video capture process, whether monitoring receives outside automatic focusing function shutoff operation, if receive outside automatic focusing function shutoff operation under automatic focusing function opening, meet automatic focusing function and close condition, close automatic focusing function.Concrete, can on video shooting device, arrange and close button, comprise physical button or be arranged at the virtual key on interface, user clicks or touches this and closes button as outside automatic focusing function shutoff operation.Based on this mode, in video capture process, user can be according to the demand of oneself, close at any time automatic focusing function, for example, when user is judged and thought that the picture of the current collection of view-finder is enough clear by human eye, and think that change of distance before actual subject and camera lens is in little a period of time, can close button by clicking or touch this, close automatic focusing function, comparatively hommization.
E, the mode of automatically being monitored and automatically closing by video shooting device, this mode, for automatically to be carried out by video shooting device, is provided convenience to user.Including, but not limited to following cited:
In E1, video capture process, under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section; According to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section; Judge whether described change frequency is equal to or greater than the second predetermined threshold value, if so, monitoring result is closed condition for meeting automatic focusing function, closes automatic focusing function.The concrete mode of calculating described change frequency is including, but not limited to following cited:
E11, under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section T1, the contrast evaluation value of every adjacent two frame pictures is compared, if different, change frequency adds 1, so calculates in this Preset Time section T1 the variation total degree of contrast evaluation value, the change frequency of contrast evaluation value in this Preset Time section T1, equals the variation total degree of contrast evaluation value divided by T1.
E12, under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section T1, according to frame number, by every X continuously, (X is more than or equal to 1 successively, preferred X equals 5) the contrast evaluation value of frame picture is divided into one group, contrast evaluation value to every group is averaged, the change frequency of calculating mean value again, the mean value that is about to every two adjacent groups compares, if different, change frequency adds 1, so calculate in this Preset Time section T1, the variation total degree of mean value, the change frequency of contrast evaluation value in this Preset Time section T1, equal the variation total degree of mean value divided by T1.
The second predetermined threshold value is set in advance by user or by the video shooting device default setting that dispatches from the factory.The change frequency of contrast evaluation value is larger, represents that the variation of the definition of captured picture in this Preset Time section T1 is more frequent.If the change frequency of contrast evaluation value is equal to or greater than the second predetermined threshold value, the variation that represents the definition of captured picture in this Preset Time section T1 is too frequent, under some abnormal conditions, for example, the rocking fast of photographer (photographer tumbles suddenly), or the person's of being taken fast moving (person of being taken tumbles suddenly), when this speed reaches certain value, can cause the change frequency of contrast evaluation value in this Preset Time section T1 to be equal to or greater than the second predetermined threshold value, this process is normally very of short duration, whether the captured picture of this process is enough clear is inessential, this abnormal condition meets automatic focusing function and closes condition, need to close.
In E2, video capture process, under automatic focusing function opening, calculate the automatic focusing frequency in a nearest Preset Time section T2, judge whether described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, if, monitoring result is closed condition for meeting automatic focusing function, closes automatic focusing function.The concrete mode of calculating described automatic focusing frequency is including, but not limited to following cited:
Under automatic focusing function opening, calculate the number of times of a nearest Preset Time section T2 inner lens automatic displacement, camera lens automatic displacement once, represents that focusing once automatically, in this Preset Time section T2, automatic focusing frequency, equals the number of times of this Preset Time section T2 inner lens automatic displacement divided by T2.
The 3rd predetermined threshold value is set in advance by user or by the video shooting device default setting that dispatches from the factory.Automatically focusing frequency is larger, represents to repeat in this Preset Time section T2 the more frequent of focusing.If the frequency of automatically focusing is equal to or greater than the 3rd predetermined threshold value, represent to repeat to focus in this Preset Time section T2 too frequent, the reason that the causes this situation normally change frequency of contrast evaluation value is too frequent, similar above-mentioned E1, this appears under some abnormal conditions conventionally, for example, photographer's the fast moving of rocking fast (photographer tumbles suddenly) or the person of being taken (person of being taken tumbles suddenly).This abnormal condition meets automatic focusing function and closes condition, need to close.
In E3, video capture process, under automatic focusing function opening, calculate nearest adjusting range of automatically focusing for twice; Judge whether described adjusting range is equal to or greater than the 4th predetermined threshold value, and if so, monitoring result is closed condition for meeting automatic focusing function, closes automatic focusing function.The concrete mode of calculating nearest adjusting range of automatically focusing for twice is including, but not limited to following cited:
Under automatic focusing function opening, to calculate and occur in the displacement difference of twice nearest camera lens automatic displacement, then displacement difference is asked to absolute value, nearest adjusting range of automatically focusing for twice equals the absolute value of this displacement difference.
The 4th predetermined threshold value is set in advance by user or by the video shooting device default setting that dispatches from the factory.Automatically the adjusting range of focusing is larger, and larger for the variation of user's image sharpness, under some abnormal conditions, for example the object distance between photographer and the person of being taken widens suddenly or dwindles suddenly.And under normal circumstances, the variation of object distance is incremental.This abnormal condition meets automatic focusing function and closes condition, need to close.
F, by automatically monitoring pointing out to user of video shooting device, then by user's manual-lock, i.e. the manual mode of semi-intelligent half.This mode has realized the intellectuality of monitoring step on the one hand, to user, provides convenience, and another conveniently also has no lack of hommization, and prompting user determines the mode of whether closing by user again, also can effectively revise the video shooting device accuracy of monitoring automatically.Including, but not limited to following cited:
In F1, video capture process, under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section; According to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section; Judge whether described change frequency is equal to or greater than the second predetermined threshold value, if, to preset form prompting user, if thinking, user is necessary to close automatic focusing function, carry out outside automatic focusing function shutoff operation, video shooting device receives outside automatic focusing function shutoff operation, meets automatic focusing function and closes condition, closes automatic focusing function.The mode of the described change frequency of concrete calculating is cited including, but not limited to above-mentioned E11 and E12.
In F2, video capture process, under automatic focusing function opening, calculate the automatic focusing frequency in a nearest Preset Time section T2, judge whether described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, if, to preset form prompting user, if thinking, user is necessary to close automatic focusing function, carry out outside automatic focusing function shutoff operation, video shooting device receives outside automatic focusing function shutoff operation, meet automatic focusing function and close condition, close automatic focusing function.The mode of the described automatic focusing frequency of concrete calculating is cited including, but not limited to above-mentioned E3.
In F3, video capture process, under automatic focusing function opening, calculate nearest adjusting range of automatically focusing for twice; Judge whether described adjusting range is equal to or greater than the 4th predetermined threshold value, if, to preset form prompting user, if thinking, user is necessary to close automatic focusing function, carry out outside automatic focusing function shutoff operation, video shooting device receives outside automatic focusing function shutoff operation, meets automatic focusing function and closes condition, closes automatic focusing function.The mode of the nearest adjusting range of automatically focusing for twice of concrete calculating is cited including, but not limited to above-mentioned E4.
In the present embodiment, described automatic focusing function carries out automatic cycle after opening in the following manner:
Calculate the contrast evaluation value of the two continuous frames picture of up-to-date shooting, judge whether the difference of the contrast evaluation value of this two continuous frames picture is equal to or greater than the 5th predetermined threshold value, if so, focus; If not, return to calculation procedure.
The present invention also provides video shooting device, as shown in Figure 2, video shooting device 2 comprises startup taking module 21, the first monitoring module 22, the second monitoring module 23, automatic focusing function control module 24, automatic focusing module 25 and closes taking module 26, wherein, start taking module 21 for receiving shooting enabled instruction, according to described shooting enabled instruction, start video capture; The first monitoring module 22 is for video capture process, and whether monitoring meets automatic focusing function unlocking condition; The second monitoring module 23 is for video capture process, and whether monitoring meets automatic focusing function is closed condition; When automatic focusing function control module 24 is closed condition for meet automatic focusing function under automatic focusing function opening, close automatic focusing function, while meeting automatic focusing function unlocking condition under automatic focusing function closed condition, open automatic focusing function; Automatic focusing module 25 is opened after automatic focusing function for automatic focusing function control module 24, according to predetermined manner, automatically focuses; Close taking module 26 for receiving shooting out code, according to described shooting out code, finish video capture.
In certain embodiments, automatic focusing module 25 comprises the 3rd computing module, the 3rd judge module and Focusing module, wherein, the 3rd computing module is opened after automatic focusing function for automatic focusing function control module 24, calculates the contrast evaluation value of the two continuous frames picture of up-to-date shooting; The 3rd judge module is for judging whether the difference of the contrast evaluation value of this two continuous frames picture is equal to or greater than the 5th predetermined threshold value, focuses if trigger Focusing module, otherwise triggering the 3rd computing module, returns to calculating; Focusing module judgment result is that when described difference is equal to or greater than the 5th predetermined threshold value for the 3rd judge module, focuses.
In certain embodiments, the first monitoring module 22 comprises the first receiver module, for receiving outside automatic focusing function open operation; If receive outside automatic focusing function open operation under automatic focusing function closed condition, monitoring result is for meeting automatic focusing function unlocking condition; Trigger automatic focusing function control module 24 and open automatic focusing function.
In certain embodiments, the first monitoring module 22 comprises the first computing module and the first judge module, and the first computing module is for calculating the contrast evaluation value of the current collection picture of view-finder; Whether the contrast evaluation value that the first judge module is used for judging the current collection picture of view-finder is lower than the first predetermined threshold value; If under automatic focusing function closed condition, the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, monitoring result, for meeting automatic focusing function unlocking condition, triggers automatic focusing function control module 24 and opens automatic focusing function.
In certain embodiments, the first monitoring module 22 comprises the first computing module, the first judge module, the first reminding module and the first receiver module, and the first computing module is for calculating the contrast evaluation value of the current collection picture of view-finder; Whether the contrast evaluation value that the first judge module is used for judging the current collection picture of view-finder is lower than the first predetermined threshold value; The first reminding module, under automatic focusing function closed condition, when the contrast evaluation value that judgment result is that the current collection picture of view-finder of the first judge module is equal to or less than the first predetermined threshold value, is pointed out user; If thinking, user is necessary to open automatic focusing function, for example, when user thinks that by subjective judgement definition is inadequate, user carries out outside automatic focusing function open operation, the first receiver module receives outside automatic focusing function open operation, meet automatic focusing function unlocking condition, trigger automatic focusing function control module 24 and open automatic focusing function.
In certain embodiments, the second monitoring module 23 comprises the second receiver module, be used for receiving outside automatic focusing function shutoff operation, if receive outside automatic focusing function shutoff operation under automatic focusing function opening, monitoring result is closed condition for meeting automatic focusing function, triggers automatic focusing function control module 24 and closes automatic focusing function.
In certain embodiments, the second monitoring module 23 comprises the second computing module and the second judge module, and wherein, the second computing module for carrying out following at least one calculating under automatic focusing function opening:
Calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section, according to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section;
Calculate the automatic focusing frequency in a nearest Preset Time section;
Calculate nearest adjusting range of automatically focusing for twice;
The second judge module is used for carrying out following at least one judgement:
Judge whether the described change frequency that the second computing module calculates is equal to or greater than the second predetermined threshold value;
Judge whether the described automatic focusing frequency that the second computing module calculates is equal to or greater than the 3rd predetermined threshold value;
Judge whether the described nearest adjusting range of automatically focusing for twice that the second computing module calculates is equal to or greater than the 4th predetermined threshold value;
If the second judge module judgment result is that described change frequency is equal to or greater than the second predetermined threshold value, described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, or when described nearest adjusting range of automatically focusing for twice is equal to or greater than the 4th predetermined threshold value, monitoring result is closed condition for meeting automatic focusing function, triggers automatic focusing function control module 24 and closes automatic focusing function.
In certain embodiments, the second monitoring module 23 comprises the second computing module, the second judge module, the second reminding module and the second receiver module, and wherein, the second computing module for carrying out following at least one calculating under automatic focusing function opening:
Calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section, according to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section;
Calculate the automatic focusing frequency in a nearest Preset Time section;
Calculate nearest adjusting range of automatically focusing for twice;
The second judge module is used for carrying out following at least one judgement:
Judge whether the described change frequency that the second computing module calculates is equal to or greater than the second predetermined threshold value;
Judge whether the described automatic focusing frequency that the second computing module calculates is equal to or greater than the 3rd predetermined threshold value;
Judge whether the described nearest adjusting range of automatically focusing for twice that the second computing module calculates is equal to or greater than the 4th predetermined threshold value;
The second reminding module judgment result is that for the second judge module described change frequency is equal to or greater than the second predetermined threshold value, described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, or when described nearest adjusting range of automatically focusing for twice is equal to or greater than the 4th predetermined threshold value, prompting user; If thinking, user is necessary to close automatic focusing function, for example, when user thinks that by subjective judgement the change of distance of subject and camera lens is little, user carries out outside automatic focusing function shutoff operation, the second receiver module receives outside automatic focusing function shutoff operation, meet automatic focusing function and close condition, trigger automatic focusing function control module 24 and close automatic focusing function.
Suppose that video shooting device is mobile phone, user opens camera, acquiescence is opened automatic focusing function simultaneously, view-finder Real-time Collection picture, automatic focusing function circulates after opening immediately in the following manner: calculate the contrast evaluation value of the two continuous frames picture of up-to-date shooting, judge whether the difference of the contrast evaluation value of this two continuous frames picture is equal to or greater than the 5th predetermined threshold value, if, focus, if not, return to calculation procedure.When user thinks that picture in view-finder is enough clear, click shooting pushbutton enable video capture, in video capture process, by either type provided by the invention, control the opening and closing of automatic focusing function, one virtual key is for example set below view-finder, user judges the definition of picture by human eye, if definition is enough, can touch this virtual key to close automatic focusing function, automatic focusing function only has after closing and is reopened just and can play a role, automatically focus, otherwise do not play a role; Carrying out along with taking, when user finds that picture is clear not, can touch this virtual key again to reopen automatic focusing function, by the automatic focusing function after reopening, is again brought into play its effect, according to above-mentioned circulation step, carries out.Can solve like this because the algorithm for design defect of automatic focusing function own, the shake of video shooting device are, the impact of the factors such as variation of the variation of subject, photographed scene luminous environment causes fuzzy pictures and the uncontrollable problem of user, user controls and whether opens, closes automatic focusing function the judgement of image sharpness according to own.
The present invention is in video capture process, by manually, the full-automatic or manual mode of semi-intelligent half control automatic focusing function unlatching, close, can effectively improve the use to automatic focusing function, be allowed to condition at applicable time and play a role, in the time of unaccommodated, close.Such as following scene can be improved very greatly video capture effect:
Scene one, hold the head of a family of video shooting device, the child who runs or walk about is carried out to video capture, in shooting process, if automatic focusing function is opening always, can be due to itself algorithm for design defect, the head of a family walks about, child walks about, the impact of the factors such as variation of photographed scene luminous environment, there is repeating continually focusing, cause picture fuzzy for a long time, and in fact, in this process, the head of a family conventionally can hold video shooting device and follow child to walk about, that is to say, in fact the change of distance between video shooting device and child is little, the picture that do not repeat to focus still can keep clear state, therefore in this case, can adopt scheme provided by the invention to close automatic focusing function, it is good that shooting effect carries out frequent focusing than automatic focusing function one direct-open on the contrary.
Scene two, in session time, after the position of video shooting device is fixed, carry out video capture, in fact the distance between video shooting device and subject does not change, if but automatic focusing function one direct-open, may can cause focusing again due to walking about of the variation of itself algorithm for design defect, projecting apparatus, speaker etc., focusing again at this time can cause effect bad on the contrary, as long as picture is clearly after focusing in the time of at the beginning, so just can close automatic focusing function, shooting effect is afterwards better on the contrary.
The present invention also provides a kind of terminal, comprises terminal body and described video shooting device provided by the invention.
Above content is in conjunction with concrete execution mode 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 (10)

1. a video shooting device, is characterized in that, comprising:
Start taking module, for receiving shooting enabled instruction, according to described shooting enabled instruction, start video capture;
The first monitoring module, for video capture process, whether monitoring meets automatic focusing function unlocking condition;
The second monitoring module, for video capture process, whether monitoring meets automatic focusing function is closed condition;
Automatic focusing function control module, while closing condition for meet automatic focusing function under automatic focusing function opening, close automatic focusing function, while meeting automatic focusing function unlocking condition under automatic focusing function closed condition, open automatic focusing function;
Automatic focusing module, opens after automatic focusing function for automatic focusing function control module, according to predetermined manner, automatically focuses;
Close taking module, for receiving shooting out code, according to described shooting out code, finish video capture.
2. video shooting device as claimed in claim 1, it is characterized in that, the first monitoring module comprises the first receiver module, or comprises the first computing module and the first judge module, or comprises the first computing module, the first judge module, the first reminding module and the first receiver module;
The first receiver module is used for receiving outside automatic focusing function open operation;
The first computing module is for calculating the contrast evaluation value of the current collection picture of view-finder;
Whether the contrast evaluation value that the first judge module is used for judging the current collection picture of view-finder is lower than the first predetermined threshold value;
The first reminding module, under automatic focusing function closed condition, when the contrast evaluation value that judgment result is that the current collection picture of view-finder of the first judge module is equal to or less than the first predetermined threshold value, is pointed out user.
3. video shooting device as claimed in claim 1, it is characterized in that, the second monitoring module comprises the second receiver module, or comprises the second computing module and the second judge module, or comprises the second computing module, the second judge module, the second reminding module and the second receiver module;
The second receiver module is used for receiving outside automatic focusing function shutoff operation;
The second computing module for carrying out following at least one calculating under automatic focusing function opening:
Calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section, according to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section;
Calculate the automatic focusing frequency in a nearest Preset Time section;
Calculate nearest adjusting range of automatically focusing for twice;
The second judge module is used for carrying out following at least one judgement:
Judge whether the described change frequency that the second computing module calculates is equal to or greater than the second predetermined threshold value;
Judge whether the described automatic focusing frequency that the second computing module calculates is equal to or greater than the 3rd predetermined threshold value;
Judge whether the described nearest adjusting range of automatically focusing for twice that the second computing module calculates is equal to or greater than the 4th predetermined threshold value;
The second reminding module judgment result is that for the second judge module described change frequency is equal to or greater than the second predetermined threshold value, described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, or when described nearest adjusting range of automatically focusing for twice is equal to or greater than the 4th predetermined threshold value, prompting user.
4. the video shooting device as described in claims 1 to 3 any one, is characterized in that, automatic focusing module comprises:
The 3rd computing module, opens after automatic focusing function for automatic focusing function control module, calculates the contrast evaluation value of the two continuous frames picture of up-to-date shooting;
The 3rd judge module, for judging whether the difference of the contrast evaluation value of this two continuous frames picture is equal to or greater than the 5th predetermined threshold value;
Focusing module, while being equal to or greater than the 5th predetermined threshold value for the described difference of judgment result is that of the 3rd judge module, focuses.
5. a video camera method, is characterized in that, comprising:
Receive and take enabled instruction, according to described shooting enabled instruction, start video capture;
In video capture process, whether monitoring meets automatic focusing function is opened or closes condition, if meet automatic focusing function under automatic focusing function opening, close condition, close automatic focusing function, if meet automatic focusing function unlocking condition under automatic focusing function closed condition, open automatic focusing function;
Receive and take out code, according to described shooting out code, finish video capture.
6. video camera method as claimed in claim 5, is characterized in that, the method whether monitoring meets automatic focusing function unlocking condition comprises:
Whether monitoring receives outside automatic focusing function open operation, if receive outside automatic focusing function open operation under automatic focusing function closed condition, monitoring result is for meeting automatic focusing function unlocking condition;
Or, calculate the contrast evaluation value of the current collection picture of view-finder, whether the contrast evaluation value that judges the current collection picture of view-finder is equal to or less than the first predetermined threshold value, if under automatic focusing function closed condition, the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, and monitoring result is for meeting automatic focusing function unlocking condition.
7. video camera method as claimed in claim 6, is characterized in that, monitoring also comprises before whether receiving outside automatic focusing function open operation:
Calculate the contrast evaluation value of the current collection picture of view-finder, whether the contrast evaluation value that judges the current collection picture of view-finder is equal to or less than the first predetermined threshold value, if under automatic focusing function closed condition, the contrast evaluation value of the current collection picture of view-finder is equal to or less than the first predetermined threshold value, points out user.
8. video camera method as claimed in claim 5, is characterized in that, monitoring whether meet automatic focusing function close the method for condition comprise following at least one:
Whether monitoring receives outside automatic focusing function shutoff operation, if receive outside automatic focusing function shutoff operation under automatic focusing function opening, monitoring result is closed condition for meeting automatic focusing function;
Under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section; According to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section; Judge whether described change frequency is equal to or greater than the second predetermined threshold value, if so, monitoring result is closed condition for meeting automatic focusing function;
Under automatic focusing function opening, calculate the automatic focusing frequency in a nearest Preset Time section, judge whether described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, and if so, monitoring result is closed condition for meeting automatic focusing function;
Under automatic focusing function opening, calculate nearest adjusting range of automatically focusing for twice; Judge whether described adjusting range is equal to or greater than the 4th predetermined threshold value, and if so, monitoring result is closed condition for meeting automatic focusing function.
9. video camera method as claimed in claim 8, is characterized in that, before whether monitoring receives outside automatic focusing function shutoff operation, also comprises according to following at least one mode and points out user:
Under automatic focusing function opening, calculate the contrast evaluation value of every frame picture of taking in a nearest Preset Time section; According to the contrast evaluation value calculating, calculate the change frequency of contrast evaluation value in described Preset Time section; Judge whether described change frequency is equal to or greater than the second predetermined threshold value, if so, point out user;
Under automatic focusing function opening, calculate the automatic focusing frequency in a nearest Preset Time section, judge that whether described automatic focusing frequency is equal to or greater than the 3rd predetermined threshold value, if so, points out user;
Under automatic focusing function opening, calculate nearest adjusting range of automatically focusing for twice; Judge that whether described adjusting range is equal to or greater than the 4th predetermined threshold value, if so, points out user.
10. a terminal, is characterized in that, comprises terminal body, and the video shooting device as described in claim 1 to 4 any one.
CN201410300830.6A 2014-06-27 2014-06-27 A kind of terminal, video shooting device and method Active CN104065885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410300830.6A CN104065885B (en) 2014-06-27 2014-06-27 A kind of terminal, video shooting device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410300830.6A CN104065885B (en) 2014-06-27 2014-06-27 A kind of terminal, video shooting device and method

Publications (2)

Publication Number Publication Date
CN104065885A true CN104065885A (en) 2014-09-24
CN104065885B CN104065885B (en) 2018-02-13

Family

ID=51553397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410300830.6A Active CN104065885B (en) 2014-06-27 2014-06-27 A kind of terminal, video shooting device and method

Country Status (1)

Country Link
CN (1) CN104065885B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811620A (en) * 2015-04-28 2015-07-29 上海与德通讯技术有限公司 Focusing method and focusing system
CN105657278A (en) * 2016-02-29 2016-06-08 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN105681669A (en) * 2016-02-29 2016-06-15 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN106125879A (en) * 2016-06-14 2016-11-16 深圳市金立通信设备有限公司 A kind of method reducing power consumption of terminal and terminal
CN108471524A (en) * 2018-02-28 2018-08-31 北京小米移动软件有限公司 Focusing method and device and storage medium
CN109196403A (en) * 2016-06-01 2019-01-11 富士胶片株式会社 Photographic device, focusing control method and focusing control program
CN113141502A (en) * 2021-03-18 2021-07-20 青岛小鸟看看科技有限公司 Camera shooting control method and device of head-mounted display equipment and head-mounted display equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006189641A (en) * 2005-01-06 2006-07-20 Renesas Technology Corp Camera system and camera module
CN101086599A (en) * 2006-06-09 2007-12-12 索尼株式会社 Imaging apparatus, imaging apparatus control method, and computer program
CN101339347A (en) * 2007-07-06 2009-01-07 鸿富锦精密工业(深圳)有限公司 Automatic focusing method and system
CN101715063A (en) * 2008-10-06 2010-05-26 宏达国际电子股份有限公司 Method for starting automatic focusing function and electronic device thereof
CN103379268A (en) * 2012-04-25 2013-10-30 鸿富锦精密工业(深圳)有限公司 Power-saving monitoring system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006189641A (en) * 2005-01-06 2006-07-20 Renesas Technology Corp Camera system and camera module
CN101086599A (en) * 2006-06-09 2007-12-12 索尼株式会社 Imaging apparatus, imaging apparatus control method, and computer program
CN101339347A (en) * 2007-07-06 2009-01-07 鸿富锦精密工业(深圳)有限公司 Automatic focusing method and system
CN101715063A (en) * 2008-10-06 2010-05-26 宏达国际电子股份有限公司 Method for starting automatic focusing function and electronic device thereof
CN103379268A (en) * 2012-04-25 2013-10-30 鸿富锦精密工业(深圳)有限公司 Power-saving monitoring system and method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811620A (en) * 2015-04-28 2015-07-29 上海与德通讯技术有限公司 Focusing method and focusing system
CN104811620B (en) * 2015-04-28 2017-10-31 上海与德通讯技术有限公司 A kind of focusing method and focusing system
CN105681669B (en) * 2016-02-29 2019-02-05 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN105657278A (en) * 2016-02-29 2016-06-08 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN105681669A (en) * 2016-02-29 2016-06-15 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN109196403B (en) * 2016-06-01 2020-11-24 富士胶片株式会社 Imaging device, focus control method, and focus control program
CN109196403A (en) * 2016-06-01 2019-01-11 富士胶片株式会社 Photographic device, focusing control method and focusing control program
US10746958B2 (en) 2016-06-01 2020-08-18 Fujifilm Corporation Imaging device, focusing control method, and focusing control program
US10859791B2 (en) 2016-06-01 2020-12-08 Fujifilm Corporation Imaging device
US11372196B2 (en) 2016-06-01 2022-06-28 Fujifilm Corporation Imaging device and focusing control method
US11693207B2 (en) 2016-06-01 2023-07-04 Fujifilm Corporation Imaging device, focusing control method, and computer readable non-transitory recording medium storing a focusing control program
CN106125879A (en) * 2016-06-14 2016-11-16 深圳市金立通信设备有限公司 A kind of method reducing power consumption of terminal and terminal
CN108471524A (en) * 2018-02-28 2018-08-31 北京小米移动软件有限公司 Focusing method and device and storage medium
CN113141502A (en) * 2021-03-18 2021-07-20 青岛小鸟看看科技有限公司 Camera shooting control method and device of head-mounted display equipment and head-mounted display equipment
CN113141502B (en) * 2021-03-18 2022-02-08 青岛小鸟看看科技有限公司 Camera shooting control method and device of head-mounted display equipment and head-mounted display equipment

Also Published As

Publication number Publication date
CN104065885B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN104065885A (en) Terminal, and video shooting device and method
CN104834446B (en) A kind of display screen multi-screen control method and system based on eyeball tracking technology
CN105208360B (en) Image preview method, device and the terminal of a kind of intelligent terminal
CN109413336A (en) Image pickup method, device, electronic equipment and computer readable storage medium
CN101427266B (en) Method and apparatus for selective rejection of digital images
CN110351490A (en) Exposure method, device and picture pick-up device
US10740887B2 (en) Method and system for automated video image focus change detection and classification
US9041832B2 (en) Imaging apparatus and method for controlling the same
CN105791673B (en) Exposure control apparatus, control method thereof, and image pickup apparatus
CN103702024B (en) Image processing apparatus and image processing method
JP5887508B2 (en) Exposure control apparatus, imaging apparatus, image display apparatus, and exposure control method
CN103269415A (en) Automatic photo taking method for face recognition and mobile terminal
CN104168425A (en) Photographing method for preventing jittering or focusing blurring in handheld photographing process and mobile terminal
CN104375648A (en) Wrist type device and using method thereof
CN109600555A (en) A kind of focusing control method, system and photographing device
CN103200365A (en) Method for panorama shooting through mobile terminal and mobile terminal
CN103685948A (en) Shooting method and device
CN106484356A (en) Adjust the method and device of brightness of image
CN107992832A (en) A kind of face tracking System and method for
CN112188091A (en) Face information identification method and device, electronic equipment and storage medium
CN106161970B (en) A kind of image pickup method, device and mobile terminal
CN105068647B (en) A kind of intelligence lights the method and system of mobile device screen
CN105516577B (en) Camera filming control method and system
CN106067963B (en) Distributed automatic report method for remote large monitor abnormity
CN107979729A (en) A kind of method and apparatus for showing preview image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant