CN110430375A - Imaging method, device, storage medium and electronic equipment - Google Patents
Imaging method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110430375A CN110430375A CN201910668006.9A CN201910668006A CN110430375A CN 110430375 A CN110430375 A CN 110430375A CN 201910668006 A CN201910668006 A CN 201910668006A CN 110430375 A CN110430375 A CN 110430375A
- Authority
- CN
- China
- Prior art keywords
- camera module
- image
- electronic equipment
- shooting
- parameter
- 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
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- 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/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- 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/80—Camera processing pipelines; Components thereof
-
- 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/90—Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Abstract
This application discloses a kind of imaging method, device, storage medium and electronic equipments.This method is applied to electronic equipment, the electronic equipment includes the first camera module, the second camera module and multiple focal length camera modules, respectively the shooting area of the focal length camera module and the shooting area of first camera module are there are Chong Die, this method comprises: receiving the image taking request for treating reference object;The camera module for shooting substrate image is chosen from first camera module and second camera module, and is shot and obtained substrate image;The camera module for being used for photographic subjects image is chosen from multiple focal length camera module, and is shot and obtained at least one target image;Image is carried out at least one target image to the substrate image and synthesizes processing, and is requested using image response image taking that synthesis obtains.Image image quality can be improved in the application.
Description
Technical field
The application belongs to image technique field more particularly to a kind of imaging method, device, storage medium and electronic equipment.
Background technique
Currently, user usually shoots image using the electronic equipment with camera module, these electronic equipments can be passed through
The thing occurred at one's side, the scenery seen etc. are recorded anywhere or anytime.However, being made due to the hardware deficiency of camera module itself
The image of its shooting often intermediate region is than more visible, and fringe region then Relative Fuzzy, cause whole image at image quality
It measures poor.
Summary of the invention
The embodiment of the present application provides a kind of imaging method, device, storage medium and electronic equipment, and image imaging can be improved
Quality.
The embodiment of the present application provides a kind of imaging method, is applied to electronic equipment, and the electronic equipment includes the first camera shooting
Mould group, the second camera module and multiple focal length camera modules, the shooting area and described first of each focal length camera module
There is overlapping in the shooting area of camera module, the imaging method includes:
Receive the image taking request for treating reference object;
The camera module for shooting substrate image is chosen from first camera module and second camera module,
And it shoots and obtains substrate image;
The camera module for being used for photographic subjects image is chosen from the multiple focal length camera module, and is shot and obtained at least
One target image;
Image is carried out at least one described target image to the substrate image and synthesizes processing, and obtained using synthesis
The shooting request of image response described image.
The embodiment of the present application provides a kind of imaging device, is applied to electronic equipment, and the electronic equipment includes the first camera shooting
Mould group, the second camera module and multiple focal length camera modules, the shooting area and described first of each focal length camera module
There is overlapping in the shooting area of camera module, the imaging device includes:
Receiving module, for receiving the image taking request for treating reference object;
First chooses module, for choosing from first camera module and second camera module for shooting base
The camera module of base map picture, and shoot and obtain substrate image;
Second chooses module, for choosing the camera shooting mould for being used for photographic subjects image from the multiple focal length camera module
Group, and shoot and obtain at least one target image;
Synthesis module synthesizes processing for carrying out image at least one described target image to the substrate image, and
The image response described image shooting request obtained using synthesis.
The embodiment of the present application provides a kind of storage medium, is stored thereon with computer program, when the computer program exists
When being executed on computer, so that the computer executes imaging method provided by the embodiments of the present application.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, for executing imaging method provided by the embodiments of the present application.
Imaging method, device, storage medium and electronic equipment provided by the present application, by substrate image and multiple target images
The clarity for synthesizing obtained its central area of image and fringe region is all higher, so that the overall image quality of composograph obtains
To improve.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made
And its advantages are apparent.
Fig. 1 is the flow diagram of imaging method provided by the embodiments of the present application.
Fig. 2 is the first camera module, the second camera module and multiple focal length camera module provided by the embodiments of the present application
Schematic diagram.
Fig. 3 is the signal of the shooting area of the first camera module provided by the embodiments of the present application and multiple focal length camera modules
Figure.
Fig. 4 is the schematic diagram of a scenario that electronic equipment provided by the embodiments of the present application receives image taking request.
Fig. 5 is the schematic diagram of the relative positional relationship of substrate image provided by the embodiments of the present application and multiple target images.
Fig. 6 is the schematic diagram of composograph provided by the embodiments of the present application.
Fig. 7 is second of flow diagram of imaging method provided by the embodiments of the present application.
Fig. 8 is the third flow diagram of imaging method provided by the embodiments of the present application.
Fig. 9 is the structure of the first camera module provided by the embodiments of the present application and focal length camera module common image sensor
Schematic diagram.
Figure 10 is the structural schematic diagram of imaging device provided by the embodiments of the present application.
Figure 11 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 12 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Diagram is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
It is understood that the executing subject of the embodiment of the present application can be the electricity of smart phone or tablet computer etc.
Sub- equipment.
Referring to Fig. 1, Fig. 1 is the first flow diagram of imaging method provided by the embodiments of the present application.The imaging side
Method can be applied to electronic equipment, which may include that the first camera module, the second camera module and multiple focal length are taken the photograph
As mould group, there are Chong Die with the shooting area of the first camera module for the shooting area of each focal length camera module.
By taking electronic equipment has 4 focal length camera modules as an example.In the embodiment of the present application, electronic equipment is taken the photograph including first
As mould group, the second camera module and 4 focal length camera modules.Wherein, the shooting area of each focal length camera module and the first camera shooting
There is overlapping in the shooting area of mould group.
Fig. 2 and Fig. 3 are please referred to, the first camera module and the second camera module can be the camera module of type, or
Person says that field angle is 45 degree or so of camera module.The field angle of focal length camera module can be within 40 degree.Electronic equipment packet
Four focal length camera modules are included, respectively focal length camera module A, focal length camera module B, focal length camera module C and focal length are taken the photograph
As mould group D.The axis of the axis of each focal length camera module towards the first camera module tilts and intersects, so that focal length camera module
The upper left corner of the shooting area of corresponding first camera module of the shooting area a of A, the shooting area b of focal length camera module B corresponding the
The upper right corner of the shooting area of one camera module, the shooting area of corresponding first camera module of the shooting area c of focal length camera module C
The lower left corner in domain, the lower right corner of the shooting area of corresponding first camera module of the shooting area d of focal length camera module D.It grows as a result,
The shooting area of burnt camera module is Chong Die with the marginal portion of the shooting area of the first camera module, and any two focal length images
Overlapping shooting area (i.e. overlapping region between two focal length camera module shooting areas) and the first camera shooting mould between mould group
The middle section overlapping of the shooting area of group.
The process of the imaging method may include:
101, the image taking request for treating reference object is received.
Currently, user usually shoots image using the electronic equipment with camera module, these electronic equipments can be passed through
The thing occurred at one's side, the scenery seen etc. are recorded anywhere or anytime.However, being made due to the hardware deficiency of camera module itself
The image of its shooting often intermediate region is than more visible, and fringe region then Relative Fuzzy, cause whole image at image quality
It measures poor.
In the embodiment of the present application, for example, electronic equipment can first receive the image taking request for treating reference object.
For example, image taking request can be directly inputted by user, it is used to indicate electronic equipment and treats reference object and clapped
It takes the photograph.Wherein, object, that is, electronic equipment to be captured is in the image taking request for receiving input, pair that camera module is aligned
As including but not limited to people, object and scape etc..
For example, user shoots class application (for example the system of electronic equipment applies " camera ") in operation electronic equipment starting,
And click " phase can be passed through so that the camera module of electronic equipment is aligned after object to be captured by mobile electronic device
" taking pictures " key (can be virtual key) provided on machine " interface shoots to electronic equipment input picture and requests, such as Fig. 4 institute
Show.
For another example, user is in operation electronic equipment starting shooting class application, and passes through mobile electronic device, so that electronics is set
Standby camera module is aligned after object to be captured, which can issue phonetic order " taking pictures " to electronic equipment, thus to
The shooting request of electronic equipment input picture.In addition, electronic equipment can also be by instruction types such as gestures to electronic equipment
Image taking request is issued, the present embodiment does not limit this.
102, it chooses from the first camera module and the second camera module for shooting the camera module of substrate image, and claps
It takes the photograph to obtain substrate image.
For example, electronic equipment can be from the first camera module and the second camera module after receiving image taking request
The middle camera module chosen for shooting substrate image, and using select come camera module shoot to obtain substrate image.
For example, the first camera module is determined as being used to shoot the camera module of substrate image by electronic equipment, then electronics
Equipment can use first camera module and shoot to obtain substrate image.Alternatively, electronic equipment is by the first camera module and second
Camera module is determined as the camera module for shooting substrate image, then electronic equipment can use first camera module and
Second camera module shoots to obtain substrate image.
103, the camera module for being used for photographic subjects image is chosen from multiple focal length camera modules, and is shot and obtained at least
One target image.
For example, electronic equipment can be (such as 4 long from multiple focal length camera modules after receiving image taking request
Burnt camera module) in choose be used for photographic subjects image camera module, and using select come camera module shoot to obtain
At least one target image.
For example, 4 focal length camera modules are determined as being used for the camera module of photographic subjects image by electronic equipment, then
Each focal length camera module shoots a target image respectively, i.e. electronic equipment can shoot to obtain 4 target images.Alternatively, electric
Sub- equipment is determined as 1 focal length camera module in 4 focal length camera modules to be used for the camera module of photographic subjects image, that
Electronic equipment can shoot to obtain 1 target image.
It should be noted that by multiple focal length camera modules, the first camera module, the second camera module to be captured
When object is shot, focal length camera module and the first camera module, the second camera module (for example are compared using identical parameter
Degree, brightness, time for exposure etc.) it is shot.The shooting area of focal length camera module is the shooting of the first camera module as a result,
The part in region, the image effect that the two is shot are identical.
For example, electronic equipment include four focal length camera modules, respectively focal length camera module A, focal length camera module B,
Focal length camera module C and focal length camera module D, and the shooting area of this four focal length camera modules respectively corresponds the first camera shooting
The upper left corner, the upper right corner, the lower left corner and the lower right corner of mould group shooting area are obtained shooting by this four focal length camera modules
Four images, as shown in figure 5, the picture material of the image P1 of such as focal length camera module A shooting corresponds to the substrate image upper left corner
Picture material, the picture material of the image P2 of focal length camera module B shooting correspond to the picture material in the substrate image upper right corner, grows
The picture material of the image P3 of burnt camera module C shooting corresponds to the picture material in the substrate image lower left corner, and focal length camera module D is clapped
The picture material of the image P4 taken the photograph corresponds to the picture material in the substrate image lower right corner.In this way, different focal length camera modules is shot
Picture material be to cover the different location of fringe region in substrate image.
It, can be with it should be noted that be not specifically limited in the embodiment of the present application to 102 and 103 execution sequencing
It is to execute 103 after executing completion 102, can be after execution completes 103 and execute 102, can also be and be performed simultaneously 102 and 103,
Etc..
104, image is carried out at least one target image to substrate image and synthesizes processing, and the image obtained using synthesis
Response image shooting request.
For example, electronic equipment can be to the substrate image after shooting obtains substrate image and at least one target image
Synthesis processing is carried out at least one target image, thus the image after being synthesized, and the image obtained using the synthesis
Response image shooting request.
For example, electronic equipment can obtain shooting multiple after shooting obtains substrate image and multiple target images
Target image is aligned with substrate image.Based on the substrate image and target image after alignment, for substrate image and target image
Lap, electronic equipment can calculate the average pixel value of each pixel of overlapping.For example, electronic equipment is except through
One camera module shoots to obtain except substrate image, also shoots to obtain four target images by four focal length camera modules.Please
Referring to Fig. 6, each target image overlapping region be overlapped simultaneously with substrate image is located at the intermediate region of substrate image, in this way, right
In overlapping region shown in fig. 6, picture of the pixel of certain position W in five images (i.e. substrate image and four target images)
Element value is respectively 108,109,110,112 and 111, then the mean pixel of the pixel of the position can be calculated in electronic equipment
Value is 110.
Later, electronic equipment can be worth according to the obtained mean pixel of each position pixel corresponding in substrate image
To composograph.For example, what the pixel value of each pixel of substrate image can accordingly be adjusted to be calculated by electronic equipment
Each average pixel value, to obtain composograph.For example, for the pixel of position W, electronic equipment can by its pixel value by
108 are adjusted to 110.Composograph can be obtained after being adjusted to the pixel value of pixel in substrate image.
For another example, electronic equipment it is new can also to regenerate a width according to the average pixel value that each position is calculated
Image, i.e. composograph.
In the embodiment of the present application, electronic equipment carries out image conjunction in the multiple target images and substrate image obtained to shooting
After processing, composograph is set as to the image of image taking request.So far, electronic equipment is completed to correspond to and be connect
The primary complete shooting operation of the image taking request received.
The clarity variation by substrate image to the image synthesized is shown please continue to refer to Fig. 6, Fig. 6, wherein X
Axis is indicated by image edge area to central area, then by the change in location of central area to fringe region, Y-axis indicates image
Clarity.It can be seen from the figure that in substrate image, the clarity highest of central area, as central area is to marginal zone
The diffusion in domain, clarity gradually decrease, and change more violent.And in the composite image, the clarity highest of central area, and
Compared to substrate image, the clarity of the fringe region of composograph is integrally improved, as central area is to fringe region
Diffusion, although clarity gradually decreases, variation is more smooth, i.e. the clarity of the central area of composograph and fringe region
It is all higher, so that the overall image quality of composograph is improved.
In addition, in the embodiment of the present application, electronic equipment can be selectively from the first camera module and the second camera shooting mould
The camera module for shooting substrate image is determined in group, and selection is used for photographic subjects figure from multiple focal length camera modules
The camera module of picture, therefore the present embodiment can also improve the flexibility of image taking.
Referring to Fig. 7, Fig. 7 is second of flow diagram of imaging method provided by the embodiments of the present application, process can be with
Include:
201, electronic equipment receives the image taking request for treating reference object.
For example, electronic equipment can first receive the image taking request for treating reference object from user.
202, electronic equipment obtains the numerical value of preset first parameter, which is used to indicate the figure of the electronic equipment
As processing capacity.
For example, after receiving image taking request, the numerical value of available preset first parameter of electronic equipment,
In, the numerical value of first parameter can be used to indicate that the height of the image-capable of the electronic equipment.
In one embodiment, the first parameter can be total in running memory for the remaining running memory capacity of electronic equipment
Shared ratio in capacity.When the remaining running memory capacity of electronic equipment ratio shared in running memory total capacity is small
When preset first threshold value, it is believed that the current image-capable of electronic equipment is weaker.When the residue fortune of the electronic equipment
When row memory size ratio shared in running memory total capacity is greater than or equal to preset first threshold value, it is believed that electronics is set
Standby current image-capable is stronger.
Later, whether the numerical value that electronic equipment can detecte first parameter is less than preset first threshold value.
If detecting, the numerical value of first parameter is less than preset first threshold value, it may be considered that the image of current electronic device
Processing capacity is poor.In such a case, it is possible into 203.
If detecting, the numerical value of first parameter is greater than or equal to preset first threshold value, it may be considered that current electronic device
Image-capable it is stronger.In such a case, it is possible into 204.
If 203, the numerical value of the first parameter is less than preset first threshold value, the first camera module is determined as using by electronic equipment
In the camera module of shooting substrate image, wherein the numerical value of first parameter, which is less than preset first threshold value, indicates electronic equipment
Image-capable is unsatisfactory for preset requirement.
For example, electronic equipment detects that the numerical value of the first parameter is less than preset first threshold value, it may be considered that electronic equipment
Current image-capable is poor, that is, is unsatisfactory for preset requirement.In this case, electronics, which is set, can image mould for first
Group is determined as the camera module for shooting substrate image.That is, electronic equipment can be clapped merely with the first camera module at this time
Substrate image is taken the photograph, shoots substrate image without the use of the second camera module.
If 204, the numerical value of the first parameter is greater than or equal to preset first threshold value, electronic equipment by the first camera module and
Second camera module is determined as the camera module for shooting substrate image, wherein the numerical value of first parameter is greater than or equal to
Preset first threshold value indicates that the image-capable of electronic equipment meets preset requirement.
For example, electronic equipment detects that the numerical value of the first parameter is greater than or equal to preset first threshold value, it may be considered that electric
The current image-capable of sub- equipment is stronger, that is, meets preset requirement.In this case, electronics is set can take the photograph first
As mould group and the second camera module are determined as the camera module for shooting substrate image simultaneously.That is, electronic equipment can be at this time
Substrate image is shot using the first camera module and the second camera module simultaneously.
205, electronic equipment utilizes the camera module for shooting substrate image determined to shoot to obtain substrate image.
For example, after determining the camera module for shooting substrate image, electronic equipment can be using determining
Camera module for shooting substrate image shoots to obtain substrate image.
206, electronic equipment chooses the camera module for photographic subjects image from multiple focal length camera modules, and shoots
Obtain at least one target image.
For example, electronic equipment includes 4 focal length camera modules, then after receiving image taking request, electronic equipment
The camera module for photographic subjects image can be chosen from this 4 focal length camera modules, and is shot and obtained at least one mesh
Logo image.
In one embodiment, electronic equipment can come to choose from multiple focal length camera modules in the following way and use
In the camera module of photographic subjects image, and shoots and obtains at least one target image:
If receiving focusing information, electronic equipment chooses target focal length camera module from multiple focal length camera modules,
And the target focal length camera module is determined as to be used for the camera module of photographic subjects image, and shoot and obtain at least one mesh
Logo image, the shooting area of the target focal length camera module cover reference object corresponding to the focusing information;
Alternatively, whole focal length camera modules are determined as being used to shoot mesh by electronic equipment if not receiving focusing information
The camera module of logo image, and shoot and obtain at least one target image.
For example, electronic equipment includes 4 focal length camera modules, respectively A, B, C, D.The shooting area of focal length camera module A
The upper left corner of the shooting area of corresponding first camera module of domain a, the corresponding first camera shooting mould of the shooting area b of focal length camera module B
The upper right corner of the shooting area of group, the lower-left of the shooting area of corresponding first camera module of the shooting area c of focal length camera module C
Angle, the lower right corner of the shooting area of corresponding first camera module of the shooting area d of focal length camera module D.
For example user shoots image using electronic equipment, when shooting image, user can select to need in preview interface
The object (i.e. reference object) of focusing.For example, user can choose certain an object in preview interface by way of click
Object as focusing.For example, having a flower in the prospect of photographed scene, then user can click choosing in preview interface
In the flower as focus object.
If electronic equipment receives focusing information from user, which can image mould from 4 focal length
At least one target focal length camera module is chosen in group, wherein the shooting area of the target focal length camera module covers focusing letter
The corresponding reference object of breath.For example, flower is located at the upper left corner of preview interface, then choosing the flower conduct when the user clicks
When focus object, since the flower is located at the shooting area of focal length camera module A, electronic equipment can will be located at shooting area
The focal length camera module A that domain is located at the upper left corner of the shooting area of the first camera module is determined as target focal length camera module, and
Focal length camera module A is determined as to be used for the camera module of photographic subjects image, and is shot using the focal length camera module A
Obtain a target image.
Alternatively, electronic equipment can be by 4 focal length if electronic equipment does not receive focusing information from user
Camera module is all determined as the camera module for photographic subjects image, so that shooting obtains 4 target images.
207, electronic equipment carries out image at least one target image to substrate image and synthesizes processing, and utilizes and synthesize
The image response described image shooting request arrived.
For example, electronic equipment can be to the substrate image after shooting obtains substrate image and at least one target image
Synthesis processing is carried out at least one target image, thus the image after being synthesized, and the image obtained using the synthesis
Response image shooting request.
It is understood that electronic equipment can be according to the image-capable of itself come selectively in the present embodiment
Shoot substrate image using the first camera module or using the first camera module and the second camera module, and according to receiving
Focusing information is chosen the camera module for being used for photographic subjects image from multiple focal length camera modules, therefore the present embodiment can be with
Improve the flexibility of electronic equipment shooting image.
Referring to Fig. 8, Fig. 8 is the third flow diagram of imaging method provided by the embodiments of the present application, process can be with
Include:
301, electronic equipment receives the image taking request for treating reference object.
For example, electronic equipment can first receive the image taking request for treating reference object from user.
302, electronic equipment obtains the numerical value of preset second parameter, which is environment bright angle value.
For example, after receiving image taking request, the numerical value of available preset second parameter of electronic equipment,
In, the numerical value of second parameter can be the environment bright angle value of electronic equipment local environment.
Later, whether the numerical value that electronic equipment can detecte second parameter is less than default second threshold.
If detecting, the numerical value of second parameter is less than default second threshold, it may be considered that environment locating for electronic equipment
For dim light or few luminous environment.In such a case, it is possible into 203.
If detecting, the numerical value of second parameter is greater than or equal to default second threshold, it may be considered that current electronic device
Locating environment is the environment of illumination abundance.In such a case, it is possible into 204.
If 303, the numerical value of the second parameter is less than default second threshold, electronic equipment takes the photograph the first camera module and second
As mould group is determined as the camera module for shooting substrate image.
For example, electronic equipment detects that the numerical value of the second parameter is less than default second threshold, it may be considered that electronic equipment
The illumination of the environment at place is inadequate, such as electronic equipment is currently at night scene photographed scene.In this case, due to electronics
The noise for the image that equipment is shot can be more, therefore electronic equipment can be true by the first camera module and the second camera module
It is set to the camera module for shooting substrate image.It is understood that be easy to shoot noise it is more in the case where, pass through
Substrate image is shot using the first camera module and the second camera module simultaneously, the substrate image that shooting can be made to obtain
Noise is less, and picture quality is higher.
If 304, the numerical value of the second parameter is greater than or equal to default second threshold, electronic equipment is true by the first camera module
It is set to the camera module for shooting substrate image.
For example, electronic equipment detects that the numerical value of the second parameter is greater than or equal to default second threshold, it may be considered that electric
The illumination of environment where sub- equipment is sufficient.In this case, the noise of the image shot due to electronic equipment can be compared with
It is few, therefore the first camera module can only be determined as being used to shoot the camera module of substrate image by electronic equipment.It is understood that
, in the case where the noise for the image shot can be less, by shooting substrate image using only the first camera module,
The image procossing burden of electronic equipment can be mitigated, accelerate image processing speed.
305, electronic equipment utilizes the camera module for shooting substrate image determined to shoot to obtain substrate image.
For example, after determining the camera module for shooting substrate image, electronic equipment can be using determining
Camera module for shooting substrate image shoots to obtain substrate image.
306, electronic equipment chooses the camera module for photographic subjects image from multiple focal length camera modules, and shoots
Obtain at least one target image.
For example, electronic equipment includes 4 focal length camera modules, then after receiving image taking request, electronic equipment
The camera module for photographic subjects image can be chosen from this 4 focal length camera modules, and is shot and obtained at least one mesh
Logo image.
In one embodiment, electronic equipment can come to choose from multiple focal length camera modules in the following way and use
In the camera module of photographic subjects image, and shoots and obtains at least one target image:
If receiving focusing information, electronic equipment chooses target focal length camera module from multiple focal length camera modules,
And the target focal length camera module is determined as to be used for the camera module of photographic subjects image, and shoot and obtain at least one mesh
Logo image, the shooting area of the target focal length camera module cover reference object corresponding to the focusing information;
Alternatively, whole focal length camera modules are determined as being used to shoot mesh by electronic equipment if not receiving focusing information
The camera module of logo image, and shoot and obtain at least one target image.
For example, electronic equipment includes 4 focal length camera modules, respectively A, B, C, D.The shooting area of focal length camera module A
The upper left corner of the shooting area of corresponding first camera module of domain a, the corresponding first camera shooting mould of the shooting area b of focal length camera module B
The upper right corner of the shooting area of group, the lower-left of the shooting area of corresponding first camera module of the shooting area c of focal length camera module C
Angle, the lower right corner of the shooting area of corresponding first camera module of the shooting area d of focal length camera module D.
For example user shoots image using electronic equipment, when shooting image, user can select to need in preview interface
The object (i.e. reference object) of focusing.For example, user can choose certain an object in preview interface by way of click
Object as focusing.For example, having a flower in the prospect of photographed scene, then user can click choosing in preview interface
In the flower as focus object.
If electronic equipment receives focusing information from user, which can image mould from 4 focal length
At least one target focal length camera module is chosen in group, wherein the shooting area of the target focal length camera module covers focusing letter
The corresponding reference object of breath.For example, flower is located at the upper left corner of preview interface, then choosing the flower conduct when the user clicks
When focus object, since the flower is located at the shooting area of focal length camera module A, electronic equipment can will be located at shooting area
The focal length camera module A that domain is located at the upper left corner of the shooting area of the first camera module is determined as target focal length camera module, and
Focal length camera module A is determined as to be used for the camera module of photographic subjects image, and is shot using the focal length camera module A
Obtain a target image.
Alternatively, electronic equipment can be by 4 focal length if electronic equipment does not receive focusing information from user
Camera module is all determined as the camera module for photographic subjects image, so that shooting obtains 4 target images.
307, electronic equipment carries out image at least one target image to substrate image and synthesizes processing, and utilizes and synthesize
The image response described image shooting request arrived.
For example, electronic equipment can be to the substrate image after shooting obtains substrate image and at least one target image
Synthesis processing is carried out at least one target image, thus the image after being synthesized, and the image obtained using the synthesis
Response image shooting request.
It is understood that electronic equipment can be according to whether the more image of noise can be shot in the present embodiment
Situation selectively shoots substrate image using the first camera module or using the first camera module and the second camera module,
And the camera module for being used for photographic subjects image is chosen from multiple focal length camera modules according to the focusing information received, because
The flexibility of electronic equipment shooting image can be improved in this present embodiment.
In other embodiments, electronic equipment can also be simultaneously according to the numerical value of preset first parameter and the second parameter
The camera module for shooting substrate image is chosen from the first camera module and the second camera module, mode is as follows:
If the numerical value of the first parameter is less than preset first threshold value and the numerical value of the second parameter is greater than or equal to default second threshold
Value, then the first camera module is determined as being used to shoot the camera module of substrate image by electronic equipment, wherein the number of the first parameter
Value, which is less than preset first threshold value, indicates that the image-capable of electronic equipment is unsatisfactory for preset requirement;
If the numerical value of the first parameter is greater than or equal to preset first threshold value or the numerical value of the second parameter is less than default second
Threshold value, then electronic equipment is determined as the first camera module and the second camera module to be used to shoot the camera module of substrate image,
Wherein, the numerical value of the first parameter, which is greater than or equal to preset first threshold value, indicates that the image-capable of electronic equipment meets default want
It asks.
For example, after the numerical value of the numerical value and the second parameter that get the first parameter, electronic equipment can detecte this first
Whether the numerical value of parameter is less than preset first threshold value, and detects the numerical value of second parameter and whether be greater than or equal to default second
Threshold value.
If detecting that the numerical value of the first parameter is less than preset first threshold value, and the numerical value of the second parameter is greater than or equal to
Default second threshold, then it is considered that electronic equipment it is current image-capable it is weaker, and electronic equipment is presently in
The illumination of environment is more sufficient, and in this case, the first camera module can be determined as being used to shoot substrate figure by electronic equipment
The camera module of picture.That is, electronic equipment can shoot substrate image using only the first camera module.
If detecting that the numerical value of the first parameter is greater than or equal to preset first threshold value or the numerical value of the second parameter is less than
Default second threshold, then it is considered that electronic equipment it is current image-capable it is weaker or electronic equipment is presently in
The illumination of environment is inadequate, and in this case, the first camera module and the second camera module can be determined as by electronic equipment
For shooting the camera module of substrate image.That is, electronic equipment can use the first camera module and the second camera module simultaneously
To shoot substrate image.
It should be noted that in the present embodiment, electronic equipment uses the first camera module and the second camera module simultaneously
May include following process to shoot substrate image: electronic equipment is treated reference object by the first camera module and is shot,
The first image is obtained, and reference object is treated by the second camera module and is shot, obtains the second image;Electronic equipment should
First image and second image are synthesized, and substrate image is obtained.
It in one embodiment, can also include being taken the photograph for the first camera module of covering and/or second on electronic equipment
As mould group and/or the electrochromic window assemblies of focal length camera module.Before receiving the image taking for treating reference object request, electricity
Following process can also be performed in sub- equipment:
Electronic equipment controls electrochromic window assemblies and pellucidity is presented.
So, after the image response described image shooting request obtained using synthesis, electronic equipment be can also be performed
Following process: electronic equipment controls electrochromic window assemblies and switches to colored state by pellucidity, to hide the first camera module
And/or second camera module and/or focal length camera module.
For example, in the embodiment of the present application, in order to promote the integrality of electronic equipment, can also the first camera module and/
Or second cover electrochromic window assemblies on camera module and/or multiple focal length camera modules, thus when needed using electroluminescent
Photochromic component is hidden camera module.
The working principle of electrochromic window assemblies is simply introduced first below.
Electrochromism refer to color/transparency of material stablize under the action of extra electric field, reversible variation
Phenomenon.Material with electrochromic property is properly termed as electrochromic material.And the electrochromism group in the embodiment of the present application
Part is exactly made using electrochromic material.
Wherein, electrochromic window assemblies may include the two conductive layers being stacked, and be located between two conductive layers
Photochromic layer, electrolyte layer, ion storage.For example, no applied voltage on two transparency conducting layers of electrochromic window assemblies
When (in other words, voltage 0V), the electrochromic window assemblies can with transparent state, and when be applied to two transparency conducting layer it
Between voltage when becoming 3V from 0V, which can be in black, when being applied between two transparency conducting layer
When voltage becomes 0V from 3V, which will become transparent, etc. from black.
In this way, can be hidden to each camera module using the characteristic of electrochromic window assemblies Color tunable.
In the embodiment of the present application, electronic equipment can will be covered in the first camera shooting mould while starting shooting class application
Electrochromic window assemblies on group and/or the second camera module and/or focal length camera module switch to pellucidity, so that first
Camera module and/or the second camera module and/or focal length camera module can treat reference object and be shot.
And substrate image and multiple target images are being got, and finally synthesis obtains image and exits shooting class
Using later, electrochromic window assemblies can be switched to colored state by electronic equipment, to hide the first camera module and/or the
Two camera modules and/or focal length camera module.
In one embodiment, the first camera module, the second camera module and multiple focal length camera modules can be set
At the rear cover of electronic equipment, then, under colored state, the color of electrochromic window assemblies can be with the rear cover of electronic equipment
Color is identical.It is understood that by the way that color of the electrochromic window assemblies under colored state is arranged to and electronic equipment
The color of rear cover is identical, can visually play better concealment effect.
For example, electronic equipment is provided with while covering the first camera module and the second camera module and focal length camera module
Electrochromic window assemblies, and electronic equipment is provided with the rear cover one of the first camera module and the second camera module and focal length camera module
The color in face is black, then electronic equipment is in inactive shooting class in application, saving the coloring that electrochromic window assemblies are in black
State, so that the first camera module and the second camera module and focal length camera module are hidden.And starting shooting class in application,
It is synchronous that electrochromic window assemblies are switched into pellucidity, enable electronic equipment to pass through the first camera module and the first camera shooting mould
Group and focal length camera module are shot.And obtain image in final synthesis and exit after shooting class application, electronics is set
The standby colored state that electrochromic window assemblies are switched to black, so that the first camera module and the second camera module and focal length camera shooting
Mould group is hidden again.
In some embodiments, after receiving the image taking for treating reference object request, can also include:
Whether electronic equipment detection is current is in dither state;
If being not currently in dither state, electronic equipment is chosen from the first camera module and the second camera module and is used for
The camera module of substrate image is shot, and shoots and obtains substrate image.
According to the associated description in above embodiments, the embodiment of the present application is the figure shot using different camera modules
As finally synthesizing to obtain image, if being in dither state in shooting process electronic equipment, it will lead to different camera modules
Shooting obtains the picture material of image, and there are notable differences, influence the synthetic effect of image.
Therefore, in the embodiment of the present application, electronic equipment first determines whether certainly in the image taking request for receiving input
Whether body is currently in dither state.Wherein, electronic equipment can carry out the judgement of dither state in a number of different ways, than
Such as, electronic equipment may determine that currently whether be all larger than pre-set velocity in the speed of all directions, if so, determining to be currently to tremble
Dynamic state, if it is not, then determining to be not currently in dither state (in other words, stable state);For another example, electronic equipment may determine that
Currently whether it is all larger than preset displacement in the displacement of all directions, if so, determining to be currently at dither state, if it is not, then determining
It is not currently in dither state.Further, it is also possible to lead to the judgement that the unlisted mode of the embodiment of the present application carries out dither state, this
Application embodiment is not particularly limited this.
When determining to be not currently in dither state, electronic equipment can shoot according to described image and request, from first
The camera module for shooting substrate image is chosen in camera module and the second camera module, and is shot and obtained substrate image.
In some embodiments, if being not currently in dither state, electronic equipment is taken the photograph from the first camera module and second
It as choosing the camera module for shooting substrate image in mould group, and shoots and obtains substrate image, can also include:
If being not currently in dither state, electronic equipment detects whether object to be captured remains static;
If object to be captured remains static, electronic equipment is chosen from the first camera module and the second camera module
For shooting the camera module of substrate image, and shoots and obtain substrate image.
According to related description provided above, one of ordinary skill in the art will appreciate that being not at shake in electronic equipment
In the case where state, if object to be captured is not at stationary state (for example, object to be captured includes moving object), electronic equipment
Biggish difference is also likely to be present by the picture material that camera module shoots to obtain image.
Therefore, in the embodiment of the present application, electronic equipment is not stood when determining that its own is not currently in dither state
Reference object is treated by camera module to be shot, but further detects whether object to be captured remains static,
If detecting, object to be captured remains static, and requests further according to image taking, and electronic equipment is from the first camera module and the
The camera module for shooting substrate image is chosen in two camera modules, and shoots and obtains substrate image, specifically can refer to above
Associated description in embodiment, details are not described herein again.
It wherein, can be basis by those skilled in the art for how to judge whether object to be captured remains static
Actual needs chooses suitable mode and is judged that the embodiment of the present application is not particularly limited this, for example, light stream can be used
Method, residual error method etc. judge whether object to be captured remains static.
In some embodiments, the first camera module and focal length camera module can be with common image sensors.
For example, please referring to Fig. 9, the first camera and focal length camera share same imaging sensor, the first camera module
The imaging sensor that (camera lens part) and focal length camera module (camera lens part) with timesharing can project extraneous light is not
The shooting to external object is realized in same part.
Imaging sensor is independently used compared to each camera module of the relevant technologies, more camera modules are total in the embodiment of the present application
Space hold can be reduced with imaging sensor.
Referring to Fig. 10, Figure 10 is the structural schematic diagram of imaging device provided by the embodiments of the present application.The imaging device can
To be applied to electronic equipment, the electronic equipment includes that the first camera module, the second camera module and multiple focal length image mould
Group, there are Chong Die with the shooting area of first camera module for the shooting area of each focal length camera module.Imaging device
400 may include: receiving module 401, and first chooses module 402, and second chooses module 403, synthesis module 404.
Receiving module 401, for receiving the image taking request for treating reference object;
First chooses module 402, for choosing from first camera module and second camera module for clapping
The camera module of substrate image is taken the photograph, and shoots and obtains substrate image;
Second chooses module 403, for choosing taking the photograph for photographic subjects image from the multiple focal length camera module
As mould group, and shoots and obtain at least one target image;
Synthesis module 404 synthesizes processing for carrying out image at least one described target image to the substrate image,
And the image response described image shooting request obtained using synthesis.
In one embodiment, the first selection module 402 can be used for:
The numerical value of preset first parameter and/or the numerical value of the second parameter are obtained, first parameter is for indicating described
The image-capable of electronic equipment, second parameter are environment bright angle value;
According to the numerical value of first parameter and/or the numerical value of second parameter, from first camera module and institute
State the camera module chosen in the second camera module for shooting substrate image.
In one embodiment, the first selection module 402 can be used for:
If the numerical value of first parameter is less than preset first threshold value, first camera module is determined as being used to clap
Take the photograph the camera module of substrate image, wherein the numerical value of first parameter, which is less than preset first threshold value, indicates the electronic equipment
Image-capable be unsatisfactory for preset requirement;
If the numerical value of first parameter is greater than or equal to preset first threshold value, by first camera module and described
Second camera module is determined as the camera module for shooting substrate image, wherein the numerical value of first parameter is greater than or waits
Indicate that the image-capable of the electronic equipment meets preset requirement in preset first threshold value.
In one embodiment, the first selection module 402 can be used for:
If the numerical value of second parameter is less than default second threshold, first camera module and described second are taken the photograph
As mould group is determined as the camera module for shooting substrate image;
If the numerical value of second parameter is greater than or equal to default second threshold, first camera module is determined as
For shooting the camera module of substrate image.
In one embodiment, the first selection module 402 can be used for:
If the numerical value of first parameter is less than preset first threshold value and the numerical value of second parameter is greater than or equal in advance
If second threshold, then it is determined as first camera module to be used to shoot the camera module of substrate image, wherein described first
The numerical value of parameter, which is less than preset first threshold value, indicates that the image-capable of the electronic equipment is unsatisfactory for preset requirement;
If the numerical value of first parameter is greater than or equal to preset first threshold value or the numerical value of second parameter is less than
Default second threshold, then be determined as first camera module and second camera module to be used to shoot taking the photograph for substrate image
As mould group, wherein the numerical value of first parameter, which is greater than or equal to preset first threshold value, to be indicated at the image of the electronic equipment
Reason ability meets preset requirement.
In one embodiment, the second selection module 403 can be used for:
If receiving focusing information, target focal length camera module is chosen from the multiple focal length camera module, and
The target focal length camera module is determined as to be used for the camera module of photographic subjects image, and shoots and obtains at least one target
Image, the shooting area of the target focal length camera module cover reference object corresponding to the focusing information;
Alternatively, all the focal length camera module is determined as photographic subjects image if not receiving focusing information
Camera module, and shoot obtain at least one target image.
In one embodiment, first parameter is the remaining running memory capacity of the electronic equipment in operation
Deposit ratio shared in total capacity.
The embodiment of the present application provides a kind of computer-readable storage medium, computer program is stored thereon with, when described
When computer program executes on computers, so that the computer is executed such as the stream in imaging method provided in this embodiment
Journey.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, for executing the process in imaging method provided in this embodiment.
For example, above-mentioned electronic equipment can be the mobile terminals such as tablet computer or smart phone.Figure 11 is please referred to,
Figure 11 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
The electronic equipment 500 may include the components such as camera assembly 501, memory 502, processor 503.Art technology
Personnel are appreciated that electronic devices structure shown in Figure 11 does not constitute the restriction to electronic equipment, may include than diagram
More or fewer components perhaps combine certain components or different component layouts.
Camera assembly 501 may include the first camera module, the second camera module and multiple focal length camera modules, each focal length
There are Chong Die with the shooting area of the first camera module for the shooting area of camera module.
Memory 502 can be used for storing application program and data.It include that can hold in the application program that memory 502 stores
Line code.Application program can form various functional modules.Processor 503 is stored in the application journey of memory 502 by operation
Sequence, thereby executing various function application and data processing.
Processor 503 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by running or execute the application program being stored in memory 502, and is called and is stored in memory 502
Data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
In the present embodiment, the processor 503 in electronic equipment can be according to following instruction, will be one or more
The corresponding executable code of the process of application program is loaded into memory 502, and is run by processor 503 and be stored in storage
Application program in device 502, thereby executing:
Receive the image taking request for treating reference object;
The camera module for shooting substrate image is chosen from first camera module and second camera module,
And it shoots and obtains substrate image;
The camera module for being used for photographic subjects image is chosen from the multiple focal length camera module, and is shot and obtained at least
One target image;
Image is carried out at least one described target image to the substrate image and synthesizes processing, and obtained using synthesis
The shooting request of image response described image.
Figure 12 is please referred to, electronic equipment 500 may include camera assembly 501, memory 502, processor 503, input list
The components such as member 504, output unit 505, loudspeaker 506, microphone 507.
Camera assembly 501 may include the first camera module, the second camera module and multiple focal length camera modules, each focal length
There are Chong Die with the shooting area of the first camera module for the shooting area of camera module.
Memory 502 can be used for storing application program and data.It include that can hold in the application program that memory 502 stores
Line code.Application program can form various functional modules.Processor 503 is stored in the application journey of memory 502 by operation
Sequence, thereby executing various function application and data processing.
Processor 503 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by running or execute the application program being stored in memory 502, and is called and is stored in memory 502
Data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
Input unit 504 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and
Generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.
Output unit 505 can be used for showing information input by user or the information and electronic equipment that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Output unit may include display panel.
In the present embodiment, the processor 503 in electronic equipment can be according to following instruction, will be one or more
The corresponding executable code of the process of application program is loaded into memory 502, and is run by processor 503 and be stored in storage
Application program in device 502, thereby executing:
Receive the image taking request for treating reference object;
The camera module for shooting substrate image is chosen from first camera module and second camera module,
And it shoots and obtains substrate image;
The camera module for being used for photographic subjects image is chosen from the multiple focal length camera module, and is shot and obtained at least
One target image;
Image is carried out at least one described target image to the substrate image and synthesizes processing, and obtained using synthesis
The shooting request of image response described image.
In one embodiment, processor 503 is executed from first camera module and second camera module
It when choosing the camera module for shooting substrate image, can execute: obtain the numerical value and/or the second ginseng of preset first parameter
Several numerical value, first parameter are used to indicate that the image-capable of the electronic equipment, second parameter to be environment light
Brightness value;According to the numerical value of first parameter and/or the numerical value of second parameter, from first camera module and described
The camera module for shooting substrate image is chosen in second camera module.
In one embodiment, processor 503 executes the numerical value according to first parameter, from the first camera shooting mould
It when choosing the camera module for shooting substrate image in group and second camera module, can execute: if first ginseng
Several numerical value is less than preset first threshold value, then is determined as first camera module being used to shoot the camera shooting mould of substrate image
Group, wherein the numerical value of first parameter, which is less than preset first threshold value, indicates that the image-capable of the electronic equipment is discontented
Sufficient preset requirement;If the numerical value of first parameter be greater than or equal to preset first threshold value, will first camera module with
Second camera module is determined as the camera module for shooting substrate image, wherein the numerical value of first parameter is greater than
Or indicate that the image-capable of the electronic equipment meets preset requirement equal to preset first threshold value.
In one embodiment, processor 503 executes the numerical value according to second parameter, from the first camera shooting mould
It when choosing the camera module for shooting substrate image in group and second camera module, can execute: if second ginseng
Several numerical value is less than default second threshold, then is determined as being used to shoot by first camera module and second camera module
The camera module of substrate image;If the numerical value of second parameter is greater than or equal to default second threshold, described first is taken the photograph
As mould group is determined as the camera module for shooting substrate image.
In one embodiment, processor 503 is executed according to the numerical value of first parameter and second parameter
Numerical value, when choosing the camera module for shooting substrate image from first camera module and second camera module,
It can execute: if the numerical value of first parameter is less than preset first threshold value and the numerical value of second parameter is greater than or equal in advance
If second threshold, then it is determined as first camera module to be used to shoot the camera module of substrate image, wherein described first
The numerical value of parameter, which is less than preset first threshold value, indicates that the image-capable of the electronic equipment is unsatisfactory for preset requirement;If described
The numerical value of first parameter is greater than or equal to preset first threshold value or the numerical value of second parameter is less than default second threshold, then
It is determined as first camera module and second camera module to be used to shoot the camera module of substrate image, wherein institute
The numerical value for stating the first parameter, which is greater than or equal to preset first threshold value, indicates that the image-capable satisfaction of the electronic equipment is default
It is required that.
In one embodiment, processor 503, which is executed, chooses from the multiple focal length camera module for shooting mesh
The camera module of logo image, and shoot when obtaining at least one target image, it can execute: if receiving focusing information, from
Target focal length camera module is chosen in the multiple focal length camera module, and the target focal length camera module is determined as using
In the camera module of photographic subjects image, and shoots and obtain at least one target image, the bat of the target focal length camera module
Take the photograph reference object corresponding to focusing information described in region overlay;Alternatively, if not receiving focusing information, whole focal length
Camera module is determined as the camera module for photographic subjects image, and shoots and obtain at least one target image.
In one embodiment, first parameter is the remaining running memory capacity of the electronic equipment in operation
Deposit ratio shared in total capacity.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the detailed description above with respect to imaging method, details are not described herein again.
Imaging method in the imaging device provided by the embodiments of the present application and foregoing embodiments belongs to same design, In
Either offer method, specific implementation process in the imaging method embodiment can be provided on the imaging device and are detailed in institute
Imaging method embodiment is stated, details are not described herein again.
It should be noted that those of ordinary skill in the art can manage for the imaging method described in the embodiment of the present application
Solution realizes all or part of the process of imaging method described in the embodiment of the present application, is that can control correlation by computer program
Hardware complete, the computer program can be stored in a computer-readable storage medium, such as storage in memory,
And executed by least one processor, it in the process of implementation may include the process such as the embodiment of the imaging method.Wherein, institute
The storage medium stated can be magnetic disk, CD, read-only memory (ROM, Read Only Memory), random access memory
(RAM, Random Access Memory) etc..
For the imaging device of the embodiment of the present application, each functional module be can integrate in a processing chip
In, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.It is above-mentioned
Integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It is described integrated
If module realized in the form of software function module and when sold or used as an independent product, also can store one
In a computer-readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of imaging method, device provided by the embodiment of the present application, storage medium and electronic equipment are carried out above
It is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodiments
Explanation be merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, foundation
The thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not
It is interpreted as the limitation to the application.
Claims (10)
1. a kind of imaging method, it is applied to electronic equipment, which is characterized in that the electronic equipment includes the first camera module, the
Two camera modules and multiple focal length camera modules, the shooting area and first camera module of each focal length camera module
Shooting area there is overlapping, the imaging method includes:
Receive the image taking request for treating reference object;
It chooses from first camera module and second camera module for shooting the camera module of substrate image, and claps
It takes the photograph to obtain substrate image;
The camera module for being used for photographic subjects image is chosen from the multiple focal length camera module, and is shot and obtained at least one
Target image;
Image is carried out at least one described target image to the substrate image and synthesizes processing, and the image obtained using synthesis
Respond described image shooting request.
2. imaging method according to claim 1, which is characterized in that from first camera module and second camera shooting
The camera module for shooting substrate image is chosen in mould group, comprising:
The numerical value of preset first parameter and/or the numerical value of the second parameter are obtained, first parameter is for indicating the electronics
The image-capable of equipment, second parameter are environment bright angle value;
According to the numerical value of first parameter and/or the numerical value of second parameter, from first camera module and described
The camera module for shooting substrate image is chosen in two camera modules.
3. imaging method according to claim 2, which is characterized in that according to the numerical value of first parameter, from described
The camera module for shooting substrate image is chosen in one camera module and second camera module, comprising:
If the numerical value of first parameter is less than preset first threshold value, first camera module is determined as being used to shoot base
The camera module of base map picture, wherein the numerical value of first parameter indicates the figure of the electronic equipment less than preset first threshold value
As processing capacity is unsatisfactory for preset requirement;
If the numerical value of first parameter is greater than or equal to preset first threshold value, by first camera module and described second
Camera module is determined as the camera module for shooting substrate image, wherein the numerical value of first parameter is greater than or equal to pre-
If first threshold indicates that the image-capable of the electronic equipment meets preset requirement.
4. imaging method according to claim 2, which is characterized in that according to the numerical value of second parameter, from described
The camera module for shooting substrate image is chosen in one camera module and second camera module, comprising:
If the numerical value of second parameter is less than default second threshold, by first camera module and the second camera shooting mould
Group is determined as the camera module for shooting substrate image;
If the numerical value of second parameter is greater than or equal to default second threshold, first camera module is determined as being used for
Shoot the camera module of substrate image.
5. imaging method according to claim 2, which is characterized in that according to the numerical value of first parameter and described second
The numerical value of parameter chooses the camera shooting mould for shooting substrate image from first camera module and second camera module
Group, comprising:
If the numerical value that the numerical value of first parameter is less than preset first threshold value and second parameter is greater than or equal to default the
Two threshold values then are determined as first camera module to be used to shoot the camera module of substrate image, wherein first parameter
Numerical value be less than preset first threshold value indicate that the image-capable of the electronic equipment is unsatisfactory for preset requirement;
If the numerical value of first parameter is greater than or equal to the numerical value of preset first threshold value or second parameter less than default
Second threshold then is determined as first camera module and second camera module to be used to shoot the camera shooting mould of substrate image
Group, wherein the numerical value of first parameter indicates the image procossing energy of the electronic equipment more than or equal to preset first threshold value
Power meets preset requirement.
6. imaging method according to claim 1, which is characterized in that choose and be used for from the multiple focal length camera module
The camera module of photographic subjects image, and shoot and obtain at least one target image, comprising:
If receiving focusing information, target focal length camera module is chosen from the multiple focal length camera module, and by institute
It states target focal length camera module and is determined as camera module for photographic subjects image, and shoot and obtain at least one target figure
Picture, the shooting area of the target focal length camera module cover reference object corresponding to the focusing information;
Alternatively, all the focal length camera module is determined as taking the photograph for photographic subjects image if not receiving focusing information
As mould group, and shoots and obtain at least one target image.
7. according to claim 1 to any imaging method in 6, which is characterized in that first parameter is the electronics
The remaining running memory capacity of equipment ratio shared in running memory total capacity.
8. a kind of imaging device, it is applied to electronic equipment, which is characterized in that the electronic equipment includes the first camera module, the
Two camera modules and multiple focal length camera modules, the shooting area and first camera module of each focal length camera module
Shooting area there is overlapping, the imaging device includes:
Receiving module, for receiving the image taking request for treating reference object;
First chooses module, for choosing from first camera module and second camera module for shooting substrate figure
The camera module of picture, and shoot and obtain substrate image;
Second chooses module, for choosing the camera module for being used for photographic subjects image from the multiple focal length camera module,
And it shoots and obtains at least one target image;
Synthesis module synthesizes processing for carrying out image at least one described target image to the substrate image, and utilizes
Synthesize obtained image response described image shooting request.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers
When execution, so that the computer executes the method as described in any one of claims 1 to 7.
10. a kind of electronic equipment, including memory, processor, which is characterized in that the processor is by calling the memory
The computer program of middle storage, for executing the method as described in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910668006.9A CN110430375B (en) | 2019-07-23 | 2019-07-23 | Imaging method, imaging device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910668006.9A CN110430375B (en) | 2019-07-23 | 2019-07-23 | Imaging method, imaging device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110430375A true CN110430375A (en) | 2019-11-08 |
CN110430375B CN110430375B (en) | 2021-07-20 |
Family
ID=68412013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910668006.9A Active CN110430375B (en) | 2019-07-23 | 2019-07-23 | Imaging method, imaging device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110430375B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113704253A (en) * | 2021-07-28 | 2021-11-26 | 昆山丘钛微电子科技股份有限公司 | Camera module screening method, system and device and server |
WO2021258300A1 (en) * | 2020-06-23 | 2021-12-30 | Oppo广东移动通信有限公司 | In-screen photography control method, terminal device and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202880A (en) * | 2007-06-08 | 2008-06-18 | 深圳市德诺通讯技术有限公司 | Mobile terminal with camera shooting function |
US20130021450A1 (en) * | 2011-07-22 | 2013-01-24 | Yasuo Yoshizawa | Stereoscopic imaging system, recording control method, stereoscopic image reproduction system, and reproduction control method |
CN104104879A (en) * | 2014-07-28 | 2014-10-15 | 深圳市中兴移动通信有限公司 | Method and device for shooting motion track of object |
CN105007431A (en) * | 2015-07-03 | 2015-10-28 | 广东欧珀移动通信有限公司 | Picture shooting method based on various shooting scenes and terminal |
CN105163028A (en) * | 2015-09-11 | 2015-12-16 | 青岛海信移动通信技术股份有限公司 | Method and device for controlling two cameras |
CN106033397A (en) * | 2015-03-17 | 2016-10-19 | 小米科技有限责任公司 | Method and device for adjusting memory buffer, and terminal |
CN106055406A (en) * | 2016-05-20 | 2016-10-26 | 深圳天珑无线科技有限公司 | Program operation method and terminal |
CN107426416A (en) * | 2017-06-23 | 2017-12-01 | 广东欧珀移动通信有限公司 | A kind of method for reducing temperature rise, computer-readable recording medium, mobile terminal |
CN107820015A (en) * | 2017-11-28 | 2018-03-20 | 上海摩软通讯技术有限公司 | The filming control method and system of mobile terminal |
CN108710539A (en) * | 2018-05-18 | 2018-10-26 | 珠海格力电器股份有限公司 | A kind of information processing method, terminal and readable storage medium storing program for executing |
CN109379528A (en) * | 2018-12-20 | 2019-02-22 | Oppo广东移动通信有限公司 | Imaging method, imaging device, electronic device and medium |
-
2019
- 2019-07-23 CN CN201910668006.9A patent/CN110430375B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202880A (en) * | 2007-06-08 | 2008-06-18 | 深圳市德诺通讯技术有限公司 | Mobile terminal with camera shooting function |
US20130021450A1 (en) * | 2011-07-22 | 2013-01-24 | Yasuo Yoshizawa | Stereoscopic imaging system, recording control method, stereoscopic image reproduction system, and reproduction control method |
CN104104879A (en) * | 2014-07-28 | 2014-10-15 | 深圳市中兴移动通信有限公司 | Method and device for shooting motion track of object |
CN106033397A (en) * | 2015-03-17 | 2016-10-19 | 小米科技有限责任公司 | Method and device for adjusting memory buffer, and terminal |
CN105007431A (en) * | 2015-07-03 | 2015-10-28 | 广东欧珀移动通信有限公司 | Picture shooting method based on various shooting scenes and terminal |
CN105163028A (en) * | 2015-09-11 | 2015-12-16 | 青岛海信移动通信技术股份有限公司 | Method and device for controlling two cameras |
CN106055406A (en) * | 2016-05-20 | 2016-10-26 | 深圳天珑无线科技有限公司 | Program operation method and terminal |
CN107426416A (en) * | 2017-06-23 | 2017-12-01 | 广东欧珀移动通信有限公司 | A kind of method for reducing temperature rise, computer-readable recording medium, mobile terminal |
CN107820015A (en) * | 2017-11-28 | 2018-03-20 | 上海摩软通讯技术有限公司 | The filming control method and system of mobile terminal |
CN108710539A (en) * | 2018-05-18 | 2018-10-26 | 珠海格力电器股份有限公司 | A kind of information processing method, terminal and readable storage medium storing program for executing |
CN109379528A (en) * | 2018-12-20 | 2019-02-22 | Oppo广东移动通信有限公司 | Imaging method, imaging device, electronic device and medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021258300A1 (en) * | 2020-06-23 | 2021-12-30 | Oppo广东移动通信有限公司 | In-screen photography control method, terminal device and storage medium |
CN113704253A (en) * | 2021-07-28 | 2021-11-26 | 昆山丘钛微电子科技股份有限公司 | Camera module screening method, system and device and server |
Also Published As
Publication number | Publication date |
---|---|
CN110430375B (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108776568B (en) | Webpage display method, device, terminal and storage medium | |
US20210084216A1 (en) | Method of controlling camera device and electronic device thereof | |
CN110290324A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN114205522B (en) | Method for long-focus shooting and electronic equipment | |
CN110213493A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
KR20120046452A (en) | Mobile terminal and method for controlling photographing image thereof | |
KR20120047514A (en) | Mobile terminal and method for controlling photographing image thereof | |
JP2022528011A (en) | User interface for capturing and managing visual media | |
CN110290299A (en) | Imaging method, device, storage medium and electronic equipment | |
CN110213492A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
US20200084354A1 (en) | Electronic device and method for capturing view | |
CN110290300A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN110225256A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN110430375A (en) | Imaging method, device, storage medium and electronic equipment | |
CN114926351B (en) | Image processing method, electronic device, and computer storage medium | |
CN112770173A (en) | Live broadcast picture processing method and device, computer equipment and storage medium | |
CN105554366A (en) | Multimedia photographing processing method and device and intelligent terminal | |
CN110290322A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN110191274A (en) | Imaging method, device, storage medium and electronic equipment | |
CN115442509B (en) | Shooting method, user interface and electronic equipment | |
CN115134532A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
KR20150009744A (en) | Method for providing user interface of mobile terminal using transparent flexible display | |
CN114500852B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN115484390B (en) | Video shooting method and electronic equipment | |
CN114143461B (en) | Shooting method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |