CN106254682A - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN106254682A
CN106254682A CN201610842558.3A CN201610842558A CN106254682A CN 106254682 A CN106254682 A CN 106254682A CN 201610842558 A CN201610842558 A CN 201610842558A CN 106254682 A CN106254682 A CN 106254682A
Authority
CN
China
Prior art keywords
camera
scene
focusing
captured
ambient 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
CN201610842558.3A
Other languages
Chinese (zh)
Other versions
CN106254682B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610842558.3A priority Critical patent/CN106254682B/en
Publication of CN106254682A publication Critical patent/CN106254682A/en
Application granted granted Critical
Publication of CN106254682B publication Critical patent/CN106254682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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

Abstract

The invention discloses a kind of photographic method, be applied to the mobile terminal with the first photographic head and second camera, the method includes: whether the ambient brightness value detecting scene to be captured is in predetermined luminance range;If detecting, ambient brightness value is in predetermined luminance range, then control the first photographic head and treat photographed scene and carry out focusing process, and send the focusing information obtained to second camera;Control second camera to focus according to this focusing information;After second camera has been focused, control second camera and gather the first image information of scene to be captured;Wherein, the photosensitive sensitivity of the first photographic head is higher than the photosensitive sensitivity of second camera.The present invention is under the conditions of certain luminance, the first photographic head that start feeling lightsensitivity is high is focused, and focusing parameter is sent to second camera so that second camera carries out focusing and gathering image according to this focusing parameter, solve because of ambient brightness is low can not the problem of shooting clear image.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of photographic method and mobile terminal.
Background technology
Along with the development of communication technology, mobile terminal possesses and has increasing amusement function, wherein, and camera function conduct One of core of amusement function, becomes user and considers an importance of mobile terminal.The mobile phone camera of current main-stream, base Auto-focusing (AF, Auto focus) camera lens it is equipped with, in the case of surrounding enviroment brightness abundance, it is possible to the most also on Ben Focus exactly.But in the case of surrounding enviroment luminance range, there is the problem that focusing is slow, focusing is inaccurate, cause Photo opporunity length, the problem of weak effect of taking pictures.
Summary of the invention
Embodiments provide a kind of photographic method and mobile terminal, to solve in prior art at luminance range In the case of take pictures the slow and problem of focus effects difference.
First aspect, embodiments provides a kind of photographic method, is applied to have the first photographic head and second and takes the photograph As the mobile terminal of head, the method includes:
Whether the ambient brightness value detecting scene to be captured is in predetermined luminance range;
If detecting, ambient brightness value is in predetermined luminance range, then control the first photographic head and carry out this photographed scene Focusing process, and the focusing information obtained is sent to second camera;
Control second camera to focus according to this focusing information;
After second camera has been focused, control second camera and gather the first image information of scene to be captured;
Wherein, the photosensitive sensitivity of the first photographic head is higher than the photosensitive sensitivity of second camera.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including the first photographic head and second camera; Wherein, this mobile terminal also includes:
Detection module, for detecting whether the ambient brightness value of scene to be captured is in predetermined luminance range;
Processing module, for when detection module detects that ambient brightness value is in preset range, then controls first and takes the photograph As head carries out focusing process to photographed scene, and focusing information will be obtained send to second camera;
First Focusing module, the focusing information obtained according to processing module for controlling second camera is focused;
First taking module, for after Focusing module has been focused, controls second camera and gathers scene to be captured First image information;
Wherein, the photosensitive sensitivity of the first photographic head is higher than the photosensitive sensitivity of second camera.
So, in the embodiment of the present invention, under the conditions of certain luminance, mobile terminal controls that start feeling lightsensitivity is high One photographic head is focused, and sends to second camera, focusing parameter so that second camera is according to this focusing further Parameter carries out rapid focus and gathers image, owing to the photosensitive sensitivity of the first photographic head is higher than second camera, and therefore first Photographic head can more rapid carry out focusing and obtain parameter of focusing exactly, and second camera uses the focusing of the first photographic head to join Number is focused and shoots, can be in the poor environment of brightness conditions, and output focus effects is good, image quality image clearly.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 represents the flow chart of the first embodiment of the photographic method of the present invention;
Fig. 2 represents the flow chart of the second embodiment of the photographic method of the present invention;
One of Fig. 3 structural representation of mobile terminal representing the present invention;
Fig. 4 represents the two of the structural representation of the mobile terminal of the present invention;
Fig. 5 represents the block diagram of the 5th embodiment of mobile terminal of the present invention;
Fig. 6 represents the block diagram of the sixth embodiment of mobile terminal of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
First embodiment
As it is shown in figure 1, The embodiment provides a kind of photographic method, being applied to a mobile terminal, this moves end Hold the first photographic head and the second camera including that photosensitive sensitivity is different.This photographic method specifically includes:
Step 101: whether the ambient brightness value detecting scene to be captured is in predetermined luminance range.
Wherein, the predetermined luminance range of ambient brightness mentioned here refers to use the focusing of tradition focal modes focusing Time length and success rate are relatively low, but can be with the environmental light brightness scope of imaging after focusing successfully.Specifically, predetermined luminance range refers to Be the light value scope (such as 1Lux to 50Lux) in relatively dark situation, when ambient brightness value is in this predetermined luminance range, Illustrate that the scene being presently in is the dark environment of ratio, such as night or than dark indoor.
Step 102: ambient brightness value is in predetermined luminance range if detecting, then control the first photographic head to be captured Scene carries out focusing process, and sends the focusing information obtained to second camera.
Wherein, the photosensitive sensitivity of the first photographic head is higher than the photosensitive sensitivity of second camera, and second camera is one As photographic head, such first photographic head than second camera faster complete focusing.Such as, the first photographic head is photosensitive sensitivity Higher black and white photographic head, second camera is colour imagery shot.When detecting that current environment brightness value falls at predetermined luminance model When enclosing interior, start the first photographic head and second camera simultaneously, and control the first photographic head and treat photographed scene and carry out at focusing Reason, obtains a focusing information, and sends this focusing information to second camera.
Step 103: control second camera and focus according to this focusing information.
Wherein, focusing information includes the focusing parameters such as focusing position, focal distance, focusing range.Mobile terminal controls First photographic head carries out defocused, sends focusing information to second camera, and controls second camera further according to being somebody's turn to do Focusing information is treated photographed scene and is focused.
Step 104: after second camera has been focused, controls second camera and gathers the first image of scene to be captured Information.
Wherein, the first photographic head is black and white photographic head, although can realize rapid focus, but the image at shooting is black and white, Picture effect is poor, in order to meet the visual demand of user, preferentially uses second camera in the case of brightness conditions allows Shoot, to obtain coloured image.I.e. by utilizing the first photographic head rapid focus, the first photographic head is completed defocused life The focusing information become sends to second camera, carries out quickly according to the focusing information of the first photographic head controlling second camera Focusing, and after having focused, gather the first image information of scene to be captured.
So, under the photographed scene of brightness conditions dark night or indoor, high first the taking the photograph of start feeling lightsensitivity As head is focused, and further focusing parameter is sent to second camera, so that second camera is according to this focusing parameter Carry out rapid focus and gather image, to export image quality image clearly, solving feelings low at ambient brightness in prior art Can not rapid focus and the problem of shooting effect difference under condition.
Second embodiment
First embodiment above has carried out simple introduction to the photographic method of the present invention, below the present embodiment will be in conjunction with accompanying drawing With concrete application scenarios, it is described further.
The photographic method of the present invention is applied to a mobile terminal, and this mobile terminal includes different first the taking the photograph of photosensitive sensitivity As head and second camera.Specifically, the first photographic head is the black and white photographic head that photosensitive sensitivity is higher, and second camera is for passing The colour imagery shot of system;Wherein, the photosensitive light intensity of colour imagery shot is in 50Lux (lux), and black and white photographic head exists The low-light conditions of 0.005Lux also can catch high-resolution image information.Wherein, as in figure 2 it is shown, this photographic method bag Include following steps:
Step 201: by the environmental information of photosensitive sensors Real-time Collection scene to be captured.
Environment photosensitive sensors can be with the light conditions of perception surrounding.
Step 202: calculate ambient brightness information, obtains the ambient brightness value of scene to be captured.
Further according to automatic exposure algorithm (AE) algorithm, the ambient brightness information currently collected is adjusted and locates Reason, to be calculated the ambient brightness value of current scene to be captured.
Step 203: detect whether the current ambient brightness value of scene to be captured is in predetermined luminance range.
Wherein, the predetermined luminance range of ambient brightness mentioned here refers to use the focusing of tradition focal modes focusing Time length and success rate are low, but can be with the environmental light brightness scope of imaging after focusing successfully.Preferably, can be by this preset range Minima is set as 1Lux, and the maximum of this preset range is set as 50Lux, say, that when ambient brightness value is less than 1Lux Time, colour imagery shot can not be photosensitive, and focusing is difficult and is difficult to imaging;When ambient brightness value is higher than 50Lux, colour imagery shot can Rapid focus imaging;And when ambient brightness value is between 1Lux to 50Lux, colour imagery shot can also be photosensitive, but focusing Difficulty, but can imaging after focusing successfully.Specifically, the scene in ambient brightness value belongs to this predetermined luminance range is dark for ratio Environment, such as night or than dark indoor.
Step 204: ambient brightness value is in predetermined luminance range if detecting, controls the first photographic head to field to be captured Scape carries out focusing process, and sends the focusing information obtained to second camera.
Wherein, control the first photographic head to treat photographed scene and carry out the step of focusing process and include: obtain the first photographic head The scene to be captured collected treat focus image;Calculate and treat the contrast value at black and white edge in focus image;When contrast value reaches During peak-peak, focusing motor step number and the positional information of the first corresponding for peak-peak photographic head are defined as the first photographic head Focusing information.
Wherein, the first photographic head is black and white photographic head, and second camera is colour imagery shot.Owing to the first photographic head is photosensitive Very capable, it is possible to collect black and white, treat focus image clearly, it is possible to (i.e. wait to focus in fast searching black and white edge Black and white intersection in image), calculate, according to auto-focusing algorithm (AF algorithm), the peak value definition that the contrast of black and white contrast is the highest For articulation point, and record focusing motor step number and the positional information of the first photographic head now.Wherein, it is worth pointing out It is can be calculated the focusing position of photographic head, focal distance, right according to the focusing motor step number of photographic head and positional information The focusing parameters such as burnt scope.Further, because the motor of the motor of second camera and the first photographic head is identical, therefore second take the photograph As head can read the AF information that the first photographic head is recorded.
Step 205: control second camera and focus according to this focusing information.
Step 206: after second camera has been focused, controls second camera and gathers the first image of scene to be captured Information.
Wherein, the photosensitive sensitivity of the first photographic head is higher than the photosensitive sensitivity of second camera.It is right that focusing information includes The focusing parameter such as focal position, focal distance, focusing range.
Step 207: ambient brightness value exceedes the maximum of predetermined luminance range if detecting, controls second camera and treats Photographed scene is focused.
When the maximum that ambient brightness value exceedes predetermined luminance range being detected, the light of current shooting environmental is described Intensity is higher, and the second camera that photonasty is general can quickly be focused.
Step 208: after second camera has been focused, controls second camera and gathers the second image of scene to be captured Information.
Second camera can collect the second image information of scene to be captured colored clearly after having focused. Wherein, second camera can be focused by phase place focusing mode or continuous focusing mode.
Step 209: ambient brightness value is less than the minima of predetermined luminance range if detecting, then control the first photographic head pair Scene to be captured is focused.
When the minima that ambient brightness value is less than predetermined luminance range being detected, illustrate under current shooting environmental, Second camera completely can not be photosensitive, it is impossible to focusing and imaging.But preferable first photographic head of photonasty can also photosensitive be carried out Focusing.
Step 210: after the first camera focusing completes, controls the 3rd image of the first camera collection scene to be captured Information.
First photographic head can photosensitive be focused, and the scene to be captured of black and white can be collected after having focused 3rd image information.
To sum up, the photographic method of the embodiment of the present invention, under the preferable shooting environmental of light intensity, directly initiate second take the photograph Focus as head and shoot, the color image information high to obtain definition;Under the shooting environmental that light intensity is poor, open The first photographic head that dynamic lightsensitivity is higher is focused, and starts and can shoot the second camera of coloured image and clap Take the photograph, to obtain the color image information of higher resolution;Under the shooting environmental that light intensity is very poor, start feeling lightsensitivity is relatively The first high photographic head is focused and shoots, and meets the monochrome image information of demand obtaining definition;To solve existing skill Can not rapid focus and the problem of shooting effect difference in the case of ambient brightness is low in art.
3rd embodiment
First embodiment above and the second embodiment describe the image processing method under different scene respectively in detail, below By combining Fig. 3 and Fig. 4, corresponding mobile terminal is described further.
Present embodiments provide a kind of mobile terminal, first photographic head different including photosensitive sensitivity and the second shooting Head, whether the ambient brightness value that can realize detecting in first embodiment and the second embodiment scene to be captured is in predetermined luminance model In enclosing;If detecting, ambient brightness value is in predetermined luminance range, then control the first photographic head treat photographed scene carry out right Burnt process, and the focusing information obtained is sent to second camera;Wherein, the photosensitive sensitivity of the first photographic head is higher than second The photosensitive sensitivity of photographic head;Control second camera to focus according to this focusing information, focused at second camera After, control the details that second camera gathers the first image information method of scene to be captured, and reach identical technique effect. Wherein, this mobile terminal also includes:
Detection module 310, for detecting whether the ambient brightness value of scene to be captured is in predetermined luminance range;Its In, the predetermined luminance range of ambient brightness mentioned here refers to use focusing time length and the one-tenth of tradition focal modes focusing Power is relatively low, but can be with the environmental light brightness scope of imaging after focusing successfully.Specifically, ambient brightness value belongs to this preset range Interior scene is the dark environment of ratio, such as night or than dark indoor.
Processing module 320, for when detection module detects that ambient brightness value is in predetermined luminance range, controls the One photographic head is treated photographed scene and is focused, and sends the focusing information obtained to second camera.
First Focusing module 330, the focusing information obtained according to above-mentioned processing module for controlling second camera is carried out Focusing.
Wherein, focusing information includes the focusing parameters such as focusing position, focal distance, focusing range.
First taking module 340, for after the first Focusing module has been focused, controls second camera and gathers to be captured First image information of scene.Wherein, the photosensitive sensitivity of the first photographic head is higher than the photosensitive sensitivity of second camera.
So, under the photographed scene of brightness conditions dark night or indoor, high first the taking the photograph of start feeling lightsensitivity As head is focused, and further focusing parameter is sent to second camera, so that second camera is according to this focusing parameter Carry out rapid focus and gather image, to export image quality image clearly, solving feelings low at ambient brightness in prior art Can not rapid focus and the problem of shooting effect difference under condition.
Wherein this mobile terminal also includes:
Acquisition module 300, for by the ambient brightness information of photosensitive sensors Real-time Collection scene to be captured;
Computing module 301, for calculating ambient brightness information, obtains the ambient brightness value of scene to be captured.
Wherein, this mobile terminal also includes:
Second Focusing module 350, for when the maximum that ambient brightness value exceedes predetermined luminance range being detected, controls Second camera is treated photographed scene and is focused.
Second taking module 360, for after the second Focusing module has been focused, controls second camera and gathers to be captured Second image information of scene.
Wherein, this mobile terminal also includes:
3rd Focusing module 370, for when the minima that ambient brightness value is less than predetermined luminance range being detected, controls First photographic head is treated photographed scene and is focused.
Third shot takes the photograph module 380, for after the 3rd Focusing module has been focused, controls the first camera collection to be captured 3rd image information of scene.
Wherein, processing module 320 includes:
Acquiring unit 321, for obtain the first camera collection to scene to be captured treat focus image;
Computing unit 322, treats the contrast value at black and white edge in focus image for calculating;
Processing unit 323, for when contrast value reaches peak-peak, by the first corresponding for described peak-peak photographic head Focusing motor step number and positional information be defined as the focusing information of the first photographic head.
Wherein, the first photographic head is black and white photographic head, and second camera is colour imagery shot.
It is worthy of note, the mobile terminal of the embodiment of the present invention is the mobile terminal corresponding with above-mentioned photographic method, on State the embodiment of method and the technique effect of realization all be applicable to the embodiment of this mobile terminal.Wherein, this mobile terminal Under the conditions of certain luminance, the first photographic head that start feeling lightsensitivity is high is focused, and focusing parameter is sent further To second camera, so that second camera carries out rapid focus according to this focusing parameter and gathers image, clear to export image quality Clear image, solving can not rapid focus and the problem of shooting effect difference in the case of ambient brightness is low in prior art.
4th embodiment
Fig. 5 is the block diagram of the mobile terminal 500 of another embodiment of the present invention, and mobile terminal as shown in Figure 5 includes: extremely Few processor 501, a memorizer 502, assembly 503 of taking pictures, user interface 504 and sensor cluster 505.Wherein, take pictures group Part 503 includes different the first photographic head of photosensitive sensitivity and second camera.Sensor cluster 505 includes for gathering environment The photosensitive sensors of light.Each assembly in mobile terminal 500 is coupled by bus system 506.It is understood that bus System 506 is for realizing the connection communication between these assemblies.Bus system 506, in addition to including data/address bus, also includes electricity Source bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in Figure 5 various buses are all designated as always Wire system 506.
Wherein, user interface 504 can include display or pointing device (such as touch-sensitive plate or touch screen etc..
The memorizer 502 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (DirectRambus RAM, DRRAM).The memorizer 502 of system and method described herein is intended to include but not limited to these Memorizer with arbitrarily other applicable type.
In some embodiments, memorizer 502 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 5022, comprises various application program, such as media Player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In an embodiment of the present invention, by calling program or the instruction of memorizer 502 storage, specifically, can be should With the program stored in program 5022 or instruction.Wherein, whether processor 501 for detecting the ambient brightness value of scene to be captured It is in predetermined luminance range;If detecting, ambient brightness value is in predetermined luminance range, then control the first photographic head and treat Photographed scene carries out focusing process, and sends the focusing information obtained to second camera;Wherein, the first photographic head is photosensitive Sensitivity is higher than the photosensitive sensitivity of second camera;Control second camera to focus according to this focusing information, second After camera focusing completes, control second camera and gather the first image information of scene to be captured.
The method that the invention described above embodiment discloses can apply in processor 501, or is realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned process Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLD, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at Memorizer 502, processor 501 reads the information in memorizer 502, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or Processor is outside to be realized.
Specifically, processor 501 is additionally operable to: believed by the ambient brightness of photosensitive sensors Real-time Collection scene to be captured Breath, calculates this ambient brightness information, obtains the ambient brightness value of scene to be captured.
Specifically, processor 501 is additionally operable to: when the maximum that ambient brightness value exceedes preset range being detected, controls Second camera is treated photographed scene and is focused;After second camera has been focused, control second camera gathers to be waited to clap Take the photograph the second image information of scene.
Specifically, processor 501 is additionally operable to: when the minima that ambient brightness value is less than preset range being detected, controls First photographic head is treated photographed scene and is focused;After the first camera focusing completes, control the first camera collection and wait to clap Take the photograph the 3rd image information of scene.
Specifically, processor 501 is additionally operable to: obtain described first camera collection to scene to be captured treat focusing figure Picture;Calculate and treat the contrast value at black and white edge in focus image;When contrast value reaches peak-peak, by corresponding for peak-peak The focusing motor step number of one photographic head and positional information are defined as the focusing information of the first photographic head.
The mobile terminal 500 of the embodiment of the present invention, under the conditions of certain luminance, the first shooting that start feeling lightsensitivity is high Head is focused, and sends to second camera, focusing parameter so that second camera enters according to this focusing parameter further Row rapid focus also gathers image, to export image quality image clearly, solves situation low at ambient brightness in prior art Down can not rapid focus and the problem of shooting effect difference.
5th embodiment
Fig. 6 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 600 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric Brain etc..
Mobile terminal 600 in Fig. 6 includes power supply 610, memorizer 620, input block 630, display unit 640, takes pictures Assembly 650, processor 660, WIFI (Wireless Fidelity) module 670, voicefrequency circuit 680, RF circuit 690 and sensing Device assembly 700, wherein, assembly 650 of taking pictures includes different the first photographic head of photosensitive sensitivity and second camera, specifically, First photographic head is black and white photographic head, and second camera is colour imagery shot.Sensor cluster 700 includes for gathering ambient light Bright photosensitive sensors.
Wherein, input block 630 can be used for receiving the information of user's input, and produces the user with mobile terminal 600 Arrange and function controls relevant signal input.Specifically, in the embodiment of the present invention, this input block 630 can include touching Control panel 631.Contact panel 631, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user Use any applicable object such as finger, stylus or adnexa operation on contact panel 631), and according to journey set in advance Formula drives corresponding attachment means.Optionally, contact panel 631 can include touch detecting apparatus and two portions of touch controller Point.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 This processor 660, and order that processor 660 sends can be received and performed.Furthermore, it is possible to use resistance-type, condenser type, The polytype such as infrared ray and surface acoustic wave realizes contact panel 631.
Wherein, display unit 640 can be used for showing the information inputted by user or the information being supplied to user and movement The various menu interfaces of terminal.Display unit 640 can include display floater 641, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display floater 641.
It should be noted that contact panel 631 can cover display floater 641, formed and touch display screen, when this touch display screen is examined Measure thereon or after neighbouring touch operation, send processor 660 to determine the type of touch event, with preprocessor 660 provide corresponding visual output according to the type of touch event on touch display screen.Except contact panel 631, input is single Unit 630 can also include other input equipments 632, and other input equipments 632 can include but not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 660 is the control centre of mobile terminal, utilizes each of various interface and the whole mobile phone of connection Individual part, is stored in the software program in first memory 621 and/or module by running or performing, and calls and be stored in Data in second memory 622, perform the various functions of mobile terminal and process data, thus mobile terminal is carried out entirety Monitoring.Optionally, processor 660 can include one or more processing unit.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 621 and/ To the data in second memory 622, whether the ambient brightness value detecting scene to be captured is in predetermined luminance range;If inspection Measure ambient brightness value to be in predetermined luminance range, then control the first photographic head and treat photographed scene and carry out focusing process, and The focusing information obtained is sent to second camera;Wherein, the photosensitive sensitivity of the first photographic head is higher than second camera Photosensitive sensitivity;Control second camera to focus according to this focusing information;After second camera has been focused, control the First image information of two camera collection scenes to be captured.
Specifically, processor 660 is additionally operable to: believed by the ambient brightness of photosensitive sensors Real-time Collection scene to be captured Breath, calculates ambient brightness information, obtains the ambient brightness value of scene to be captured.
Specifically, processor 660 is additionally operable to: when the maximum that ambient brightness value exceedes preset range being detected, controls Second camera is treated photographed scene and is focused, and after second camera has been focused, control second camera gathers to be waited to clap Take the photograph the second image information of scene.
Specifically, processor 660 is additionally operable to: when the minima that ambient brightness value is less than preset range being detected, controls First photographic head is treated photographed scene and is focused, and after the first camera focusing completes, controls the first camera collection and waits to clap Take the photograph the 3rd image information of scene.
Specifically, processor 660 is additionally operable to: obtain the first camera collection to scene to be captured treat focus image, Calculate and treat the contrast value at black and white edge in focus image;When contrast value reaches peak-peak, by corresponding for peak-peak first The focusing motor step number of photographic head and positional information are defined as the focusing information of the first photographic head.
The mobile terminal 600 of the embodiment of the present invention, under the conditions of certain luminance, the first shooting that start feeling lightsensitivity is high Head is focused, and sends to second camera, focusing parameter so that second camera enters according to this focusing parameter further Row rapid focus also gathers image, to export image quality image clearly, solves situation low at ambient brightness in prior art Down can not rapid focus and the problem of shooting effect difference.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person for the art comes Saying, can also make some improvements and modifications under without departing from principle premise of the present invention, these improvements and modifications also exist In protection scope of the present invention.

Claims (10)

1. a photographic method, is applied to the mobile terminal with the first photographic head and second camera, it is characterised in that described Method includes:
Whether the ambient brightness value detecting scene to be captured is in predetermined luminance range;
If detecting, described ambient brightness value is in predetermined luminance range, then control described first photographic head to described to be captured Scene carries out focusing process, and sends the focusing information obtained to described second camera;
Control described second camera to focus according to described focusing information;
After described second camera has been focused, control described second camera and gather the first image of described scene to be captured Information;
Wherein, the photosensitive sensitivity of described first photographic head is higher than the photosensitive sensitivity of described second camera.
Photographic method the most according to claim 1, it is characterised in that the ambient brightness value of described detection scene to be captured is Before the no step being in predetermined luminance range, described method also includes:
Ambient brightness information by photosensitive sensors Real-time Collection scene to be captured;
Described ambient brightness information is calculated, obtains the ambient brightness value of described scene to be captured.
Photographic method the most according to claim 1, it is characterised in that the ambient brightness that described detection scene to be captured is current After whether value is in the step in predetermined luminance range, described method also includes:
If detecting, described ambient brightness value exceedes the maximum of described predetermined luminance range, then control described second camera pair Described scene to be captured is focused;
After described second camera has been focused, control described second camera and gather the second image of described scene to be captured Information.
Photographic method the most according to claim 1, it is characterised in that the ambient brightness that described detection scene to be captured is current After whether value is in the step in predetermined luminance range, described method also includes:
If the described ambient brightness value minima less than described predetermined luminance range being detected, then control described first photographic head pair Described scene to be captured is focused;
After described first camera focusing completes, control the 3rd image of scene to be captured described in described first camera collection Information.
Photographic method the most according to claim 1, it is characterised in that described waiting is clapped by described first photographic head of described control Take the photograph scene and carry out the step of focusing process, including:
Obtain described first camera collection to scene described to be captured treat focus image;
The contrast value at black and white edge in focus image is treated described in calculating;
When described contrast value reaches peak-peak, the focusing motor of described first photographic head corresponding for described peak-peak is walked Number and positional information are defined as the focusing information of described first photographic head.
6. a mobile terminal, including the first photographic head and second camera, it is characterised in that described mobile terminal also includes:
Detection module, for detecting whether the ambient brightness value of scene to be captured is in predetermined luminance range;
Processing module, for when described detection module detects that described ambient brightness value is in predetermined luminance range, controls Described first photographic head carries out focusing process to described scene to be captured, and will obtain the transmission of focusing information to the most described second shooting Head;
First Focusing module, the described focusing information obtained according to described processing module for controlling described second camera is carried out Focusing;
First taking module, for after described first Focusing module has been focused, controls described second camera and gathers described First image information of scene to be captured;
Wherein, the photosensitive sensitivity of described first photographic head is higher than the photosensitive sensitivity of described second camera.
Mobile terminal the most according to claim 6, it is characterised in that described mobile terminal also includes:
Acquisition module, for by the ambient brightness information of photosensitive sensors Real-time Collection scene to be captured;
Computing module, for calculating described ambient brightness information, obtains the ambient brightness value of described scene to be captured.
Mobile terminal the most according to claim 6, it is characterised in that described mobile terminal also includes:
Second Focusing module, for when the maximum that described ambient brightness value exceedes described predetermined luminance range being detected, controls Make described second camera described scene to be captured is focused;
Second taking module, for after described second Focusing module has been focused, controls described second camera and gathers described Second image information of scene to be captured.
Mobile terminal the most according to claim 6, it is characterised in that described mobile terminal also includes:
3rd Focusing module, for when the minima that described ambient brightness value is less than described predetermined luminance range being detected, controls Make described first photographic head described scene to be captured is focused;
Third shot takes the photograph module after having focused at described 3rd Focusing module, controls to treat described in described first camera collection 3rd image information of photographed scene.
Mobile terminal the most according to claim 6, it is characterised in that described processing module includes:
Acquiring unit, for obtain described first camera collection to scene described to be captured treat focus image;
Computing unit, treats the contrast value at black and white edge in focus image described in calculating;
Processing unit, for when described contrast value reaches peak-peak, by described first shooting corresponding for described peak-peak The focusing motor step number of head and positional information are defined as the focusing information of described first photographic head.
CN201610842558.3A 2016-09-22 2016-09-22 A kind of photographic method and mobile terminal Active CN106254682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610842558.3A CN106254682B (en) 2016-09-22 2016-09-22 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610842558.3A CN106254682B (en) 2016-09-22 2016-09-22 A kind of photographic method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106254682A true CN106254682A (en) 2016-12-21
CN106254682B CN106254682B (en) 2019-07-26

Family

ID=57599119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610842558.3A Active CN106254682B (en) 2016-09-22 2016-09-22 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106254682B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018326A (en) * 2017-03-31 2017-08-04 努比亚技术有限公司 A kind of image pickup method and device
CN107026979A (en) * 2017-04-19 2017-08-08 宇龙计算机通信科技(深圳)有限公司 Double-camera photographing method and device
CN107124535A (en) * 2017-04-19 2017-09-01 宇龙计算机通信科技(深圳)有限公司 Double-camera photographing method and device
CN107124547A (en) * 2017-04-19 2017-09-01 宇龙计算机通信科技(深圳)有限公司 Double-camera photographing method and device
CN107147848A (en) * 2017-05-23 2017-09-08 杭州度康科技有限公司 Atomatic focusing method and the Real Time Video Acquisition System using this method
CN107395990A (en) * 2017-08-31 2017-11-24 珠海市魅族科技有限公司 Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing
CN107465881A (en) * 2017-09-30 2017-12-12 努比亚技术有限公司 A kind of dual camera focusing method, mobile terminal and computer-readable recording medium
CN108322651A (en) * 2018-02-11 2018-07-24 广东欧珀移动通信有限公司 Image pickup method and device, electronic equipment, computer readable storage medium
EP3493519A1 (en) * 2017-11-30 2019-06-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd Method and device for dual-camera-based imaging and storage medium
CN109862271A (en) * 2019-02-27 2019-06-07 上海创功通讯技术有限公司 Phase difference focusing method, electronic equipment and computer storage medium
CN110462617A (en) * 2017-03-24 2019-11-15 三星电子株式会社 For authenticating the electronic device and method of biological data by multiple cameras
CN110677581A (en) * 2019-09-24 2020-01-10 捷开通讯(深圳)有限公司 Lens switching method and device, storage medium and electronic equipment
CN112672069A (en) * 2020-12-24 2021-04-16 维沃移动通信有限公司 Exposure method and apparatus
CN113079310A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Automatic focusing method, automatic focusing device, electronic equipment and computer readable storage medium
CN113177426A (en) * 2021-05-20 2021-07-27 浙江大华技术股份有限公司 Two-dimensional code detection method and device
CN114979458A (en) * 2021-02-26 2022-08-30 华为技术有限公司 Image shooting method and electronic equipment
CN115802153A (en) * 2021-09-09 2023-03-14 哲库科技(上海)有限公司 Image shooting method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090322899A1 (en) * 2004-07-21 2009-12-31 Canon Kabushiki Kaisha Fail safe image processing apparatus
CN105245775A (en) * 2015-09-25 2016-01-13 小米科技有限责任公司 Method and device for camera imaging, and mobile terminal
CN105827970A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105847693A (en) * 2016-04-27 2016-08-10 乐视控股(北京)有限公司 Shooting method and system based on two-camera focusing
CN105959574A (en) * 2016-06-30 2016-09-21 维沃移动通信有限公司 Photographing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090322899A1 (en) * 2004-07-21 2009-12-31 Canon Kabushiki Kaisha Fail safe image processing apparatus
CN105245775A (en) * 2015-09-25 2016-01-13 小米科技有限责任公司 Method and device for camera imaging, and mobile terminal
CN105827970A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105847693A (en) * 2016-04-27 2016-08-10 乐视控股(北京)有限公司 Shooting method and system based on two-camera focusing
CN105959574A (en) * 2016-06-30 2016-09-21 维沃移动通信有限公司 Photographing method and mobile terminal

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110462617A (en) * 2017-03-24 2019-11-15 三星电子株式会社 For authenticating the electronic device and method of biological data by multiple cameras
CN110462617B (en) * 2017-03-24 2024-01-12 三星电子株式会社 Electronic device and method for authenticating biometric data with multiple cameras
CN107018326A (en) * 2017-03-31 2017-08-04 努比亚技术有限公司 A kind of image pickup method and device
CN107018326B (en) * 2017-03-31 2020-10-16 努比亚技术有限公司 Shooting method and device
CN107026979A (en) * 2017-04-19 2017-08-08 宇龙计算机通信科技(深圳)有限公司 Double-camera photographing method and device
CN107124535A (en) * 2017-04-19 2017-09-01 宇龙计算机通信科技(深圳)有限公司 Double-camera photographing method and device
CN107124547A (en) * 2017-04-19 2017-09-01 宇龙计算机通信科技(深圳)有限公司 Double-camera photographing method and device
CN107124547B (en) * 2017-04-19 2020-10-16 宇龙计算机通信科技(深圳)有限公司 Double-camera shooting method and device
CN107124535B (en) * 2017-04-19 2020-11-10 宇龙计算机通信科技(深圳)有限公司 Double-camera shooting method and device
CN107147848B (en) * 2017-05-23 2023-08-25 杭州度康科技有限公司 Automatic focusing method and real-time video acquisition system adopting same
CN107147848A (en) * 2017-05-23 2017-09-08 杭州度康科技有限公司 Atomatic focusing method and the Real Time Video Acquisition System using this method
CN107395990A (en) * 2017-08-31 2017-11-24 珠海市魅族科技有限公司 Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing
CN107465881A (en) * 2017-09-30 2017-12-12 努比亚技术有限公司 A kind of dual camera focusing method, mobile terminal and computer-readable recording medium
CN107465881B (en) * 2017-09-30 2020-06-26 努比亚技术有限公司 Dual-camera focusing method, mobile terminal and computer readable storage medium
EP3493519A1 (en) * 2017-11-30 2019-06-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd Method and device for dual-camera-based imaging and storage medium
US10616459B2 (en) 2017-11-30 2020-04-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for dual-camera-based imaging and storage medium
CN108322651B (en) * 2018-02-11 2020-07-31 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and computer readable storage medium
CN108322651A (en) * 2018-02-11 2018-07-24 广东欧珀移动通信有限公司 Image pickup method and device, electronic equipment, computer readable storage medium
CN109862271A (en) * 2019-02-27 2019-06-07 上海创功通讯技术有限公司 Phase difference focusing method, electronic equipment and computer storage medium
CN110677581A (en) * 2019-09-24 2020-01-10 捷开通讯(深圳)有限公司 Lens switching method and device, storage medium and electronic equipment
CN113079310A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Automatic focusing method, automatic focusing device, electronic equipment and computer readable storage medium
CN113079310B (en) * 2020-01-03 2022-11-04 北京小米移动软件有限公司 Automatic focusing method, automatic focusing device, electronic equipment and computer readable storage medium
CN112672069A (en) * 2020-12-24 2021-04-16 维沃移动通信有限公司 Exposure method and apparatus
CN114979458A (en) * 2021-02-26 2022-08-30 华为技术有限公司 Image shooting method and electronic equipment
CN114979458B (en) * 2021-02-26 2023-08-22 华为技术有限公司 Image shooting method and electronic equipment
CN113177426A (en) * 2021-05-20 2021-07-27 浙江大华技术股份有限公司 Two-dimensional code detection method and device
CN115802153A (en) * 2021-09-09 2023-03-14 哲库科技(上海)有限公司 Image shooting method and device, computer equipment and storage medium
WO2023036313A1 (en) * 2021-09-09 2023-03-16 哲库科技(上海)有限公司 Image photographing method and apparatus, and computer device and storage medium

Also Published As

Publication number Publication date
CN106254682B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN106254682A (en) A kind of photographic method and mobile terminal
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN106060419B (en) A kind of photographic method and mobile terminal
CN106027907B (en) A kind of method and mobile terminal of adjust automatically camera
CN105827990B (en) A kind of automatic explosion method and mobile terminal
CN106357961A (en) Photographing method and mobile terminal
CN106416222A (en) Real-time capture exposure adjust gestures
CN105827964A (en) Image processing method and mobile terminal
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal
CN106060406A (en) Photographing method and mobile terminal
CN105827952A (en) Photographing method for removing specified object and mobile terminal
CN106506962A (en) A kind of image processing method and mobile terminal
CN105827970B (en) A kind of image processing method and mobile terminal
CN106210526A (en) A kind of image pickup method and mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN107395998A (en) A kind of image capturing method and mobile terminal
CN106131341A (en) A kind of photographic method and mobile terminal
CN105847674A (en) Preview image processing method based on mobile terminal, and mobile terminal therein
CN106454104A (en) Photographing method and mobile terminal
CN106060386A (en) Preview image generation method and mobile terminal
CN106713780A (en) Control method for flash lamp and mobile terminal
CN107197170A (en) A kind of exposal control method and mobile terminal
CN106231187A (en) A kind of method shooting image and mobile terminal
CN106231178A (en) A kind of self-timer method and mobile terminal
CN106454085B (en) A kind of image processing method and mobile terminal

Legal Events

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