CN105657280A - Fast focusing method and device and mobile terminal - Google Patents

Fast focusing method and device and mobile terminal Download PDF

Info

Publication number
CN105657280A
CN105657280A CN201610116545.8A CN201610116545A CN105657280A CN 105657280 A CN105657280 A CN 105657280A CN 201610116545 A CN201610116545 A CN 201610116545A CN 105657280 A CN105657280 A CN 105657280A
Authority
CN
China
Prior art keywords
brightness value
focusing
compensating lamp
light compensating
brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610116545.8A
Other languages
Chinese (zh)
Other versions
CN105657280B (en
Inventor
卓世杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610116545.8A priority Critical patent/CN105657280B/en
Publication of CN105657280A publication Critical patent/CN105657280A/en
Application granted granted Critical
Publication of CN105657280B publication Critical patent/CN105657280B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Abstract

The invention discloses a fast focusing method and device and a mobile terminal. The fast focusing method comprises the steps that when a focusing instruction is received, a first brightness value and a first focusing parameter are acquired, and the brightness value is the brightness value obtained before a light-compensating lamp is turned on; the light-compensating lamp is turned on; a second focusing parameter is determined according to the first brightness value, the first focusing parameter, a second brightness value and a preset light-compensating lamp brightness value, and the second brightness value is the brightness value obtained after the light-compensating lamp is turned on; focusing is carried out according to the second focusing parameter. According to the fast focusing method and device and the mobile terminal, the brightness can be enhanced through the light-compensating lamp before focusing, then focusing is carried out in the environment with the brightness increased, and fast focusing is carried out in a low-light environment.

Description

A kind of quick focusing method, device and mobile terminal
Technical field
The present embodiments relate to mobile terminal shooting technology, particularly relate to a kind of quick focusing method, device and mobile terminal.
Background technology
Along with the development of electronic equipment, the photographic head that the terminal such as smart mobile phone can be passed through to configure is taken pictures. When taking pictures, first mobile phone camera focuses, and by button of taking pictures, defocused user is performed photographing operation.
At present, mobile phone camera, in order to promote focusing speed, adopts phase-detection focusing. But owing to the partial pixel left side or the pixel of the right half are only used in phase-detection focusing, can cause that phase-detection is unreliable under low light, therefore under low light, often adopt contrast formula to focus.
But, under low light, the frame per second of camera is relatively low, and now employing contrast formula focus search speed can be very slow, and overall focusing is experienced not good.
Summary of the invention
The present invention provides a kind of quick focusing method, device and mobile terminal, to realize rapid focus under low luminous environment.
First aspect, embodiments provides a kind of quick focusing method, including:
When receiving focusing instruction, obtaining the first brightness value and the first focusing parameter, described first brightness value is open the brightness value before light compensating lamp;
Open light compensating lamp;
Determine that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value;
Focus according to described second focusing parameter.
Second aspect, the embodiment of the present invention additionally provides a kind of rapid focus device, including:
Luminance obtaining unit, for when receiving focusing instruction, obtaining the first brightness value, described first brightness value is open the brightness value before light compensating lamp;
Computing unit, ought receive described focusing instruction for basis and determine the first focusing parameter;
Light compensating lamp control unit, is used for opening light compensating lamp;
Described computing unit is additionally operable to, and determines that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value;
Focusing unit, for focusing according to described second focusing parameter.
The third aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal includes the rapid focus device shown in second aspect.
Quick focusing method, device and the mobile terminal that the embodiment of the present invention provides, first when receiving focusing instruction, obtains the first brightness value and the first focusing parameter; Secondly, light compensating lamp is opened; Again, the second focusing parameter is determined according to the first brightness value calculated, the first focusing parameter, the second brightness value and default light compensating lamp brightness value; Finally, focus according to described second focusing parameter. In prior art, when receiving focusing instruction, being not turned on light compensating lamp, be made directly focusing, under low luminous environment, focus effects is poor. The present invention can strengthen brightness by light compensating lamp before focusing, then focuses under the environment increasing brightness, it is achieved rapid focus under low luminous environment.
Accompanying drawing explanation
Fig. 1 is the flow chart of the quick focusing method in the embodiment of the present invention one;
Fig. 2 is the flow chart of the quick focusing method in the embodiment of the present invention two;
Fig. 3 is the structural representation of the rapid focus device in the embodiment of the present invention three;
Fig. 4 is the mobile terminal structure schematic diagram in the embodiment of the present invention four.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail. It is understood that specific embodiment described herein is used only for explaining the present invention, but not limitation of the invention. It also should be noted that, for the ease of describing, accompanying drawing illustrate only part related to the present invention but not entire infrastructure.
Embodiment one
The flow chart of the quick focusing method that Fig. 1 provides for the embodiment of the present invention one, the present embodiment is applicable to the situation that mobile terminal camera carries out focusing, the method can be performed by the mobile terminal with camera function, mobile terminal can be smart mobile phone, panel computer etc., and the method specifically includes following steps:
S110, when receive focusing instruction time, obtain the first brightness value and first focusing parameter.
Wherein, described first brightness value is open the brightness value before light compensating lamp. After user starts the camera function of mobile terminal, showing the image that photographic head gets in the screen of mobile terminal, user can choose focus in the images by clicking operation. After mobile terminal receives this clicking operation, trigger focusing instruction.
When user triggers focusing instruction, mobile terminal obtains, by the original paper such as light sensor, the brightness value that current time is corresponding, using this brightness value as the first brightness value. For phase-detection focusing, focusing parameter is: time of exposure (exposuretime) * gain (ISO). Brightness value=environment light+time of exposure (exposuretime) * gain (ISO). Focusing parameter can be determined according to the brightness of the focusing that user selects.
S120, unlatching light compensating lamp.
Light compensating lamp can be the flash lamp on mobile terminal. Light compensating lamp and photographic head can be located at the same side of mobile terminal.
S130, determine the second focusing parameter according to the first brightness value, the first focusing parameter, the second brightness value and default light compensating lamp brightness value.
Wherein, described second brightness value is open the brightness value after light compensating lamp.
After opening light compensating lamp, the default light filling brightness value that new ambient brightness provides plus light compensating lamp for old ambient brightness.
Before opening light compensating lamp, the first brightness value (cur_luma)=former environmental light brightness the+the first focusing parameter (exposuretime*ISO). When opening light compensating lamp, the second brightness value (threshold_luma)=former environmental light brightness the+the second focusing parameter (newexposuretime*newISO)+preset light compensating lamp brightness value (flash_luma).First brightness value and the second brightness value are subtracted each other and obtains formula one, the second focusing coefficient can be calculated according to formula one.
Concrete, calculate described second focusing parameter according to formula one:
Formula one: the first brightness value the-the second brightness value=-preset light compensating lamp brightness value the+the first focusing parameter the-the second focusing parameter.
According to formula one it can be seen that the second focusing parameter=-preset light compensating lamp brightness value+the first and focus parameter-(first brightness value the-the second brightness value). Owing to default light compensating lamp brightness value, the first focusing parameter, the first brightness value and the second brightness value are known quantity, the second focusing parameter therefore can be calculated.
S140, parameter of focusing according to second are focused.
In one implementation: first, the target light exposure time that the first focusing parameter is corresponding is obtained; Then, described target gain is determined according to described second focusing parameter, described target light exposure time; Finally, focus according to described target gain. Can accelerating focusing speed owing to preserving high frame per second, therefore newexposuretime preserves as far as possible and does not drop frame per second. Optionally, the time of exposure in the second focusing parameter and the focusing time in the first focusing parameter keep consistent. So that when opening light compensating lamp and focusing, it is achieved stable exposure, preserve high frame per second simultaneously as much as possible and run.
The technical scheme that the present embodiment provides, first when receiving focusing instruction, obtains the first brightness value and the first focusing parameter; Secondly, light compensating lamp is opened; Again, the second focusing parameter is determined according to the first brightness value calculated, the first focusing parameter, the second brightness value and default light compensating lamp brightness value; Finally, focus according to described second focusing parameter. In prior art, when receiving focusing instruction, being not turned on light compensating lamp, be made directly focusing, under low luminous environment, focus effects is poor. The present embodiment can strengthen brightness by light compensating lamp before focusing, then focuses under the environment increasing brightness, it is achieved rapid focus under low luminous environment. After utilizing light compensating lamp light filling, light filling when can focus under low light, for supporting that the mobile phone of phase-detection focusing can be focused by phase-detection, settle focusing at one go; For not supporting that mobile phone that phase-detection focuses is due to light filling, frame per second also can improve, and namely uses contrast formula focusing speed also can accelerate.
Embodiment two
The flow chart of the quick focusing method that Fig. 2 provides for the embodiment of the present invention two, as further illustrating embodiment one, S110, when receiving focusing instruction, obtain the first brightness, can be carried out by following manner:
S111, when receive focusing instruction time, obtain environmental light brightness.
Environmental light brightness can obtain light intensity signal by light sensor, and light intensity signal fills Huawei's brightness value.
If S112 environmental light brightness is less than predetermined luminance threshold value, then obtain the first brightness.
Exemplarily, predetermined luminance threshold value more than 10Lux (lux) less than 80Lux, it is preferred to 50Lux. After obtaining environmental light brightness, it is judged that whether this environmental light brightness is less than predetermined luminance threshold value. If environmental light brightness is less than predetermined luminance threshold value, then requires over light compensating lamp and carry out light filling and focus. Otherwise, if environmental light brightness is be more than or equal to predetermined luminance threshold value, then without carrying out light filling by light compensating lamp, focusing can be made directly.
The technical scheme that the present embodiment provides, it is possible to determine whether that opening light compensating lamp carries out light filling, opens light compensating lamp when needs carry out light filling according to environmental light brightness, improve focusing efficiency;When being made without light filling, it is made directly focusing, saves resource consumption.
Further, the embodiment of the present invention additionally provides a kind of quick focusing method, S110, determine the first focusing parameter according to the first brightness value before, described method also includes:
S101, under full dark situation start light compensating lamp.
Full ambient engine is the situation that environmental light intensity is more weak, for instance the environmental light brightness situation less than 10, it is preferred to environmental light brightness is 0lux.
S102, acquisition light compensating lamp effect picture.
Under full dark situation, after starting light compensating lamp and obtaining light compensating lamp irradiation, the picture of solid background. Solid background can be black, white etc.
S103, determine default light compensating lamp brightness value according to light compensating lamp effect picture.
In one implementation, the S102 effect picture obtained is split, as picture is split according to modes such as 9*9 or 16*16, obtain the brightness value that brightness is the highest in picture region is corresponding, be defined as this brightness value presetting light compensating lamp brightness value.
It should be noted that for the light compensating lamp of same model, the default light compensating lamp brightness value that by manufacturer or goods providers, light compensating lamp can be able to be provided measures.
By effect picture is analyzed, it is possible to accurately preset light compensating lamp brightness value, improves focusing and adjust degree of accuracy.
Further, after S140, parameter of focusing according to second are focused, also include:
S150, closedown light compensating lamp.
Open to prevent light compensating lamp from continuing and affect user's use, carrying out defocused, close light compensating lamp. In time taking pictures, light compensating lamp can be then turned on and carry out light filling.
The technical scheme that the present embodiment provides, it is possible to close light compensating lamp after carrying out rapid focus in time, saves system resource.
Embodiment three
The structural representation of the rapid focus device 1 that Fig. 3 provides for the embodiment of the present invention three, described rapid focus device 1 is arranged in the mobile terminal with camera function. A kind of rapid focus device 1, including:
Luminance obtaining unit 11, for when receiving focusing instruction, obtaining the first brightness value, described first brightness value is open the brightness value before light compensating lamp;
Computing unit 12, ought receive described focusing instruction for basis and determine the first focusing parameter;
Light compensating lamp control unit 13, is used for opening light compensating lamp;
Described computing unit 12 is additionally operable to, and determines that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value;
Focusing unit 14, for focusing according to described second focusing parameter.
Further, described luminance obtaining unit 11 specifically for:
When receiving focusing instruction, obtain environmental light brightness;
If described environmental light brightness is less than predetermined luminance threshold value, then obtain the first brightness.
Further, described device 1 also includes presetting light compensating lamp brightness value acquiring unit 15;
Described light compensating lamp control unit 13 is used for, and starts light compensating lamp under full dark situation;
Described default light compensating lamp brightness value acquiring unit 15 is used for, and obtains light compensating lamp effect picture, determines default light compensating lamp brightness value according to described light compensating lamp effect picture.
Further, described computing unit 12 specifically for:
Described second focusing parameter is calculated according to following formula:
First brightness value the-the second brightness value=-preset light compensating lamp brightness value the+the first focusing parameter the-the second focusing parameter.
Further, described light compensating lamp control unit 13 is additionally operable to:
After described focusing unit 14 is focused according to described second focusing parameter, close light compensating lamp.
The method that said apparatus can perform the embodiment of the present invention one and embodiment two provides, possesses the execution corresponding functional module of said method and beneficial effect. The not ins and outs of detailed description in the present embodiment, the method that can provide referring to the embodiment of the present invention one and embodiment two.
Embodiment four
The structural representation of a kind of mobile terminal that Fig. 4 provides for the embodiment of the present invention four, described mobile terminal includes the rapid focus device shown in embodiment three, is used for implementing above-mentioned quick focusing method. Mobile terminal can include communication unit 21, includes the memorizer 22 of at least one computer-readable recording medium, input block 23, display unit 24, sensor 25, voicefrequency circuit 26, WIFI (WirelessFidelity, Wireless Fidelity) module 27, include at least one parts such as the processor 28 processing core and power supply 29. It will be understood by those skilled in the art that the mobile terminal structure shown in figure is not intended that the restriction to mobile terminal, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged. Concrete:
Communication unit 21 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, this communication unit 21 can be RF (RadioFrequency, radio frequency) circuit, router, modem, etc. network communication equipment. especially, when communication unit 21 is RF circuit, after the downlink information of base station is received, transfer to one or more than one processor 28 processes, it addition, be sent to base station by relating to up data. generally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, bonder, LNA (LowNoiseAmplifier, low-noise amplifier), duplexer etc. communicate additionally, communication unit 21 can also pass through radio communication with network and other equipment. described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, CDMA), WCDMA (WidebandCodeDivisionMultipleAccess, WCDMA), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc. memorizer 22 can be used for storing software program and module, and processor 28 is stored in software program and the module of memorizer 22 by running, thus performing the application of various function and data process. memorizer 22 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function, storage data field can store the data (such as voice data, phone directory etc.) etc. that the use according to mobile terminal creates. additionally, memorizer 22 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts. correspondingly, memorizer 22 can also include Memory Controller, to provide processor 28 and the input block 23 access to memorizer 22.
Input block 23 can be used for receiving numeral or the character information of input, and produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal and input. Preferably, input block 23 can include Touch sensitive surface 231 and other input equipments 232. Touch sensitive surface 231, also referred to as touching display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on Touch sensitive surface 231 or near Touch sensitive surface 231), and drive corresponding connecting device according to formula set in advance. Optionally, Touch sensitive surface 231 can include touch detecting apparatus and two parts of touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 28, and can receive order that processor 28 sends and be performed. Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize Touch sensitive surface 231. Except Touch sensitive surface 231, input block 23 can also include other input equipments 232. Preferably, other input equipments 232 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 24 can be used for showing the various graphical user interface of information or the information being supplied to user and the mobile terminal inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any. Display unit 24 can include display floater 241, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 241. Further, Touch sensitive surface 231 can cover display floater 241, when Touch sensitive surface 231 detects thereon or after neighbouring touch operation, send processor 28 to determine the type of touch event, on display floater 241, provide corresponding visual output with preprocessor 28 according to the type of touch event. Although in the diagram, Touch sensitive surface 231 and display floater 241 are to realize input and input function as two independent parts, but in some embodiments it is possible to by integrated to Touch sensitive surface 231 and display floater 241 and realize input and output function.
Mobile terminal may also include at least one sensor 25, such as optical sensor, motion sensor and other sensors. Optical sensor can include ambient light sensor and proximity transducer, wherein, ambient light sensor can regulate the brightness of display floater 241 according to the light and shade of ambient light, and proximity transducer when mobile terminal moves in one's ear, can cut out display floater 241 and/or backlight. One as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, can detect that the size of gravity and direction time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; Other sensors such as gyroscope that mobile terminal can also configure, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 26, speaker 261, microphone 262 can provide the audio interface between user and mobile terminal.Voicefrequency circuit 26 can by receive voice data conversion after the signal of telecommunication, be transferred to speaker 261, by speaker 261 be converted to acoustical signal output; On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 262, voice data is converted to after being received by voicefrequency circuit 26, after again voice data output processor 28 being processed, through RF circuit 21 to be sent to such as another mobile terminal, or voice data is exported to memorizer 22 to process further. Voicefrequency circuit 26 is also possible that earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal.
In order to realize radio communication, this first mobile terminal can being configured with wireless communication unit 27, this wireless communication unit 27 can be WIFI module. WIFI belongs to short range wireless transmission technology, and mobile terminal can help user to send and receive e-mail by wireless communication unit 27, browse webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed. Although there is shown wireless communication unit 27, but it is understood that, it is also not belonging to must be configured into of mobile terminal, can omit in disclosed essential scope as needed in not changing completely.
Processor 28 may utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in memorizer 22 and/or module by running or performing, and call the data being stored in memorizer 22, perform the various functions of mobile terminal and process data, thus mobile phone is carried out integral monitoring. Optionally, processor 28 can include one or more process core; Preferably, processor 28 can integrated application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 28.
Mobile terminal also includes the power supply 29 (such as battery) powered to all parts, preferably, it is logically contiguous with processor 28 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system. Power supply 29 can also include one or more direct current or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
It should be noted that mobile terminal can also include photographic head, bluetooth module etc., do not repeat them here.
In the present embodiment, processor 28 has following function:
When receiving focusing instruction, obtaining the first brightness value and the first focusing parameter, described first brightness value is open the brightness value before light compensating lamp;
Open light compensating lamp;
Determine that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value;
Focus according to described second focusing parameter.
Further, described when receive focusing instruction time, obtain the first brightness, including:
When receiving focusing instruction, obtain environmental light brightness;
If described environmental light brightness is less than predetermined luminance threshold value, then obtain the first brightness.
Further, before determine the first focusing parameter according to the first brightness value, described method also includes:
Light compensating lamp is started under full dark situation;
Obtain light compensating lamp effect picture;
Default light compensating lamp brightness value is determined according to described light compensating lamp effect picture.
Further, described according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value determine that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp, including:
Described second focusing parameter is calculated according to following formula:
First brightness value the-the second brightness value=-preset light compensating lamp brightness value the+the first focusing parameter the-the second focusing parameter.
Further, after focusing according to described second focusing parameter, also include:
Close light compensating lamp.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle. It will be appreciated by those skilled in the art that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute without departing from protection scope of the present invention. Therefore, although the present invention being described in further detail by above example, but the present invention is not limited only to above example, when without departing from present inventive concept, other Equivalent embodiments more can also be included, and the scope of the present invention is determined by appended right.

Claims (11)

1. a quick focusing method, it is characterised in that including:
When receiving focusing instruction, obtaining the first brightness value and the first focusing parameter, described first brightness value is open the brightness value before light compensating lamp;
Open light compensating lamp;
Determine that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value;
Focus according to described second focusing parameter.
2. quick focusing method according to claim 1, it is characterised in that described when receive focusing instruction time, obtain the first brightness, including:
When receiving focusing instruction, obtain environmental light brightness;
If described environmental light brightness is less than predetermined luminance threshold value, then obtain the first brightness.
3. quick focusing method according to claim 1, it is characterised in that before determine the first focusing parameter according to the first brightness value, described method also includes:
Light compensating lamp is started under full dark situation;
Obtain light compensating lamp effect picture;
Default light compensating lamp brightness value is determined according to described light compensating lamp effect picture.
4. quick focusing method according to claim 1, it is characterized in that, described according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value determine that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp, including:
Described second focusing parameter is calculated according to following formula:
First brightness value the-the second brightness value=-preset light compensating lamp brightness value the+the first focusing parameter the-the second focusing parameter.
5. quick focusing method according to claim 1, it is characterised in that after focusing according to described second focusing parameter, also include:
Close light compensating lamp.
6. a rapid focus device, it is characterised in that including:
Luminance obtaining unit, for when receiving focusing instruction, obtaining the first brightness value, described first brightness value is open the brightness value before light compensating lamp;
Computing unit, ought receive described focusing instruction for basis and determine the first focusing parameter;
Light compensating lamp control unit, is used for opening light compensating lamp;
Described computing unit is additionally operable to, and determines that the second focusing parameter, described second brightness value are open the brightness value after light compensating lamp according to described first brightness value, described first focusing parameter, the second brightness value and default light compensating lamp brightness value;
Focusing unit, for focusing according to described second focusing parameter.
7. rapid focus device according to claim 6, it is characterised in that described luminance obtaining unit specifically for:
When receiving focusing instruction, obtain environmental light brightness;
If described environmental light brightness is less than predetermined luminance threshold value, then obtain the first brightness.
8. rapid focus device according to claim 6, it is characterised in that described device also includes presetting light compensating lamp brightness value acquiring unit;
Described light compensating lamp control unit is used for, and starts light compensating lamp under full dark situation;
Described default light compensating lamp brightness value acquiring unit is used for, and obtains light compensating lamp effect picture, determines default light compensating lamp brightness value according to described light compensating lamp effect picture.
9. rapid focus device according to claim 6, it is characterised in that described computing unit specifically for:
Described second focusing parameter is calculated according to following formula:
First brightness value the-the second brightness value=-preset light compensating lamp brightness value the+the first focusing parameter the-the second focusing parameter.
10. rapid focus device according to claim 6, it is characterised in that described light compensating lamp control unit is additionally operable to:
After described focusing unit is focused according to described second focusing parameter, close light compensating lamp.
11. a mobile terminal, it is characterised in that described mobile terminal includes the rapid focus device according to any one of claim 6-10.
CN201610116545.8A 2016-03-01 2016-03-01 A kind of quick focusing method, device and mobile terminal Expired - Fee Related CN105657280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610116545.8A CN105657280B (en) 2016-03-01 2016-03-01 A kind of quick focusing method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610116545.8A CN105657280B (en) 2016-03-01 2016-03-01 A kind of quick focusing method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN105657280A true CN105657280A (en) 2016-06-08
CN105657280B CN105657280B (en) 2019-03-08

Family

ID=56492070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610116545.8A Expired - Fee Related CN105657280B (en) 2016-03-01 2016-03-01 A kind of quick focusing method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN105657280B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220621A (en) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 Terminal carries out the method and device of recognition of face
CN108156389A (en) * 2017-11-14 2018-06-12 李春莲 Mobile intelligent helps shooting method
CN110493506A (en) * 2018-12-12 2019-11-22 杭州海康威视数字技术股份有限公司 A kind of image processing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN101082755A (en) * 2006-06-01 2007-12-05 普立尔科技股份有限公司 Flashlamps exciting method
CN101685194A (en) * 2008-09-26 2010-03-31 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN101867716A (en) * 2009-04-14 2010-10-20 华晶科技股份有限公司 Adjusting method for digital image capturing conditions and digital photographing device
US20110096192A1 (en) * 2009-10-27 2011-04-28 Renesas Electronics Corporation Imaging device, method for controlling imaging device and program product
CN102608837A (en) * 2011-01-20 2012-07-25 佳能企业股份有限公司 Flash lamp module and image capturing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN101082755A (en) * 2006-06-01 2007-12-05 普立尔科技股份有限公司 Flashlamps exciting method
CN101685194A (en) * 2008-09-26 2010-03-31 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN101867716A (en) * 2009-04-14 2010-10-20 华晶科技股份有限公司 Adjusting method for digital image capturing conditions and digital photographing device
US20110096192A1 (en) * 2009-10-27 2011-04-28 Renesas Electronics Corporation Imaging device, method for controlling imaging device and program product
CN102608837A (en) * 2011-01-20 2012-07-25 佳能企业股份有限公司 Flash lamp module and image capturing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220621A (en) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 Terminal carries out the method and device of recognition of face
CN108156389A (en) * 2017-11-14 2018-06-12 李春莲 Mobile intelligent helps shooting method
CN110493506A (en) * 2018-12-12 2019-11-22 杭州海康威视数字技术股份有限公司 A kind of image processing method and system

Also Published As

Publication number Publication date
CN105657280B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
US10033920B2 (en) Method for controlling cameras, non-transitory storage medium and terminal
CN103327189B (en) Method and device for uploading, browsing and deleting pictures
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN106027916A (en) Light compensation-based photographing method, and terminal
CN104967790B (en) Method, photo taking, device and mobile terminal
CN103458190A (en) Photographing method, photographing device and terminal device
CN103400108A (en) Face identification method and device as well as mobile terminal
CN110049244A (en) Image pickup method, device, storage medium and electronic equipment
CN104717125B (en) Graphic code store method and device
CN103871051A (en) Image processing method, device and electronic equipment
CN103533247A (en) Self-photographing method, device and terminal equipment
CN103475818A (en) Shooting method and device and terminal device
CN103390034A (en) Image display method, device, terminal and server
CN104238893A (en) Video preview image displaying method and device
CN104717341A (en) Message prompting method and terminal
CN105306802A (en) Photographing mode switching method and device
CN103177217B (en) A kind of file scanning method, system and client and server
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN106033467A (en) Image file sharing method and device
CN104636664A (en) Cross-site scripting vulnerability detection method and device based on file object model
CN105915815A (en) Method and device for shooting based on mobile device, and mobile device
CN104159140A (en) Video processing method, apparatus and system
CN104519269A (en) Finder frame display method and finder frame display device of photographic equipment
CN105630517A (en) Configuration information setting method, configuration information setting device and communication system
CN105303591A (en) Method for superposing place information in puzzle, terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190308

CF01 Termination of patent right due to non-payment of annual fee