CN103945119B - The method and its mobile terminal of raising camera focusing speed based on mobile terminal - Google Patents
The method and its mobile terminal of raising camera focusing speed based on mobile terminal Download PDFInfo
- Publication number
- CN103945119B CN103945119B CN201410098184.XA CN201410098184A CN103945119B CN 103945119 B CN103945119 B CN 103945119B CN 201410098184 A CN201410098184 A CN 201410098184A CN 103945119 B CN103945119 B CN 103945119B
- Authority
- CN
- China
- Prior art keywords
- focusing
- frame per
- camera
- mobile terminal
- exposure
- 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.)
- Active
Links
Landscapes
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method of the raising camera focusing speed based on mobile terminal, including:Receive focusing order;Detect and judge whether the current frame rate of camera is less than setting frame per second;When judged result for when being, acquisition is more than the focusing frame per second of current frame rate;Focusing is completed according to focusing frame per second.Compared with prior art, mobile terminal of the present invention is after focusing order is received, detect first and judge whether the current frame rate of camera is less than setting frame per second, then in judged result for when being, obtain the focusing frame per second more than current frame rate, focusing is finally completed according to focusing frame per second, it is achieved thereby that in focus process, when ambient brightness is relatively low(I.e. current frame rate is less than setting frame per second)When, it is not to be focused with relatively low current frame rate, but focusing is completed with a larger focusing frame per second, focusing speed is fast, better user experience.The present invention discloses a kind of mobile terminal for improving camera focusing speed.
Description
Technical field
The present invention relates to field of photography, more particularly relates to a kind of raising camera focusing speed based on mobile terminal
Method and its mobile terminal.
Background technology
At present, in addition to camera possesses shoot function, camera has been installed on most of mobile terminals, has realized shooting work(
Energy.Camera unit on camera or mobile terminal typically has automatic focusing function, so that can be to shooting field in image preview
Scape is focused.However, in the environment of dark, in order to ensure photo quality, camera can typically use relatively low frame
Rate is taken pictures, and is also focused with the relatively low frame per second during auto-focusing, and so as to cause to focus, speed is very slow.
The content of the invention
It is an object of the invention to provide a kind of method of the raising camera focusing speed based on mobile terminal, to realize
Rapid focus in the environment of dark, improve Consumer's Experience.
It is a further object of the present invention to provide it is a kind of improve camera focusing speed mobile terminal, with realize light compared with
Rapid focus under dark environment, improve Consumer's Experience.
To achieve the above object, the invention provides a kind of side of the raising camera focusing speed based on mobile terminal
Method, comprise the following steps:
Receive focusing order;
Detect and judge whether the current frame rate of camera is less than setting frame per second;
When judged result for when being, acquisition is not less than the focusing frame per second of the current frame rate;
Focusing is completed according to the focusing frame per second,
Wherein,
" the obtaining the focusing frame per second not less than the setting frame per second " specifically includes:
The exposure meter of mobile terminal memory storage is adjusted so that frame per second corresponding to any exposure parameter is not less than institute in exposure meter
State setting frame per second.
Compared with prior art, the method for raising camera focusing speed of the present invention based on mobile terminal, mobile terminal
After focusing order is received, detect first and judge whether the current frame rate of camera is less than setting frame per second, then judging
As a result when being, to obtain the focusing frame per second more than current frame rate, focusing is finally completed according to focusing frame per second, it is achieved thereby that right
When ambient brightness relatively low (i.e. current frame rate is less than setting frame per second), focused with relatively low current frame rate during Jiao, and
It is that focusing is completed with a focusing frame per second for being more than current frame rate, focusing speed is fast, better user experience.
It is preferred that " the obtaining the focusing frame per second not less than the setting frame per second " specifically also includes:
The exposure meter after adjustment is searched to obtain corresponding frame per second as the focusing frame according to current environment brightness
Rate.
It is preferred that also include after described " completing focusing according to the focusing frame per second ":
Judge whether the exposure meter changes;
State to focusing is recovered the exposure meter according to judged result.
It is preferred that also include after described " detect and judge whether the current frame rate of camera is less than setting frame per second ":
When judged result is no, complete to focus according to the current frame rate.
It is preferred that also include after described " completing focusing according to the focusing frame per second ":
The frame per second of camera is adjusted to the current frame rate by the focusing frame per second.
Accordingly, present invention also offers a kind of mobile terminal for improving camera focusing speed, including:
Receiving module, for receiving focusing order;
Judge module is detected, for detecting and judging whether the current frame rate of camera is less than setting frame per second;
Acquisition module, for when the judged result of the detection judge module is is, acquisition to be not less than the present frame
The focusing frame per second of rate;And
First Focusing module, for completing focusing according to the focusing frame per second,
Wherein,
The acquisition module specifically includes:
Adjustment unit, for adjusting the exposure meter of mobile terminal memory storage so that in exposure meter corresponding to any exposure parameter
Frame per second is not less than the setting frame per second.
It is preferred that the acquisition module specifically also includes:
Acquiring unit, made for searching the exposure meter after adjustment according to current environment brightness with obtaining corresponding frame per second
For the focusing frame per second.
It is preferred that the mobile terminal for improving camera focusing speed also includes:
Second Focusing module, for it is described detection judge module judged result for it is no when, according to the current frame rate
Focusing;
Judge module, for after the completion of focusing, judging whether the exposure meter changes;
Recovery module, the exposure meter is recovered to the shape to focusing for the judged result according to the judge module
State;And
Frame per second adjusting module, for after the completion of focusing, the frame per second of the camera to be adjusted to by the focusing frame per second
The current frame rate.
It will be become more fully apparent by following description and with reference to accompanying drawing, the present invention, these accompanying drawings are used to explain the present invention
Embodiment.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of method one of raising camera focusing speed of the present invention based on mobile terminal.
Fig. 2 is the structured flowchart for the embodiment of mobile terminal one that the present invention improves camera focusing speed.
Embodiment
Embodiments of the invention are described with reference now to accompanying drawing, similar element numbers represent similar element in accompanying drawing.This
The method of raising camera focusing speed of the invention based on mobile terminal receives meeting after focusing order when ambient brightness is relatively low
The quick frame per second for improving camera, is focused with larger focusing frame per second, after focusing terminates, is recovered the frame per second before focusing, is realized
Rapid focus, better user experience.
Fig. 1 is refer to, the method for the raising camera focusing speed of the invention based on mobile terminal comprises the following steps:
Step S101, receive the focusing order that upper strata issues;
Step S102, the frame per second of camera under current environment brightness is detected, the frame per second is designated as current frame rate, such as present frame
Rate is 15 frames/second;It is one-to-one relationship wherein between the frame per second of ambient brightness and camera;
Specifically, being stored with an exposure meter in mobile terminal, include multiple exposure parameters, exposure parameter in exposure meter
Including ambient brightness X, time for exposure Y and signal gain value Z (simulated image data collected carry out analog-to-digital conversion it
Preceding gain amplifier, because signal gain can amplify noise signal simultaneously, therefore signal gain value is not the bigger the better), it is above-mentioned
One-to-one relation between exposure parameter be present, in addition, it is between time for exposure and the frame per second of camera and one-to-one,
Therefore be one-to-one between ambient brightness, time for exposure, signal gain value and frame per second, exposure meter is as shown in table 1 below:
Ambient brightness X | Time for exposure Y | Signal gain value Z |
X0 | Y0 | Z0 |
X1 | Y1 | Z1 |
…… | ……. | ……. |
Xn | Yn | Zn |
Table 1
As shown in Table 1, ambient brightness X0 corresponds to time for exposure Y0 and the corresponding exposure of signal gain value Z0, ambient brightness X1
Time Y1 and signal gain value Z1 ... ambient brightness Xn correspond to time for exposure Yn and signal gain value Zn, that is, are working as front ring
When border brightness is X0, to ensure shooting quality, the time for exposure Y for setting camera is Y0, while sets image-signal processor
(ISP) signal gain value Z is Z0, and the rest may be inferred.In order to ensure the quality of photograph, when ambient brightness X is bigger, general exposure
Time, Y was shorter, and signal gain value Z is bigger, and similarly, when ambient brightness X smaller (i.e. dark), the time for exposure, Y was longer, letter
Number yield value Z is smaller, therefore when X0 to Xn (i.e. ambient brightness is by bright dimmed) from large to small in table 1, then time for exposure Y0 to Yn
Change from small to big, signal gain value Z0 to Zn is from large to small;And between frame per second and time for exposure Y it is in inverse relation, the time for exposure, Y was got over
Long, frame per second is lower, and so as to which in dark, frame per second is relatively low, focusing speed is very slow.
Step S103, judges whether current frame rate is less than setting frame per second, if the determination result is YES, performs step S104, instead
It, performs step S106, wherein setting frame per second is the reference value pre-set, such as sets frame per second as 20 frames/second, then current
When frame per second is less than 20 frames/second, step S104 is performed, otherwise perform step S106;
Step S104, obtains the focusing frame per second more than current frame rate, more specifically, in the present embodiment is to obtain to be not less than to set
The frame per second of camera, is then adjusted to by the focusing frame per second (i.e. the frame per second of camera in focus process) of framing rate by current frame rate
Focusing frame per second;
Wherein, the method for acquisition focusing frame per second has a variety of, simply can directly set the larger frame per second (frame per second
Not less than setting frame per second), after camera receives focusing order, the frame per second is directly arranged to frame per second of focusing.
It is of course also possible to use other modes realize, as adjust mobile terminal in exposure meter, then mobile terminal according to
Exposure meter after current environment brightness and adjustment obtains focusing frame per second.In the present embodiment using obtain by this way focusing frame per second as
Example illustrates.Specifically, in order to avoid camera during focusing frame per second because ambient brightness it is dark and too low, can be according to default
Rule adjustment exposure meter so that when ambient brightness is dark, the frame per second of camera still is able to, not less than setting frame per second, such as set frame
Ambient brightness corresponding to rate is Xa (a<N) when, the time for exposure is Za, exposure meter can be adjusted, ambient brightness in exposure meter is small
Time for exposure corresponding to ambient brightness X in Xa is adjusted to Za, and corresponding signal gain value is set to maximum Y0, so as to
To ensure that the time for exposure is up to Za in exposure meter, so as to the minimum setting frame per second of frame per second of camera, then mobile terminal root
The frame per second of camera is obtained according to the exposure meter after current environment brightness and adjustment, the frame per second is frame per second of focusing, so as to obtain
Focusing frame per second not less than setting frame per second.
Step S105, voice coil motor setting in motion, with obtained focusing frame per second search focusing most clearly position to complete
Focusing;
Step S106, voice coil motor setting in motion, with current frame rate search focusing most clearly position to complete to focus;
It can be seen that from above-mentioned steps S105 and step S106:Current frame rate higher than setting frame per second when, camera with work as
Preceding frame per second focusing, when current frame rate is less than setting frame per second (i.e. ambient brightness is relatively low), obtain the focusing no more than current frame rate
Frame per second, then focused with frame per second of focusing, it is achieved thereby that being focused in focus process using larger frame per second, solve because
Ambient brightness is too low and causes that frame per second is too low, the slow-footed problem of focusing.
Step S107, after the completion of focusing, judge whether change exposure meter in focus process, if the determination result is YES, perform
Step S108, conversely, performing step S109;
Step S108, adjusts exposure meter again, and exposure meter is reverted into the exposure meter before focusing;
Step S109, the frame per second of camera is reverted into current frame rate (frame per second before focusing) by focusing frame per second;Right
After close-burning beam, by the way that the frame per second of camera to be adjusted to the frame per second before focusing, solves user in preview, due to focus process
Middle raising frame per second make it that signal gain value is excessive and then the problem of causing noise excessive, better user experience.
Fig. 2 is refer to, the mobile terminal 100 that the present invention improves camera focusing speed includes:
Receiving module 10, for receiving focusing order;
Judge module 11 is detected, for detecting and judging whether the current frame rate of camera is less than setting frame per second;
Acquisition module 12, for when the judged result for detecting judge module 11 is to be, obtaining pair more than current frame rate
Burnt frame per second;More specifically, acquisition module 12 is used in the judged result for detecting judge module 11 for when being, acquisition is not less than setting
The focusing frame per second of frame per second, acquisition module 12 include adjustment unit 121 and acquiring unit 122, and adjustment unit 121, which is used to adjust, to be moved
The exposure meter of dynamic terminal memory storage is so that frame per second corresponding to any exposure parameter is not less than setting frame per second in exposure meter, wherein exposing
Parameter includes ambient brightness, time for exposure and signal gain value, and acquiring unit 122 is used for according to current environment brightness and adjustment
Exposure meter afterwards obtains focusing frame per second;
First Focusing module 13, the focusing frame per second for being obtained according to acquisition module 12 complete focusing;
Second Focusing module 14, for when the judged result for detecting judge module 11 is no, being completed according to current frame rate
Focusing;
Judge module 15, for after the completion of focusing, judging whether exposure meter changes;
Recovery module 16, exposure meter is recovered to the state to focusing for the judged result according to judge module 15;With
And
Frame per second adjusting module 17, for after the completion of focusing, the frame per second of camera to be adjusted into present frame by focusing frame per second
Rate.
From the above, it can be seen that when the mobile terminal 100 that the present invention improves camera focusing speed works, receiving
After being ordered to focusing, detected first by detecting judge module 11 and judge whether the current frame rate of camera is less than setting frame
Rate, if the determination result is YES, then the focusing frame per second not less than setting frame per second is obtained by acquisition module 12, then the first focusing mould
The focusing frame per second that block 13 obtains according to acquisition module 12 completes focusing, when judged result is no, the basis of the second Focusing module 14
Current frame rate is focused, and after focusing terminates, the frame per second of camera is adjusted to current frame rate by frame per second adjusting module 17 by focusing frame per second,
It is not with relatively low when ambient brightness relatively low (i.e. current frame rate is less than setting frame per second) it is achieved thereby that in focus process
Current frame rate is focused, but completes focusing with a larger focusing frame per second, and focusing speed is fast, better user experience.
Above in association with most preferred embodiment, invention has been described, but the invention is not limited in implementation disclosed above
Example, and modification, equivalent combinations that the various essence according to the present invention are carried out should be covered.
Claims (6)
- A kind of 1. method of the raising camera focusing speed based on mobile terminal, it is characterised in that comprise the following steps:Receive focusing order;Detect and judge whether the current frame rate of camera is less than setting frame per second;When judged result for when being, the exposure meter of adjustment mobile terminal memory storage is so that in exposure meter corresponding to any exposure parameter Frame per second is not less than the setting frame per second, the exposure parameter in the exposure meter include one-to-one ambient brightness, the time for exposure, Signal gain value and frame per second;The frame per second of camera is obtained according to the exposure meter after current environment brightness and adjustment, using the frame per second as focusing frame Rate;Focusing is completed according to the focusing frame per second.
- 2. the method for the raising camera focusing speed based on mobile terminal as claimed in claim 1, it is characterised in that described Also include after " completing focusing according to the focusing frame per second ":Judge whether the exposure meter changes;State to focusing is recovered the exposure meter according to judged result.
- 3. the method for the raising camera focusing speed based on mobile terminal as claimed in claim 1, it is characterised in that described Also include after " detect and judge whether the current frame rate of camera is less than setting frame per second ":When judged result is no, complete to focus according to the current frame rate.
- 4. the method for the raising camera focusing speed based on mobile terminal as claimed in claim 1, it is characterised in that described Also include after " completing focusing according to the focusing frame per second ":The frame per second of camera is adjusted to the current frame rate by the focusing frame per second.
- A kind of 5. mobile terminal for improving camera focusing speed, it is characterised in that including:Receiving module, for receiving focusing order;Judge module is detected, for detecting and judging whether the current frame rate of camera is less than setting frame per second;Acquisition module, for when the judged result of the detection judge module is is, obtaining not less than the current frame rate Focusing frame per second;And first Focusing module, for completing focusing according to the focusing frame per second, wherein, the acquisition module is specific Including:Adjustment unit, for adjusting the exposure meter of mobile terminal memory storage so that frame corresponding to any exposure parameter in exposure meter Rate is not less than the setting frame per second, and the exposure parameter in the exposure meter includes one-to-one ambient brightness, time for exposure, letter Number yield value and frame per second;Acquiring unit, for searching the exposure meter after adjustment according to current environment brightness to obtain corresponding frame per second as institute State focusing frame per second.
- 6. the mobile terminal of camera focusing speed is improved as claimed in claim 5, it is characterised in that also include:Second Focusing module, for when the judged result of the detection judge module is no, being focused according to the current frame rate;Judge module, for after the completion of focusing, judging whether the exposure meter changes;Recovery module, the exposure meter is recovered to the state to focusing for the judged result according to the judge module;With AndFrame per second adjusting module, for after the completion of focusing, the frame per second of the camera to be adjusted into described by the focusing frame per second Current frame rate.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810007720.9A CN107995430B (en) | 2014-03-17 | 2014-03-17 | Method for improving focusing speed of camera based on mobile terminal and mobile terminal thereof |
CN201410098184.XA CN103945119B (en) | 2014-03-17 | 2014-03-17 | The method and its mobile terminal of raising camera focusing speed based on mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410098184.XA CN103945119B (en) | 2014-03-17 | 2014-03-17 | The method and its mobile terminal of raising camera focusing speed based on mobile terminal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810007720.9A Division CN107995430B (en) | 2014-03-17 | 2014-03-17 | Method for improving focusing speed of camera based on mobile terminal and mobile terminal thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103945119A CN103945119A (en) | 2014-07-23 |
CN103945119B true CN103945119B (en) | 2018-01-23 |
Family
ID=51192578
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410098184.XA Active CN103945119B (en) | 2014-03-17 | 2014-03-17 | The method and its mobile terminal of raising camera focusing speed based on mobile terminal |
CN201810007720.9A Active CN107995430B (en) | 2014-03-17 | 2014-03-17 | Method for improving focusing speed of camera based on mobile terminal and mobile terminal thereof |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810007720.9A Active CN107995430B (en) | 2014-03-17 | 2014-03-17 | Method for improving focusing speed of camera based on mobile terminal and mobile terminal thereof |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN103945119B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954680A (en) * | 2015-06-16 | 2015-09-30 | 深圳市金立通信设备有限公司 | Camera focusing method and terminal |
CN105611139B (en) * | 2015-07-15 | 2018-04-10 | 宇龙计算机通信科技(深圳)有限公司 | Image processing method, image processing apparatus and terminal |
CN105227840B (en) * | 2015-10-08 | 2019-04-19 | Oppo广东移动通信有限公司 | Focusing method and device |
CN106454127A (en) * | 2016-11-29 | 2017-02-22 | 惠州Tcl移动通信有限公司 | Method and system of improving the starting speed of camera of mobile terminal |
CN108622100A (en) * | 2018-05-14 | 2018-10-09 | 常州星宇车灯股份有限公司 | A kind of road conditions automatic identification module |
CN116074634B (en) * | 2022-05-27 | 2023-11-14 | 荣耀终端有限公司 | Exposure parameter determination method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102246504A (en) * | 2008-12-18 | 2011-11-16 | 高通股份有限公司 | System and method to autofocus assisted by autoexposure control |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100337156C (en) * | 2002-12-05 | 2007-09-12 | 联咏科技股份有限公司 | Rapid convergence method for correct exposure value |
JP5036410B2 (en) * | 2007-05-31 | 2012-09-26 | キヤノン株式会社 | Imaging apparatus and control method thereof |
JP4492724B2 (en) * | 2008-03-25 | 2010-06-30 | ソニー株式会社 | Image processing apparatus, image processing method, and program |
US8154753B2 (en) * | 2008-10-29 | 2012-04-10 | Thx, Ltd. | Method and system for providing access to image system services |
JP2010160311A (en) * | 2009-01-08 | 2010-07-22 | Panasonic Corp | Imaging apparatus |
CN101959016B (en) * | 2009-07-14 | 2012-08-22 | 华晶科技股份有限公司 | Power-saving method of image capture device |
JP2012100236A (en) * | 2010-11-03 | 2012-05-24 | Kazumoto Suzuki | High-speed exposure control |
CN102830573B (en) * | 2012-09-10 | 2015-08-19 | 华为终端有限公司 | A kind of flash control method and device |
-
2014
- 2014-03-17 CN CN201410098184.XA patent/CN103945119B/en active Active
- 2014-03-17 CN CN201810007720.9A patent/CN107995430B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102246504A (en) * | 2008-12-18 | 2011-11-16 | 高通股份有限公司 | System and method to autofocus assisted by autoexposure control |
Also Published As
Publication number | Publication date |
---|---|
CN107995430B (en) | 2020-09-01 |
CN103945119A (en) | 2014-07-23 |
CN107995430A (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103945119B (en) | The method and its mobile terminal of raising camera focusing speed based on mobile terminal | |
CN106412447B (en) | exposure control system and method thereof | |
JP4240023B2 (en) | Imaging apparatus, imaging method and imaging program, and image processing apparatus, image processing method and image processing program | |
CN104536249A (en) | Method and device for regulating focal length of projector | |
CN105306806B (en) | A kind of mobile terminal and its method taken pictures | |
WO2020095130A1 (en) | Image capture device control based on determination of blur value of objects in images | |
CN105847693A (en) | Shooting method and system based on two-camera focusing | |
US8810712B2 (en) | Camera system and auto focus method | |
CN104580901B (en) | Determine the method and terminal of acquisition parameters | |
CN108616685B (en) | Focusing method and focusing device | |
TWI524108B (en) | Passive auto-focus device and method | |
WO2021083173A1 (en) | Exposure control method and device, and storage medium | |
US20160248988A1 (en) | Method for Obtaining a Picture and Multi-Camera System | |
CN111246092B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN106506946B (en) | A kind of camera automatic focusing method and video camera | |
CN103905740A (en) | Method and device for improving automatic exposure effect realized through manual adjustment | |
CN105812670A (en) | Picture taking method and terminal | |
CN105812672A (en) | Method and device for photographing processing | |
CN105049716A (en) | Preview image processing method and user terminal | |
CN104601883B (en) | A kind of method and device of image taking | |
CN102004370B (en) | Method for detecting focal length by flashlight in auxiliary manner | |
US20160050361A1 (en) | Apparatus and method for automatically adjusting focus in image capturing device | |
CN105847706A (en) | Method and device for dynamically adjusting exposure | |
CN106454123B (en) | A kind of method and mobile terminal of focusing of taking pictures | |
CN105791656A (en) | Correction system and method of image module optical image stabilizer system |
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 |