CN107613194A - A kind of focusing method, mobile terminal and computer-readable recording medium - Google Patents
A kind of focusing method, mobile terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107613194A CN107613194A CN201710735297.XA CN201710735297A CN107613194A CN 107613194 A CN107613194 A CN 107613194A CN 201710735297 A CN201710735297 A CN 201710735297A CN 107613194 A CN107613194 A CN 107613194A
- Authority
- CN
- China
- Prior art keywords
- data
- focus
- frame
- mobile terminal
- focus data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The embodiment of the invention discloses a kind of focusing method, and applied to mobile terminal, methods described includes:During the mobile terminal is focused, the first exercise data corresponding to the first frame focus data and the first frame focus data is obtained;Judge whether first exercise data meets the first preparatory condition;If first exercise data meets the first preparatory condition, control mobile module keeps current location, reacquires the second frame focus data, and complete focus process based on second focus data.In this way, in focusing, it becomes possible to ensure the accuracy of focus data, improve focusing accuracy, and improve the rate in blocks of photo.The embodiment of the present invention also discloses a kind of mobile terminal and computer-readable recording medium simultaneously.
Description
Technical field
The present invention relates to electronic device field, more particularly to a kind of focusing method, mobile terminal and computer-readable storage
Medium.
Background technology
With the continuous development of science and technology and electronic equipment, mobile terminal has become required in people's daily life
Product, and take pictures for present mobile terminal such as smart mobile phone, tablet personal computer, it is a very important function, makes
The facility that development in science and technology is brought can be enjoyed by obtaining people.
At present, during user's hand-held mobile terminal is taken pictures, if there is hand in camera focus process in user
Situation about trembling, easily cause mobile terminal slight jitter so that mobile terminal collects abnormal focus data, but mobile whole
End slight jitter can't trigger focuses again, and mobile terminal directly will be completed to focus using the abnormal focus data
Journey, the problem of focusing accuracy is relatively low, image definition is poor finally occurs.
It can be seen that focusing method of the prior art is not reasonable.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of focusing to solve at least one problem present in prior art
Method, mobile terminal and computer-readable recording medium, in focusing, the accuracy of focus data can be ensured, improve focusing
The degree of accuracy, and improve the rate in blocks of photo.
What the technical scheme of the embodiment of the present invention was realized in:
In a first aspect, the embodiment of the present invention provides a kind of focusing method, applied to mobile terminal, methods described includes:
During the mobile terminal is focused, the is obtained corresponding to the first frame focus data and the first frame focus data
One exercise data;Judge whether first exercise data meets the first preparatory condition;If first exercise data meets
First preparatory condition, control mobile module keep current location, reacquire the second frame focus data, and based on described second pair
Burnt data complete focus process.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, and the mobile terminal comprises at least:Memory, place
Manage device and be stored in the computer program that can be run on the memory and on the processor, the computing device institute
The step of above-mentioned focusing method being realized when stating program.
The third aspect, the embodiment of the present invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with matter, the step of computer program realizes above-mentioned focusing method when being executed by processor.
A kind of focusing method, mobile terminal and computer-readable recording medium provided in an embodiment of the present invention, mobile terminal
During being focused, the first frame focus data and its corresponding first exercise data can be obtained, then, in order to judge energy
No to be focused using the first frame focus data, mobile terminal will judge whether the first exercise data meets the first default bar
Part;Finally, it is abnormal to show the first frame focus data if the first exercise data meets the first exercise data, now, is moved
Terminal will control mobile module to keep current location, reacquire the second frame focus data, and be based on the second frame focus data
Complete focus process.So, whether the first preparatory condition is met by the first exercise data corresponding to the first focus data, so that it may
To determine whether the first focus data that mobile terminal obtained is abnormal, if the first focus data is abnormal, being will not be using the
One focus data completes focusing, but can complete focusing using the second frame focus data reacquired.So as to right
Jiao Shi, it becomes possible to ensure the accuracy of focus data, improve focusing accuracy, and improve the rate in blocks of photo.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2-1 is the schematic diagram of the system user interface in the embodiment of the present invention one;
Fig. 2-2 is the first schematic diagram at the interface of the camera applications in the embodiment of the present invention one;
Fig. 2-3 is second of schematic diagram at the interface of the camera applications in the embodiment of the present invention one;
Fig. 2-4 is the schematic flow sheet of the focusing method in the embodiment of the present invention one;
Fig. 3 is the schematic flow sheet of the focusing method in the embodiment of the present invention two;
Fig. 4 is the structural representation of the mobile terminal in the embodiment of the present invention four.
Embodiment
It should be appreciated that the technical scheme that the specific embodiments described herein are merely illustrative of the present invention, is not used to
Limit protection scope of the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wi-Fi (Wireless-Fidelity, nothing
Line fidelity) module 102, audio output unit 103, A/V (audio/video) input block 104, sensor 105, display unit
106th, the part such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This area
Technical staff is appreciated that the mobile terminal structure shown in Fig. 1 does not form the restriction to mobile terminal, and mobile terminal can be with
Including than illustrating more or less parts, either combining some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM, GPRS (General Packet Radio Service, general grouped wireless clothes
Business), CDMA2000, WCDMA, TD-SCDMA, FDD-LTE and TDD-LTE etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch by Wi-Fi module 102
Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1
Wi-Fi module 102 is shown, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can basis
Need to omit in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or Wi-Fi module 102 it is receiving or
It is sound that the voice data that person stores in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit
103 can also provide performed to mobile terminal 100 the related audio output of specific function (for example, call signal reception sound,
Message sink sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or Wi-Fi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
Above-mentioned mobile terminal hardware configuration will be based on below, propose each embodiment of the inventive method.
The technical solution of the present invention is further elaborated with specific embodiment below in conjunction with the accompanying drawings.
Embodiment one
Based on above-described embodiment, the present embodiment provides a kind of focusing method, and the executive agent of the focusing method is mobile whole
End, in actual applications, the mobile terminal can be with front camera either rear camera or simultaneously specific forward and backward
The electronic equipment that smart mobile phone, tablet personal computer, digital camera of camera etc. can take pictures and have focus function is put, certainly,
Can also be other, the embodiment of the present invention is not specifically limited.
In actual applications, mobile terminal realizes that the complete procedure of focusing mainly includes following three steps.
The first step, mobile terminal triggering focus process;
In actual applications, the camera of mobile terminal is opened or after the preview interface that user clicks on camera in user,
Mobile terminal will generate focusing instruction, and then mobile terminal carries out focusing instruction, first pass through motion sensor senses and work as
Preceding exercise data, if current motion data is more than predetermined threshold value, show to be in unsteady state in mobile terminal, it is now, mobile
Terminal can not be completed to focus, then do not trigger focus process;If current motion data is less than the threshold value, show mobile terminal be in compared with
Stable state, now, mobile terminal can focus, then, mobile terminal will trigger focus process, proceed by focusing.
Exemplarily, referring to system user interface 21 is shown shown in Fig. 2-1, on mobile terminal, at the first moment, user
Long-press screen in the screen right side edge 22 of mobile terminal, and to another Slideslip desired guiding trajectory of screen.Next, referring to
It is the second moment after the first moment, mobile whole with lasting slip of the user on mobile terminal screen shown in Fig. 2-2
End has created on system user interface 21 and has shown the part in the interface 23 of camera applications, finally, mobile whole
After end shows the interface 23 of the camera applications completely, mobile terminal is obtained with focusing instruction.
Or referring to the interface 23 for shown in Fig. 2-3, showing camera applications on mobile terminals, shown in the interface 23
There is the preview screen 24 of a doggie, in user according to preview screen 24, determine to want to the doggie position 25 to defocused, use
Family can clicked on finger corresponding to the position 25 on screen position, and now, mobile terminal can also obtain focusing and refer to
Order.
Second step, mobile terminal constantly gather focus data, and focal position is determined using focus algorithm;
Mobile terminal trigger focus process but and when not completing focus process, mobile terminal is in the mistake focused
In the state of journey, in order to complete focus process, mobile terminal can gather focusing number first when focusing motor is in initial position
According to, then focus data is input in focus algorithm, to calculate new motor position, then, focusing motor is adjusted to this
At new motor position, and new focus data is resurveyed with this new motor position.By constantly gathering focus data
To adjust the position of focusing motor, until getting most clear motor position, that is, the focal position to focus lens is determined.
In actual applications, the focusing motor in camera can be voice coil motor (Voice Coil Motor, VCM),
Ultrasonic motor etc..Focus algorithm can be contrast formula focus algorithm, or phase focus algorithm, it is, of course, also possible to be
Other, the embodiment of the present invention is not specifically limited.
3rd step, mobile terminal are based on focal position, complete focus process.
After focus algorithm calculates most clear motor position (i.e. focal position), mobile terminal can control focusing motor to move
Corresponding most clear motor position is moved, focal position is moved to focus lens so as to drive, so that camera focusing.So,
Just complete whole focus process.
In mobile terminal carries out focus process, if it is secondary right to detect that exercise data will trigger more than the threshold value
The position reset of focusing motor will be that initial position re-starts focusing by Jiao, now, mobile terminal.If detect motion
Data are less than the threshold value always to complete focus process with the focus data of collection.
But test is found in actual applications, during using above-mentioned focusing method to be focused, mobile terminal is for ring
The adaptability in border is poor, during user's hand-held mobile terminal is taken pictures, if user is in camera focus process
There is the situation of hand shaking, easily cause mobile terminal slight jitter so that mobile terminal collects abnormal focus data, still
Mobile terminal slight jitter can't be triggered and focused again, and mobile terminal will be directly using abnormal focus data completion pair
Burnt process, the problem of focusing accuracy is relatively low, image definition is poor finally occurs.
When being described in detail below using above-mentioned focusing method to be focused, mobile terminal for environment adaptability compared with
The reason for poor.
First, when threshold value setting is larger, in mobile terminal carries out focus process, if user's hand shaking causes movement eventually
End is there occurs slight jitter, now, although shake influences whether the accuracy of focus data so that mobile terminal collects exception
Focus data, but the exercise data that mobile terminal currently gathers is still less than the threshold value, mobile terminal will be considered that it is mobile eventually
End be still within compared with stable state, will not retriggered focusing, still the abnormal focus data can be input to focus algorithm
In, the calculating for the most clear motor position that finally influences whether to focus, cause time clear problem.So, because focusing accuracy drops
Low, after the completion of causing focusing, the definition for the image that mobile terminal is formally shot is poor;
Second, when threshold value setting is smaller, although the accuracy of gathered focus data can be ensured, it is mobile
Terminal is difficult to detect stable state, may result in focusing triggering slowly, Consumer's Experience is very poor;And due to setting threshold value compared with
It is small, it can cause to be readily possible to detect unstable state in focus process, will easily trigger secondary focusing, user just can be appreciated that pre-
The focus process that picture of looking at repeatedly rocks back and forth, has influence on Consumer's Experience again.
In order to solve the above problems, a larger threshold value can be set first, to improve triggering speed of focusing, reduce and touch
The number for sending out focusing secondary, then, mobile terminal are carried out in focus process, and abnormality inspection is carried out to the focus data collected
Look into, the focus data is handled without using focus algorithm if exception occurs for focus data, if focus data is not
Generation is abnormal but accurate, can add in focus algorithm and be handled, to calculate accurate motor position.So,
It can be realized as improving focusing accuracy while ensureing and triggering focusing speed, improve Consumer's Experience.
So, Fig. 2-4 is the schematic flow sheet of the focusing method in the embodiment of the present invention one, referring to shown in Fig. 2-4, the party
Method includes:
S201:During mobile terminal is focused, the first frame focus data and the first frame focus data are obtained
Corresponding first exercise data;
Specifically, during mobile terminal is focused, image of the mobile terminal can in by camera
While sensor gathers the first frame focus data, and corresponding first exercise data is gathered by motion sensor.So,
Mobile terminal just obtains the first frame focus data and its corresponding first exercise data.Wherein, focused in mobile terminal
During refer to mobile terminal trigger focus process but and do not complete focus process, i.e., do not find optimal focus position
Put.
Here, the first frame focus data refers to the data gathered by imaging sensor, and the first exercise data refers to pass through
The data of motion sensor collection.
In actual applications, the imaging sensor in the camera of mobile terminal can be complementary metal oxide semiconductor
(Complementary Metal Oxide Semiconductor, CMOS) imaging sensor or Charged Couple
(Charge-coupled Device, CCD) imaging sensor, it is, of course, also possible to be other kinds of imaging sensor.Here,
The embodiment of the present invention is not specifically limited.So, the first frame focus data can be view data.
In actual applications, motion sensor can be angular-rate sensor, i.e. gyroscope (gyro), can also be to accelerate
Sensor is spent, can also be other certainly.So, when motion sensor is angular-rate sensor, the first exercise data can be with
For gyro data.
S202:Judge whether the first exercise data meets the first preparatory condition;
Due to state in which when the first exercise data can reflect that mobile terminal gathers the first frame focus data, and move
Terminal state in which may decide that the available degree of the first frame focus data, then, in order to determine the first frame focus data energy
No to be input in focus algorithm to complete focus process, mobile terminal is obtaining the first frame focus data and the first exercise data
Afterwards, it can first judge whether the first exercise data meets the first preparatory condition, to determine whether to adopt according to judged result
Focused with the first frame focus data, i.e., whether need to reacquire the second frame focus data to be focused.
In actual applications, mobile terminal state in which can be divided into:Stable state, dither state and unstable shape
State these three.Because mobile terminal state in which is different, the available degree for the focus data that mobile terminal gathered can be caused
And it is different, wherein, the available degree for the focus data that mobile terminal is adopted at steady state is accurate, tends to be true
Focus data;The available degree for the focus data that mobile terminal is adopted under dither state is abnormal, with real focusing
Less error between data be present;The available degree for the focus data that mobile terminal is adopted under unstable state is unavailable
, very big difference between real focus data be present.
Accordingly, can be by the available journey for the focus data that mobile terminal is gathered according to mobile terminal state in which
Degree is divided into:Accurately, it is abnormal and it is disabled these three.Wherein, accurate focus data can be directly inputted to focusing
In algorithm, to complete focus process;Abnormal focus data is directly inputted in focus algorithm, is easily reduced focusing accuracy,
Therefore, it is necessary to how use abnormal focus data divided by situation;Disabled focus data is input to meeting in focus algorithm
Cause to calculate the motor position to make mistake, therefore, disabled focus data can not be used for completing focus process.
Accordingly, according to mobile terminal state in which, three preparatory conditions can also be set respectively.Exercise data meets
Different preparatory conditions, show mobile terminal state in which difference.
In implementation process, small one and large one two predetermined threshold values can be set, and pass through the two threshold values and exercise data
It is compared, it is possible to distinguish three kinds of states residing for mobile terminal.
Exemplarily, the first predetermined threshold value and the second predetermined threshold value are set, wherein, it is default that the first predetermined threshold value is less than second
Threshold value, the first predetermined threshold value are mainly used in distinguishing dither state and stable state, and the second predetermined threshold value is mainly used in distinguishing shake
State and unstable state.
Below by taking the first predetermined threshold value and the second predetermined threshold value as an example, how pre- according to the first exercise data and two introduce
If the relation of threshold value, to determine mobile terminal state in which.It is pre- based on the first exercise data and the first predetermined threshold value and second
If threshold value determine mobile terminal state in which method can with and be not limited to following three kinds of situations:
Situation one, if the first exercise data is more than the first predetermined threshold value and is less than the second predetermined threshold value, mobile terminal
In dither state, now, the first exercise data meets the first preparatory condition;
So, in implementation process, S202 can include:By the first exercise data respectively with the first predetermined threshold value and second
Predetermined threshold value compares, wherein, the first predetermined threshold value is less than the second predetermined threshold value;It is default that if the first exercise data is more than first
Threshold value and it is less than the second predetermined threshold value, determines that the first exercise data meets the first preparatory condition.
Situation two, if the first exercise data is less than the first predetermined threshold value, mobile terminal is in stable state, now,
First exercise data meets the second preparatory condition;
Situation three, if the first exercise data is more than the second predetermined threshold value, mobile terminal plays pendulum, this
When, the first exercise data meets the 3rd preparatory condition.
S203:If the first exercise data meets the first preparatory condition, control mobile module keeps current location, obtained again
The second frame focus data is taken, and focus process is completed based on the second focus data.
Here, the first exercise data meets at the first preparatory condition shows mobile terminal when gathering the first frame focus data
In dither state, now, the available degree of the first frame focus data is abnormal, i.e. the first frame focus data and true focusing number
According to simply less error be present.Because error is smaller, then, it is accurate in order to which focusing can be improved while focusing speed is taken into account
Exactness, mobile terminal can control mobile module to be maintained at current location, without being initial by the position reset of mobile module
Position, to reacquire a new frame focus data, i.e. the second frame focus data, so as to which the second frame focus data is input to pair
Focus process is completed in burnt algorithm.
In implementation process, the processor of mobile terminal can send a control instruction to mobile module, be moved to control
Dynamic model block is maintained at current location.
In actual applications, mobile module can be open loop focusing motor, or closed loop focusing motor, certainly, also
Can be other devices driven to focus lens movement.
In implementation process, it is determined that after the first frame focus data exception, according to the focusing after the first frame focus data
The difference of the available degree of data, obtain the second frame focus data method can with and be not limited to following three kinds of situations.
The first situation, can be directly by first if the next frame focus data of the first frame focus data is accurate
The next frame focus data of frame focus data, it is defined as the second frame focus data.
In other embodiments of the present invention, S203 can include:Obtain the 3rd frame focus data and the 3rd frame focusing number
According to the second exercise data, wherein, the 3rd frame focus data be the first frame focus data next frame focus data;Judge second
Whether exercise data meets the second preparatory condition;If the second exercise data meets the second preparatory condition, by the 3rd frame focusing number
According to being defined as the second frame focus data.
Here, the second exercise data meets the second preparatory condition and refers to that the second exercise data is less than the first predetermined threshold value, table
Bright mobile terminal is in stable state when gathering the 3rd frame focus data, and now, the available degree of the 3rd frame focus data is
Accurately, the 3rd frame focus data tends to true focus data, so, in order to improve focusing accuracy, it is possible to by the 3rd pin
Focus data is defined as the second frame focus data.
Second of situation, if the next frame focus data of the first frame focus data is abnormal, then, control mobile mould
Block keeps current location, continues waiting for new next frame focus data, until acquiring the second required focus data.
In second of situation, if mobile terminal is constantly in dither state and cannot be introduced into stable state, in order to avoid
Meaningless wait, the waiting time or totalframes for obtaining next frame focus data can be limited.
Exemplified by continuous N frame focus datas are all abnormal after the first frame focus data below, come be discussed in detail how
Second frame focus data is determined based on this N frames focus data.
In other embodiments of the present invention, S203 can include:
Step 2031:In preset time, the continuous N frames focus data after the first frame focus data is obtained, and obtain
Take each self-corresponding 3rd exercise data of N frame focus datas;
Wherein, N is the integer more than or equal to 2.
Here, N is maximum jitter frame threshold value, shows that, when shaking, mobile terminal is with acquired in present motor position
Focus data maximum totalframes.In actual applications, N can according to user to focusing accuracy and focusing speed expectation come
Determine, if user only requires that focusing accuracy is higher, without require to focus speed when, it is unstable that a larger maximum can be set
Framing number;If user only requires focusing, speed is higher, during without requiring focusing accuracy, can be set one it is less most very much not
Stable frame number.
Step 2032:Judge whether each the 3rd exercise data meets the first preparatory condition respectively;
Step 2033:If each the 3rd exercise data meets the first preparatory condition, based on N frame focus datas, press
According to preset strategy, the second frame focus data is determined.
In actual applications, it is continuous after the first acquired frame focus data when mobile terminal is in preset time
Each self-corresponding 3rd exercise data of N frame focus datas meet the first preparatory condition, show that N frame focus datas are exception
's.In this case, the next frame focus data that mobile terminal continues waiting for be also probably it is abnormal, therefore, in order to
Focusing accuracy is improved while focusing speed is taken into account, mobile terminal can is according to N frame focus datas, according to default plan
Slightly, the second frame focus data is determined.
In implementation process, according to the tactful difference for determining the second frame focus data, step 2033 can with and it is unlimited
In including following two methods:
Method one, the abnormality degree of focus data is reduced by the method averaged, can be by the average of N frame focus datas
Data are as the second frame focus data.
Now, step 2033 can include:Calculate the mean data of N frame focus datas;Mean data is defined as second
Frame focus data.
Method two, the minimum focus data of N frame focus datas error degree can be defined as the second frame focus data, i.e.,
The second frame focusing number can be used as using in N frame focus datas by the use of degree closest to the focus data of " accurate " this degree
According to.
Now, step 2033 can also include:Each the 3rd exercise data is compared with the first predetermined threshold value respectively;
According to comparative result, the 4th exercise data closest to the first predetermined threshold value is determined from each the 3rd exercise data;From N
In frame focus data, focus data corresponding to the 4th exercise data is defined as the second frame focus data.
It is continuous after the first acquired frame focus data when mobile terminal is in preset time in implementation process
Each self-corresponding 3rd exercise data of N frame focus datas when not meeting the first preparatory condition, show in N frame focus datas
In, in addition to the focus data of exception, it is likely present accurate focus data or disabled focus data.So, exist
After step 2032, S203 can also include:
Step 2034:If each the 3rd exercise data not meets the first preparatory condition, from each the 3rd
In exercise data, determine not meeting the 5th exercise data of the first preparatory condition;Judge whether the 5th exercise data meets
Two preparatory conditions;If the 5th exercise data meets the second preparatory condition, from N frame focus datas, by the 5th exercise data pair
The focus data answered is defined as the second frame focus data.
The third, is if the next frame focus data of the first frame focus data is disabled, mobile terminal can weight
Mobile module position is put, resurveys next frame focus data.
In actual applications, if the available degree of the next frame focus data of the first frame focus data is disabled,
Now, mobile terminal is kept in motion when gathering the next frame focus data of the first frame focus data, the focusing gathered
There is larger error in data, can not be input in focus algorithm with true focus data, then, it is accurate in order to improve focusing
Exactness, it is initial position that mobile terminal, which is had to the position reset of mobile module, to resurvey new next frame focusing number
According to so as to which new next frame focus data is input in focus algorithm to complete focus process.
In other embodiments of the present invention, after S202 is performed, above-mentioned focusing method can also include:If the first fortune
Dynamic data do not meet the first preparatory condition, judge whether the first exercise data meets the second preparatory condition;If the first motion number
According to the second preparatory condition is met, focus process is completed based on the first focus data.
Here, the first exercise data meets at the second preparatory condition shows mobile terminal when gathering the first frame focus data
In stable state, now, the available degree of the first frame focus data is accurate, i.e., the first frame focus data tends to truly focus
Data, it can be directly inputted in focus algorithm to complete focus process.
In an alternative embodiment of the invention, after S202 is performed, above-mentioned focusing method can also include:If the first fortune
Dynamic data do not meet the first preparatory condition, judge whether the first exercise data meets the 3rd preparatory condition;If the first motion number
It is initial position by the position reset of mobile module according to the 3rd preparatory condition is met, reacquires the 4th frame focus data, and base
Focus process is completed in the 4th focus data.
Here, the first exercise data meets at the 3rd preparatory condition shows mobile terminal when gathering the first frame focus data
In motion state, now, the available degree of the first frame focus data is disabled, i.e. the first frame focus data and true focusing
Larger error be present in data.Because error is larger, can not be input in focus algorithm, then, it is accurate in order to improve focusing
Exactness, it is initial position that mobile terminal, which is had to the position reset of mobile module, to reacquire a new frame focus data,
That is the 4th frame focus data, so as to which the 4th frame focus data is input in focus algorithm to complete focus process.
So far, focus process is just completed.
As shown in the above, the focusing method that the present embodiment is provided, mobile terminal is during being focused, meeting
The first frame focus data and its corresponding first exercise data are obtained, then, in order to judge that the first frame focus data can be used
Focused, mobile terminal will judge whether the first exercise data meets the first preparatory condition;Finally, if the first exercise data
Meet the first exercise data and then show that the first frame focus data is abnormal, now, mobile terminal will control mobile module to protect
Current location is held, reacquires the second frame focus data, and focus process is completed based on the second frame focus data.So, pass through
Whether the first exercise data meets the first preparatory condition corresponding to first focus data, it is possible to determines what mobile terminal was obtained
Whether the first focus data is abnormal, if the first focus data is abnormal, the first focus data will not be used to complete focusing, and
It is that can complete focusing using the second frame focus data reacquired.So as in focusing, it becomes possible to ensure focus data
Accuracy, improve focusing accuracy, and improve the rate in blocks of photo.
Embodiment two
Based on previous embodiment, the present embodiment provides a kind of focusing method, applied to following scene:Shifting in mobile terminal
Dynamic model block is focusing motor, and when the focus data exception of acquisition for mobile terminal, mobile terminal can control focusing motor to keep working as
Front position, focus process is completed based on the accurate focus data of next frame.
So, Fig. 3 be the embodiment of the present invention two in focusing method schematic flow sheet, shown in Figure 3, this method bag
Include:
S301:During mobile terminal is focused, the first frame focus data and the first frame focus data are obtained
Corresponding first exercise data;
S302:Judge whether the first exercise data is more than the first predetermined threshold value and is less than the second predetermined threshold value;
If the first exercise data is more than the first predetermined threshold value and is less than the second predetermined threshold value, S303 is performed.
S303:Obtain the second exercise data corresponding to the 3rd frame focus data and the 3rd frame focus data;
When performing S303, the focusing motor in the processor control camera of mobile terminal is maintained at current location, i.e.,
Gather motor position during the first frame focus data.That is, the motor position of the 3rd frame focus data of collection and collection the
The motor position of one frame focus data is identical.
S304:Judge whether the second exercise data meets the second preparatory condition;
If the second exercise data is less than the first predetermined threshold value, show that the second exercise data meets the second preparatory condition, then
Perform S305.
S305:3rd frame focus data is defined as the second frame focus data, completes to focus based on the second frame focus data
Process.
In embodiments of the present invention, when the focus data exception of acquisition for mobile terminal, mobile terminal control focusing motor
Current location is kept, to obtain the accurate focus data of next frame, then completes to focus according to the accurate focus data
Journey, the focus data using exception can be avoided to be focused, thus, it is possible to improve focusing accuracy.
Embodiment three
Based on previous embodiment, the present embodiment provides a kind of focusing method, applied to following scene:Clapped to optimize camera
According to focusing accuracy, avoid the occurrence of hand shaking and cause time clear problem caused by data exception, mobile terminal can be directed to gyro data
Two gyro threshold values of different sizes are set, focusing is realized to determine how.
The focusing method that the embodiment of the present invention three is provided mainly includes following six step:
step1:Two gyro threshold values of different sizes are pre-set, wherein, larger gyro threshold values is A, less
Gyro threshold values is B, i.e. A>B;
step2:When mobile terminal detects that gyro data are less than A, that is, assert that mobile terminal is relatively stable, mobile terminal
Focusing will be proceeded by;
step3:When detecting that gyro data corresponding to present frame focus data are more than A, mobile terminal in focus process
Trigger it is secondary focus again, now, the position reset of motor will be initial position by the processor of mobile terminal, be restarted
Focused.
step4:When detecting gyro data corresponding to present frame focus data in focus process less than A and being more than B, move
Dynamic terminal-pair present frame focus data does not process, i.e., present frame focus data is not input in focus algorithm, now, mobile
Terminal do not trigger it is secondary focus again, the processor of mobile terminal will control motor to keep current location, wait next frame pair
Burnt data;
step5:When detecting that current frame data gyro values are then considered as focus data good for use less than B in focus process,
Add in focus algorithm data and handled;
step6:If continuous N (maximum unstable framing threshold values) each self-corresponding gyro numbers of frame focus data in step4
According to being all the state less than A and more than B, then mobile terminal, which is not gone on, waits next frame focus data, but is based on the N frames
Focus data determines that target focus data is handled to add in focus algorithm.
As shown in the above, the focusing method that the present embodiment is provided, mobile terminal for gyro data by setting
Two gyro threshold values of different sizes realize focus process, and therefore, the focusing method provided using the present embodiment is carried out pair
Jiao Shi, the accuracy of focusing on the premise of Consumer's Experience is not influenceed, can be lifted, reduce hand-held mobile terminal and take pictures because of hand shaking
The clear problem of caused photo time, the rate in blocks of photo is improved, lifts Consumer's Experience.
Example IV
Based on same inventive concept, the present embodiment provides a kind of mobile terminal, and in said one or multiple embodiments
Mobile terminal it is consistent.
Fig. 4 be the embodiment of the present invention four in mobile terminal structural representation, shown in Figure 4, the mobile terminal 40
Including:Memory 401, processor 402 and it is stored in the computer journey that can be run on memory 401 and on the processor 402
Sequence 403, processor 402 realize following steps when performing computer program 403:During mobile terminal is focused, obtain
Obtain the first exercise data corresponding to the first frame focus data and the first frame focus data;Judge whether the first exercise data meets
First preparatory condition;If the first exercise data meets the first preparatory condition, control mobile module keeps current location, obtained again
The second frame focus data is taken, and focus process is completed based on the second focus data.
In embodiments of the present invention, following steps can be also realized during above-mentioned computing device said procedure:By the first motion
Data respectively compared with the first predetermined threshold value and the second predetermined threshold value, wherein, the first predetermined threshold value is less than the second predetermined threshold value;
If the first exercise data is more than the first predetermined threshold value and is less than the second predetermined threshold value, it is pre- to determine that the first exercise data meets first
If condition.
In embodiments of the present invention, following steps can be also realized during above-mentioned computing device said procedure:Obtain the 3rd frame
Second exercise data corresponding to focus data and the 3rd frame focus data, wherein, the 3rd frame focus data is focused for the first frame
The next frame focus data of data;Judge whether the second exercise data meets the second preparatory condition;If the second exercise data accords with
The second preparatory condition is closed, the 3rd frame focus data is defined as the second frame focus data.
In embodiments of the present invention, following steps can be also realized during above-mentioned computing device said procedure:In preset time
It is interior, the continuous N frames focus data after the first frame focus data is obtained, and obtain N frame focus datas each self-corresponding 3rd
Exercise data, wherein, N is the integer more than or equal to 2;It is pre- to judge whether each the 3rd exercise data meets first respectively
If condition;If each the 3rd exercise data meets the first preparatory condition, based on N frame focus datas, according to preset strategy,
Determine the second frame focus data.
In embodiments of the present invention, following steps can be also realized during above-mentioned computing device said procedure:Calculate the focusing of N frames
The mean data of data;Mean data is defined as the second frame focus data.
In embodiments of the present invention, following steps can be also realized during above-mentioned computing device said procedure:Respectively will be each
Individual 3rd exercise data is compared with the first predetermined threshold value;According to comparative result, determined from each the 3rd exercise data
Closest to the 4th exercise data of the first predetermined threshold value;From N frame focus datas, by focus data corresponding to the 4th exercise data
It is defined as the second frame focus data.
In embodiments of the present invention, following steps can be also realized during above-mentioned computing device said procedure:If the first fortune
Dynamic data do not meet the first preparatory condition, judge whether the first exercise data meets the 3rd preparatory condition;If the first motion number
It is initial position by the position reset of mobile module according to the 3rd preparatory condition is met, reacquires the 4th frame focus data, and base
Focus process is completed in the 4th frame focus data.
In embodiments of the present invention, following steps can be also realized during above-mentioned computing device said procedure:If the first fortune
Dynamic data do not meet the first preparatory condition, judge whether the first exercise data meets the second preparatory condition;If the first motion number
According to the second preparatory condition is met, focus process is completed based on the first frame focus data.
In actual applications, above-mentioned processor can by central processing unit (Central Processing Unit, CPU),
GPU, microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal
Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realize.
It need to be noted that be:Above mobile terminal implements the description of item, is similar, tool with above method description
There is same embodiment of the method identical beneficial effect.For the ins and outs not disclosed in terminal embodiment of the present invention, this area
Technical staff refer to the description of the inventive method embodiment and understand.
Embodiment five
Based on same inventive concept, the present embodiment provides a kind of computer-readable recording medium, can apply to above-mentioned one
Mobile terminal in individual or multiple embodiments, above computer readable storage medium storing program for executing are stored with one or more program, on
Stating one or more program can be by one or more computing device, to realize following steps:Carried out pair in mobile terminal
In burnt process, the first exercise data corresponding to the first frame focus data and the first frame focus data is obtained;Judge the first fortune
Whether dynamic data meet the first preparatory condition;If the first exercise data meets the first preparatory condition, control mobile module is kept
Current location, the second frame focus data is reacquired, and focus process is completed based on the second focus data.
In embodiments of the present invention, it is above-mentioned to judge whether the first exercise data meets the first preparatory condition step, can also quilt
Said one or multiple computing devices, to realize following steps:By the first exercise data respectively with the first predetermined threshold value and
Second predetermined threshold value compares, wherein, the first predetermined threshold value is less than the second predetermined threshold value;If the first exercise data is more than first
Predetermined threshold value and it is less than the second predetermined threshold value, determines that the first exercise data meets the first preparatory condition.
In embodiments of the present invention, the step of above-mentioned the second frame of reacquisition focus data, can also by said one or
Multiple computing devices, to realize following steps:Obtain second corresponding to the 3rd frame focus data and the 3rd frame focus data
Exercise data, wherein, the 3rd frame focus data is the next frame focus data of the first frame focus data;Judge the second exercise data
Whether second preparatory condition is met;If the second exercise data meets the second preparatory condition, the 3rd frame focus data is defined as
Second frame focus data.
In embodiments of the present invention, the step of above-mentioned the second frame of reacquisition focus data, can also by said one or
Multiple computing devices, to realize following steps:In preset time, the continuous N frames after the first frame focus data are obtained
Focus data, and each self-corresponding 3rd exercise data of N frame focus datas is obtained, wherein, N is the integer more than or equal to 2;
Judge whether each the 3rd exercise data meets the first preparatory condition respectively;If each the 3rd exercise data meets
One preparatory condition, based on N frame focus datas, according to preset strategy, determine the second frame focus data.
In embodiments of the present invention, it is above-mentioned to be based on N frame focus datas, according to preset strategy, determine the second frame focus data
The step of, can also be by said one or multiple computing devices, to realize following steps:Calculate the average of N frame focus datas
Data;Mean data is defined as the second frame focus data.
In embodiments of the present invention, it is above-mentioned to be based on N frame focus datas, according to preset strategy, determine the second frame focus data
The step of, can also be by said one or multiple computing devices, to realize following steps:Respectively by each the 3rd motion number
According to compared with the first predetermined threshold value;According to comparative result, determined from each the 3rd exercise data pre- closest to first
If the 4th exercise data of threshold value;From N frame focus datas, focus data corresponding to the 4th exercise data is defined as the second frame
Focus data.
In embodiments of the present invention, said one or multiple programs can be by one or more computing devices, with reality
Existing following steps:If the first exercise data does not meet the first preparatory condition, it is pre- to judge whether the first exercise data meets the 3rd
If condition;If the first exercise data meets the 3rd preparatory condition, it is initial position by the position reset of mobile module, obtains again
The 4th frame focus data is taken, and focus process is completed based on the 4th frame focus data.
In embodiments of the present invention, said one or multiple programs can be by one or more computing devices, with reality
Existing following steps:If the first exercise data does not meet the first preparatory condition, it is pre- to judge whether the first exercise data meets second
If condition;If the first exercise data meets the second preparatory condition, focus process is completed based on the first frame focus data.
It should be noted that above computer readable storage medium storing program for executing can be read-only storage (Read Only Memory,
ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read-Only Memory, EPROM), Electrically Erasable Read Only Memory
(Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic random access store
Device (Ferromagnetic Random Access Memory, FRAM), flash memory (Flash Memory), magnetic surface are deposited
The memories such as reservoir, CD or read-only optical disc (Compact Disc Read-Only Memory, CD-ROM);It can also be bag
One of above-mentioned memory or the various electronic equipments of any combination are included, such as mobile phone, computer, tablet device, individual digital
Assistant etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of focusing method, it is characterised in that applied to mobile terminal, methods described includes:
During the mobile terminal is focused, the first frame focus data and the first frame focus data pair are obtained
The first exercise data answered;
Judge whether first exercise data meets the first preparatory condition;
If first exercise data meets the first preparatory condition, control mobile module keeps current location, reacquires the
Two frame focus datas, and focus process is completed based on second focus data.
2. according to the method for claim 1, it is characterised in that described to judge whether first exercise data meets first
Preparatory condition, including:
First exercise data is compared with the first predetermined threshold value and the second predetermined threshold value respectively, wherein, described first is pre-
If threshold value is less than second predetermined threshold value;
If first exercise data is more than the first predetermined threshold value and is less than the second predetermined threshold value, the first motion number is determined
According to meeting the first preparatory condition.
3. method according to claim 1 or 2, it is characterised in that the second frame focus data of the reacquisition, including:
The second exercise data corresponding to the 3rd frame focus data and the 3rd frame focus data is obtained, wherein, the described 3rd
Frame focus data is the next frame focus data of the first frame focus data;
Judge whether second exercise data meets the second preparatory condition;
If second exercise data meets the second preparatory condition, the 3rd frame focus data is defined as second frame
Focus data.
4. method according to claim 1 or 2, it is characterised in that the second frame focus data of the reacquisition, including:
In preset time, the continuous N frames focus data after the first frame focus data is obtained, and obtain the N frames
Each self-corresponding 3rd exercise data of focus data, wherein, N is the integer more than or equal to 2;
Judge whether each the 3rd exercise data meets the first preparatory condition respectively;
If each described the 3rd exercise data meets the first preparatory condition, based on the N frames focus data, according to default
Strategy, determine the second frame focus data.
5. according to the method for claim 4, it is characterised in that it is described to be based on the N frames focus data, according to default plan
Slightly, the second frame focus data is determined, including:
Calculate the mean data of the N frames focus data;
The mean data is defined as the second frame focus data.
6. according to the method for claim 4, it is characterised in that it is described to be based on the N frames focus data, according to default plan
Slightly, the second frame focus data is determined, including:
Each the 3rd exercise data is compared with first predetermined threshold value respectively;
According to comparative result, the closest to first predetermined threshold value the 4th is determined from each described the 3rd exercise data
Exercise data;
From the N frames focus data, focus data corresponding to the 4th exercise data is defined as second frame and focused
Data.
7. according to the method for claim 1, it is characterised in that methods described also includes:
If first exercise data does not meet the first preparatory condition, it is pre- to judge whether first exercise data meets the 3rd
If condition;
It is initial position by the position reset of mobile module, again if first exercise data meets the 3rd preparatory condition
The 4th frame focus data is obtained, and focus process is completed based on the 4th frame focus data.
8. according to the method for claim 1, it is characterised in that methods described also includes:
If first exercise data does not meet the first preparatory condition, it is pre- to judge whether first exercise data meets second
If condition;
If first exercise data meets the second preparatory condition, focus process is completed based on the first frame focus data.
9. a kind of mobile terminal, it is characterised in that the mobile terminal comprises at least:Memory, processor and it is stored in institute
State the computer program that can be run on memory and on the processor, realize as weighed during the computing device described program
Profit requires the step of focusing method described in 1 to 8 any one.
10. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium
Program, the step of the focusing method as described in any one of claim 1 to 8 is realized when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710735297.XA CN107613194B (en) | 2017-08-24 | 2017-08-24 | Focusing method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710735297.XA CN107613194B (en) | 2017-08-24 | 2017-08-24 | Focusing method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107613194A true CN107613194A (en) | 2018-01-19 |
CN107613194B CN107613194B (en) | 2020-10-16 |
Family
ID=61065887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710735297.XA Active CN107613194B (en) | 2017-08-24 | 2017-08-24 | Focusing method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107613194B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022000258A1 (en) * | 2020-06-30 | 2022-01-06 | 深圳市大疆创新科技有限公司 | Focusing method and apparatus, electronic device, and computer readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872105A (en) * | 2010-06-02 | 2010-10-27 | 华为终端有限公司 | Method and device for photographing |
CN102970485A (en) * | 2012-12-03 | 2013-03-13 | 广东欧珀移动通信有限公司 | Automatic focusing method and device |
CN103870257A (en) * | 2012-12-13 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Continuous focusing method and device |
WO2016117107A1 (en) * | 2015-01-23 | 2016-07-28 | オリンパス株式会社 | Endoscope device and focus control method for endoscope device |
US20160227101A1 (en) * | 2015-02-02 | 2016-08-04 | Canon Kabushiki Kaisha | Image capturing apparatus and control method thereof, and storage medium |
CN106161919A (en) * | 2015-04-15 | 2016-11-23 | 阿里巴巴集团控股有限公司 | The method and apparatus of scanogram |
-
2017
- 2017-08-24 CN CN201710735297.XA patent/CN107613194B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872105A (en) * | 2010-06-02 | 2010-10-27 | 华为终端有限公司 | Method and device for photographing |
CN102970485A (en) * | 2012-12-03 | 2013-03-13 | 广东欧珀移动通信有限公司 | Automatic focusing method and device |
CN103870257A (en) * | 2012-12-13 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Continuous focusing method and device |
WO2016117107A1 (en) * | 2015-01-23 | 2016-07-28 | オリンパス株式会社 | Endoscope device and focus control method for endoscope device |
US20160227101A1 (en) * | 2015-02-02 | 2016-08-04 | Canon Kabushiki Kaisha | Image capturing apparatus and control method thereof, and storage medium |
CN106161919A (en) * | 2015-04-15 | 2016-11-23 | 阿里巴巴集团控股有限公司 | The method and apparatus of scanogram |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022000258A1 (en) * | 2020-06-30 | 2022-01-06 | 深圳市大疆创新科技有限公司 | Focusing method and apparatus, electronic device, and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN107613194B (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107820011A (en) | Photographic method and camera arrangement | |
CN107509038A (en) | A kind of image pickup method and mobile terminal | |
CN107592471A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN107817939A (en) | A kind of image processing method and mobile terminal | |
CN106648118A (en) | Virtual teaching method based on augmented reality, and terminal equipment | |
CN107682627A (en) | A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium | |
CN107343064A (en) | A kind of mobile terminal of two-freedom rotating camera | |
CN107317963A (en) | A kind of double-camera mobile terminal control method, mobile terminal and storage medium | |
CN107948530A (en) | A kind of image processing method, terminal and computer-readable recording medium | |
CN107133939A (en) | A kind of picture synthesis method, equipment and computer-readable recording medium | |
CN106959761A (en) | A kind of terminal photographic method, device and terminal | |
CN107124552A (en) | A kind of image pickup method, terminal and computer-readable recording medium | |
CN107241552A (en) | A kind of image acquiring method, device, storage medium and terminal | |
CN107231470A (en) | Image processing method, mobile terminal and computer-readable recording medium | |
CN108337381A (en) | A kind of lens control method and mobile terminal | |
CN108833709A (en) | A kind of the starting method and mobile terminal of camera | |
CN107483836A (en) | A kind of image pickup method and mobile terminal | |
CN107404618A (en) | A kind of image pickup method and terminal | |
CN108171743A (en) | Method, equipment and the computer for shooting image can storage mediums | |
CN107580181A (en) | A kind of focusing method, equipment and computer-readable recording medium | |
CN107767430A (en) | One kind shooting processing method, terminal and computer-readable recording medium | |
CN107749947A (en) | Photographic method, mobile terminal and computer-readable recording medium | |
CN108833796A (en) | A kind of image capturing method and terminal | |
CN108174081A (en) | A kind of image pickup method and mobile terminal | |
CN107450796A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |