CN104363376A - Continuous focusing method, device and terminal - Google Patents

Continuous focusing method, device and terminal Download PDF

Info

Publication number
CN104363376A
CN104363376A CN201410713311.2A CN201410713311A CN104363376A CN 104363376 A CN104363376 A CN 104363376A CN 201410713311 A CN201410713311 A CN 201410713311A CN 104363376 A CN104363376 A CN 104363376A
Authority
CN
China
Prior art keywords
camera
focusing
frame
completes
picture
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
CN201410713311.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410713311.2A priority Critical patent/CN104363376A/en
Publication of CN104363376A publication Critical patent/CN104363376A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention is applicable to the technical field of terminals, and provides a continuous focusing method, a device and a terminal. The continuous focusing method comprises the following steps: starting up a first camera and a second camera which are adjacently positioned on the same shooting plane; displaying a picture shot by the first camera on a display screen of the terminal in real time; allowing the second camera to focus on a specified focusing object in the picture; after the second camera completes focusing, if the preset re-focusing condition is triggered, allowing the second camera to re-focus the focusing object; whenever the second camera completes the focusing once, informing the first camera of the current focal length of the second camera, so that the first camera is adjusted to the current focal length. According to the continuous focusing method, the device and the terminal which are provided by the invention, the repeated dithering of the previewed picture in the continuous focusing process of the cameras is avoided, and the quality of the previewed picture is enhanced.

Description

A kind of method of continuous focusing, device and terminal
Technical field
The invention belongs to field of terminal technology, particularly relate to a kind of method of continuous focusing, device and terminal.
Background technology
Along with the consumer electronics products such as mobile phone camera function from strength to strength, can realize preferably taking the Continuous Tracking of moving object by this series products.To in the Continuous Tracking shooting process of moving object, because shot subject is kept in motion all the time, along with the movement of shot subject, the distance of itself and camera is also changing always, and therefore, camera will perform focus operation at any time, timely change focal length, clearly to shoot subject.
At present, the contrast formula focusing technology that consumer electronics product adopts hardware cost relatively low mostly, this technology relies on the detection of contrast to realize auto-focusing, by driving camera lens, focal length is changed along the axis pointing to object, thus lens location when detecting that shooting picture contrast is maximum, i.e. focusing position accurately.But, because the focusing of contrast formula needs to experience the movable focus process of camera lens, in this process, preview screen there will be by fuzzy to repeatedly shaking clearly, therefore, carrying out in the whole process of track up to moving object, the preview screen of camera can be in the state of shake all the time, affects preview image quality.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method of continuous focusing, device and terminal, the preview screen being intended to solve prior art camera in the process of moving object being carried out to track up is in dither state all the time, thus affects the problem of preview image quality.
First aspect, provides a kind of method of continuous focusing, comprising: start the first camera and second camera, and described first camera is adjacent with described second camera and be positioned at same camera plane; The picture of the described first camera shooting of display in real time on the display screen of terminal; Described second camera is made to perform focusing to the focusing object of specifying in described picture; After described second camera completes focusing, if the focus condition again preset is triggered, then described second camera is made again to perform focusing to described focusing object; Once focus whenever described second camera completes, then the front focal length of working as of described second camera is informed to described first camera, deserve front focal length to make described first camera be adjusted to.
In the first possible implementation of first aspect, the frame per second of described first camera lower than the frame per second of described second camera, described frame per second be in camera motor to the driving frequency of camera lens.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, the frame per second of described first camera is that 30 frames are per second, and the frame per second of described second camera is that 120 frames are per second.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect, in the implementation that the third is possible, it is described after described second camera completes focusing, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object and comprise: the contrast value recording one-tenth picture frame when described second camera completes focusing; After described second camera completes focusing, calculate the contrast value of each frame of described second camera imaging; When detecting that the contrast value of described second camera present frame is less than the contrast value becoming picture frame when described second camera completes focusing, then described second camera is made again to perform focusing to described focusing object.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect, in the 4th kind of possible implementation, it is described after described second camera completes focusing, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object and comprise: profile and the position of recording object of focusing described in one-tenth picture frame when described second camera completes focusing; After described second camera completes focusing, the profile of object of focusing described in each frame detecting described second camera imaging and position; The picture frame that the becomes when present frame of described second camera and described second camera being completed focusing contrasts, and when the profile or position that detect described focusing object change, then makes described second camera again perform focusing to described focusing object.
Second aspect, provides a kind of device of continuous focusing, comprising: start unit, and for starting the first camera and second camera, described first camera is adjacent with described second camera and be positioned at same camera plane; Preview unit, for the picture of the described first camera shooting of display in real time on the display screen of terminal; First focusing unit, performs focusing for making described second camera to the focusing object of specifying in described picture; Described first focusing unit, also for after completing focusing at described second camera, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object; Second focusing unit, for once focusing whenever described second camera completes, then informs to described first camera by the front focal length of working as of described second camera, deserves front focal length to make described first camera be adjusted to.
In the first possible implementation of second aspect, the frame per second of described first camera lower than the frame per second of described second camera, described frame per second be in camera motor to the driving frequency of camera lens.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, the frame per second of described first camera is that 30 frames are per second, and the frame per second of described second camera is that 120 frames are per second.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect, in the implementation that the third is possible, described first focusing unit comprises: the first record subelement, for recording the contrast value of one-tenth picture frame when described second camera completes focusing; Computation subunit, after completing focusing at described second camera, calculates the contrast value of each frame of described second camera imaging; First focusing subelement, for when detecting that the contrast value of described second camera present frame is less than the contrast value becoming picture frame when described second camera completes focusing, then makes described second camera again perform focusing to described focusing object.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect, in the 4th kind of possible implementation, described first focusing unit comprises: the second record subelement, for recording profile and the position of object of focusing described in one-tenth picture frame when described second camera completes focusing; Detection sub-unit, after completing focusing at described second camera, the profile of object of focusing described in each frame detecting described second camera imaging and position; Second focusing subelement, contrast for the picture frame that the becomes when present frame of described second camera and described second camera being completed focusing, when the profile or position that detect described focusing object change, then described second camera is made again to perform focusing to described focusing object.
The third aspect, provides a kind of terminal, and described terminal comprises the device of continuous focusing as above.
As the first possible implementation of the third aspect, described terminal comprises smart mobile phone or flat board.
In embodiments of the present invention, terminal configuration two cameras, moving object is being carried out in the process of track up, one of them camera is used for carrying out continuous focusing to moving object, and focusing result is informed to another camera in real time, to make another camera directly carry out adjusting focal length according to this focusing result, generate preview screen and take pictures, the shake repeatedly avoiding the continuous focusing process of camera to bring preview screen thus, improves the image quality of preview screen.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the method for the continuous focusing that the embodiment of the present invention provides;
Fig. 2 is the position exemplary plot of the first camera of providing of the embodiment of the present invention and second camera;
Fig. 3 is the specific implementation flow chart of the method S104 of the continuous focusing that the embodiment of the present invention provides;
Fig. 4 is the specific implementation flow chart of the method S104 of the continuous focusing that another embodiment of the present invention provides;
Fig. 5 is the schematic diagram of the first camera of providing of the embodiment of the present invention and second camera lens moving;
Fig. 6 is the structured flowchart of the device of the continuous focusing that the embodiment of the present invention provides;
Fig. 7 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, terminal configuration two cameras, moving object is being carried out in the process of track up, one of them camera is used for carrying out continuous focusing to moving object, and focusing result is informed to another camera in real time, to make another camera directly carry out adjusting focal length according to this focusing result, generate preview screen and take pictures, the shake repeatedly avoiding the continuous focusing process of camera to bring preview screen thus, improves the image quality of preview screen.
Fig. 1 shows the realization flow of the method for the continuous focusing that the embodiment of the present invention provides, and details are as follows:
In S101, start the first camera and second camera, described first camera is adjacent with described second camera and be positioned at same camera plane.
In the present embodiment, terminal is configured with simultaneously two cameras, wherein, described terminal can be the terminal equipment being integrated with camera and display screen, comprises smart mobile phone, flat board, palmtop PC (PersonalDigital Assistant, PDA), camera, etc.Camera in terminal is taken pictures for realization, camera function, and display screen is for realizing the preview function to shooting picture, that is, by showing in real time the picture of the current income of camera, for user's preview, thus reach the effect of view finder.
In described terminal, first camera and second camera are adjacent, the camera be positioned in same camera plane, the position relationship demand fulfillment of the two: two cameras are substantially identical to the distance of object, and two cameras are substantially identical relative to the shooting angle of object, described substantially identical, namely the difference of described distance or described shooting angle is little of negligible, and based on above-mentioned position relationship, it is basically identical that two cameras take for same subject the photo come.Fig. 2, as a kind of realization example, shows the first camera 21 and second camera 22 and is configured in a kind of specific implementation on mobile phone 23.
In the present embodiment, the process of the operating system of terminal is monitored, when listening to " camera " application program in operating system and being invoked into front stage operation, start the first camera and the second camera of terminal simultaneously.
In S102, the picture of the described first camera shooting of display in real time on the display screen of terminal.
In the present embodiment, the preview screen that terminal display screen is shown is the picture of the first camera shooting.Described preview screen, the i.e. picture of camera real time imagery, user can complete by this preview screen operations such as choosing the focus of taking pictures or making a video recording, find a view.In the present embodiment, the picture of the first camera shooting generates optical imagery by its camera lens, project again on transducer, then optical imagery is converted into the signal of telecommunication, the signal of telecommunication becomes digital signal through analog-to-digital conversion again, and digital signal through DSP processing process, then is sent in terminal handler and processes, finally export on the display screen of terminal, become the live preview picture that user can see.
In S103, described second camera is made to perform focusing to the focusing object of specifying in described picture.
After the focusing instruction to object being detected, second camera is made to perform the focusing of contrast formula to this object.Wherein, assigning of instruction of focusing at least can comprise following two kinds of modes: clicked the scenery in preview screen on the display screen possessing touch function by user, selected needs carry out the object of focusing; By the focusing mode that system configuration is good, automatically assigned focusing instruction when shoot button touches, wherein, focusing mode includes but not limited to: center-spot, multi-spot, appointed area focusing, etc.Further, in the present embodiment, before assigning focusing instruction, also need the continuous focusing function triggering " camera " application program, once continuous focusing function is unlocked, then after focusing instruction issuing, second camera needs to perform continuous focusing to the focusing object of specifying, that is, focusing object motion process in, all the time by Focus hold on this focusing object.
In the present embodiment, the picture that second camera photographs can not show in real time in terminal display screen, and second camera is only responsible for carrying out continuous focusing operation to focusing object, repeatedly determines the focal length of camera in the motion process of focusing object.
Described focal length, be the distance the sharp image that formed from the central point of camera lens to sensor plane, when camera lens is positioned in focal position, the image of its imaging is the most clear.
In S104, after described second camera completes focusing, if the focus condition again preset is triggered, then described second camera is made again to perform focusing to described focusing object.
S104 is used for performing focusing object in continuous focusing process repeating focusing, once the position relationship of terminal and focusing object there occurs change, then triggers second camera and again performs the focusing of contrast formula to this focusing object.
In S104, second camera includes but not limited to following two classes to the triggering mode that focusing object performs focusing again:
As shown in Figure 3, S104 is specially:
In S301, record the contrast value of one-tenth picture frame when described second camera completes focusing.
In S302, after described second camera completes focusing, calculate the contrast value of each frame of described second camera imaging.
In S303, when detecting that the contrast value of described second camera present frame is less than the contrast value becoming picture frame when described second camera completes focusing, then described second camera is made again to perform focusing to described focusing object.
That focuses based on contrast formula realizes principle, when second camera completes the focusing to focusing object, it becomes the contrast value of picture frame maximum, therefore, if the contrast value of a certain one-tenth picture frame is less than this maximum contrast value, then the object that shows now to focus no longer is on the focus of second camera.According to above-mentioned principle, in the present embodiment, the contrast value of the one-tenth picture frame of record second camera when having focused, and calculate the contrast value of second camera each frame of imaging after having focused, once detect that the contrast value of present frame is less than the contrast value of second camera at the one-tenth picture frame of having focused, then second camera is made again to perform the focusing of contrast formula to this focusing thing.
Again focusing object is performed to the another kind of triggering mode of focusing as second camera, as shown in Figure 4, S104 is specially:
In S401, record profile and the position of object of focusing described in one-tenth picture frame when described second camera completes focusing;
In S402, after described second camera completes focusing, the profile of object of focusing described in each frame detecting described second camera imaging and position;
In S403, the picture frame that the becomes when present frame of described second camera and described second camera being completed focusing contrasts, when the profile or position that detect described focusing object change, then described second camera is made again to perform focusing to described focusing object.
In the embodiment shown in fig. 4, whether the relative position relation of paper examines focusing object and terminal there occurs change, determines whether to need to perform focusing object again to focus with this.Particularly, the location of pixels of catching occupied by focusing object can be completed in the one-tenth picture frame of focusing at second camera, record the profile of focusing object in this one-tenth picture frame and position thus, simultaneously, detect in each frame of second camera imaging after having focused profile and the position of object of focusing, once detect in present frame that the profile of object of focusing or position change, then second camera is made again to perform the focusing of contrast formula to this focusing thing.
In S105, once focus whenever described second camera completes, then the front focal length of working as of described second camera is informed to described first camera, deserve front focal length to make described first camera be adjusted to.
In the present embodiment, focal length is determined whenever second camera performs the focusing of contrast formula, just this focal length is informed to the first camera, to make the first camera, camera lens is directly adjusted to this focal position, namely, by driving the motor of the first camera to regulate the position of the camera lens of the first camera, directly by the distance adjustment between this camera lens and transducer to this focal length size, just directly can complete the focusing of the first camera.
Owing to carrying out in the whole process of continuous focusing in terminal, on terminal display screen, in real time display is all picture captured by the first camera, and the first camera does not perform the focusing of contrast formula in the process, whenever focusing object of which movement, camera lens is just directly adjusted in suitable focal position according to the focusing result of second camera by the first camera, therefore, the preview screen of terminal demonstration screen display all there will not be all the time by fuzzy dither process extremely clearly, and preview image quality is stable, clear.
Due in embodiments of the present invention, the first camera is responsible for generating preview screen, and second camera has been responsible for focus operation, and therefore, each camera requires different to respective frame per second.As one embodiment of the present of invention, the frame per second of described first camera is lower than the frame per second of described second camera.
Described frame per second, can be understood as in camera that motor is to the driving frequency of camera lens, and such as, the frame per second of camera is that 100 frames are per second, then the camera lens of this camera each second can by driving 100 times, that is, focus can change 100 times.Because second camera needs repeatedly to perform the focusing of contrast formula in continuous focusing process, its frame per second is higher, the change speed representing its focus is faster, so second camera just can complete focusing within the shorter time, complete the tracking to moving object, and do not need to experience focus process due to the first camera, for its configuration is lower than the frame per second of second camera, the relatively large power consumption because high-frequency drives camera lens to bring effectively can be reduced.Therefore, in the present embodiment, the frame per second of the first camera of configuration is lower than the frame per second of second camera.
As a kind of specific implementation of the present invention, it is per second that the frame per second of described first camera can be configured to 30 frames, and meanwhile, it is per second that the frame per second of described second camera can be configured to 120 frames.
As one embodiment of the present of invention, the first camera, except responsible generation preview screen, can also be used for performing final taking pictures, and second camera has only been responsible for continuous focusing operation, and therefore, each camera is also different to respective frame resolution requirement.As one embodiment of the present of invention, the resolution of described first camera is higher than the resolution of described second camera.
Described resolution, for characterizing the definition of the photo that camera is shot, the resolution of camera is higher, then its photo shot or video more clear.Because second camera is only for performing focusing, without the need to carrying out the generation of preview screen and completing final imaging, whole focusing, take pictures in process, user can not see the picture that second camera is taken, therefore, the requirement of second camera to resolution is lower.And the first camera needs the generation of responsible preview screen, and need to realize camera function after focusing completes, in whole process, the picture of its shooting all can present in front of the user, therefore, can be that the first camera configures higher resolution.Therefore, in the present embodiment, the resolution of the first camera of configuration is higher than the resolution of second camera, so, carry out at second camera in the process of focusing, the resolution of the image of generation is low, and the effect brought is that image processor needs data to be processed also relatively less when the contrast value of computed image, effectively can reduce the power consumption of image processor, reach energy-conservation effect.
In embodiments of the present invention, terminal configuration two cameras, moving object is being carried out in the process of track up, one of them camera is used for carrying out continuous focusing to moving object, and focusing result is informed to another camera in real time, to make another camera directly carry out adjusting focal length according to this focusing result, generate preview screen and take pictures, the shake repeatedly avoiding the continuous focusing process of camera to bring preview screen thus, improves the image quality of preview screen.
Fig. 5 shows the lens moving schematic diagram of the first camera and second camera in one-time continuous focus process, as can be seen from Figure 5, along with the movement of focusing object, second camera is respectively at T1, T3 and T5 time point starts to perform three contrast formula focusings, and respectively at T2, T4 and T6 time point completes this three contrast formula focusings, second camera is then at T2, the focusing result of second camera is received after T4 and T6 time point, and have adjusted camera lens (wherein according to focusing result immediately, during T2 time point, the camera lens of the first camera has been positioned in focal position, therefore do not adjust).
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
Corresponding to the method for the continuous focusing that the embodiment of the present invention provides, Fig. 6 shows the structured flowchart of the device of the continuous focusing that the embodiment of the present invention provides, this device can run on be integrated with camera and display screen terminal equipment among, such as smart mobile phone, flat board, PDA, camera, etc.For convenience of explanation, illustrate only part related to the present embodiment.
With reference to Fig. 6, this device comprises:
Start unit 61, starts the first camera and second camera, and described first camera is adjacent with described second camera and be positioned at same camera plane.
Preview unit 62, the picture of the described first camera shooting of display in real time on the display screen of terminal.
First focusing unit 63, makes described second camera perform focusing to the focusing object of specifying in described picture.
Described first focusing unit 63, also for after completing focusing at described second camera, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object.
Second focusing unit 64, once focuses whenever described second camera completes, then the front focal length of working as of described second camera is informed to described first camera, deserve front focal length to make described first camera be adjusted to.
Alternatively, the frame per second of described first camera lower than the frame per second of described second camera, described frame per second be in camera motor to the driving frequency of camera lens.
Alternatively, the frame per second of described first camera is that 30 frames are per second, and the frame per second of described second camera is that 120 frames are per second.
Alternatively, described first focusing unit comprises:
First record subelement, records the contrast value of one-tenth picture frame when described second camera completes focusing.
Computation subunit, after described second camera completes focusing, calculates the contrast value of each frame of described second camera imaging.
First focusing subelement, when detecting that the contrast value of described second camera present frame is less than the contrast value becoming picture frame when described second camera completes focusing, then makes described second camera again perform focusing to described focusing object.
Alternatively, described first focusing unit comprises:
Second record subelement, records profile and the position of object of focusing described in one-tenth picture frame when described second camera completes focusing.
Detection sub-unit, after described second camera completes focusing, the profile of object of focusing described in each frame detecting described second camera imaging and position.
Second focusing subelement, the picture frame that the becomes when present frame of described second camera and described second camera being completed focusing contrasts, when the profile or position that detect described focusing object change, then described second camera is made again to perform focusing to described focusing object.
Shown in Fig. 7 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.With reference to figure 7, mobile phone comprises: the parts such as radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, first camera 750, second camera 760 and processor 770.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 7 each component parts to mobile phone:
RF circuit 710 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 770; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer etc.In addition, RF circuit 710 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (Global System of Mobilecommunication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division multiple access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long TermEvolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc.
Memory 720 can be used for storing software program and module, and processor 770 is stored in software program and the module of memory 720 by running, thus performs various function application and the data processing of mobile phone.Memory 720 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, memory 720 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input unit 730 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone 700 and function controls the input of relevant key signals.Particularly, input unit 730 can comprise contact panel 731 and other input equipments 732.Contact panel 731, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 731 or near contact panel 731 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, contact panel 731 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 770, and the order that energy receiving processor 770 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 731.Except contact panel 731, input unit 730 can also comprise other input equipments 732.Particularly, other input equipments 732 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 740 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.Display unit 740 can comprise display screen 741, optionally, the form such as liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) can be adopted to configure display screen 741.Further, contact panel 731 can cover display screen 741, when contact panel 731 detects thereon or after neighbouring touch operation, send processor 770 to determine the type of touch event, on display screen 741, provide corresponding vision to export with preprocessor 770 according to the type of touch event.Although in the figure 7, contact panel 731 and display screen 741 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 731 and display screen 741 and realize the input and output function of mobile phone.
Processor 770 is control centres of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 720 and/or module is stored in by running or performing, and call the data be stored in memory 720, perform various function and the deal with data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 770 can comprise one or more processing unit; Preferably, processor 770 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 770.
Although not shown, mobile phone 700 can also comprise power supply, wireless module, bluetooth module, voicefrequency circuit, sensor, does not repeat them here.
In embodiments of the present invention, the processor 770 included by this terminal also has following functions: the method for continuous focusing, comprising:
Start the first camera and second camera, described first camera is adjacent with described second camera and be positioned at same camera plane;
The picture of the described first camera shooting of display in real time on the display screen of terminal;
Described second camera is made to perform focusing to the focusing object of specifying in described picture;
After described second camera completes focusing, if the focus condition again preset is triggered, then described second camera is made again to perform focusing to described focusing object;
Once focus whenever described second camera completes, then the front focal length of working as of described second camera is informed to described first camera, deserve front focal length to make described first camera be adjusted to.
Further, the frame per second of described first camera lower than the frame per second of described second camera, described frame per second be in camera motor to the driving frequency of camera lens.
Further, the frame per second of described first camera is that 30 frames are per second, and the frame per second of described second camera is that 120 frames are per second.
Further, described after described second camera completes focusing, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object and comprise:
Record the contrast value of one-tenth picture frame when described second camera completes focusing;
After described second camera completes focusing, calculate the contrast value of each frame of described second camera imaging;
When detecting that the contrast value of described second camera present frame is less than the contrast value becoming picture frame when described second camera completes focusing, then described second camera is made again to perform focusing to described focusing object.
Further, described after described second camera completes focusing, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object and comprise:
Record profile and the position of object of focusing described in one-tenth picture frame when described second camera completes focusing;
After described second camera completes focusing, the profile of object of focusing described in each frame detecting described second camera imaging and position;
The picture frame that the becomes when present frame of described second camera and described second camera being completed focusing contrasts, and when the profile or position that detect described focusing object change, then makes described second camera again perform focusing to described focusing object.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (12)

1. a method for continuous focusing, is characterized in that, comprising:
Start the first camera and second camera, described first camera is adjacent with described second camera and be positioned at same camera plane;
The picture of the described first camera shooting of display in real time on the display screen of terminal;
Described second camera is made to perform focusing to the focusing object of specifying in described picture;
After described second camera completes focusing, if the focus condition again preset is triggered, then described second camera is made again to perform focusing to described focusing object;
Once focus whenever described second camera completes, then the front focal length of working as of described second camera is informed to described first camera, deserve front focal length to make described first camera be adjusted to.
2. the method for claim 1, is characterized in that, the frame per second of described first camera lower than the frame per second of described second camera, described frame per second be in camera motor to the driving frequency of camera lens.
3. method as claimed in claim 2, it is characterized in that, the frame per second of described first camera is that 30 frames are per second, and the frame per second of described second camera is that 120 frames are per second.
4. the method as described in any one of claims 1 to 3, is characterized in that, described after described second camera completes focusing, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object and comprises:
Record the contrast value of one-tenth picture frame when described second camera completes focusing;
After described second camera completes focusing, calculate the contrast value of each frame of described second camera imaging;
When detecting that the contrast value of described second camera present frame is less than the contrast value becoming picture frame when described second camera completes focusing, then described second camera is made again to perform focusing to described focusing object.
5. the method as described in any one of claims 1 to 3, is characterized in that, described after described second camera completes focusing, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object and comprises:
Record profile and the position of object of focusing described in one-tenth picture frame when described second camera completes focusing;
After described second camera completes focusing, the profile of object of focusing described in each frame detecting described second camera imaging and position;
The picture frame that the becomes when present frame of described second camera and described second camera being completed focusing contrasts, and when the profile or position that detect described focusing object change, then makes described second camera again perform focusing to described focusing object.
6. a device for continuous focusing, is characterized in that, comprising:
Start unit, for starting the first camera and second camera, described first camera is adjacent with described second camera and be positioned at same camera plane;
Preview unit, for the picture of the described first camera shooting of display in real time on the display screen of terminal;
First focusing unit, performs focusing for making described second camera to the focusing object of specifying in described picture;
Described first focusing unit, also for after completing focusing at described second camera, if the focus condition again preset is triggered, then makes described second camera again perform focusing to described focusing object;
Second focusing unit, for once focusing whenever described second camera completes, then informs to described first camera by the front focal length of working as of described second camera, deserves front focal length to make described first camera be adjusted to.
7. device as claimed in claim 6, is characterized in that, the frame per second of described first camera lower than the frame per second of described second camera, described frame per second be in camera motor to the driving frequency of camera lens.
8. device as claimed in claim 7, it is characterized in that, the frame per second of described first camera is that 30 frames are per second, and the frame per second of described second camera is that 120 frames are per second.
9. the device as described in any one of claim 6 to 8, is characterized in that, described first focusing unit comprises:
First record subelement, for recording the contrast value of one-tenth picture frame when described second camera completes focusing;
Computation subunit, after completing focusing at described second camera, calculates the contrast value of each frame of described second camera imaging;
First focusing subelement, for when detecting that the contrast value of described second camera present frame is less than the contrast value becoming picture frame when described second camera completes focusing, then makes described second camera again perform focusing to described focusing object.
10. the device as described in any one of claim 6 to 8, is characterized in that, described first focusing unit comprises:
Second record subelement, for recording profile and the position of object of focusing described in one-tenth picture frame when described second camera completes focusing;
Detection sub-unit, after completing focusing at described second camera, the profile of object of focusing described in each frame detecting described second camera imaging and position;
Second focusing subelement, contrast for the picture frame that the becomes when present frame of described second camera and described second camera being completed focusing, when the profile or position that detect described focusing object change, then described second camera is made again to perform focusing to described focusing object.
11. 1 kinds of terminals, is characterized in that, described terminal comprises the device of the continuous focusing as described in any one of claim 6 to 10.
12. terminals as claimed in claim 11, it is characterized in that, described terminal comprises smart mobile phone or flat board.
CN201410713311.2A 2014-11-28 2014-11-28 Continuous focusing method, device and terminal Pending CN104363376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410713311.2A CN104363376A (en) 2014-11-28 2014-11-28 Continuous focusing method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410713311.2A CN104363376A (en) 2014-11-28 2014-11-28 Continuous focusing method, device and terminal

