CN105991930A - Zoom processing method and device for dual cameras and mobile terminal - Google Patents
Zoom processing method and device for dual cameras and mobile terminal Download PDFInfo
- Publication number
- CN105991930A CN105991930A CN201610573049.5A CN201610573049A CN105991930A CN 105991930 A CN105991930 A CN 105991930A CN 201610573049 A CN201610573049 A CN 201610573049A CN 105991930 A CN105991930 A CN 105991930A
- Authority
- CN
- China
- Prior art keywords
- preview image
- camera
- zoom
- pixel
- synthesis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
Abstract
The invention provides a zoom processing method and a device for dual cameras and a mobile terminal. The method comprises steps: a main camera is started when the user is detected to start the camera, and whether the user triggers zoom magnification operation is detected; if the user triggers the zoom magnification operation, an auxiliary camera is started, and according to a first preview image acquired by the main camera and a second preview image acquired by the auxiliary camera, a merged preview image is generated; when the user is detected to stop zoom magnification operation, the occupancy ratio of the first preview image and the second preview image in the corresponding merged preview image is determined; and according to the occupancy ratio of the first preview image and the second preview image, the working states of the dual cameras are controlled. According to the zoom processing method for the dual cameras, power consumption is reduced while focus experience of the user and photographing effects are ensured, the available working hour and the working efficiency of the device can be effectively enhanced.
Description
Technical field
The present invention relates to shoot processing technology field, particularly to the zoom processing method of a kind of dual camera, device and mobile eventually
End.
Background technology
At present, increasing mobile terminal can realize zoom function by dual camera.Wherein, the design master of dual camera
If being made up of the camera of a wide-angle and the camera of a focal length.It realizes that the principle of zoom is: after opening camera,
Simultaneously enter wide-angle camera (camera based on also referred to as) and focal length camera (also referred to as secondary camera), by two cameras
Picture synthesize after for user's preview.When user's zoom function to be used, frame can be amplified by touch screen and be amplified operation,
Now, the image accounting of main camera can slowly reduce, and the image accounting of secondary camera can slowly increase, and carries out synthesis display,
Thus reach the function of zoom.But, realize the mobile terminal of zoom function above by dual camera, need two cameras
Work simultaneously, cause the electric energy of mobile terminal and resource consumption relatively big, reduce working time and the operating efficiency of mobile terminal.
Content of the invention
It is contemplated that solve above-mentioned technical problem at least to a certain extent.
To this end, the first of the present invention purpose is to propose the zoom processing method of a kind of dual camera, user couple can ensured
Burnt experience and take pictures effect while, reduce power consumption, the available work duration of effective lifting means and operating efficiency.
Second object of the present invention is to propose the zoom processing means of a kind 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 kind of mobile terminal.
For reaching above-mentioned purpose, embodiment proposes the zoom processing method of a kind of dual camera according to a first aspect of the present invention, including
Following steps:
Detect that user starts main camera when opening camera, and detect whether user triggers zoom amplifieroperation;
If described user triggers zoom amplifieroperation, then start secondary camera, and according to described main camera obtain first pre-
Look at image, and the second preview image that described secondary camera obtains generates synthesis preview image;
When detecting that user stops described zoom amplifieroperation, determine the first preview image described in corresponding synthesis preview image
Accounting numerical value with described second preview image;
The duty of the accounting Numerical Control dual camera according to described first preview image and described second preview image.
The zoom processing method of dual camera according to embodiments of the present invention, may also include following additional technical feature:
In one embodiment of the invention, in one embodiment of the invention, whether described detection user triggers zoom amplification
Operation, comprising:
The preview interface whether detection user obtains to described main camera is amplified touch control operation;Or,
Whether detection user triggers default amplification Zoom control button.
In one embodiment of the invention, the first preview image obtaining according to described main camera, and described secondary camera
The second preview image obtaining generates synthesis preview image, comprising:
Determine corresponding zoom magnifications according to described zoom amplifieroperation;
Determine the first pixel in described first preview image, and described second preview image according to described zoom magnifications
In the second pixel;
Described first pixel and described second pixel are carried out synthesis and processes generation synthesis preview image.
In one embodiment of the invention, described the first preview image and described the described in corresponding synthesis preview image is determined
The accounting numerical value of two preview images, comprising:
Calculate described first pixel and described second pixel and, obtain total pixel;
Calculate the ratio of described first pixel and described second pixel and described total pixel respectively, obtain synthesis preview image
Described in the accounting numerical value of the first preview image and described second preview image.
In one embodiment of the invention, the described accounting numerical value according to described first preview image and described second preview image
The duty of control dual camera, comprising:
If detection knows that the accounting numerical value of described first preview image more than the first threshold preset, then controls described secondary camera and treats
Machine, controls the work of described main camera;Or,
If detection knows that the accounting numerical value of described second preview image more than the Second Threshold preset, then controls described main camera and treats
Machine, controls described secondary camera work;Or,
If detection know the accounting numerical value of described first preview image less than the first threshold preset, and described second preview image
Accounting numerical value less than the Second Threshold preset, then maintains described main camera and described secondary camera to work simultaneously.
Second aspect present invention embodiment provides one, the zoom processing means of dual camera, comprising:
Detection module, is used for detecting that user starts main camera when opening camera, and detects whether user triggers zoom amplification behaviour
Make;
Synthesis module, for when described user triggers zoom amplifieroperation, starts secondary camera, and according to described main camera
The first preview image obtaining, and the second preview image generation synthesis preview image that described secondary camera obtains
Determining module, for when detecting that user stops described zoom amplifieroperation, determines institute in corresponding synthesis preview image
State the first preview image and the accounting numerical value of described second preview image;
Control module, for the accounting Numerical Control dual camera according to described first preview image and described second preview image
Duty.
The zoom processing means of dual camera according to embodiments of the present invention, may also include following additional technical feature:
In one embodiment of the invention, described detection module is used for:
The preview interface whether detection user obtains to described main camera is amplified touch control operation;Or,
Whether detection user triggers default amplification Zoom control button.
In one embodiment of the invention, described synthesis module is used for:
Determine corresponding zoom magnifications according to described zoom amplifieroperation;
Determine the first pixel in described first preview image, and described second preview image according to described zoom magnifications
In the second pixel;
Described first pixel and described second pixel are carried out synthesis and processes generation synthesis preview image.
In one embodiment of the invention, described determining module is used for:
Calculate described first pixel and described second pixel and, obtain total pixel;
Calculate the ratio of described first pixel and described second pixel and described total pixel respectively, obtain synthesis preview image
Described in the accounting numerical value of the first preview image and described second preview image.
In one embodiment of the invention, described control module is used for:
If detection knows that the accounting numerical value of described first preview image more than the first threshold preset, then controls described secondary camera and treats
Machine, controls the work of described main camera;Or,
If detection knows that the accounting numerical value of described second preview image more than the Second Threshold preset, then controls described main camera and treats
Machine, controls described secondary camera work;Or,
If detection know the accounting numerical value of described first preview image less than the first threshold preset, and described second preview image
Accounting numerical value less than the Second Threshold preset, then maintains described main camera and described secondary camera to work simultaneously.
Third aspect present invention embodiment provides a kind of mobile terminal, including double shootings of second aspect present invention any embodiment
The zoom processing means of head.
Fourth aspect present invention embodiment provides a kind of mobile terminal and includes:
Processor;
For storing the memory of processor executable;
Wherein, described processor is configured to:
Detect that user starts main camera when opening camera, and detect whether user triggers zoom amplifieroperation;
If described user triggers zoom amplifieroperation, then start secondary camera, and according to described main camera obtain first pre-
Look at image, and the second preview image that described secondary camera obtains generates synthesis preview image;
When detecting that user stops described zoom amplifieroperation, determine the first preview image described in corresponding synthesis preview image
Accounting numerical value with described second preview image;
The duty of the accounting Numerical Control dual camera according to described first preview image and described second preview image.
The zoom processing method of the dual camera of the embodiment of the present invention, device and mobile terminal, by detecting that user opens phase
Start main camera during machine, and start secondary camera when user triggers zoom amplifieroperation detecting, and two cameras are obtained
The image taking synthesizes preview image, when user stops zoom amplifieroperation, determines in corresponding synthesis preview image first pre-
Look at the accounting numerical value of image and the second preview image, and control the duty of dual camera, can be according to actual photographed demand modeling
The work of secondary camera, without the omnidistance work of two cameras, effectively reduces the power consumption in shooting process and resource occupation.
Additionally, can be according to the work becoming the accounting Numerical Control dual camera of the first preview image and the second preview image in synthesis preview image
Make state, power consumption can be reduced further according to being the work that zoom demand controls dual camera selectively.It is thus possible to
Ensure user focus experience and take pictures effect while, effectively promote available work duration and the operating efficiency of capture apparatus.
The additional aspect of the present invention and advantage will part be given in the following description, and part will become bright from the following description
Aobvious, or recognized by the practice of the present invention.
Brief description
Above-mentioned and/or the additional aspect of the present invention and advantage the description to embodiment for the accompanying drawings below will be apparent from from combining and
Easy to understand, wherein:
The flow chart of the zoom processing method for the dual camera according to one embodiment of the invention for the Fig. 1;
The structural representation of the zoom processing means for the dual camera according to one embodiment of the invention for the Fig. 2;
Fig. 3 is the block diagram of a kind of mobile terminal according to an exemplary embodiment.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, wherein identical from start to finish or
Similar label represents same or similar element or has the element of same or like function.Describe below with reference to accompanying drawing
Embodiment is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings zoom processing method, device and the mobile terminal of dual camera according to embodiments of the present invention are described.
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 embodiment of the present invention
Capture apparatus may include but be not limited to the mobile terminals such as mobile phone, panel computer, Intelligent wearable equipment, personal digital assistant.
The flow chart of the zoom processing method for the dual camera according to one embodiment of the invention for the Fig. 1.
As it is shown in figure 1, the zoom processing method of dual camera according to embodiments of the present invention, comprising:
S101, detects that user starts main camera when opening camera, and detects whether user triggers zoom amplifieroperation.
In one embodiment of the invention, detect whether user triggers zoom amplifieroperation, it may include:
The preview interface whether detection user obtains to described main camera is amplified touch control operation;Or,
Whether detection user triggers default amplification Zoom control button.
For example, when two finger reversible sliding action at image preview interface for the user being detected, or user couple is detected
During the button operation of volume amplifying key-press, it may be determined that detection user triggers zoom amplifieroperation.
S102, if described user triggers zoom amplifieroperation, then starts secondary camera, and according to the acquisition of described main camera
First preview image, and the second preview image generation synthesis preview image that described secondary camera obtains.
In an embodiment of the present invention, when detecting that user triggers zoom amplifieroperation, secondary camera can be started.In pair shooting
After head starts, main camera and pair camera can carry out IMAQ respectively and obtain the first preview image and second pre-to photographic subjects
Look at image.And then, the second preview image synthesis that the first preview image that can obtain main camera and secondary camera obtain, with
Generate synthesis preview image.
In one embodiment of the invention, the first preview image obtaining according to described main camera, and described secondary camera
The second preview image obtaining generates synthesis preview image, it may include: determine that corresponding zoom is put according to described zoom amplifieroperation
Big multiple;Determine the first pixel in described first preview image, and described second preview according to described zoom magnifications
The second pixel in image;Described first pixel and described second pixel are carried out synthesis and processes generation synthesis preview graph
Picture.
Specifically, can determine during generating synthesis preview image according to zoom magnifications, the first required preview image
In the first pixel and the ratio shared by the second pixel in the second preview image.Zoom magnifications is bigger, then generating
During synthesis preview image, the ratio shared by the second pixel in the second preview image is higher, and zoom magnifications is less,
Lower in the ratio shared by the second pixel generating during synthesis preview image in the second preview image.
In one embodiment of the invention, can determine that zoom magnifications is required with synthesis preview image according to default algorithm
The corresponding relation of the first pixel quantity and the second pixel quantity.
For example, if zoom magnifications is 1, then the pixel in the first preview image can be mainly used to generate synthesis pre-
Look at image;If multiplication factor is 8 times, then the pixel in the second preview image can be mainly used to generate synthesis preview image;
If multiplication factor is 3, then can choose the same pixel of quantity from the first preview image and the second preview image and synthesize,
To generate synthesis preview image.
In an embodiment of the present invention, it is being not detected by when user triggers zoom amplifieroperation only by main camera, detecting
When user triggers zoom amplifieroperation, just start secondary camera, carry out image synthesis and zoom work.If being not detected by using
Zoom amplifieroperation is triggered at family, then be not turned on secondary camera, and whole process only uses main camera to obtain preview image.Thus, only exist
Open secondary camera work when having zoom to need, rather than major and minor camera works always simultaneously, user's focusing can ensured
Experience and take pictures effect while, be greatly saved energy ezpenditure.
S103, when detecting that user stops described zoom amplifieroperation, determines described in corresponding synthesis preview image first pre-
Look at the accounting numerical value of image and described second preview image.
In an embodiment of the present invention, when user stops zoom amplification behaviour, or zoom amplifieroperation can stopped through presetting
After time, determine the accounting numerical value of the first preview image and described second preview image described in corresponding synthesis preview image.
Wherein, the accounting numerical value of the first preview image refers to the first picture in the first preview image using in synthesis preview image
The quantity of the vegetarian refreshments ratio total with pixel in synthesis preview image;The accounting numerical value of the second preview image refers in synthesis preview
The quantity of the second pixel in the second preview image using in the image ratio total with pixel in synthesis preview image.
In one embodiment of the invention, described the first preview image and described the described in corresponding synthesis preview image is determined
The accounting numerical value of two preview images, it may include: calculate described first pixel and described second pixel and, obtain total pixel
Point;Calculate the ratio of described first pixel and described second pixel and described total pixel respectively, obtain synthesis preview image
Described in the accounting numerical value of the first preview image and described second preview image.
S104, the work shape of the accounting Numerical Control dual camera according to described first preview image and described second preview image
State.
In one embodiment of the invention, the described accounting numerical value according to described first preview image and described second preview image
The duty of control dual camera, it may include:
If detection knows that the accounting numerical value of described first preview image more than the first threshold preset, then controls described secondary camera and treats
Machine, controls the work of described main camera;Or,
If detection knows that the accounting numerical value of described second preview image more than the Second Threshold preset, then controls described main camera and treats
Machine, controls described secondary camera work;Or,
If detection know the accounting numerical value of described first preview image less than the first threshold preset, and described second preview image
Accounting numerical value less than the Second Threshold preset, then maintains described main camera and described secondary camera to work simultaneously.
Wherein, first threshold and Second Threshold can be calculated previously according to experimental data.For example, first threshold can be
80%, Second Threshold can be 80%.Certainly, first threshold and Second Threshold also can be unequal.
For example, if the accounting numerical value of the first preview image is more than 80%, the accounting numerical value of i.e. secondary camera is less than 20%,
Then can control secondary camera standby, i.e. only main camera works;If the accounting numerical value of the second preview image is more than 80%, i.e. the
The accounting numerical value of one preview image is less than 20%, then can control main camera standby, i.e. only secondary camera work.If first is pre-
Look at image accounting numerical value less than preset first threshold, and the accounting numerical value of the second preview image less than preset Second Threshold,
Main camera and secondary camera then can be maintained to work simultaneously.
Thus, can be according to the needs of composograph, when in dual camera, camera disclosure satisfy that the demand of composograph,
Then can control another camera standby, when two cameras of needs obtain image and synthesize simultaneously, just control two and take the photograph
As head works simultaneously, can effectively save power consumption, the focusing strengthening user is experienced.
The zoom processing method of the dual camera of the embodiment of the present invention, by starting main shooting when user opens camera detecting
Head, and start secondary camera when user triggers zoom amplifieroperation detecting, and the image that two cameras obtain is synthesized
Preview image, when user stops zoom amplifieroperation, determines in corresponding synthesis preview image the first preview image and second pre-
Look at the accounting numerical value of image, and control the duty of dual camera, can according to the work of the secondary camera of actual photographed demand modeling,
Without the omnidistance work of two cameras, effectively reduce the power consumption in shooting process and resource occupation.Additionally, can close according to becoming
Become the duty of the accounting Numerical Control dual camera of the first preview image and the second preview image in preview image, can basis
It is the work that zoom demand controls dual camera selectively, reduce power consumption further.It is thus possible to ensureing that user focuses experience
With take pictures effect while, effectively promote available work duration and the operating efficiency of capture apparatus.
In order to realize above-described embodiment, the present invention also proposes the zoom processing means of a kind of dual camera.
The structural representation of the zoom processing means for the dual camera according to one embodiment of the invention for the Fig. 2.
As in figure 2 it is shown, the zoom processing means of dual camera according to embodiments of the present invention, comprising: the 10th, detection module closes
Become module the 20th, determining module 30 and control module 40.
Specifically, detection module 10 is used for detecting that user starts main camera when opening camera, and detects whether user triggers
Zoom amplifieroperation.
In one embodiment of the invention, detection module 10 can be used for: whether detection user obtains to described main camera
Preview interface is amplified touch control operation;Or, whether detection user triggers default amplification Zoom control button.
For example, when two finger reversible sliding action at image preview interface for the user being detected, or user couple is detected
During the button operation of volume amplifying key-press, detection module 10 can determine that detection user triggers zoom amplifieroperation.
Synthesis module 20, for when described user triggers zoom amplifieroperation, starts secondary camera, and according to described main shooting
The first preview image that head obtains, and the second preview image generation synthesis preview image that described secondary camera obtains.
In an embodiment of the present invention, synthesis module 20 is when detecting that user triggers zoom amplifieroperation, can start secondary shooting
Head.After secondary camera starts, main camera can carry out IMAQ to photographic subjects respectively with secondary camera and obtain the first preview
Image and the second preview image.And then, the first preview image that main camera can be obtained by synthesis module 20 and secondary camera obtain
The the second preview image synthesis taking, to generate synthesis preview image.
In one embodiment of the invention, synthesis module 20 can be used for: determines corresponding change according to described zoom amplifieroperation
Burnt multiplication factor;Determine the first pixel in described first preview image, and described second according to described zoom magnifications
The second pixel in preview image;Described first pixel and described second pixel are carried out synthesis and processes generation synthesis preview
Image.
Specifically, synthesis module 20 can determine during generating synthesis preview image according to zoom magnifications, required
The first pixel in first preview image and the ratio shared by the second pixel in the second preview image.Zoom magnifications is got over
Greatly, then, during generating synthesis preview image, the ratio shared by the second pixel in the second preview image is higher, zoom
Multiplication factor is less, gets in the ratio shared by the second pixel generating during synthesis preview image in the second preview image
Low.
In one embodiment of the invention, can determine that zoom magnifications is required with synthesis preview image according to default algorithm
The corresponding relation of the first pixel quantity and the second pixel quantity.
For example, if zoom magnifications is 1, then the pixel in the first preview image can be only used to generate synthesis preview
Image;If multiplication factor is 8 times, then the pixel in the second preview image can be only used to generate synthesis preview image;If
Multiplication factor is 3, then can choose the same pixel of quantity from the first preview image and the second preview image and synthesize, with
Generate synthesis preview image.
In an embodiment of the present invention, it is being not detected by when user triggers zoom amplifieroperation only by main camera, detecting
When user triggers zoom amplifieroperation, just start secondary camera, carry out image synthesis and zoom work.If being not detected by using
Zoom amplifieroperation is triggered at family, then be not turned on secondary camera, and whole process only uses main camera to obtain preview image.Thus, only exist
Open secondary camera work when having zoom to need, rather than major and minor camera works always simultaneously, user's focusing can ensured
Experience and take pictures effect while, be greatly saved energy ezpenditure.
Determining module 30, for when detecting that user stops described zoom amplifieroperation, determines in corresponding synthesis preview image
Described first preview image and the accounting numerical value of described second preview image.
In an embodiment of the present invention, determining module 30 when user stops zoom amplification behaviour, or can be amplified stopping zoom
Operation, after Preset Time, determines the first preview image and described second preview image described in corresponding synthesis preview image
Accounting numerical value.
Wherein, the accounting numerical value of the first preview image refers to the first picture in the first preview image using in synthesis preview image
The quantity of the vegetarian refreshments ratio total with pixel in synthesis preview image;The accounting numerical value of the second preview image refers in synthesis preview
The quantity of the second pixel in the second preview image using in the image ratio total with pixel in synthesis preview image.
In one embodiment of the invention, determining module 30 can be used for: calculates described first pixel and described second pixel
The sum of point, obtains total pixel;Calculate the ratio of described first pixel and described second pixel and described total pixel respectively,
Obtain the accounting numerical value of the first preview image and described second preview image described in synthesis preview image.
Control module 40 is for the accounting Numerical Control dual camera according to described first preview image and described second preview image
Duty.
In one embodiment of the invention, control module 40 can be used for:
If detection knows that the accounting numerical value of described first preview image more than the first threshold preset, then controls described secondary camera and treats
Machine, controls the work of described main camera;Or,
If detection knows that the accounting numerical value of described second preview image more than the Second Threshold preset, then controls described main camera and treats
Machine, controls described secondary camera work;Or,
If detection know the accounting numerical value of described first preview image less than the first threshold preset, and described second preview image
Accounting numerical value less than the Second Threshold preset, then maintains described main camera and described secondary camera to work simultaneously.
Wherein, first threshold and Second Threshold can be calculated previously according to experimental data.For example, first threshold can be
80%, Second Threshold can be 80%.Certainly, first threshold and Second Threshold also can be unequal.
For example, if the accounting numerical value of the first preview image is more than 80%, the accounting numerical value of i.e. secondary camera is less than 20%,
Then can control secondary camera standby, i.e. only main camera works;If the accounting numerical value of the second preview image is more than 80%, i.e. the
The accounting numerical value of one preview image is less than 20%, then can control main camera standby, i.e. only secondary camera work.If first is pre-
Look at image accounting numerical value less than preset first threshold, and the accounting numerical value of the second preview image less than preset Second Threshold,
Main camera and secondary camera then can be maintained to work simultaneously.
Thus, can be according to the needs of composograph, when in dual camera, camera disclosure satisfy that the demand of composograph,
Then can control another camera standby, when two cameras of needs obtain image and synthesize simultaneously, just control two and take the photograph
As head works simultaneously, can effectively save power consumption, the focusing strengthening user is experienced.
The zoom processing means of the dual camera of the embodiment of the present invention, by starting main shooting when user opens camera detecting
Head, and start secondary camera when user triggers zoom amplifieroperation detecting, and the image that two cameras obtain is synthesized
Preview image, when user stops zoom amplifieroperation, determines in corresponding synthesis preview image the first preview image and second pre-
Look at the accounting numerical value of image, and control the duty of dual camera, can according to the work of the secondary camera of actual photographed demand modeling,
Without the omnidistance work of two cameras, effectively reduce the power consumption in shooting process and resource occupation.Additionally, can close according to becoming
Become the duty of the accounting Numerical Control dual camera of the first preview image and the second preview image in preview image, can basis
It is the work that zoom demand controls dual camera selectively, reduce power consumption further.It is thus possible to ensureing that user focuses experience
With take pictures effect while, effectively promote available work duration and the operating efficiency of capture apparatus.
The present invention also proposes a kind of mobile terminal.
Mobile terminal according to embodiments of the present invention, including any embodiment of the present invention the zoom processing means of dual camera,
By starting main camera when user opens camera detecting, and detecting that starting pair when user triggers zoom amplifieroperation takes the photograph
As head, and the image that two cameras obtain is synthesized preview image, when user stops zoom amplifieroperation, determine correspondence
Synthesis preview image in the accounting numerical value of the first preview image and the second preview image, and control the duty of dual camera,
Without the omnidistance work of two cameras according to the work of the secondary camera of actual photographed demand modeling, can effectively reduce and shot
Power consumption in journey and resource occupation.Additionally, can be according to becoming accounting for of the first preview image and the second preview image in synthesis preview image
The ratio duty of Numerical Control dual camera, can enter one according to being the work that zoom demand controls dual camera selectively
Step reduces power consumption.It is thus possible to ensure user focus experience and take pictures effect while, effectively promote capture apparatus can recruitment
Make duration and operating efficiency.
The present invention also proposes another kind of mobile terminal.
Mobile terminal according to embodiments of the present invention, comprising: processor;For storing the memory of processor executable;
Wherein, described processor is configured to:
Mobile terminal according to embodiments of the present invention, by starting main camera detecting, and in detection when user opens camera
Start secondary camera when triggering zoom amplifieroperation to user, and the image that two cameras obtain is synthesized preview image,
When user stops zoom amplifieroperation, determine the accounting of the first preview image and the second preview image in corresponding synthesis preview image
Numerical value, and control the duty of dual camera, can be according to the work of the secondary camera of actual photographed demand modeling, without two
The omnidistance work of camera, effectively reduces the power consumption in shooting process and resource occupation.Additionally, preview image can be synthesized according to becoming
In the duty of accounting Numerical Control dual camera of the first preview image and the second preview image, can be according to being zoom demand
Control the work of dual camera selectively, reduce power consumption further.It is thus possible to experience and effect of taking pictures ensureing that user focuses
While, effectively promote available work duration and the operating efficiency of capture apparatus.
Fig. 3 is the block diagram of a kind of mobile terminal 300 according to an exemplary embodiment.For example, device 300 can be to move
Mobile phone, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, individual
Personal digital assistant etc..
With reference to Fig. 3, device 300 can include following one or more assembly: processes assembly 302, memory 304, power supply
Assembly 306, multimedia groupware 308, audio-frequency assembly 310, the interface 312 of input/output (I/O), sensor cluster 314,
And communications component 316.
Process assembly 302 and generally control the integrated operation of device 300, such as with display, call, data communication, camera
The operation that operation and record operation are associated.Process assembly 302 and can include that one or more processor 320 performs instruction,
To complete all or part of step of above-mentioned method.Additionally, process assembly 302 can include one or more module, it is simple to
Process between assembly 302 and other assemblies is mutual.For example, process assembly 302 and can include multi-media module, many to facilitate
Media component 308 and process between assembly 302 mutual.
Memory 304 is configured to store various types of data to support the operation at equipment 300.The example bag of these data
Include the instruction of any application program for operating on the device 300 or method, contact data, telephone book data, message,
Picture, video etc..Memory 304 can be real by any kind of volatibility or non-volatile memory device or combinations thereof
Existing, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory,
Flash memory, disk or CD.
The various assembly that power supply module 306 is device 300 provides electric power.Power supply module 306 can include power-supply management system,
One or more power supplys, and other generate, manage and distribute, with for device 300, the assembly that electric power is associated.
Multimedia groupware 308 includes the screen of one output interface of offer between described device 300 and user.Real at some
Executing in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensor
Touch with sensing, slide and the gesture on touch panel.Described touch sensor can not only sense the limit of touch or sliding action
Boundary, but also the duration that detection touches to described or slide is related and pressure.In certain embodiments, multimedia group
Part 308 includes a front-facing camera and/or post-positioned pick-up head.When equipment 300 is in operator scheme, such as screening-mode or regard
Frequently, during pattern, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and after
Put camera can be a fixing optical lens system or there is focal length and optical zoom ability.
Audio-frequency assembly 310 is configured to output and/or input audio signal.For example, audio-frequency assembly 310 includes a microphone
(MIC), when device 300 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The audio signal being received can be further stored at memory 304 or via communication set
Part 316 sends.In certain embodiments, audio-frequency assembly 310 also includes a loudspeaker, is used for exporting audio signal.
I/O interface 312 provides interface for processing between assembly 302 and peripheral interface module, above-mentioned peripheral interface module can be
Keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and locking
Button.
Sensor cluster 314 includes one or more sensor, for providing the state estimation of various aspects for device 300.Example
Open/closed mode such as what, sensor cluster 314 can detect equipment 300, the relative positioning of assembly, for example described group
Part is display and the keypad of device 300, and sensor cluster 314 can also detect device 300 or 300 1 assemblies of device
Position change, user is presence or absence of with what device 300 contacted, device 300 orientation or acceleration/deceleration and device 300
Temperature change.Sensor cluster 314 can include proximity transducer, is configured to examine when not having any physical contact
The existence of object near surveying.Sensor cluster 314 can also include optical sensor, such as CMOS or ccd image sensor,
For using in imaging applications.In certain embodiments, this sensor cluster 314 can also include acceleration transducer, top
Spiral shell instrument sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 316 is configured to facilitate the communication of wired or wireless mode between device 300 and other equipment.Device 300
The wireless network based on communication standard can be accessed, such as WiFi, 2G or 3G, or combinations thereof.An exemplary reality
Executing in example, communications component 316 receives the broadcast singal from external broadcasting management system or the related letter of broadcast via broadcast channel
Breath.In one exemplary embodiment, described communications component 316 also includes near-field communication (NFC) module, to promote short distance
Communication.For example, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology is super
Broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 300 can be by one or more application specific integrated circuits (ASIC), data signal
Processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realize, are used for performing said method.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium including instruction, for example, include
The memory 304 of instruction, above-mentioned instruction can be performed by the processor 320 of device 300 to complete said method.For example, described
Non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape,
Floppy disk and optical data storage devices etc..
Those skilled in the art, after considering specification and putting into practice invention disclosed herein, will readily occur to other enforcements of the present invention
Scheme.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or adaptation
Property change follow the general principle of the present invention and include the undocumented common knowledge in the art of the disclosure or usual skill
Art means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are referred to by claim below
Go out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and permissible
Carrying out various modifications and changes without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (12)
1. the zoom processing method of a dual camera, it is characterised in that comprise the following steps:
Detect that user starts main camera when opening camera, and detect whether user triggers zoom amplifieroperation;
If described user triggers zoom amplifieroperation, then start secondary camera, and according to described main camera obtain first pre-
Look at image, and the second preview image that described secondary camera obtains generates synthesis preview image;
When detecting that user stops described zoom amplifieroperation, determine the first preview image described in corresponding synthesis preview image
Accounting numerical value with described second preview image;
The duty of the accounting Numerical Control dual camera according to described first preview image and described second preview image.
2. the method for claim 1, it is characterised in that whether described detection user triggers zoom amplifieroperation, bag
Include:
The preview interface whether detection user obtains to described main camera is amplified touch control operation;Or,
Whether detection user triggers default amplification Zoom control button.
3. the method for claim 1, it is characterised in that the first preview image obtaining according to described main camera,
And the second preview image that described secondary camera obtains generates synthesis preview image, comprising:
Determine corresponding zoom magnifications according to described zoom amplifieroperation;
Determine the first pixel in described first preview image, and described second preview image according to described zoom magnifications
In the second pixel;
Described first pixel and described second pixel are carried out synthesis and processes generation synthesis preview image.
4. method as claimed in claim 3, it is characterised in that described in described determination corresponding synthesis preview image first
Preview image and the accounting numerical value of described second preview image, comprising:
Calculate described first pixel and described second pixel and, obtain total pixel;
Calculate the ratio of described first pixel and described second pixel and described total pixel respectively, obtain synthesis preview image
Described in the accounting numerical value of the first preview image and described second preview image.
5. the method as described in claim 1-4 is arbitrary, it is characterised in that described according to described first preview image with described
The duty of the accounting Numerical Control dual camera of the second preview image, comprising:
If detection knows that the accounting numerical value of described first preview image more than the first threshold preset, then controls described secondary camera and treats
Machine, controls the work of described main camera;Or,
If detection knows that the accounting numerical value of described second preview image more than the Second Threshold preset, then controls described main camera and treats
Machine, controls described secondary camera work;Or,
If detection know the accounting numerical value of described first preview image less than the first threshold preset, and described second preview image
Accounting numerical value less than the Second Threshold preset, then maintains described main camera and described secondary camera to work simultaneously.
6. the zoom processing means of a dual camera, it is characterised in that include:
Detection module, is used for detecting that user starts main camera when opening camera, and detects whether user triggers zoom amplification behaviour
Make;
Synthesis module, for when described user triggers zoom amplifieroperation, starts secondary camera, and according to described main camera
The first preview image obtaining, and the second preview image generation synthesis preview image that described secondary camera obtains
Determining module, for when detecting that user stops described zoom amplifieroperation, determines institute in corresponding synthesis preview image
State the first preview image and the accounting numerical value of described second preview image;
Control module, for the accounting Numerical Control dual camera according to described first preview image and described second preview image
Duty.
7. device as claimed in claim 6, it is characterised in that described detection module is used for:
The preview interface whether detection user obtains to described main camera is amplified touch control operation;Or,
Whether detection user triggers default amplification Zoom control button.
8. device as claimed in claim 6, it is characterised in that described synthesis module is used for:
Determine corresponding zoom magnifications according to described zoom amplifieroperation;
Determine the first pixel in described first preview image, and described second preview image according to described zoom magnifications
In the second pixel;
Described first pixel and described second pixel are carried out synthesis and processes generation synthesis preview image.
9. device as claimed in claim 8, it is characterised in that described determining module is used for:
Calculate described first pixel and described second pixel and, obtain total pixel;
Calculate the ratio of described first pixel and described second pixel and described total pixel respectively, obtain synthesis preview image
Described in the accounting numerical value of the first preview image and described second preview image.
10. the device as described in claim 6-9 is arbitrary, it is characterised in that described control module is used for:
If detection knows that the accounting numerical value of described first preview image more than the first threshold preset, then controls described secondary camera and treats
Machine, controls the work of described main camera;Or,
If detection knows that the accounting numerical value of described second preview image more than the Second Threshold preset, then controls described main camera and treats
Machine, controls described secondary camera work;Or,
If detection know the accounting numerical value of described first preview image less than the first threshold preset, and described second preview image
Accounting numerical value less than the Second Threshold preset, then maintains described main camera and described secondary camera to work simultaneously.
11. 1 kinds of mobile terminals, it is characterised in that include the zoom of dual camera as described in any one of claim 6-10
Processing means.
12. 1 kinds of mobile terminals, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, described processor is configured to:
Detect that user starts main camera when opening camera, and detect whether user triggers zoom amplifieroperation;
If described user triggers zoom amplifieroperation, then start secondary camera, and according to described main camera obtain first pre-
Look at image, and the second preview image that described secondary camera obtains generates synthesis preview image;
When detecting that user stops described zoom amplifieroperation, determine the first preview image described in corresponding synthesis preview image
Accounting numerical value with described second preview image;
The duty of the accounting Numerical Control dual camera according to described first preview image and described second preview image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610573049.5A CN105991930B (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 |
---|---|---|---|
CN201610573049.5A CN105991930B (en) | 2016-07-19 | 2016-07-19 | Zoom processing method, device and the mobile terminal of dual camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105991930A true CN105991930A (en) | 2016-10-05 |
CN105991930B CN105991930B (en) | 2019-04-19 |
Family
ID=57044685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610573049.5A Active CN105991930B (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) | CN105991930B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454121A (en) * | 2016-11-11 | 2017-02-22 | 努比亚技术有限公司 | Double-camera shooting method and device |
CN106454132A (en) * | 2016-11-29 | 2017-02-22 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106713716A (en) * | 2017-01-23 | 2017-05-24 | 努比亚技术有限公司 | Double cameras shooting control method and device |
CN106791376A (en) * | 2016-11-29 | 2017-05-31 | 广东欧珀移动通信有限公司 | Imaging device, control method, control device and electronic installation |
CN106791377A (en) * | 2016-11-29 | 2017-05-31 | 广东欧珀移动通信有限公司 | Control method, control device and electronic installation |
CN107277359A (en) * | 2017-07-13 | 2017-10-20 | 深圳市魔眼科技有限公司 | Method, device, mobile terminal and the storage medium of adaptive zoom in 3D scannings |
CN107360357A (en) * | 2017-09-05 | 2017-11-17 | 信利光电股份有限公司 | A kind of camera module |
CN107395988A (en) * | 2017-08-31 | 2017-11-24 | 华勤通讯技术有限公司 | The control method and system of the camera of mobile terminal |
CN107592467A (en) * | 2017-10-20 | 2018-01-16 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
WO2018113055A1 (en) * | 2016-12-24 | 2018-06-28 | 华为技术有限公司 | Camera control method and terminal |
CN108632536A (en) * | 2018-07-31 | 2018-10-09 | Oppo广东移动通信有限公司 | A kind of camera control method and device, terminal, storage medium |
CN108881711A (en) * | 2017-05-12 | 2018-11-23 | 联发科技股份有限公司 | Realize that the power in multisensor camera device reduces by on-demand sensor activation |
WO2019071442A1 (en) * | 2017-10-10 | 2019-04-18 | 深圳传音通讯有限公司 | Zoom control method and device, and photographing terminal |
CN110730310A (en) * | 2019-10-18 | 2020-01-24 | 青岛海信移动通信技术股份有限公司 | Camera exposure control method and terminal |
CN112333380A (en) * | 2019-06-24 | 2021-02-05 | 华为技术有限公司 | Shooting method and equipment |
CN112905088A (en) * | 2021-02-07 | 2021-06-04 | 北京蜂巢世纪科技有限公司 | Video shooting control method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080030592A1 (en) * | 2006-08-01 | 2008-02-07 | Eastman Kodak Company | Producing digital image with different resolution portions |
JP2011211552A (en) * | 2010-03-30 | 2011-10-20 | Fujifilm Corp | Imaging device and method, and program |
CN102356630A (en) * | 2009-03-19 | 2012-02-15 | 弗莱克斯电子有限责任公司 | Dual sensor camera |
CN104410785A (en) * | 2014-11-17 | 2015-03-11 | 联想(北京)有限公司 | An information processing method and electronic device |
-
2016
- 2016-07-19 CN CN201610573049.5A patent/CN105991930B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080030592A1 (en) * | 2006-08-01 | 2008-02-07 | Eastman Kodak Company | Producing digital image with different resolution portions |
CN102356630A (en) * | 2009-03-19 | 2012-02-15 | 弗莱克斯电子有限责任公司 | Dual sensor camera |
JP2011211552A (en) * | 2010-03-30 | 2011-10-20 | Fujifilm Corp | Imaging device and method, and program |
CN104410785A (en) * | 2014-11-17 | 2015-03-11 | 联想(北京)有限公司 | An information processing method and electronic device |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454121B (en) * | 2016-11-11 | 2020-02-07 | 努比亚技术有限公司 | Double-camera shooting method and device |
CN106454121A (en) * | 2016-11-11 | 2017-02-22 | 努比亚技术有限公司 | Double-camera shooting method and device |
CN106454132A (en) * | 2016-11-29 | 2017-02-22 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
US10412298B2 (en) | 2016-11-29 | 2019-09-10 | Guangdong Oppo Mobile Telecommunications Corp, Ltd. | Control method, control device and electronic device |
CN106791376A (en) * | 2016-11-29 | 2017-05-31 | 广东欧珀移动通信有限公司 | Imaging device, control method, control device and electronic installation |
CN106791377A (en) * | 2016-11-29 | 2017-05-31 | 广东欧珀移动通信有限公司 | Control method, control device and electronic installation |
CN106791377B (en) * | 2016-11-29 | 2019-09-27 | Oppo广东移动通信有限公司 | Control method, control device and electronic device |
CN106791376B (en) * | 2016-11-29 | 2019-09-13 | Oppo广东移动通信有限公司 | Imaging device, control method, control device and electronic device |
WO2018113055A1 (en) * | 2016-12-24 | 2018-06-28 | 华为技术有限公司 | Camera control method and terminal |
CN106713716A (en) * | 2017-01-23 | 2017-05-24 | 努比亚技术有限公司 | Double cameras shooting control method and device |
CN108881711A (en) * | 2017-05-12 | 2018-11-23 | 联发科技股份有限公司 | Realize that the power in multisensor camera device reduces by on-demand sensor activation |
CN107277359A (en) * | 2017-07-13 | 2017-10-20 | 深圳市魔眼科技有限公司 | Method, device, mobile terminal and the storage medium of adaptive zoom in 3D scannings |
CN107395988A (en) * | 2017-08-31 | 2017-11-24 | 华勤通讯技术有限公司 | The control method and system of the camera of mobile terminal |
CN107360357A (en) * | 2017-09-05 | 2017-11-17 | 信利光电股份有限公司 | A kind of camera module |
WO2019071442A1 (en) * | 2017-10-10 | 2019-04-18 | 深圳传音通讯有限公司 | Zoom control method and device, and photographing terminal |
CN107592467A (en) * | 2017-10-20 | 2018-01-16 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
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 |
CN112333380A (en) * | 2019-06-24 | 2021-02-05 | 华为技术有限公司 | Shooting method and equipment |
CN112333380B (en) * | 2019-06-24 | 2021-10-15 | 华为技术有限公司 | Shooting method and equipment |
US11375120B2 (en) | 2019-06-24 | 2022-06-28 | Huawei Technologies Co., Ltd. | Method and device for assisting capturing of an image |
CN110730310A (en) * | 2019-10-18 | 2020-01-24 | 青岛海信移动通信技术股份有限公司 | Camera exposure control method and terminal |
CN112905088A (en) * | 2021-02-07 | 2021-06-04 | 北京蜂巢世纪科技有限公司 | Video shooting control method and device |
CN112905088B (en) * | 2021-02-07 | 2022-11-04 | 北京蜂巢世纪科技有限公司 | Video shooting control method and device |
US11539878B2 (en) | 2021-02-07 | 2022-12-27 | Beijing SuperHexa Century Technology CO. Ltd. | Method and apparatus for controlling video recording |
Also Published As
Publication number | Publication date |
---|---|
CN105991930B (en) | 2019-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105991930A (en) | Zoom processing method and device for dual cameras and mobile terminal | |
CN106572299B (en) | Camera opening method and device | |
CN105491642B (en) | The method and apparatus of network connection | |
JP6267363B2 (en) | Method and apparatus for taking images | |
CN106131416B (en) | Zoom processing method, device and the mobile terminal of dual camera | |
CN104683691B (en) | Image pickup method, device and equipment | |
CN108419016A (en) | Image pickup method, device and terminal | |
CN104243819A (en) | Photo acquiring method and device | |
CN107155060A (en) | Image processing method and device | |
JP6391708B2 (en) | Method and apparatus for acquiring iris image, and iris identification device | |
CN104869314A (en) | Photographing method and device | |
CN106254765B (en) | Zoom processing method, device and the terminal device of dual camera | |
CN106303192B (en) | Terminal control method and terminal | |
CN104700353A (en) | Image filter generating method and device | |
CN104460185A (en) | Automatic focusing method and device | |
CN105426485A (en) | Image combination method and device, intelligent terminal and server | |
CN106210495A (en) | Image capturing method and device | |
CN106033397A (en) | Method and device for adjusting memory buffer, and terminal | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN104850487A (en) | Information display method and device | |
CN105635614A (en) | Recording and photographing method, device and terminal electronic equipment | |
CN104469159A (en) | Shooting parameter adjusting method and device | |
CN104216525A (en) | Method and device for mode control of camera application | |
CN104980662A (en) | Method for adjusting imaging style in shooting process, device thereof and imaging device | |
CN107493421A (en) | Camera module, electronic equipment, camera module control method and device |
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 |