CN106385534A - Focusing method and terminal - Google Patents
Focusing method and terminal Download PDFInfo
- Publication number
- CN106385534A CN106385534A CN201610810527.XA CN201610810527A CN106385534A CN 106385534 A CN106385534 A CN 106385534A CN 201610810527 A CN201610810527 A CN 201610810527A CN 106385534 A CN106385534 A CN 106385534A
- Authority
- CN
- China
- Prior art keywords
- focusing
- difference value
- phase difference
- focal length
- unit
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/633—Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
- H04N23/635—Region indicators; Field of view indicators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/672—Focus control based on electronic image sensor signals based on the phase difference signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a focusing method and a terminal. The focusing method and the terminal can rapidly realize focusing, are simple in operation and have the diversity. The method comprises: when a focusing instruction is received, collecting a first image through an image sensor, and obtaining an initial focal length and the camera parameters of a camera; according to the initial focal length and the camera parameters of the camera, determining the first field depth range shooting the first image; in the first field depth range, calculating at least two first focal lengths through adjusting the position of a camera motor; and performing focusing aiming of the first image according to the at least two first focal lengths, and obtaining the at least two second images corresponding to the at least two first focal lengths after focusing.
Description
Technical field
The present invention relates to the image processing techniquess in field of information processing, more particularly, to a kind of focusing method and terminal.
Background technology
Fast development with mobile terminal and gradually popularizing, mobile terminal has become indispensable in people's daily life
One of instrument, the mobile terminal with camera head is even more extensively favored by user.Experience to obtain more preferable shooting, people
Requirement yet more and more higher to the camera function of mobile terminal, does not require nothing more than raising camera head pixel, also requires to improve shooting
The shooting speed of device.Wherein, shooting speed is mainly determined by focusing mode.
At present, mobile terminal great majority on the market adopt contrast formula focusing mode or phase place focusing mode, by driving
Motor drive eyeglass move back and forth to find out target focusing position exactly.No matter but using which kind of focusing mode, being all
Carry out the shooting of different focal by repeatedly different focusings, such focus operation is complicated and time-consuming.
Content of the invention
For solving above-mentioned technical problem, embodiment of the present invention expectation provides a kind of focusing method and terminal, can be quick
Realize focusing, and simple to operate, there is multiformity.
The technical scheme is that and be achieved in that:
Embodiments provide a kind of focusing method, including:
When receiving focusing instruction, the first image is gathered by imageing sensor, obtain the bat of initial focal length and camera
Take the photograph parameter;
According to described initial focal length and described acquisition parameters, determine the first field depth shooting described first image;
In described first field depth, go out at least two first focal lengths by adjusting the position calculation shooting motor;
According to described at least two first focal lengths, described first image is carried out with focusing to aim at, obtain to described in defocused extremely
Corresponding at least two second images of few two the first focal lengths.
In such scheme, described acquisition parameters include:Starting material away from initial image distance, described in described first depth of field model
In enclosing, go out at least two first focal lengths by adjusting the position calculation shooting motor, including:
In described first field depth, by adjust described shoot motor position thus adjust described starting material away from,
Obtain at least two first object distances after adjusting;
According to described at least two first object distances, described initial image distance and default focal length model, calculate described at least two
Individual first focal length.
In such scheme, described acquisition initial focal length, including:
Obtain current phase difference value;
Detect whether described current phase difference value belongs to default phase difference value scope, described default phase difference value scope
Realize the phase difference value scope of phase place focusing for triggering terminal;
If detecting, described current phase difference value is not belonging to described default phase difference value scope, by described shooting motor
In mobile extremely target focusing range corresponding with described current phase difference value;
The described position shooting motor is adjusted in described target focusing range, to determine first object focusing position, from
And realize focusing;
According to described first object focusing position, obtain current first focal length, and using described current first focal length as institute
State initial focal length.
In such scheme, after whether the described current phase difference value of described detection belongs to default phase difference value scope,
Methods described also includes:
If detecting, described current phase difference value belongs to described default phase difference value scope, according to described current phase place
Difference determines the second target focusing position, thus realizing focusing;
According to described second target focusing position, obtain current second focal length, and using described current second focal length as institute
State initial focal length.
In such scheme, described acquisition is to defocused corresponding at least two second figures of described at least two first focal lengths
As afterwards, methods described also includes:
Show described at least two second images.
Embodiments provide a kind of terminal, including:
Acquiring unit, for when receiving unit receives focusing instruction, collecting unit passes through imageing sensor and gathers the
One image, obtains the acquisition parameters of initial focal length and camera;
Determining unit, for the described initial focal length that obtained according to described acquiring unit and described acquisition parameters, determines and claps
Take the photograph the first field depth of described first image;
Computing unit, for, in described first field depth that described determining unit determines, shooting motor by adjusting
Position calculation go out at least two first focal lengths;
Focusing unit, for described at least two first focal lengths that calculated according to described computing unit to described first image
Carry out focusing to aim at,
Described acquiring unit, is additionally operable to described focusing unit corresponding extremely to described at least two first focal lengths of defocused acquisition
Few two the second images.
In above-mentioned terminal, described acquisition parameters include:Starting material away from initial image distance;
Described acquiring unit, is additionally operable in described first field depth that described determining unit determines, by adjusting institute
State the position shooting motor thus adjusting described starting material away from least two first object distances after acquisition regulation;
Described computing unit, specifically for described at least two first object distances, described being calculated according to described computing unit
Initial image distance and default focal length model, calculate described at least two first focal lengths.
In above-mentioned terminal, described terminal also includes:Detector unit and mobile unit;
Described acquiring unit, specifically for obtaining current phase difference value;
Described detector unit, for detecting whether the described current phase difference value that described acquiring unit obtains belongs to default
Phase difference value scope, described default phase difference value scope realizes the phase difference value scope of phase place focusing for triggering terminal;
Described mobile unit, if it is described default to detect that described current phase difference value is not belonging to for described detector unit
Phase difference value scope, then by mobile for described shooting motor to target focusing range corresponding with described current phase difference value;And
Adjust in described target focusing range described shoot motor position, to determine first object focusing position, thus realize right
Burnt;
Described acquiring unit, also particularly useful for the described first object focusing position being obtained after mobile according to described mobile unit
Put, obtain current first focal length, and using described current first focal length as described initial focal length.
In above-mentioned terminal, described mobile unit, it is additionally operable to whether described detector unit detects described current phase difference value
After belonging to default phase difference value scope, if described detector unit detects that described current phase difference value belongs to described default
Phase difference value scope, then determine the second target focusing position according to described current phase difference value, thus realizing focusing;
Described acquiring unit, also particularly useful for according to described second target focusing position, obtains current second focal length, and will
Described current second focal length is as described initial focal length.
In above-mentioned terminal, described terminal also includes:Display unit;
Described display unit, obtains corresponding extremely to defocused described at least two first focal lengths for described acquiring unit
After few two the second images, described at least two second images that the described acquiring unit of display obtains.
Embodiments provide a kind of focusing method and terminal, when receiving focusing instruction, by image sensing
Device gathers the first image, obtains the acquisition parameters of initial focal length and camera;According to initial focal length and acquisition parameters, determine to shoot and be somebody's turn to do
First field depth of the first image;In the first field depth, go out at least two by adjusting the position calculation shooting motor
First focal length;According at least two first focal lengths, the first image is carried out with focusing to aim at, obtain to defocused at least two first
Corresponding at least two second images of focal length.Using above-mentioned technic relization scheme, because terminal can be when once shooting, in energy
In the range of enough correct focusings, realize the shooting of multiple focal lengths simultaneously, obtain the second image of multiple focal lengths, complete to focus
Journey, it is thereby achieved that rapid focus, and operate very simple, embody the multiformity to defocused image type.
Brief description
Fig. 1 is to realize a kind of hardware architecture diagram of optional terminal of each embodiment of the present invention;
Fig. 2 is the communication system that is operable to of mobile terminal of the present invention;
Fig. 3 is a kind of flow chart one of focusing method provided in an embodiment of the present invention;
Fig. 4 is a kind of exemplary focusing instruction triggers schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of exemplary imaging provided in an embodiment of the present invention;
Fig. 6 is a kind of flowchart 2 of focusing method provided in an embodiment of the present invention;
Fig. 7 is the preview graph of the first exemplary image provided in an embodiment of the present invention;
Fig. 8 is the display schematic diagram one of the second exemplary image provided in an embodiment of the present invention;
Fig. 9 is the display schematic diagram two of the second exemplary image provided in an embodiment of the present invention;
Figure 10 is the structural representation one of terminal provided in an embodiment of the present invention;
Figure 11 is the structural representation two of terminal provided in an embodiment of the present invention;
Figure 12 is the structural representation three of terminal provided in an embodiment of the present invention;
Figure 13 is the structural representation four of terminal provided in an embodiment of the present invention.
Specific embodiment
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
Site preparation describes.
Realize the mobile terminal of each embodiment of the present invention referring now to Description of Drawings.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for being conducive to the explanation of the present invention, itself
Not specific meaning.Therefore, " module " and " part " can mixedly use.
It should be noted that a kind of focus acquisition device provided in an embodiment of the present invention can be terminal, such as computer
Or mobile terminal etc. can use the electronic equipment of browser.
Wherein, mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can be included such as
Mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD),
The mobile terminal of portable media player (PMP), guider etc. and such as digital TV, desk computer etc.
Fixed terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving
Outside the element of dynamic purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration realizing a kind of optional mobile terminal of each embodiment of the present invention is illustrated.
Mobile terminal 1 can include wireless communication unit 110, audio/video (A/V) input block 120, user input list
Unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc.
Deng.Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all assemblies illustrating.
More or less of assembly can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, its allow mobile terminal 1 and wireless communication system or
Radio communication between network.For example, wireless communication unit can include mobile communication module 112, wireless Internet module
113rd, at least one of short range communication module 114 and location information module 115.
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal can include voice and lead to
Words signal, video calling signal or the various types of data sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module
Typical case be global positioning system (GPS) module.According to current technology, GPS module calculates and defends from three or more
The range information of star and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude
The three-dimensional current location information of degree and highly accurately calculating.Currently, the method for calculating position and temporal information uses three
Satellite and the error of the position that calculates by using other satellite correction and temporal information.Additionally, GPS module energy
Enough by Continuous plus current location information in real time come calculating speed information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121, phase
The image to the static images being obtained by image capture apparatus in Video Capture pattern or image capture mode or video for the machine 121
Data is processed.Picture frame after process may be displayed on display unit 151.Picture frame after processing through camera 121 can
To be stored in memorizer 160 (or other storage medium) or to be transmitted via wireless communication unit 110, can be according to shifting
The construction of dynamic terminal provides two or more cameras 121.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input
Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch
Plate (for example, detection due to touched and lead to resistance, pressure, the change of electric capacity etc. sensitive component), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1, (for example, mobile terminal 1 open or close state),
The position of mobile terminal 1, user are for the presence or absence of the contact (that is, touch input) of mobile terminal 1, the orientation of mobile terminal 1, shifting
The acceleration or deceleration movement of dynamic terminal 1 and direction etc., and generate order or the letter of the operation for controlling mobile terminal 1
Number.For example, when mobile terminal 1 is embodied as sliding-type mobile phone, it is to engage that sensing unit 140 can sense this sliding-type number
On or off is closed.In addition, sensing unit 140 can detect whether whether power subsystem 190 provide electric power or interface unit 170
Couple with external device (ED).Sensing unit 140 can include proximity transducer 141 and this is retouched with reference to touch screen below
State.
Interface unit 170 is connected, as at least one external device (ED), the interface that can pass through with mobile terminal 1.For example, outward
Part device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless
FPDP, memory card port, for connect have the port of device of identification module, audio input/output (I/O) port,
Video i/o port, ear port etc..Identification module can be storage for verifying that user uses the various letters of mobile terminal 1
Cease and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included.
In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, identifying device
Can be connected with mobile terminal 1 via port or other attachment means.Interface unit 170 can be used for receiving from external device (ED)
Input (for example, data message, electric power etc.) and the input receiving is transferred to one or more in mobile terminal 1
Element or can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 is connected with external base, interface unit 170 can serve as allowing by it by electric power
There is provided the path of mobile terminal 1 from base or can serve as allowing the various command signals from base input to transmit by it
Path to mobile terminal.May serve as identifying whether mobile terminal is accurate from the various command signals of base input or electric power
Really it is arranged on the signal on base.Output unit 150 is configured to provide output letter with vision, audio frequency and/or tactile manner
Number (for example, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit
151 etc..
Display unit 151 may be displayed on the information processing in mobile terminal 1.For example, lead to when mobile terminal 1 is in phone
During words pattern, display unit 151 can show (for example, text messaging, the multimedia file download that communicate with call or other
Etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 is in video calling pattern or figure
As acquisition mode when, display unit 151 can show the image of capture and/or the image of reception, illustrate video or image and
UI or GUI of correlation function etc..
Meanwhile, when display unit 151 and the touch pad touch screen with formation superposed on one another as a layer, display unit
151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
A kind of.Some in these display may be constructed such that transparence, and to allow user from outside viewing, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 1 can include two or more display units (or other display device), for example, mobile
Terminal can include outernal display unit (not shown) and inner display unit (not shown).It is defeated that touch screen can be used for detection touch
Enter pressure and touch input position and touch input area.
Memorizer 160 can store software program of the process being executed by controller 180 and control operation etc., or can
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memorizer 160 can be to store the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch screen
Data.
Memorizer 160 can include the storage medium of at least one type, and described storage medium includes flash memory, hard disk, many
Media card, card-type memorizer (for example, SD or DX memorizer etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 can execute memorizer 160 with by network connection
Store function network storage device cooperation.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 execution and voice call, data
The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that and controls
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executing on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Suitable electric power needed for part and assembly.
Various embodiment described herein can be with using such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implementing.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to execute function described herein
At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment.
Software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation
Software module is implementing.Software code can be come by the software application (or program) write with any suitable programming language
Implement, software code can be stored in memorizer 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 may be constructed such that using such as wired via frame or packet transmission data
To operate with wireless communication system and satellite-based communication system.
The communication system being wherein operable to according to the mobile terminal of the present invention referring now to Fig. 2 description.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s, multiple base station (BS) 270, base station control
Device (BSC) 275 processed and mobile switching centre (MSC) 280.MSC 280 is configured to and Public Switched Telephony Network (PSTN) 290
Form interface.MSC 280 is also structured to and can form interface via the BSC 275 that back haul link is couple to BS 270.Return
If journey circuit can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC 2750.
Each BS 270 can service one or more subregions (or region), by the sky of multidirectional antenna or sensing specific direction
Each subregion that line covers is radially away from BS 270.Or, each subregion can be by for two of diversity reception or more
Multiple antennas cover.Each BS 270 may be constructed such that support multiple frequency distribution, and the distribution of each frequency has specific frequency
Spectrum (for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC
275 and at least one BS 270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS 270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 1 of operation in system by broadcsting transmitter (BT) 295.
In fig. 2 it is shown that several global positioning system (GPS) satellites 300, in the satellite 300 help multiple mobile terminal 1s of positioning extremely
Few one.
In fig. 2, depict multiple satellites 300, it is understood that be, it is possible to use any number of satellite obtains useful
Location information.As the location information module 115 shown in Fig. 1 GPS module be generally configured to satellite 300 coordinate with
Obtain the location information wanted.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use movement can be followed the tracks of
Other technology of the position of terminal.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb
Transmission.
As a typical operation of wireless communication system, BS 270 receives the reverse link from various mobile terminal 1s
Signal.Mobile terminal 1 generally participates in call, information receiving and transmitting and other types of communication.Each of specific BS 270 reception is reverse
Link signal is processed in specific BS 270.The data obtaining is forwarded to the BSC 275 of correlation.BSC provides call
Resource allocation and the mobile management function of including the coordination of soft switching process between BS 270.BSC 275 also will receive
Data is routed to MSC 280, and it provides the extra route service for forming interface with PSTN 290.Similarly, PSTN
290 form interfaces with MSC 280, and MSC and BSC 275 form interface, and BSC 275 correspondingly controls BS 270 with by forward direction
Link signal is sent to mobile terminal 1.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Embodiment one
Embodiments provide a kind of focusing method, as shown in figure 3, the method can include:
S101, when receiving focusing instruction, the first image is gathered by imageing sensor, obtains initial focal length and camera
Acquisition parameters.
It should be noted that a kind of focusing method provided in an embodiment of the present invention is under the scene taken pictures in terminal
Realize.
Focusing refers to using adjusting good focus distance during photographing unit, and focusing is also named to light, focusing.By on photographing unit or terminal
Camera applications Focusing mechanism change animal away from position apart, the process making made thing imaging clearly is exactly to focus.
Wherein, phase place focusing is to realize auto-focusing by the phase pushing figure of detection image.Pass in photosensitive image
A waffle slab being made up of parallel lines is placed in the position of sensor, and lines are printing opacity and light tight in succession.After network board suitably
Two photo detectors are symmetrically positioned with optical axis on position.Network board is of reciprocating vibration with optical axis vertical direction.Work as focusing surface
When overlapping with network board, two photo detectors behind are reached by the light of waffle slab printing opacity lines simultaneously.And when out of focus,
Light beam can only successively reach two photo detectors, then has phase contrast between their output signal.Dephased two letters
Can control the position that drive motor to adjust object lens number after processing of circuit, so that focusing surface is overlapped with the plane of waffle slab, from
And realize auto-focusing.
It should be noted that being provided with imageing sensor in terminal in the embodiment of the present invention, this terminal is passed by image
Sensor gathers the first image, wherein, after the first image is the camera applications startup in terminal, preview on the display screen of terminal
The image arriving.
Optionally, the imageing sensor in the embodiment of the present invention can for imageing sensor include CCD image-forming component and
Cmos imaging element etc..
In embodiments of the present invention, user's using terminal is taken pictures, and when user clicks on camera applications, opens camera applications
Afterwards, when shoot button is triggered or clicks on the display screen of terminal, when that is, terminal receives focusing instruction, this terminal starts to lead to
Cross the collection that imageing sensor carries out the first image, that is, terminal starts destination object is carried out with the shooting of the first image, and this is eventually
Hold to give tacit consent to when shooting at the beginning and shot using initial focal length, therefore, terminal can obtain first during collection the first image
Beginning focal length, and acquisition parameters are got according to the arrange parameter of terminal.
It should be noted that in embodiments of the present invention, just start the filming apparatus of terminal when user wants to take pictures, should
Filming apparatus can be front-facing camera, post-positioned pick-up head, dual camera etc., and the embodiment of the present invention is not restricted.
Optionally, the acquisition parameters in the embodiment of the present invention can include:Disperse garden diameter, the shooting f-number of camera lens,
The parameters such as focal distance.
Exemplary, as shown in figure 4, when user wants to be taken pictures, the display screen that can click on terminal is to trigger
The filming apparatus of terminal carry out the auto-focusing of focusing area, now the employing initial focal length of terminal, and the clicking operation of user is
It is that terminal is sent with focusing instruction, terminal initially enters focusing flow process according to focusing instruction, initial Jiao that now terminal gets
Can be 200mm away from f, the shooting f-number F=2.8 of camera lens, focal distance L=5000mm, disperse garden diameter δ=0.035mm.
S102, according to initial focal length and acquisition parameters, determine the first field depth shooting the first image.
After the acquisition parameters that terminal has got initial focal length and camera, this terminal can be according to initial focal length and phase
The acquisition parameters of machine calculate (or determining) and shoot the first field depth that the first image is.
It should be noted that the depth of field refers to obtain the one-tenth of picture rich in detail in camera lenses or other imager forward positions
The scope of the subject longitudinal separation as being measured.Terminal focus on after the completion of, before and after focus in the range of can be formed
Clearly as when this tandem distance range, be just called the depth of field.
It is understood that being exactly the past depth of field to the rear depth of field for the first field depth during terminal taking the first image
Distance range.
Specifically, in embodiments of the present invention, terminal can calculate the front depth of field respectively according to formula (1) and formula (2)
With the rear depth of field, thus being added determination to obtain the first field depth.Wherein, formula (1) and formula (2) are as follows:
Wherein, Δ L1For the front depth of field, Δ L2For the rear depth of field, f is initial focal length, and F is the shooting f-number of camera lens, and L is focusing
Distance, δ is disperse garden diameter.
It should be noted that in embodiments of the present invention, the device realizing focusing is by lens group and imageing sensor group
Set of system is become to realize.
Exemplary, as shown in figure 5, when initial focal length f can be 200mm, the shooting f-number F=2.8 of camera lens, focusing
Apart from L=5000mm, during disperse garden diameter δ=0.035mm, terminal calculates front depth of field Δ L1=60mm, background according to formula (1)
Deep Δ L1=60mm=62mm, therefore, the first field depth Δ L=122mm.
S103, in the first field depth, by adjust shoot motor position calculation go out at least two first focal lengths.
After terminal determines the first field depth, because a kind of focusing method that the embodiment of the present invention proposes is can
To carry out the realization of different focus mode or effect on the basis of shooting clear picture, therefore, the embodiment of the present invention adjusts Jiao
Away from front summary be adjusted just obtaining the clear pictures of different focus process in the first field depth.Then, terminal exists
Carry out the adjustment of focal length in first field depth, specifically, this terminal can by adjust shoot motor position calculation go out to
Few two the first focal lengths.
Which it should be noted that terminal needs first to determine the mobile message shooting motor, move to direction, movement is many
Few distance, shoots the movement that motor can drive photographic head eyeglass, and during shooting, follow shot motor will drive and take the photograph
As the movement of head mirror piece, so that photographic head eyeglass is focused at accurate focal position, to complete to shoot.
It should be noted that specific terminal goes out at least two first focal lengths by adjusting the position calculation shooting motor
Process will be described in detail in subsequent embodiment.
S104, according at least two first focal lengths, the first image is carried out with focusing aim at, obtain to defocused at least two
Corresponding at least two second images of first focal length.
Terminal, after calculating at least two first focal lengths, because this terminal can be focused according to focal length, shoots
Go out clearly image, therefore, in terminal it is known that during at least two first focal lengths, this terminal can be according at least two first
Focal length carries out focusing and aims to the first image, generates corresponding at least two second images respectively.
It is understood that at least two second images in the embodiment of the present invention are shot using different focal for terminal
Effect image.
Embodiments provide a kind of focusing method, when receiving focusing instruction, gathered by imageing sensor
First image, obtains the acquisition parameters of initial focal length and camera;According to initial focal length and acquisition parameters, determine and shoot this first figure
First field depth of picture;In the first field depth, go out at least two first Jiao by adjusting the position calculation shooting motor
Away from;According at least two first focal lengths, the first image is carried out with focusing to aim at, obtain at least two first defocused focal lengths pair
At least two second images answered.Using above-mentioned technic relization scheme, because terminal can be when once shooting, can be correct
In the range of focusing, realize the shooting of multiple focal lengths simultaneously, obtain the second image of multiple focal lengths, complete focus process, therefore,
Achieve rapid focus, and operate very simple, embody the multiformity to defocused image type.
Embodiment two
Embodiments provide a kind of focusing method, as shown in fig. 6, the method can include:
S201, reception focusing instruction.
It should be noted that in embodiments of the present invention, user's using terminal is taken pictures, and answers when user clicks on camera
With after opening camera applications, shoot button is triggered or clicks on the display screen of terminal, and that is, terminal receives focusing instruction.
S202, when receiving focusing instruction, the first image is gathered by imageing sensor, obtains initial focal length and camera
Acquisition parameters.
The description of the detailed process of this step is consistent with the description process of the S101 in front and continued embodiment, no longer superfluous herein
State.
It should be noted that the process obtaining initial focal length in the embodiment of the present invention can be:Terminal obtains current phase place
Difference;Whether detection current phase difference value belongs to default phase difference value scope, and this default phase difference value scope is that triggering is whole
The phase difference value scope of phase place focusing is realized at end;If detecting, current phase difference value is not belonging to default phase difference value scope,
To shoot in the mobile extremely target focusing range corresponding with current phase difference value of motor;Adjust in target focusing range and shoot horse
The position reaching, to determine first object focusing position thus realizing focusing;According to first object focusing position, obtain current first
Focal length, and using current first focal length as initial focal length.
Specifically, whether terminal detection current phase difference value belongs to default phase difference value scope, this default phase contrast
Value scope realizes the phase difference value scope of phase place focusing for triggering terminal.Because phase place focusing has to the light in environment and details
Certain requirement, is not therefore can be focused using phase place in any environment, when the light in environment and details
Meet and just can triggering terminal be focused using phase place it is to be appreciated that phase difference value now can trigger when requiring
Phase place is focused, and phase difference value now is in the range of default phase difference value.But, when the light in environment is not very sufficient, carefully
When section is not very abundant, phase difference value now is less, not in the range of default phase difference value, therefore cannot phase-triggered pair
Burnt.
In detail, first-selected, when the result of detection is no, terminal determines the movement shooting motor according to current phase difference value
Information.
Specifically, when the result of detection is no, that is, current phase difference value is not belonging to default phase difference value scope, permissible
It is understood by current phase difference value cannot triggering terminal be focused using phase place.Which kind of all needed using focusing mode
Determine the mobile message shooting motor, move to which direction that mobile how many distances shoot motor and can drive eyeglass
Mobile, during shooting, follow shot motor will drive the movement of eyeglass, so that eyeglass is in accurate focal position
Focused in place, to complete to shoot.When being focused using phase place focusing mode, filming apparatus are directly according to current phase
Potential difference value will shoot motor movement to focal position.When being focused using contrast formula focusing mode, if eyeglass is in rear end,
Then shoot motor and first then return rear end again, to determine focal position toward front end is mobile;If eyeglass is in front end, shoot motor first
Then move toward front end again toward rear end is mobile, to determine focal position.
Specifically, when the result of detection is no, terminal determines, according to current phase difference value, the mobile message shooting motor,
This mobile message includes moving direction and displacement.It is forward that terminal shoots motor according to the positive and negative determination of current phase difference value
End is mobile or rear end is moved, and optionally, when current phase difference value is timing, shoots motor and moves toward rear end;When current phase place
When difference is negative, shoots motor and move toward front end.Terminal determines, according to the absolute value of current phase difference value, the movement shooting motor
Distance.
Secondly, terminal determines the target focusing range shooting motor according to mobile message.
Specifically, terminal just moves to target location according to displacement by shooting motor after determining moving direction
Place, terminal determines, according to target location and predeterminable range, the target focusing range shooting motor, in this target focusing range
It is target location at point, the scope that target location longitudinal separation is predeterminable range is as target focusing range.Wherein, preset
Distance numerical value religion little so that target focusing range compare contrast formula focusing moving range for much smaller, predeterminable range
Occurrence is set by the manufacturer of terminal, depending on being concrete condition.
Finally, terminal will shoot motor movement to target focusing range.
Specifically, once described target focusing range determines, terminal just will shoot motor movement to target focusing range,
Search target focusing position with the filming apparatus facilitating terminal in target focusing range, i.e. the position of accurately focusing.
Further, after whether terminal detection current phase difference value belongs to default phase difference value scope, if detecting
Current phase difference value belongs to default phase difference value scope, and this terminal then determines the second target focusing position according to current phase difference value
Put, thus realizing focusing;According to the second target focusing position, obtain current second focal length, and using current second focal length as first
Beginning focal length.
S203, according to initial focal length and acquisition parameters, determine the first field depth shooting the first image.
The description of the detailed process of this step is consistent with the description process of the S102 in front and continued embodiment, no longer superfluous herein
State.
S204, in the first field depth, by adjust shoot motor position thus adjust starting material away from, obtain adjust
At least two first object distances afterwards.
S205, according at least two first object distances, initial image distance and default focal length model, calculate at least two first burnt
Away from.
After terminal determines the first field depth, because a kind of focusing method that the embodiment of the present invention proposes is can
To carry out the realization of different focus mode or effect on the basis of shooting clear picture, therefore, the embodiment of the present invention adjusts Jiao
Away from front summary be adjusted just obtaining the clear pictures of different focus process in the first field depth.Then, terminal exists
Carry out the adjustment of focal length in first field depth, specifically, this terminal can by adjust shoot motor position calculation go out to
Few two the first focal lengths.
Which it should be noted that terminal needs first to determine the mobile message shooting motor, move to direction, movement is many
Few distance, shoots the movement that motor can drive photographic head eyeglass, and during shooting, follow shot motor will drive and take the photograph
As the movement of head mirror piece, so that photographic head eyeglass is focused at accurate focal position, to complete to shoot.
Specifically, in embodiments of the present invention, terminal is in the first field depth, by adjust the position shooting motor from
And adjust starting material away from thus having got at least two first object distances after adjusting, then this terminal is further according at least two
First object distance, initial image distance and default focal length model, calculate at least two first focal lengths.
Default focal length model in embodiments of the present invention is the corresponding relation between focal length, object distance and image distance, i.e. formula
(3), wherein, formula (3) is as follows:
Wherein, f is focal length, and u is the first object distance, and σ is initial image distance, and specific position can be as shown in Figure 5.
S206, according at least two first focal lengths, the first image is carried out with focusing aim at, obtain to defocused at least two
Corresponding at least two second images of first focal length.
The description of the detailed process of this step is consistent with the description process of the S104 in front and continued embodiment, no longer superfluous herein
State.
S207, display at least two second images.
After at least two second images obtaining different focal, this terminal just can directly display this at least to terminal
Two the second images.
Exemplary, the first image as shown in Figure 7 is the preview graph of cup, during using mobile phone photograph, will
This first image carries out the regulation of 2 focal lengths in first depth of field, has obtained 2 the second images, and as shown in FIG. 8 and 9, mobile phone shows
Show this 2 the second images.Wherein, terminal show the second image be Fig. 8 shown in when, in Fig. 8 above a width figure be to first
Cup (counting from left to right) focusing obtains, and the following pair in Fig. 8 obtains to second cup focusing;Or terminal shows
When to show the second image be shown in Fig. 9, in Fig. 9 above a pair focusing of the 3rd cup is obtained, following in Fig. 9 is secondary
4th cup focusing is obtained.
It should be noted that due to terminal once shot when, the second image of multiple different focal can be shown,
Therefore, the second image of the effect that user can be wanted with oneself selection, reaches the special effect oneself wanted.
Embodiments provide a kind of focusing method, when receiving focusing instruction, gathered by imageing sensor
First image, obtains the acquisition parameters of initial focal length and camera;According to initial focal length and acquisition parameters, determine and shoot this first figure
First field depth of picture;In the first field depth, go out at least two first Jiao by adjusting the position calculation shooting motor
Away from;According at least two first focal lengths, the first image is carried out with focusing to aim at, obtain at least two first defocused focal lengths pair
At least two second images answered.Using above-mentioned technic relization scheme, because terminal can be when once shooting, can be correct
In the range of focusing, realize the shooting of multiple focal lengths simultaneously, obtain the second image of multiple focal lengths, complete focus process, therefore,
Achieve rapid focus, and operate very simple, embody the multiformity to defocused image type.
Embodiment three
As shown in Figure 10, embodiments provide a kind of terminal 1, this terminal 1 can include:
Acquiring unit 10, for when receiving unit 11 receives focusing instruction, collecting unit 18 passes through imageing sensor
Gather the first image, obtain the acquisition parameters of initial focal length and camera.
Determining unit 12, for the described initial focal length that obtained according to described acquiring unit 10 and described acquisition parameters, really
Surely shoot the first field depth of described first image.
Computing unit 13, for, in described first field depth that described determining unit 12 determines, being shot by adjusting
The position calculation of motor goes out at least two first focal lengths.
Focusing unit 14, for described at least two first focal lengths that calculated according to described computing unit 13 to described first
Image carries out focusing and aims at;
Described acquiring unit 10, is additionally operable to described focusing unit 14 and obtains described at least two first focal lengths correspondences to defocused
At least two second images.
Optionally, described acquisition parameters include:Starting material away from initial image distance.
Described acquiring unit 10, is additionally operable in described first field depth that described determining unit 12 determines, by adjusting
The described position shooting motor of section is thus adjust described starting material away from least two first object distances after acquisition regulation.
Described computing unit 13, specifically for calculated according to described computing unit 13 described at least two first object distances,
Described initial image distance and default focal length model, calculate described at least two first focal lengths.
Optionally, based on Figure 10, as shown in figure 11, described terminal 1 also includes:Detector unit 15 and mobile unit 16.
Described acquiring unit 10, specifically for obtaining current phase difference value.
Described detector unit 15, for detecting whether the described current phase difference value that described acquiring unit 10 obtains belongs to pre-
If phase difference value scope, described default phase difference value scope for triggering terminal realize phase place focusing phase difference value scope.
Described mobile unit 16, if it is described pre- to detect that described current phase difference value is not belonging to for described detector unit 15
If phase difference value scope, then by mobile for described shooting motor to target focusing range corresponding with described current phase difference value
Interior;And adjust the described position shooting motor in described target focusing range, and to determine first object focusing position, thus real
Now focus.
Described acquiring unit 10, also particularly useful for the described first object pair being obtained after mobile according to described mobile unit 16
Burnt position, obtains current first focal length, and using described current first focal length as described initial focal length.
Optionally, described mobile unit 16, is additionally operable to described detector unit 15 and detects whether described current phase difference value belongs to
After default phase difference value scope, if described detector unit 15 detects that described current phase difference value belongs to described default
Phase difference value scope, then determine the second target focusing position according to described current phase difference value, thus realizing focusing.
Described acquiring unit 10, also particularly useful for according to described second target focusing position, obtains current second focal length, and
Using described current second focal length as described initial focal length.
Optionally, based on Figure 10, as shown in figure 12, described terminal 1 also includes:Display unit 17.
Described display unit 17, obtains for described acquiring unit 10 and defocused described at least two first focal lengths is corresponded to
At least two second images after, described at least two second images that the described acquiring unit 10 of display obtains.
Optionally, the terminal in the embodiment of the present invention for having shoot function or can be provided with the electronics of photographic head and sets
Standby, for example, mobile phone, panel computer or photographing unit etc..
As shown in figure 13, in actual applications, above-mentioned focusing unit 14, acquiring unit 10, determining unit 12, computing unit
13rd, detector unit 15 and mobile unit 16 can be realized by the processor 19 in terminal 1, specially central processing unit (CPU),
Microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc. are realized, above-mentioned receiving unit
11 can be realized by the receptor 110 in terminal 1, and collecting unit 18 can be realized by the photographic head 111 in terminal 1, display unit 17
Can be realized by the display 112 in terminal 1, this terminal 1 can also include storage medium 113, this storage medium 113 can pass through
System bus 114 is connected with processor 19, and wherein, storage medium 113 is used for storing executable program code, this program code bag
Include computer-managed instruction, storage medium 113 may comprise high-speed RAM memorizer it is also possible to also include nonvolatile memory,
For example, at least one disk memory.
Embodiments provide a kind of terminal, when receiving focusing instruction, this terminal is adopted by imageing sensor
Collect the first image, obtain the acquisition parameters of initial focal length and camera;According to initial focal length and acquisition parameters, determine shoot this first
First field depth of image;In the first field depth, go out at least two first by adjusting the position calculation shooting motor
Focal length;According at least two first focal lengths, the first image is carried out with focusing to aim at, obtain at least two first defocused focal lengths
Corresponding at least two second images.Using above-mentioned technic relization scheme, because terminal can be when once shooting, can be just
Really in the range of focusing, realize the shooting of multiple focal lengths simultaneously, obtain the second image of multiple focal lengths, complete focus process, because
This is it is achieved that rapid focus, and operates very simple, embodies the multiformity to defocused image type.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the shape of hardware embodiment, software implementation or the embodiment combining software and hardware aspect
Formula.And, the present invention can use storage using in one or more computers wherein including computer usable program code
The form of the upper computer program implemented of medium (including but not limited to disk memory and optical memory etc.).
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program
Figure and/or block diagram are describing.It should be understood that can be by each stream in computer program instructions flowchart and/or block diagram
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor instructing general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is to produce
A raw machine is so that produced for reality by the instruction of computer or the computing device of other programmable data processing device
The device of the function of specifying in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy
Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to
Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting
On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or
On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function of specifying in individual square frame or multiple square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit protection scope of the present invention.
Claims (10)
1. a kind of focusing method is it is characterised in that include:
When receiving focusing instruction, the first image is gathered by imageing sensor, obtain the shooting ginseng of initial focal length and camera
Number;
According to described initial focal length and described acquisition parameters, determine the first field depth shooting described first image;
In described first field depth, go out at least two first focal lengths by adjusting the position calculation shooting motor;
According to described at least two first focal lengths, described first image is carried out with focusing to aim at, obtain to described in defocused at least two
Corresponding at least two second images of individual first focal length.
2. method according to claim 1 is it is characterised in that described acquisition parameters include:Starting material away from initial image distance,
Described in described first field depth, by adjust shoot motor position calculation go out at least two first focal lengths, including:
In described first field depth, by adjusting the described position shooting motor thus adjusting described starting material away from acquisition
At least two first object distances after regulation;
According to described at least two first object distances, described initial image distance and default focal length model, calculate described at least two
One focal length.
3. method according to claim 1 is it is characterised in that described acquisition initial focal length, including:
Obtain current phase difference value;
Detect whether described current phase difference value belongs to default phase difference value scope, described default phase difference value scope is tactile
Send out the phase difference value scope that terminal realizes phase place focusing;
If detecting, described current phase difference value is not belonging to described default phase difference value scope, and described shooting motor is moved
To target focusing range corresponding with described current phase difference value;
The described position shooting motor is adjusted in described target focusing range, to determine first object focusing position, thus real
Now focus;
According to described first object focusing position, obtain current first focal length, and will described current first focal length as at the beginning of described
Beginning focal length.
4. method according to claim 3 is it is characterised in that whether described detection described current phase difference value belongs to default
Phase difference value scope after, methods described also includes:
If detecting, described current phase difference value belongs to described default phase difference value scope, according to described current phase difference value
Determine the second target focusing position, thus realizing focusing;
According to described second target focusing position, obtain current second focal length, and will described current second focal length as at the beginning of described
Beginning focal length.
5. method according to claim 1 is it is characterised in that described acquisition is to defocused described at least two first focal lengths
After corresponding at least two second images, methods described also includes:
Show described at least two second images.
6. a kind of terminal is it is characterised in that include:
Acquiring unit, for when receiving unit receives focusing instruction, collecting unit gathers the first figure by imageing sensor
Picture, obtains the acquisition parameters of initial focal length and camera;
Determining unit, for the described initial focal length that obtained according to described acquiring unit and described acquisition parameters, determines and shoots institute
State the first field depth of the first image;
Computing unit, in described first field depth that described determining unit determines, by adjusting the position shooting motor
Put and calculate at least two first focal lengths;
Focusing unit, described at least two first focal lengths for being calculated according to described computing unit are carried out to described first image
Focusing aims at,
Described acquiring unit, is additionally operable to described focusing unit to described at least two first focal lengths corresponding at least two of defocused acquisition
Individual second image.
7. terminal according to claim 6 is it is characterised in that described acquisition parameters include:Starting material away from initial image distance;
Described acquiring unit, is additionally operable in described first field depth that described determining unit determines, by adjusting described bat
Take the photograph the position of motor thus adjusting described starting material away from least two first object distances after acquisition regulation;
Described computing unit, specifically for described at least two first object distances, described initial being calculated according to described computing unit
Image distance and default focal length model, calculate described at least two first focal lengths.
8. terminal according to claim 6 is it is characterised in that described terminal also includes:Detector unit and mobile unit;
Described acquiring unit, specifically for obtaining current phase difference value;
Described detector unit, for detecting whether the described current phase difference value that described acquiring unit obtains belongs to default phase place
Difference range, described default phase difference value scope realizes the phase difference value scope of phase place focusing for triggering terminal;
For described detector unit, described mobile unit, if detect that described current phase difference value is not belonging to described default phase place
Difference range, then by mobile for described shooting motor to target focusing range corresponding with described current phase difference value;And institute
State and in target focusing range, adjust the described position shooting motor, to determine first object focusing position, thus realizing focusing;
Described acquiring unit, also particularly useful for the described first object focusing position being obtained after mobile according to described mobile unit,
Obtain current first focal length, and using described current first focal length as described initial focal length.
9. terminal according to claim 8 it is characterised in that
Described mobile unit, is additionally operable to described detector unit and detects whether described current phase difference value belongs to default phase difference value
After scope, if described detector unit detects that described current phase difference value belongs to described default phase difference value scope, root
Determine the second target focusing position according to described current phase difference value, thus realizing focusing;
Described acquiring unit, also particularly useful for according to described second target focusing position, obtains current second focal length, and will be described
Current second focal length is as described initial focal length.
10. terminal according to claim 6 is it is characterised in that described terminal also includes:Display unit;
Described display unit, obtains to defocused described at least two first focal lengths corresponding at least two for described acquiring unit
After individual second image, described at least two second images that the described acquiring unit of display obtains.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610810527.XA CN106385534A (en) | 2016-09-06 | 2016-09-06 | Focusing method and terminal |
PCT/CN2017/100533 WO2018045945A1 (en) | 2016-09-06 | 2017-09-05 | Focusing method and terminal, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610810527.XA CN106385534A (en) | 2016-09-06 | 2016-09-06 | Focusing method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106385534A true CN106385534A (en) | 2017-02-08 |
Family
ID=57939107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610810527.XA Pending CN106385534A (en) | 2016-09-06 | 2016-09-06 | Focusing method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106385534A (en) |
WO (1) | WO2018045945A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613200A (en) * | 2017-09-12 | 2018-01-19 | 努比亚技术有限公司 | A kind of focus adjustment method, equipment and computer-readable recording medium |
WO2018045945A1 (en) * | 2016-09-06 | 2018-03-15 | 努比亚技术有限公司 | Focusing method and terminal, storage medium |
WO2018214760A1 (en) * | 2017-05-24 | 2018-11-29 | Oppo广东移动通信有限公司 | Focusing method and related product |
WO2019061549A1 (en) * | 2017-09-30 | 2019-04-04 | 深圳传音通讯有限公司 | Camera focusing method, mobile terminal, and computer-readable storage medium |
CN111277758A (en) * | 2020-02-25 | 2020-06-12 | 深圳传音控股股份有限公司 | Photographing method, terminal and computer-readable storage medium |
CN114125300A (en) * | 2021-11-29 | 2022-03-01 | 维沃移动通信有限公司 | Photographing method, photographing apparatus, electronic device, and readable storage medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111753823A (en) * | 2019-09-10 | 2020-10-09 | 广东小天才科技有限公司 | Fixed focus scanning method and smart watch |
CN110675458B (en) * | 2019-10-08 | 2023-03-31 | Oppo广东移动通信有限公司 | Method and device for calibrating camera and storage medium |
CN111787224B (en) * | 2020-07-10 | 2022-07-12 | 深圳传音控股股份有限公司 | Image acquisition method, terminal device and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130114154A1 (en) * | 2010-07-14 | 2013-05-09 | Ilyong Lee | Auto focus device and a method therefor |
CN104202518A (en) * | 2014-08-25 | 2014-12-10 | 深圳市菲特数码技术有限公司 | Zooming method and system of integrated video camera |
CN104601873A (en) * | 2013-10-30 | 2015-05-06 | 联咏科技股份有限公司 | Focusing method |
CN105007420A (en) * | 2015-07-14 | 2015-10-28 | 广东欧珀移动通信有限公司 | Focusing method and mobile terminal |
CN105282443A (en) * | 2015-10-13 | 2016-01-27 | 哈尔滨工程大学 | Method for imaging full-field-depth panoramic image |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100357822C (en) * | 2002-05-31 | 2007-12-26 | 金宝电子工业股份有限公司 | Automatic focusing method cooperated with depth of field |
CN106385534A (en) * | 2016-09-06 | 2017-02-08 | 努比亚技术有限公司 | Focusing method and terminal |
-
2016
- 2016-09-06 CN CN201610810527.XA patent/CN106385534A/en active Pending
-
2017
- 2017-09-05 WO PCT/CN2017/100533 patent/WO2018045945A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130114154A1 (en) * | 2010-07-14 | 2013-05-09 | Ilyong Lee | Auto focus device and a method therefor |
CN104601873A (en) * | 2013-10-30 | 2015-05-06 | 联咏科技股份有限公司 | Focusing method |
CN104202518A (en) * | 2014-08-25 | 2014-12-10 | 深圳市菲特数码技术有限公司 | Zooming method and system of integrated video camera |
CN105007420A (en) * | 2015-07-14 | 2015-10-28 | 广东欧珀移动通信有限公司 | Focusing method and mobile terminal |
CN105282443A (en) * | 2015-10-13 | 2016-01-27 | 哈尔滨工程大学 | Method for imaging full-field-depth panoramic image |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018045945A1 (en) * | 2016-09-06 | 2018-03-15 | 努比亚技术有限公司 | Focusing method and terminal, storage medium |
WO2018214760A1 (en) * | 2017-05-24 | 2018-11-29 | Oppo广东移动通信有限公司 | Focusing method and related product |
CN110632734A (en) * | 2017-05-24 | 2019-12-31 | Oppo广东移动通信有限公司 | Focusing method and related product |
US10630885B2 (en) | 2017-05-24 | 2020-04-21 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Focusing method and terminal |
CN107613200A (en) * | 2017-09-12 | 2018-01-19 | 努比亚技术有限公司 | A kind of focus adjustment method, equipment and computer-readable recording medium |
WO2019061549A1 (en) * | 2017-09-30 | 2019-04-04 | 深圳传音通讯有限公司 | Camera focusing method, mobile terminal, and computer-readable storage medium |
CN111133746A (en) * | 2017-09-30 | 2020-05-08 | 深圳传音通讯有限公司 | Camera focusing method, mobile terminal and computer readable storage medium |
CN111277758A (en) * | 2020-02-25 | 2020-06-12 | 深圳传音控股股份有限公司 | Photographing method, terminal and computer-readable storage medium |
CN114125300A (en) * | 2021-11-29 | 2022-03-01 | 维沃移动通信有限公司 | Photographing method, photographing apparatus, electronic device, and readable storage medium |
CN114125300B (en) * | 2021-11-29 | 2023-11-21 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018045945A1 (en) | 2018-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106385534A (en) | Focusing method and terminal | |
CN106060407A (en) | Focusing method and terminal | |
WO2018019124A1 (en) | Image processing method and electronic device and storage medium | |
CN106453924A (en) | Image shooting method and apparatus | |
CN105163042B (en) | A kind of apparatus and method for blurring processing depth image | |
CN106878588A (en) | A kind of video background blurs terminal and method | |
CN106954020B (en) | A kind of image processing method and terminal | |
CN106534619A (en) | Method and apparatus for adjusting focusing area, and terminal | |
CN106686213A (en) | Shooting method and apparatus thereof | |
CN106331499A (en) | Focusing method and shooting equipment | |
CN106534696A (en) | Focusing apparatus and method | |
CN107071263A (en) | A kind of image processing method and terminal | |
CN106385573A (en) | Picture processing method and terminal | |
CN106911881B (en) | Dynamic photo shooting device and method based on double cameras and terminal | |
CN106375670A (en) | Image processing method and terminal | |
CN106973227A (en) | Intelligent photographing method and device based on dual camera | |
CN106375679A (en) | Exposure method and device | |
CN106534590A (en) | Photo processing method and apparatus, and terminal | |
CN105242483B (en) | The method and apparatus that a kind of method and apparatus for realizing focusing, realization are taken pictures | |
CN106373110A (en) | Method and device for image fusion | |
CN106506965A (en) | A kind of image pickup method and terminal | |
CN106482641A (en) | A kind of dimension measuring device and method | |
CN106534552A (en) | Mobile terminal and photographing method thereof | |
CN106506945A (en) | A kind of control method and terminal | |
WO2017071468A1 (en) | Information processing method, mobile terminal and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170208 |
|
RJ01 | Rejection of invention patent application after publication |