Publications (1)

Publication Number Publication Date
CN104363376A true CN104363376A (en) 2015-02-18

Family

ID=52530599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410713311.2A Pending CN104363376A (en) 2014-11-28 2014-11-28 Continuous focusing method, device and terminal

Country Status (1)

Country Link
CN (1) CN104363376A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954695A (en) * 2015-07-14 2015-09-30 厦门美图之家科技有限公司 Focusing locking method and system for video shooting
CN105227836A (en) * 2015-09-15 2016-01-06 广东欧珀移动通信有限公司 A kind of method and apparatus of video terminal zoom
CN106060407A (en) * 2016-07-29 2016-10-26 努比亚技术有限公司 Focusing method and terminal
CN106506958A (en) * 2016-11-15 2017-03-15 维沃移动通信有限公司 A kind of method shot using mobile terminal and mobile terminal
CN106550230A (en) * 2016-08-31 2017-03-29 深圳小辣椒虚拟现实技术有限责任公司 A kind of 3D rendering filming apparatus and method
CN106993132A (en) * 2017-03-20 2017-07-28 努比亚技术有限公司 The method of sampling and mobile terminal of a kind of camera collaboration focusing
CN108200338A (en) * 2017-12-29 2018-06-22 广东欧珀移动通信有限公司 Real-time focusing method, imaging device and computer readable storage medium
CN108632536A (en) * 2018-07-31 2018-10-09 Oppo广东移动通信有限公司 A kind of camera control method and device, terminal, storage medium
CN109413324A (en) * 2017-08-16 2019-03-01 中兴通讯股份有限公司 A kind of image pickup method and mobile terminal
CN109756682A (en) * 2019-02-01 2019-05-14 孙斌 Dynamic image capture, tracking, focusing mechanism and method
WO2019114617A1 (en) * 2017-12-12 2019-06-20 华为技术有限公司 Method, device, and system for fast capturing of still frame
CN111479056A (en) * 2020-04-13 2020-07-31 烟台艾睿光电科技有限公司 Automatic focusing method, device and system
WO2021232898A1 (en) * 2020-05-18 2021-11-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System and method for auto-focusing multiple cameras
WO2023273323A1 (en) * 2021-06-29 2023-01-05 荣耀终端有限公司 Focusing method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101637019A (en) * 2007-03-09 2010-01-27 伊斯曼柯达公司 Multiple lens camera providing a range map
CN103246130A (en) * 2013-04-16 2013-08-14 广东欧珀移动通信有限公司 Focusing method and device
CN103649807A (en) * 2011-05-25 2014-03-19 株式会社理光 Imaging device
CN103986877A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring terminal and image acquiring method
CN103986876A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring terminal and image acquiring method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101637019A (en) * 2007-03-09 2010-01-27 伊斯曼柯达公司 Multiple lens camera providing a range map
CN103649807A (en) * 2011-05-25 2014-03-19 株式会社理光 Imaging device
CN103246130A (en) * 2013-04-16 2013-08-14 广东欧珀移动通信有限公司 Focusing method and device
CN103986877A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring terminal and image acquiring method
CN103986876A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring terminal and image acquiring method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954695B (en) * 2015-07-14 2018-03-30 厦门美图之家科技有限公司 A kind of focus lock method and system of video capture
CN104954695A (en) * 2015-07-14 2015-09-30 厦门美图之家科技有限公司 Focusing locking method and system for video shooting
CN105227836A (en) * 2015-09-15 2016-01-06 广东欧珀移动通信有限公司 A kind of method and apparatus of video terminal zoom
CN106060407A (en) * 2016-07-29 2016-10-26 努比亚技术有限公司 Focusing method and terminal
CN106550230A (en) * 2016-08-31 2017-03-29 深圳小辣椒虚拟现实技术有限责任公司 A kind of 3D rendering filming apparatus and method
CN106506958B (en) * 2016-11-15 2020-04-10 维沃移动通信有限公司 Method for shooting by adopting mobile terminal and mobile terminal
CN106506958A (en) * 2016-11-15 2017-03-15 维沃移动通信有限公司 A kind of method shot using mobile terminal and mobile terminal
CN106993132A (en) * 2017-03-20 2017-07-28 努比亚技术有限公司 The method of sampling and mobile terminal of a kind of camera collaboration focusing
CN109413324A (en) * 2017-08-16 2019-03-01 中兴通讯股份有限公司 A kind of image pickup method and mobile terminal
WO2019114617A1 (en) * 2017-12-12 2019-06-20 华为技术有限公司 Method, device, and system for fast capturing of still frame
CN108200338A (en) * 2017-12-29 2018-06-22 广东欧珀移动通信有限公司 Real-time focusing method, imaging device and computer readable storage medium
CN108632536A (en) * 2018-07-31 2018-10-09 Oppo广东移动通信有限公司 A kind of camera control method and device, terminal, storage medium
CN108632536B (en) * 2018-07-31 2020-10-30 Oppo广东移动通信有限公司 Camera control method and device, terminal and storage medium
CN109756682A (en) * 2019-02-01 2019-05-14 孙斌 Dynamic image capture, tracking, focusing mechanism and method
CN111479056A (en) * 2020-04-13 2020-07-31 烟台艾睿光电科技有限公司 Automatic focusing method, device and system
CN111479056B (en) * 2020-04-13 2021-05-04 烟台艾睿光电科技有限公司 Automatic focusing method, device and system
WO2021232898A1 (en) * 2020-05-18 2021-11-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System and method for auto-focusing multiple cameras
WO2023273323A1 (en) * 2021-06-29 2023-01-05 荣耀终端有限公司 Focusing method and electronic device

Similar Documents

Publication Publication Date Title
CN104363376A (en) Continuous focusing method, device and terminal
CN104333702A (en) Method, device and terminal for automatic focusing
CN104333701A (en) Method and device for displaying camera preview pictures as well as terminal
CN103458190A (en) Photographing method, photographing device and terminal device
CN104333704A (en) Photographing scene previewing method, photographing scene previewing device and terminal
CN104967790B (en) Method, photo taking, device and mobile terminal
CN105187930A (en) Video live broadcasting-based interaction method and device
CN103400108A (en) Face identification method and device as well as mobile terminal
CN103533247A (en) Self-photographing method, device and terminal equipment
CN105163024A (en) Method for obtaining target image and target tracking device
CN103702029A (en) Method and device for prompting focusing during shooting
CN106331502A (en) Terminal and its filter photographing method and device
JP2018523362A (en) Method for adjusting photographing focal length of portable terminal using touchpad and portable terminal
CN103390034A (en) Image display method, device, terminal and server
CN104571979A (en) Method and device for realizing split-screen views
CN103744592A (en) Information processing method and terminal
CN104036536A (en) Generating method and apparatus of stop motion animation
CN105306802A (en) Photographing mode switching method and device
CN103068016B (en) The method of mobile terminal and reduction power consumption thereof
CN103826065A (en) Image processing method and apparatus
CN106371086A (en) Distance measurement method and device
CN103458286A (en) Television channel switching method and device
CN105791946A (en) Image display effect adjusting method and apparatus
CN110868632B (en) Video processing method and device, storage medium and electronic equipment
CN104836717A (en) Data processing method and apparatus, and terminal equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150218