CN107395990A - Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing - Google Patents

Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107395990A
CN107395990A CN201710775098.1A CN201710775098A CN107395990A CN 107395990 A CN107395990 A CN 107395990A CN 201710775098 A CN201710775098 A CN 201710775098A CN 107395990 A CN107395990 A CN 107395990A
Authority
CN
China
Prior art keywords
camera
phase
focusing
shot
shooting
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.)
Pending
Application number
CN201710775098.1A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710775098.1A priority Critical patent/CN107395990A/en
Publication of CN107395990A publication Critical patent/CN107395990A/en
Pending legal-status Critical Current

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

Abstract

The present invention provides a kind of phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing.Wherein, the phase focusing method includes:When detecting that ambient brightness value is in predetermined luminance range, first camera is controlled to carry out phase-detection to object to be shot, wherein, first camera comprises at least photo-sensitive cell and light shield;Obtain the phase information of first camera;Phase focusing and shooting are carried out to the object to be shot using the phase information.Phase focusing method provided by the invention carries out phase-detection using the first higher camera of photosensitive susceptibility under half-light, low light environment to object to be shot, and phase focusing and shooting are carried out to the object to be shot by obtaining the phase information of first camera, so as to the focusing speed and precision of terminal where the raising under half-light, low light environment, to lift Consumer's Experience.

Description

Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing
Technical field
The present invention relates to terminal shooting technology field, more particularly to a kind of phase focusing method and device, terminal, computer Device and readable storage medium storing program for executing.
Background technology
This part is it is intended that the embodiment for the embodiment of the present invention stated in claims and embodiment carries For background or context.Description herein recognizes it is prior art not because not being included in this part.
With the development of electronic technology and mobile communication technology, have the terminal of camera function in the life of people Popularized.The focusing method that mobile phone shooting at present uses mainly has contrast focusing and phase focusing (Phase Detection Auto Focus, abbreviation PDAF).Contrast Coke Rate is more accurate, but speed is too slow.Phase focusing speed is fast, in the market Phase focusing is all realized on color sensor (Bayer Sensor), however, color sensor has color filter array (Color Filter Array, abbreviation CFA), its light-inletting quantity are less than black and white sensor (Mono Sensor).Thus, using existing Some modes carry out focusing and taken pictures, and speed of being focused under half-light, low light environment and precision be not high, and Consumer's Experience is bad.
The content of the invention
In consideration of it, it is necessary to provide a kind of phase focusing method and device, terminal, computer installation and computer-readable deposits Storage media, focusing speed and precision can be improved under half-light, low light environment, and lift Consumer's Experience.
On the one hand the embodiment of the present invention provides a kind of terminal, the terminal comprises at least the first camera and the second shooting Head, the photosensitive susceptibility of first camera are higher than the photosensitive susceptibility of the second camera, the first camera bag Photo-sensitive cell and light shield are included, first camera is used to treat subject when ambient brightness value is in predetermined luminance range Body carries out phase-detection, and the terminal is used for the phase information for obtaining first camera, and utilizes the phase information pair The object to be shot carries out phase focusing and shooting.
Further, first camera is black and white camera, and the second camera is colour imagery shot.
Further, the terminal is specifically used for:
Obtain the phase-detection data of the first camera output;
The phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
Further, first camera is used to utilize the phase when ambient brightness value is in predetermined luminance range Information carries out phase focusing and shooting to the object to be shot;And/or
The second camera is used for when ambient brightness value is in predetermined luminance range using the phase information to institute State object to be shot and carry out phase focusing and shooting.
On the other hand the embodiment of the present invention also provides a kind of phase focusing method, applied to including at least the first camera and The terminal of second camera, wherein, the photosensitive susceptibility of first camera is higher than the photosensitive sensitivity of the second camera Degree, the phase focusing method include:
When detecting that ambient brightness value is in predetermined luminance range, first camera is controlled to enter object to be shot Row phase-detection, wherein, first camera comprises at least photo-sensitive cell and light shield;
Obtain the phase information of first camera;
Phase focusing and shooting are carried out to the object to be shot using the phase information.
Further, the phase information for obtaining first camera includes:
Obtain the phase-detection data of the first camera output;
The phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
Further, first camera is black and white camera, and the second camera is colour imagery shot.
Further, it is described to carry out phase focusing to the object to be shot using the phase information and shoot to include:
When ambient brightness value is in predetermined luminance range, first camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting;And/or
When ambient brightness value is in predetermined luminance range, the second camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting.
Another further aspect of the embodiment of the present invention also provides a kind of phase focusing mechanism, applied to including at least the first camera and The terminal of second camera, wherein, the photosensitive susceptibility of first camera is higher than the photosensitive sensitivity of the second camera Degree, the phase focusing mechanism include:
Detection module, for detecting the ambient brightness value of object to be shot;
Control module, for when detecting that the ambient brightness value is in predetermined luminance range, controlling described first Camera carries out phase-detection to object to be shot, wherein, first camera comprises at least photo-sensitive cell and light shield;
Analysis module, for obtaining the phase information of first camera;
Focusing module, for carrying out phase focusing and shooting to the object to be shot using the phase information.
Further, the analysis module is specifically used for when obtaining the phase information of first camera:
Obtain the phase-detection data of the first camera output;
The phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
Further, first camera is black and white camera, and the second camera is colour imagery shot, described right Burnt module is specifically used for when for carrying out phase focusing and shooting to the object to be shot using the phase information:
When ambient brightness value is in predetermined luminance range, first camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting;And/or
When ambient brightness value is in predetermined luminance range, the second camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting.
The another aspect of the embodiment of the present invention also provides a kind of computer installation, and the computer installation includes processor, institute State the step of processor is used to realize any of the above-described phase focusing method when performing the computer program stored in memory.
The another aspect of the embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, the computer program realizes any of the above-described phase focusing method when being executed by processor the step of.
Phase focusing method provided by the invention utilizes the first shooting that photosensitive susceptibility is higher under half-light, low light environment Head carries out phase-detection to object to be shot, and by obtaining the phase information of first camera come to the thing to be captured Body carries out phase focusing and shooting, so as to the focusing speed and precision of terminal where the raising under half-light, low light environment, to carry Rise Consumer's Experience.
Brief description of the drawings
It is required in being described below to embodiment in order to illustrate more clearly of the technical scheme of embodiment of the present invention The accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the phase focusing method schematic flow sheet of an embodiment of the present invention.
Fig. 2 is the structural representation for the phase focusing mechanism that an embodiment of the present invention provides.
Fig. 3 is the structural representation for the terminal that an embodiment of the present invention provides.
Fig. 4 is the structural representation of the first camera of the embodiment of the present invention, wherein, Fig. 4 A are the first shooting heads The schematic elevation view of separation structure, Fig. 4 B, Fig. 4 C are the schematic side views of the first camera part-structure.
Fig. 5 is the structural representation of the second camera of the embodiment of the present invention, wherein, Fig. 5 A are the second camera portions The schematic elevation view of separation structure, Fig. 5 B, Fig. 5 C are described and the schematic side view of two camera part-structures.
Main element symbol description
Terminal 1
Phase focusing mechanism 10
Detection module 11
Control module 12
Analysis module 13
Focusing module 14
Processor 20
Memory 30
Computer program 40
First camera 50
Array of photosites 51
Sensitivity speck 511,512
Left light shield 52
Right light shield 53
Lens 54
Second camera 60
Array of photosites 61
Sensitivity speck 611,612
Left light shield 62
Right light shield 63
Lens 64
Colour filter 65
Following embodiment will combine above-mentioned accompanying drawing and further illustrate the present invention.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Applying mode, the present invention will be described in detail.It should be noted that in the case where not conflicting, presently filed embodiment and reality Applying the feature in mode can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, described embodiment Only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this area The every other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to guarantor of the present invention The scope of shield.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Fig. 1 be an embodiment of the present invention provide phase focusing method flow chart, the phase focusing method application In terminal.The terminal can be the computer for having such as smart mobile phone, tablet personal computer, personal digital assistant camera function Equipment.It should be noted that the phase focusing method of embodiment of the present invention is not limited to the step in the flow chart shown in Fig. 1 Rapid and order.According to different demands, the step in shown flow chart can increase, remove or change order.
In the present embodiment, the terminal comprises at least the first camera and second camera, wherein, described first takes the photograph As the photosensitive susceptibility of head is higher than the photosensitive susceptibility of the second camera.It is understood that the terminal can include Two or more cameras.
In the present embodiment, first camera is black and white camera, and the second camera is colour imagery shot. Wherein, first camera comprises at least photo-sensitive cell and light shield.
As shown in figure 1, the phase focusing method may comprise steps of:
Step 101, when detecting that ambient brightness value is in predetermined luminance range, first camera is controlled to treat bat Take the photograph object and carry out phase-detection.
In the present embodiment, because first camera is black and white camera, its light-inletting quantity is larger, by using institute State the relatively described second camera ratio of phase information that the first camera carries out phase-detection to obtain under half-light, low light environment It is more accurate.Further, since first camera includes light shield, therefore phase-detection function can be realized, utilize its acquisition Phase information carry out phase focusing can effectively improve focusing speed.
Step 102, the phase information of first camera is obtained.
In the present embodiment, the step 102 specifically includes:
Obtain the phase-detection data of the first camera output;
The phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
Step 103, phase focusing and shooting are carried out to the object to be shot using the phase information.
In the present embodiment, the step 103 specifically may include:
When ambient brightness value is in predetermined luminance range, first camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting;And/or
When ambient brightness value is in predetermined luminance range, the second camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting.
It is understood that in one embodiment, first camera and the second camera carry out phase The phase information used during focusing can be identical, i.e., can be automatically right by identical in the specific steps of step 102 Burnt algorithm analyzes and processes to the phase-detection data, to obtain phase information described in identical, in the step 103 First camera and/or the second camera is controlled to enter the object to be shot using phase information described in identical Row phase is focused and shooting.
In another embodiment, the setting in the terminal due to first camera and the second camera Seated position has differences, and its focus focused also inherently has differences, therefore, first camera and second shooting The phase information that head used during phase focusing can be different, i.e., can be by not in the specific steps of step 102 Same auto-focusing algorithm analyzes and processes to the phase-detection data, to obtain the different phase informations, in institute State in step 103 and control first camera, the second camera respectively to described using the different phase informations Object to be shot carries out phase focusing and shooting.
It is appreciated that when ambient brightness value is in predetermined luminance range, in a kind of other embodiments, described first Camera and the second camera can be utilized respectively focusing method, such as contrast focusing method or phase focusing method etc., right The object to be shot is focused and shot.
In other another embodiments, the second camera can utilize focusing method, such as contrast focusing method, Or phase focusing method etc., the object to be shot is focused, first camera and/or the second camera can The focusing information collected using the second camera is shot.
It is appreciated that when ambient brightness value exceeds predetermined luminance range, in a kind of other embodiments, described first Camera and the second camera can be utilized respectively focusing method, such as contrast focusing method or phase focusing method etc., right The object to be shot is focused and shot.
In other another embodiments, one of shooting in first camera and the second camera Head can utilize focusing method, such as contrast focusing method or phase focusing method etc., and the object to be shot is focused, First camera and/or the second camera can be carried out using the focusing information that one of camera collects Shooting.
It is no longer superfluous here because the focusing image pickup method of above-mentioned other embodiment is not the emphasis of technical solution of the present invention State it and realize details.
The phase focusing method provided by the invention utilizes higher first of photosensitive susceptibility under half-light, low light environment Camera carries out phase-detection to object to be shot, and waits to clap to described by obtaining the phase information of first camera Take the photograph object and carry out phase focusing and shooting, so as to the focusing speed and precision of terminal where being improved under half-light, low light environment, To lift Consumer's Experience.
Fig. 2 be an embodiment of the present invention provide phase focusing mechanism structural representation, the phase focusing mechanism Applied to terminal.The phase focusing mechanism can include one or more modules, and one or more of modules are stored in In the memory of terminal and it is configured to be performed by one or more processors (present embodiment is a processor), to complete The present invention.For example, as shown in fig.2, phase focusing mechanism 10 can include detection module 11, control module 12, analysis module 13 and Focusing module 14.Module alleged by the embodiment of the present invention can complete the program segment of a specific function, than program more It is suitable for describing the implementation procedure of software within a processor.
It is understood that corresponding to each embodiment in above-mentioned phase focusing method, the phase focusing mechanism 10 Part or all in each functional module shown in Fig. 2 can be included, the function of each module 11~14 will be in detail below Introduce.It should be noted that identical noun related terms and its specific in each embodiment of above phase focusing method Explanation is readily applicable to the following function introduction to each module 11~14.For the sake of saving space and avoiding repetition, This is just repeated no more.
In the present embodiment, the terminal comprises at least the first camera and second camera, wherein, described first takes the photograph As the photosensitive susceptibility of head is higher than the photosensitive susceptibility of the second camera.It is understood that the terminal can include Two or more cameras.
In the present embodiment, first camera is black and white camera, and the second camera is colour imagery shot. Wherein, first camera comprises at least photo-sensitive cell and light shield.
The detection module 11 is used for the ambient brightness value for detecting object to be shot.
The control module 12 is used for when detecting that the ambient brightness value is in predetermined luminance range, described in control First camera carries out phase-detection to object to be shot.
In the present embodiment, because first camera is black and white camera, its light-inletting quantity is larger, by using institute State the relatively described second camera ratio of phase information that the first camera carries out phase-detection to obtain under half-light, low light environment It is more accurate.Further, since first camera includes light shield, therefore phase-detection function can be realized, utilize its acquisition Phase information carry out phase focusing can effectively improve focusing speed.
The analysis module 13 is used for the phase information for obtaining first camera.
In the present embodiment, the analysis module 13 is specifically used for:
Obtain the phase-detection data of the first camera output;
The phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
The Focusing module 14 is used to carry out phase focusing and shooting to the object to be shot using the phase information.
In the present embodiment, the Focusing module 14 is specifically used for:
When ambient brightness value is in predetermined luminance range, first camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting;And/or
When ambient brightness value is in predetermined luminance range, the second camera is controlled to institute according to the phase information State object to be shot and carry out phase focusing and shooting.
It is understood that in one embodiment, first camera and the second camera carry out phase The phase information used during focusing can be identical, i.e. the analysis module 13 can pass through identical auto-focusing algorithm pair The phase-detection data are analyzed and processed, and to obtain phase information described in identical, the Focusing module 14 utilizes identical The phase information control first camera and/or the second camera to carry out phase pair to the object to be shot Burnt and shooting.
In another embodiment, the setting in the terminal due to first camera and the second camera Seated position has differences, and its focus focused also inherently has differences, therefore, first camera and second shooting It can be different that head, which carries out the phase information that uses during phase focusing, i.e. the analysis module 13 can be by different automatic Focus algorithm analyzes and processes to the phase-detection data, to obtain the different phase informations, the Focusing module 14 control first camera, the second camera to the object to be shot respectively using the different phase informations Carry out phase focusing and shooting.
It is appreciated that when ambient brightness value is in predetermined luminance range, in a kind of other embodiments, described first Camera and the second camera can be utilized respectively focusing method, such as contrast focusing method or phase focusing method etc., right The object to be shot is focused and shot.
In other another embodiments, the second camera can utilize focusing method, such as contrast focusing method, Or phase focusing method etc., the object to be shot is focused, first camera and/or the second camera can The focusing information collected using the second camera is shot.
It is appreciated that when ambient brightness value exceeds predetermined luminance range, in a kind of other embodiments, described first Camera and the second camera can be utilized respectively focusing method, such as contrast focusing method or phase focusing method etc., right The object to be shot is focused and shot.
In other another embodiments, one of shooting in first camera and the second camera Head can utilize focusing method, such as contrast focusing method or phase focusing method etc., and the object to be shot is focused, First camera and/or the second camera can be carried out using the focusing information that one of camera collects Shooting.
It is no longer superfluous here because the focusing image pickup method of above-mentioned other embodiment is not the emphasis of technical solution of the present invention State it and realize details.
The phase focusing mechanism provided by the invention utilizes higher first of photosensitive susceptibility under half-light, low light environment Camera carries out phase-detection to object to be shot, and waits to clap to described by obtaining the phase information of first camera Take the photograph object and carry out phase focusing and shooting, so as to the focusing speed and precision of terminal where being improved under half-light, low light environment, To lift Consumer's Experience.
The embodiment of the present invention also provides a kind of computer installation, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, realize described in above-mentioned embodiment during the computing device described program The step of phase focusing method.
Fig. 3 is the schematic diagram for the terminal that an embodiment of the present invention provides.As shown in figure 3, terminal 1 comprises at least:Processing Device 20, memory 30, be stored in the memory 30 and can be run on the processor 20 computer program 40 (such as Phase is focused program), the first camera 50 and second camera 60.
Wherein, the terminal 1 can be the meter that smart mobile phone, tablet personal computer, personal digital assistant etc. have camera function Calculate machine equipment.It will be understood by those skilled in the art that the schematic diagram 3 is only the example of terminal 1, not structure paired terminal 1 Restriction, can include than illustrating more or less parts, either combine some parts or different parts, such as institute Input-output equipment, network access equipment, bus etc. can also be included by stating terminal 1.
The photosensitive susceptibility of first camera 50 is higher than the photosensitive susceptibility of the second camera 60.It is appreciated that , the terminal 1 can include two or more cameras.
In the present embodiment, first camera 50 is black and white camera, and the second camera 60 is taken the photograph for colour As head.
First camera 50 is used to carry out phase to object to be shot when ambient brightness value is in predetermined luminance range Position detection, the terminal 1 is used for the phase information for obtaining first camera 50, and is treated using the phase information to described Shoot object and carry out phase focusing and shooting.
In the present embodiment, the terminal 1 is specifically used for the phase-detection data for obtaining the first camera output, And the phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
In the present embodiment, first camera 50 is additionally operable to sharp when ambient brightness value is in predetermined luminance range Phase focusing and shooting are carried out to the object to be shot with the phase information, and/or, the second camera 60 is used for Phase focusing and bat are carried out to the object to be shot using the phase information when ambient brightness value is in predetermined luminance range Take the photograph.
Referring to Fig. 4, it is the structural representation of the first camera 50 of the embodiment of the present invention.In the present embodiment, institute State the first camera 50 and comprise at least array of photosites 51, left light shield 52, right light shield 53 and lens 54, wherein, such as Fig. 4 (B) shown in, for adjacent one of sensitivity speck 511, its top is at least disposed with the left light shield 52 and described Lens 54, as shown in Fig. 4 (C), for another adjacent sensitivity speck 512, its top is at least disposed with the right shading Cover 53 and the lens 54.
Referring to Fig. 5, it is the structural representation of the second camera 60 of the embodiment of the present invention.In the present embodiment, institute State second camera 60 and comprise at least array of photosites 61, left light shield 62, right light shield 63, lens 64 and colour filter 65, Wherein, as shown in Fig. 5 (B), for adjacent one of sensitivity speck 611, its top is at least disposed with the left shading Cover 62, the colour filter 65 and the lens 64, as shown in Fig. 5 (C), for another adjacent sensitivity speck 612, its top is extremely The right light shield 63, the colour filter 65 and the lens 64 are disposed with less.
It is understood that the structure of the second camera 60 is identical with the structure of existing colour imagery shot or phase Seemingly, the structure of first camera 50 can be regarded as by adding shading in the imaging sensor of existing black and white camera Cover structure, or the colour filter of existing colour imagery shot is removed to obtain first camera 50.
Referring to Fig. 3, the processor 20 realizes above-mentioned phase focusing method when performing the computer program 40 Step in embodiment, such as step 101~103 shown in Fig. 1.When the processor 20 performs the computer program 40 Realize each module/unit in above-mentioned each device embodiments, such as the function of module 11~14.
Exemplary, the computer program 40 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 30, and are performed by the processor 20, to complete the present invention.Described one Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used In implementation procedure of the description computer program 40 in the terminal 1.For example, the computer program 40 can be divided Into the detection module 11 in Fig. 2, control module 12, analysis module 13 and Focusing module 14, the specific work(of each module 11~14 Specific introduction above can be referred to, for the sake of saving space and avoiding repetition, is just repeated no more herein.
Alleged processor 20 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 20 can also be any conventional processing Device etc., the processor 20 are the control centres of terminal 1 described in the phase focusing mechanism 10/, utilize various interfaces and circuit Connect the various pieces of the whole terminal 1 of phase focusing mechanism 10/.
The memory 30 is used to store the computer program 40 and/or module/unit, and the processor 20 passes through fortune Row performs the computer program and/or module/unit being stored in the memory 30, and calls and be stored in the storage Data in device 30, realize the various functions of the terminal 1 of phase focusing mechanism 10/.The memory 30 can mainly include depositing Program area and storage data field are stored up, wherein, storing program area can storage program area, the application program needed at least one function (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses created number according to terminal 1 According to (such as voice data, phone directory, the data set using above-mentioned phase focusing method, obtained etc.) etc..In addition, described deposit Reservoir 30 can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, grafting Formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter Calculation machine program realizes the step of phase focusing method described in above-mentioned embodiment when being executed by processor.
If the integrated module/unit of the computer installation of 10/ terminal of phase focusing mechanism 1/ is with SFU software functional unit Form realize and be used as independent production marketing or in use, can be stored in a computer read/write memory medium. Based on such understanding, the present invention realizes all or part of flow in above-mentioned embodiment method, can also pass through computer Program instructs the hardware of correlation to complete, and described computer program can be stored in a computer-readable recording medium, institute Computer program is stated when being executed by processor, can be achieved above-mentioned each method embodiment the step of.Wherein, the computer Program includes computer program code, and the computer program code can be source code form, object identification code form, can perform File or some intermediate forms etc..The computer-readable recording medium can include:The computer program generation can be carried Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, the read-only storage of code (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, electricity Believe signal and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according to department Legislation and the requirement of patent practice carry out appropriate increase and decrease in method administrative area, such as in some jurisdictions, according to legislation and Patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed terminal and method, can be with Realize by another way.For example, termini embodiment described above is only schematical, for example, the module Division, only a kind of division of logic function, can there is other dividing mode when actually realizing.
In addition, each functional module in each embodiment of the present invention can be integrated in same treatment module, can also That modules are individually physically present, can also two or more modules be integrated in equal modules.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of hardware adds software function module.
It is obvious to a person skilled in the art that the embodiment of the present invention is not limited to the details of above-mentioned one exemplary embodiment, And in the case of the spirit or essential attributes without departing substantially from the embodiment of the present invention, this hair can be realized in other specific forms Bright embodiment.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary, and is nonrestrictive, sheet The scope of inventive embodiments is limited by appended claims rather than described above, it is intended that will fall being equal in claim All changes in the implication and scope of important document are included in the embodiment of the present invention.Should not be by any accompanying drawing mark in claim Note is considered as the involved claim of limitation.Furthermore, it is to be understood that the word of " comprising " one is not excluded for other units or step, odd number is not excluded for Plural number.Multiple units, module or the device stated in system, device or terminal claim can also be by same unit, moulds Block or device are realized by software or hardware.The first, the second grade word is used for representing title, and is not offered as any specific Order.
Finally it should be noted that embodiment of above is only to illustrate the technical scheme of the embodiment of the present invention and unrestricted, Although the embodiment of the present invention is described in detail with reference to above better embodiment, one of ordinary skill in the art should Understand, the technical scheme of the embodiment of the present invention can be modified or equivalent substitution should not all depart from the skill of the embodiment of the present invention The spirit and scope of art scheme.

Claims (10)

1. a kind of terminal, including at least the first camera and second camera, the photosensitive susceptibility of first camera is higher than The photosensitive susceptibility of the second camera, it is characterised in that first camera includes photo-sensitive cell and light shield, described First camera is used to carry out phase-detection, the terminal to object to be shot when ambient brightness value is in predetermined luminance range Phase pair is carried out to the object to be shot for obtaining the phase information of first camera, and using the phase information Burnt and shooting.
2. terminal according to claim 1, it is characterised in that first camera is black and white camera, described second Camera is colour imagery shot.
3. terminal according to claim 1, it is characterised in that the terminal is specifically used for:
Obtain the phase-detection data of the first camera output;
The phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
4. terminal according to claim 3, it is characterised in that first camera is used to be in pre- in ambient brightness value If phase focusing and shooting are carried out to the object to be shot using the phase information during brightness range;And/or
The second camera is used to treat to described using the phase information when ambient brightness value is in predetermined luminance range Shoot object and carry out phase focusing and shooting.
5. a kind of phase focusing method, applied to the terminal including at least the first camera and second camera, wherein, described The photosensitive susceptibility of one camera is higher than the photosensitive susceptibility of the second camera, it is characterised in that the phase focusing side Method includes:
When detecting that ambient brightness value is in predetermined luminance range, first camera is controlled to carry out phase to object to be shot Position detection, wherein, first camera comprises at least photo-sensitive cell and light shield;
Obtain the phase information of first camera;
Phase focusing and shooting are carried out to the object to be shot using the phase information.
6. phase focusing method according to claim 5, it is characterised in that the phase for obtaining first camera Information includes:
Obtain the phase-detection data of the first camera output;
The phase-detection data are analyzed and processed using auto-focusing algorithm, to obtain the phase information.
7. phase focusing method according to claim 6, it is characterised in that described to be treated using the phase information to described Shooting object, which carries out phase focusing and shooting, to be included:
When ambient brightness value is in predetermined luminance range, first camera is controlled to be treated to described according to the phase information Shoot object and carry out phase focusing and shooting;And/or
When ambient brightness value is in predetermined luminance range, the second camera is controlled to be treated to described according to the phase information Shoot object and carry out phase focusing and shooting.
8. a kind of phase focusing mechanism, applied to the terminal including at least the first camera and second camera, wherein, described The photosensitive susceptibility of one camera is higher than the photosensitive susceptibility of the second camera, it is characterised in that the phase focusing dress Put including:
Detection module, for detecting the ambient brightness value of object to be shot;
Control module, for when detecting that the ambient brightness value is in predetermined luminance range, control described first to image Head carries out phase-detection to object to be shot, wherein, first camera comprises at least photo-sensitive cell and light shield;
Analysis module, for obtaining the phase information of first camera;
Focusing module, for carrying out phase focusing and shooting to the object to be shot using the phase information.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, and the processor is deposited for execution The step of phase focusing method as described in any one in claim 5-7 is realized during the computer program stored in reservoir.
10. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the computer instruction The step of phase focusing method as described in any one in claim 5-7 is realized when being executed by processor.
CN201710775098.1A 2017-08-31 2017-08-31 Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing Pending CN107395990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710775098.1A CN107395990A (en) 2017-08-31 2017-08-31 Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710775098.1A CN107395990A (en) 2017-08-31 2017-08-31 Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107395990A true CN107395990A (en) 2017-11-24

Family

ID=60348739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710775098.1A Pending CN107395990A (en) 2017-08-31 2017-08-31 Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107395990A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110769162A (en) * 2019-11-28 2020-02-07 维沃移动通信有限公司 Electronic equipment and focusing method
CN110797360A (en) * 2019-10-08 2020-02-14 芯盟科技有限公司 Pixel arrangement structure
US11696041B2 (en) 2019-11-28 2023-07-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image sensor, control method, camera component and mobile terminal with raised event adaptability and phase detection auto focus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150237255A1 (en) * 2012-10-16 2015-08-20 Canon Kabushiki Kaisha Focus detecting apparatus, lens apparatus including the same, image pickup apparatus, and method of detecting defocus amount
CN106226976A (en) * 2016-09-22 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of dual camera image pickup method, system and terminal
CN106254682A (en) * 2016-09-22 2016-12-21 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106331484A (en) * 2016-08-24 2017-01-11 维沃移动通信有限公司 Focusing method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150237255A1 (en) * 2012-10-16 2015-08-20 Canon Kabushiki Kaisha Focus detecting apparatus, lens apparatus including the same, image pickup apparatus, and method of detecting defocus amount
CN106331484A (en) * 2016-08-24 2017-01-11 维沃移动通信有限公司 Focusing method and mobile terminal
CN106226976A (en) * 2016-09-22 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of dual camera image pickup method, system and terminal
CN106254682A (en) * 2016-09-22 2016-12-21 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322651A (en) * 2018-02-11 2018-07-24 广东欧珀移动通信有限公司 Image pickup method and device, electronic equipment, computer readable storage medium
CN108322651B (en) * 2018-02-11 2020-07-31 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and computer readable storage medium
CN109862271A (en) * 2019-02-27 2019-06-07 上海创功通讯技术有限公司 Phase difference focusing method, electronic equipment and computer storage medium
CN110797360A (en) * 2019-10-08 2020-02-14 芯盟科技有限公司 Pixel arrangement structure
CN110797360B (en) * 2019-10-08 2022-03-29 芯盟科技有限公司 Pixel arrangement structure
CN110769162A (en) * 2019-11-28 2020-02-07 维沃移动通信有限公司 Electronic equipment and focusing method
WO2021104265A1 (en) * 2019-11-28 2021-06-03 维沃移动通信有限公司 Electronic device and focusing method
CN110769162B (en) * 2019-11-28 2021-07-13 维沃移动通信有限公司 Electronic equipment and focusing method
US11696041B2 (en) 2019-11-28 2023-07-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image sensor, control method, camera component and mobile terminal with raised event adaptability and phase detection auto focus
US11856294B2 (en) 2019-11-28 2023-12-26 Vivo Mobile Communication Co., Ltd. Electronic device and focusing method for electronic device

Similar Documents

Publication Publication Date Title
CN107395990A (en) Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing
CN103139466B (en) Information processor, imaging device, information processing method and computer-readable recording medium
CN103617432B (en) A kind of scene recognition method and device
CN110149482A (en) Focusing method, device, electronic equipment and computer readable storage medium
CN110991506B (en) Vehicle brand identification method, device, equipment and storage medium
CN107155067A (en) Camera control method and device, terminal and storage medium
CN1926851A (en) Method and apparatus for optimizing capture device settings through depth information
CN110473185A (en) Image processing method and device, electronic equipment, computer readable storage medium
EP2327222A1 (en) Image capture using separate luminance and chrominance sensors
CN104902182B (en) A kind of method and apparatus for realizing continuous auto-focusing
CN107205109A (en) The method of electronic installation and its control with many photographing modules
CN108810406A (en) Portrait light efficiency processing method, device, terminal and computer readable storage medium
CN108322651A (en) Image pickup method and device, electronic equipment, computer readable storage medium
CN106651755A (en) Panoramic image processing method and device for terminal and terminal
CN106651797B (en) Method and device for determining effective area of signal lamp
CN108776800A (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN108764139A (en) A kind of method for detecting human face, mobile terminal and computer readable storage medium
CN107105172A (en) A kind of method and apparatus for being used to focus
CN111246092B (en) Image processing method, image processing device, storage medium and electronic equipment
CN106664370A (en) Image processing device, filter acquisition device, image processing method, filter acquisition method, program, and recording medium
CN112449115B (en) Shooting method and device and electronic equipment
KR20190089035A (en) Image processing method and device, and non-transitory computer-readable storage medium,
CN105893578B (en) A kind of method and device of photo selection
CN111161299B (en) Image segmentation method, storage medium and electronic device
CN106506971A (en) A kind of focusing method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Ji Dao

Inventor after: Wu Wenbin

Inventor before: Ji Dao

Inventor before: Wu Wenbin

CB03 Change of inventor or designer information
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124

RJ01 Rejection of invention patent application after publication