CN106131416B - Zoom processing method, device and the mobile terminal of dual camera - Google Patents

Zoom processing method, device and the mobile terminal of dual camera Download PDF

Info

Publication number
CN106131416B
CN106131416B CN201610571816.9A CN201610571816A CN106131416B CN 106131416 B CN106131416 B CN 106131416B CN 201610571816 A CN201610571816 A CN 201610571816A CN 106131416 B CN106131416 B CN 106131416B
Authority
CN
China
Prior art keywords
camera
zoom
user
preview image
enlarged
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.)
Active
Application number
CN201610571816.9A
Other languages
Chinese (zh)
Other versions
CN106131416A (en
Inventor
韦怡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610571816.9A priority Critical patent/CN106131416B/en
Publication of CN106131416A publication Critical patent/CN106131416A/en
Application granted granted Critical
Publication of CN106131416B publication Critical patent/CN106131416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Abstract

The present invention proposes zoom processing method, device and the mobile terminal of a kind of dual camera, wherein, the zoom processing method of the dual camera, comprising the following steps: detect and start main camera when user opens camera, and detect whether user triggers zoom amplifying operation;If the user triggers zoom and is enlarged, start secondary camera, and the second preview image that the first preview image obtained according to the main camera and the secondary camera obtain generates synthesis preview image;It detects that user stops starting timing when the zoom is enlarged, if the user does not trigger the zoom amplifying operation again within a preset time, reduces the frame per second of camera.The zoom processing method of the dual camera of the embodiment of the present invention can effectively promote the available work duration and working efficiency of capture apparatus while guaranteeing user's focusing experience and taking pictures effect.

Description

Zoom processing method, device and the mobile terminal of dual camera
Technical field
The present invention relates to shooting processing technology field, in particular to the zoom processing method of a kind of dual camera, device and Mobile terminal.
Background technique
Currently, can realize zoom function by dual camera on more and more mobile terminals.Wherein, dual camera is set Meter is mainly made of the camera of the camera of wide-angle and a focal length.It realizes the principle of zoom are as follows: opens camera shooting After head, while entering wide-angle camera (being also referred to as main camera) and focal length camera (also referred to as secondary camera), two are taken the photograph For user's preview after being synthesized as the picture of head.When user will use zoom function, frame can be amplified by touch screen and be put Big operation, at this point, the image accounting of main camera can be reduced slowly, the image accounting of secondary camera can slowly increase, and be closed At display, to reach the function of zoom.However, realizing the mobile terminal of zoom function above by dual camera, two are needed A camera works at the same time, and causes the electric energy of mobile terminal and resource consumption larger, reduces working time and the work of mobile terminal Make efficiency.
Summary of the invention
The present invention is directed to solve above-mentioned technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of zoom processing method of dual camera, can guarantee User focus experience and take pictures effect while, reduce power consumption, the available work duration and working efficiency of effective lifting means.
Second object of the present invention is to propose a kind of zoom processing unit of dual camera.
Third object of the present invention is to propose a kind of mobile terminal.
Fourth object of the present invention is to propose another mobile terminal.
In order to achieve the above object, embodiment proposes a kind of zoom processing side of dual camera according to a first aspect of the present invention Method, comprising the following steps:
It detects and starts main camera when user opens camera, and detect whether user triggers zoom amplifying operation;
If the user triggers zoom and is enlarged, start secondary camera, and obtained according to the main camera The second preview image that first preview image and the secondary camera obtain generates synthesis preview image;
Detect that user stops starting timing when the zoom is enlarged, if the user does not have within a preset time The zoom is triggered again to be enlarged, then reduces the frame per second of camera.
The zoom processing method of dual camera according to an embodiment of the present invention, may also include following additional technical feature:
In one embodiment of the invention, whether the detection user triggers zoom amplifying operation, comprising:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
In one embodiment of the invention, according to the first preview image of the main camera acquisition and the pair The second preview image that camera obtains generates synthesis preview image, comprising:
It is enlarged according to the zoom and determines corresponding zoom magnifications;
The first pixel and described second in first preview image is determined in advance according to the zoom magnifications The second pixel look in image;
First pixel and second pixel are subjected to synthesis processing and generate synthesis preview image.
In one embodiment of the invention, the frame per second for reducing camera, comprising:
The main camera is reduced, and/or, the frame per second of the pair camera.
In one embodiment of the invention, after the frame per second for reducing camera, further includes:
When detecting that user triggers zoom amplifying operation again, restore the frame per second of the camera.
Second aspect of the present invention embodiment provides a kind of zoom processing unit of dual camera, comprising:
Detection module starts main camera when for detecting that user opens camera, and detects whether user triggers zoom It is enlarged;
Synthesis module, for starting secondary camera, and take the photograph according to the master when the user triggers zoom and is enlarged The second preview image that the first preview image and the secondary camera obtained as head obtains generates synthesis preview image;
Control module, for detecting that user stops starting timing when the zoom is enlarged, and within a preset time When the user does not trigger zoom amplifying operation again, the frame per second for controlling camera is reduced.
The zoom processing unit of dual camera according to an embodiment of the present invention, may also include following additional technical feature:
In one embodiment of the invention, the detection module is used for:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
In one embodiment of the invention, the synthesis module is used for:
It is enlarged according to the zoom and determines corresponding zoom magnifications;
The first pixel and described second in first preview image is determined in advance according to the zoom magnifications The second pixel look in image;
First pixel and second pixel are subjected to synthesis processing and generate synthesis preview image.
In one embodiment of the invention, the control module is used for:
The main camera is reduced, and/or, the frame per second of the pair camera.
In one embodiment of the invention, the control module is also used to:
After the frame per second for reducing camera, when detecting that user triggers zoom amplifying operation again, restore The frame per second of the camera.
Third aspect present invention embodiment provides a kind of mobile terminal, including second aspect of the present invention any embodiment The zoom processing unit of dual camera.
Fourth aspect present invention embodiment provides a kind of mobile terminal
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It detects and starts main camera when user opens camera, and detect whether user triggers zoom amplifying operation;
If the user triggers zoom and is enlarged, start secondary camera, and obtained according to the main camera The second preview image that first preview image and the secondary camera obtain generates synthesis preview image;
Detect that user stops starting timing when the zoom is enlarged, if the user does not have within a preset time The zoom is triggered again to be enlarged, then reduces the frame per second of camera.
Zoom processing method, device and the mobile terminal of the dual camera of the embodiment of the present invention, by detecting user Start main camera when opening camera, and starts secondary camera when zoom is enlarged detecting that user triggers, and by two The image that camera obtains synthesizes preview image, if stopped in the preset time after zoom is enlarged in user without again Secondary triggering zoom is enlarged, then reduces the frame per second of camera, can according to the work of actual photographed demand control pair camera, and Two camera whole process work are not required to, the power consumption and resource occupation in shooting process are effectively reduced.In addition, not needed in user When zoom operation, the frame per second of camera can be reduced, further reduced power consumption.So as to guarantee user's focusing experience and clapping While according to effect, the available work duration and working efficiency of capture apparatus are effectively promoted.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to the zoom processing method of the dual camera of one embodiment of the invention;
Fig. 2 is the flow chart according to the zoom processing method of the dual camera of another embodiment of the present invention;
Fig. 3 is the structural schematic diagram according to the zoom processing unit of the dual camera of one embodiment of the invention;
Fig. 4 is a kind of block diagram of mobile terminal shown according to an exemplary embodiment.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings zoom processing method, device and the movement of dual camera according to an embodiment of the present invention are described eventually End.
The capture apparatus of the embodiment of the present invention is dual camera equipment, and dual camera includes main camera and secondary camera. Wherein, main camera can be wide-angle camera, and secondary camera can be focal length camera.It should be noted that the present invention is real The capture apparatus for applying example may include but be not limited to the movement such as mobile phone, tablet computer, intelligent wearable equipment, personal digital assistant eventually End.
Fig. 1 is the flow chart according to the zoom processing method of the dual camera of one embodiment of the invention.
As shown in Figure 1, the zoom processing method of dual camera according to an embodiment of the present invention, comprising:
S101 is detected and is started main camera when user opens camera, and detects whether user triggers zoom amplifying operation.
In one embodiment of the invention, whether detection user triggers zoom amplifying operation, it may include:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
For example, when detecting that user in two finger reversible sliding actions at image preview interface, or detects When user is to the button operation of volume amplifying key-press, it may be determined that detection user triggers zoom and is enlarged.
S102 starts secondary camera, and obtain according to the main camera if the user triggers zoom and is enlarged The second preview image that the first preview image and the secondary camera taken obtains generates synthesis preview image.
In an embodiment of the present invention, when detecting that user triggers zoom amplifying operation, secondary camera can be started.In pair After camera starting, main camera and secondary camera can respectively to photographic subjects carry out Image Acquisition obtain the first preview image and Second preview image.It in turn, can be by the first preview image that main camera obtains and the second preview image that secondary camera obtains Synthesis, to generate synthesis preview image.
In one embodiment of the invention, according to the first preview image of the main camera acquisition and the pair The second preview image that camera obtains generates synthesis preview image, it may include: determining correspond to is enlarged according to the zoom Zoom magnifications;The first pixel in first preview image, Yi Jisuo are determined according to the zoom magnifications State the second pixel in the second preview image;First pixel and second pixel are carried out synthesis processing to generate Synthesize preview image.
Specifically, it can be determined according to zoom magnifications during generating synthesis preview image, required first is pre- The ratio for the second pixel look in the first pixel and the second preview image in image.Zoom magnifications are bigger, then and The ratio of the second pixel in two preview images is higher, and zoom magnifications are smaller, the second pixel in the second preview image The ratio of point is lower.
For example, if zoom magnifications are 1, it can mainly be generated and be closed using the pixel in the first preview image At preview image;If amplification factor is 8 times, synthesis preview graph mainly can be generated using the pixel in the second preview image Picture;If amplification factor is 3, the same pixel of quantity can be chosen from the first preview image and the second preview image and is carried out Synthesis, to generate synthesis preview image.
In an embodiment of the present invention, only pass through main camera when user is not detected and triggers zoom amplifying operation to obtain Preview image just starts secondary camera, carries out image synthesis and zoom work when detecting that user triggers zoom amplifying operation Make.It is enlarged if user is not detected and triggers zoom, is not turned on secondary camera, it is pre- that the acquisition of main camera is used only in whole process Look at image.To only open secondary camera work when there is zoom to need, rather than major and minor camera works at the same time always, energy Enough while guaranteeing user's focusing experience and taking pictures effect, energy consumption is greatlyd save.
S103 detects that user stops starting timing when the zoom is enlarged, if the use within a preset time Family is not triggered the zoom again and is enlarged, then reduces the frame per second of camera.
In an embodiment of the present invention, preset time can be for system default or by user setting.For example, when presetting Between may be configured as 10 seconds.
In one embodiment of the invention, stop not touching again in the preset time after zoom is enlarged in user It sends out zoom to be enlarged, then the frequency of camera can be reduced, to further decrease power consumption.Wherein, the frame per second for reducing camera, can It include: the reduction main camera, and/or, the frame per second of the pair camera.That is, main camera can be reduced and pair is taken the photograph As the frame per second of at least one of head.
For example, if during the focusing process, the frame per second of camera is that (Frames Per Second, second pass 30fps Defeated frame number), then the frame per second of at least one of main camera and secondary camera can be become 15fps.To be imaged by reducing The frequency of head acquired image frames further decreases power consumption.
The zoom processing method of the dual camera of the embodiment of the present invention passes through the starting master when detecting that user opens camera Camera, and start secondary camera when zoom is enlarged detecting that user triggers, and the image that two cameras are obtained Preview image is synthesized, if stopped in the preset time after zoom is enlarged in user without triggering zoom amplification behaviour again Make, then reduces the frame per second of camera, it can be complete without two cameras according to the work of actual photographed demand control pair camera Journey work, effectively reduces the power consumption and resource occupation in shooting process.In addition, can be dropped when user does not need zoom operation The frame per second of low camera, further reduced power consumption.So as to have while guaranteeing user's focusing experience and taking pictures effect Effect promotes the available work duration and working efficiency of capture apparatus.
Fig. 2 is the flow chart according to the zoom processing method of the dual camera of another embodiment of the present invention.
As shown in Fig. 2, the zoom processing method of dual camera according to an embodiment of the present invention, including step S201-S204.
Wherein, step S201-S203 is identical as step S101-S103 in embodiment illustrated in fig. 1.
S204 restores the frame per second of the camera when detecting that user triggers zoom amplifying operation again.
In one embodiment of the invention, after the frame per second for reducing camera, detect that user triggers again When the zoom is enlarged, the frame per second of the camera can be restored.
To which the frame per second of camera can be replied, thus, it is possible in zoom when user triggers zoom again to be enlarged In the process, by improving the frame per second of camera, guarantee to show image real-time variation effect and demand in preview interface.
In order to realize above-described embodiment, the present invention also proposes a kind of zoom processing unit of dual camera.
Fig. 3 is the structural schematic diagram according to the zoom processing unit of the dual camera of one embodiment of the invention.
As shown in figure 3, the zoom processing unit of dual camera according to an embodiment of the present invention, comprising: detection module 10 closes At module 20 and control module 30.
Specifically, detection module 10, which is used to detect, starts main camera when user opens camera, and whether detects user Zoom is triggered to be enlarged.
In one embodiment of the invention, detection module 10 can be used for: whether detection user obtains the main camera The preview interface taken amplifies touch control operation;Or, whether detection user triggers preset amplification Zoom control key.
For example, when detecting that user in two finger reversible sliding actions at image preview interface, or detects When user is to the button operation of volume amplifying key-press, detection module 10 can determine that detection user triggers zoom and is enlarged.
Synthesis module 20 is used to start secondary camera, and according to the master when the user triggers zoom and is enlarged The second preview image that the first preview image and the secondary camera that camera obtains obtain generates synthesis preview image.
In an embodiment of the present invention, synthesis module 20 can start pair when detecting that user triggers zoom amplifying operation Camera.After the starting of secondary camera, main camera and secondary camera can carry out Image Acquisition to photographic subjects respectively and obtain the One preview image and the second preview image.In turn, synthesis module 20 can take the photograph the first preview image and pair that main camera obtains As the second preview image synthesis that head obtains, to generate synthesis preview image.
In one embodiment of the invention, synthesis module 20 can be used for: being enlarged according to the zoom and determines correspondence Zoom magnifications;The first pixel in first preview image, Yi Jisuo are determined according to the zoom magnifications State the second pixel in the second preview image;First pixel and second pixel are carried out synthesis processing to generate Synthesize preview image.
Specifically, synthesis module 20 can determine institute during generating synthesis preview image according to zoom magnifications The ratio of the second pixel in the first pixel and the second preview image in the first preview image needed.Zoom magnifications Bigger, then the ratio of the second pixel in the second preview image is higher, and zoom magnifications are smaller, in the second preview image The ratio of second pixel is lower.
For example, if zoom magnifications are 1, it can mainly be generated and be closed using the pixel in the first preview image At preview image;If amplification factor is 8 times, synthesis preview graph mainly can be generated using the pixel in the second preview image Picture;If amplification factor is 3, the same pixel of quantity can be chosen from the first preview image and the second preview image and is carried out Synthesis, to generate synthesis preview image.
In an embodiment of the present invention, only pass through main camera when user is not detected and triggers zoom amplifying operation to obtain Preview image just starts secondary camera, carries out image synthesis and zoom work when detecting that user triggers zoom amplifying operation Make.It is enlarged if user is not detected and triggers zoom, is not turned on secondary camera, it is pre- that the acquisition of main camera is used only in whole process Look at image.To only open secondary camera work when there is zoom to need, rather than major and minor camera works at the same time always, energy Enough while guaranteeing user's focusing experience and taking pictures effect, energy consumption is greatlyd save.
Start timing when control module 30 is for detecting that user stops zoom amplifying operation, and within a preset time When the user does not trigger zoom amplifying operation again, the frame per second for controlling camera is reduced.
In an embodiment of the present invention, preset time can be for system default or by user setting.For example, when presetting Between may be configured as 10 seconds.
In one embodiment of the invention, stop not touching again in the preset time after zoom is enlarged in user It sends out zoom to be enlarged, then control module 30 can reduce the frequency of camera, to further decrease power consumption.Wherein, control module 30 can be used for reducing the main camera, and/or, the frame per second of the pair camera.That is, control module 30 can reduce master The frame per second of camera and at least one of secondary camera.
For example, if during the focusing process, the frame per second of camera is that (Frames Per Second, second pass 30fps Defeated frame number), then the frame per second of at least one of main camera and secondary camera can be become 15fps by control module 30.To lead to The frequency of reduction camera collection image frame is crossed to further decrease power consumption.
In one embodiment of the invention, control module 30 can also be used in: after the frame per second for reducing camera, When detecting that user triggers zoom amplifying operation again, restore the frame per second of the camera.
To which the frame per second of camera can be replied, thus, it is possible in zoom when user triggers zoom again to be enlarged In the process, by improving the frame per second of camera, guarantee to show image real-time variation effect and demand in preview interface.
The zoom processing unit of the dual camera of the embodiment of the present invention passes through the starting master when detecting that user opens camera Camera, and start secondary camera when zoom is enlarged detecting that user triggers, and the image that two cameras are obtained Preview image is synthesized, if stopped in the preset time after zoom is enlarged in user without triggering zoom amplification behaviour again Make, then reduces the frame per second of camera, it can be complete without two cameras according to the work of actual photographed demand control pair camera Journey work, effectively reduces the power consumption and resource occupation in shooting process.In addition, can be dropped when user does not need zoom operation The frame per second of low camera, further reduced power consumption.So as to have while guaranteeing user's focusing experience and taking pictures effect Effect promotes the available work duration and working efficiency of capture apparatus.
The present invention also proposes a kind of mobile terminal.
Mobile terminal according to an embodiment of the present invention, the zoom processing of the dual camera including any embodiment of the present invention Device, by starting main camera when detecting that user opens camera, and when detecting that user triggers zoom amplifying operation Start secondary camera, and the image that two cameras obtain is synthesized into preview image, if stopping zoom amplification behaviour in user It is enlarged in preset time after work without triggering zoom again, then reduces the frame per second of camera, it can be according to actual photographed need The work for controlling secondary camera is asked, works without two camera whole process, effectively reduces the power consumption and money in shooting process Source occupies.In addition, can reduce the frame per second of camera when user does not need zoom operation, further reduced power consumption.So as to Enough available work durations and work for while guaranteeing user's focusing experience and taking pictures effect, effectively promoting capture apparatus are imitated Rate.
The present invention also proposes another mobile terminal.
Mobile terminal according to an embodiment of the present invention, comprising: processor;Storage for storage processor executable instruction Device;Wherein, the processor is configured to: detect and start main camera when user opens camera, and detect whether user touches Zoom is sent out to be enlarged;If the user triggers zoom and is enlarged, start secondary camera, and according to the main camera The second preview image that the first preview image and the secondary camera obtained obtains generates synthesis preview image;It detects User stops starting timing when the zoom is enlarged, if the user does not trigger the change again within a preset time Coke is enlarged, then reduces the frame per second of camera.
Mobile terminal according to an embodiment of the present invention, the zoom processing of the dual camera including any embodiment of the present invention Device, by starting main camera when detecting that user opens camera, and when detecting that user triggers zoom amplifying operation Start secondary camera, and the image that two cameras obtain is synthesized into preview image, if stopping zoom amplification behaviour in user It is enlarged in preset time after work without triggering zoom again, then reduces the frame per second of camera, it can be according to actual photographed need The work for controlling secondary camera is asked, works without two camera whole process, effectively reduces the power consumption and money in shooting process Source occupies.In addition, can reduce the frame per second of camera when user does not need zoom operation, further reduced power consumption.So as to Enough available work durations and work for while guaranteeing user's focusing experience and taking pictures effect, effectively promoting capture apparatus are imitated Rate.
Fig. 4 is a kind of block diagram of mobile terminal 400 shown according to an exemplary embodiment.For example, device 400 can be Mobile phone, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment are personal Digital assistants etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 402 may include that one or more processors 420 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in equipment 400.These data are shown Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 may include power management system System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When equipment 400 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when device 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor module 414 can detecte the state that opens/closes of equipment 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor module 414 can be with 400 1 components of detection device 400 or device Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400 Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of device 400 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (8)

1. a kind of zoom processing method of dual camera, which comprises the following steps:
It detects and starts main camera when user opens camera, and detect whether user triggers zoom amplifying operation;
If the user triggers zoom and is enlarged, start secondary camera, and first obtained according to the main camera The second preview image that preview image and the secondary camera obtain generates synthesis preview image;
Detect that user stops starting timing when the zoom is enlarged, if the user is without again within a preset time It triggers the zoom to be enlarged, then reduces the frame per second of camera, the frame per second for reducing camera includes reducing the master to take the photograph As the frame per second of at least one of head and the secondary camera during the focusing process;
When detecting that user triggers zoom amplifying operation again, restore the frame per second of the camera.
2. the method as described in claim 1, which is characterized in that whether the detection user triggers zoom amplifying operation, comprising:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
3. the method as described in claim 1, which is characterized in that according to the first preview image that the main camera obtains, with And the second preview image that the secondary camera obtains generates synthesis preview image, comprising:
It is enlarged according to the zoom and determines corresponding zoom magnifications;
The first pixel and second preview graph in first preview image are determined according to the zoom magnifications The second pixel as in;
First pixel and second pixel are subjected to synthesis processing and generate synthesis preview image.
4. a kind of zoom processing unit of dual camera characterized by comprising
Detection module starts main camera when for detecting that user opens camera, and detects whether user triggers zoom amplification Operation;
Synthesis module, for starting secondary camera, and according to the main camera when the user triggers zoom and is enlarged The second preview image that the first preview image and the secondary camera obtained obtains generates synthesis preview image;
Control module, for detecting that user stops starting timing when the zoom is enlarged, and it is described within a preset time When user does not trigger zoom amplifying operation again, the frame per second for controlling camera is reduced, the frame per second for reducing camera Including reducing the frame per second of at least one of the main camera and the secondary camera during the focusing process;
The control module restores the camera when being also used to detect that user triggers zoom amplifying operation again Frame per second.
5. device as claimed in claim 4, which is characterized in that the detection module is used for:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
6. device as claimed in claim 4, which is characterized in that the synthesis module is used for:
It is enlarged according to the zoom and determines corresponding zoom magnifications;
The first pixel and second preview graph in first preview image are determined according to the zoom magnifications The second pixel as in;
First pixel and second pixel are subjected to synthesis processing and generate synthesis preview image.
7. a kind of mobile terminal, which is characterized in that the zoom processing including such as described in any item dual cameras of claim 4-6 Device.
8. a kind of mobile terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It detects and starts main camera when user opens camera, and detect whether user triggers zoom amplifying operation;
If the user triggers zoom and is enlarged, start secondary camera, and first obtained according to the main camera The second preview image that preview image and the secondary camera obtain generates synthesis preview image;
Detect that user stops starting timing when the zoom is enlarged, if the user is without again within a preset time It triggers the zoom to be enlarged, then reduces the frame per second of camera, the frame per second for reducing camera includes reducing the master to take the photograph As the frame per second of at least one of head and the secondary camera during the focusing process;
When detecting that user triggers zoom amplifying operation again, restore the frame per second of the camera.
CN201610571816.9A 2016-07-19 2016-07-19 Zoom processing method, device and the mobile terminal of dual camera Active CN106131416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610571816.9A CN106131416B (en) 2016-07-19 2016-07-19 Zoom processing method, device and the mobile terminal of dual camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610571816.9A CN106131416B (en) 2016-07-19 2016-07-19 Zoom processing method, device and the mobile terminal of dual camera

Publications (2)

Publication Number Publication Date
CN106131416A CN106131416A (en) 2016-11-16
CN106131416B true CN106131416B (en) 2019-02-19

Family

ID=57289088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610571816.9A Active CN106131416B (en) 2016-07-19 2016-07-19 Zoom processing method, device and the mobile terminal of dual camera

Country Status (1)

Country Link
CN (1) CN106131416B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791017A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of terminal and photographic method
CN106791377B (en) * 2016-11-29 2019-09-27 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN106454132A (en) * 2016-11-29 2017-02-22 广东欧珀移动通信有限公司 Control method, control device and electronic device
KR20190097193A (en) * 2016-12-24 2019-08-20 후아웨이 테크놀러지 컴퍼니 리미티드 Camera control method and terminal
CN106713716B (en) * 2017-01-23 2020-03-31 努比亚技术有限公司 Shooting control method and device for double cameras
CN108933881B (en) * 2017-05-22 2022-05-27 中兴通讯股份有限公司 Video processing method and device
CN107465777A (en) * 2017-08-07 2017-12-12 京东方科技集团股份有限公司 Mobile terminal and its imaging method
CN107360357A (en) * 2017-09-05 2017-11-17 信利光电股份有限公司 A kind of camera module
CN108632536B (en) * 2018-07-31 2020-10-30 Oppo广东移动通信有限公司 Camera control method and device, terminal and storage medium
CN113766115B (en) * 2020-06-02 2023-08-04 北京小米移动软件有限公司 Image acquisition method, mobile terminal, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856719A (en) * 2014-03-26 2014-06-11 深圳市金立通信设备有限公司 Photographing method and terminal
CN103986867A (en) * 2014-04-24 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image shooting terminal and image shooting method
CN104333702A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Method, device and terminal for automatic focusing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7634187B2 (en) * 2007-01-04 2009-12-15 Qualcomm Incorporated Dynamic auto-focus window selection that compensates for hand jitter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856719A (en) * 2014-03-26 2014-06-11 深圳市金立通信设备有限公司 Photographing method and terminal
CN103986867A (en) * 2014-04-24 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image shooting terminal and image shooting method
CN104333702A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Method, device and terminal for automatic focusing

Also Published As

Publication number Publication date
CN106131416A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106131416B (en) Zoom processing method, device and the mobile terminal of dual camera
CN105991930B (en) Zoom processing method, device and the mobile terminal of dual camera
CN105245775B (en) camera imaging method, mobile terminal and device
WO2016062006A1 (en) Photographing control method and device
EP2567535B1 (en) Camera system and method for operating a camera system
WO2016029641A1 (en) Photograph acquisition method and apparatus
US9661223B2 (en) Method and device for photographing including camera shake
KR101952486B1 (en) Video categorization method and apparatus
WO2017036037A1 (en) Photograph capturing control method and device
CN104683691B (en) Image pickup method, device and equipment
CN104182313B (en) Be delayed the method and apparatus taken pictures
CN104361558B (en) Image processing method, device and equipment
WO2017000491A1 (en) Iris image acquisition method and apparatus, and iris recognition device
CN113596316B (en) Photographing method and electronic equipment
WO2016155304A1 (en) Wireless access point control method and device
WO2018219197A1 (en) Optical image stabilization control method, mobile terminal, and computer readable storage medium
CN104460185A (en) Automatic focusing method and device
CN109600549A (en) Photographic method, device, equipment and storage medium
CN106210495A (en) Image capturing method and device
CN104243829A (en) Self-shooting method and self-shooting device
EP3767624A1 (en) Method and apparatus for obtaining audio-visual information
CN105957011B (en) Image processing method and device
CN106911890A (en) Photographic method and device
CN108962189A (en) Luminance regulating method and device
CN108509863A (en) Information cuing method, device and electronic 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
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant