CN110198418A - Image processing method, device, storage medium and electronic equipment - Google Patents
Image processing method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110198418A CN110198418A CN201910579940.3A CN201910579940A CN110198418A CN 110198418 A CN110198418 A CN 110198418A CN 201910579940 A CN201910579940 A CN 201910579940A CN 110198418 A CN110198418 A CN 110198418A
- Authority
- CN
- China
- Prior art keywords
- image
- camera module
- raw
- raw image
- electronic equipment
- 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/70—Circuitry for compensating brightness variation in the scene
- H04N23/741—Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
Abstract
This application discloses a kind of image processing methods, applied to electronic equipment, the electronic equipment includes the first camera module and the second camera module, wherein second camera module is focal length camera module, this method comprises: determining first object camera module and the second target camera module from first camera module and second camera module;The first RAW image is obtained by the first object camera module, and the second RAW image and third RAW image are obtained by the second target camera module, wherein the exposure of first RAW image, the second RAW image and third RAW image successively reduces;Using second RAW image as benchmark image, synthesis processing is carried out to first RAW image, the second RAW image and third RAW image, obtains the RAW composograph with high dynamic range;Using the RAW composograph, the preview of image is carried out or operation of taking pictures or record a video.The image handled using image processing method provided by the present application can be suitable for preview, take pictures and record a video.
Description
Technical field
The application belongs to image technique field more particularly to a kind of image processing method, device, storage medium and electronics are set
It is standby.
Background technique
Compared to common image, high dynamic range images (High-Dynamic Range, abbreviation HDR) can be provided more
More dynamic ranges and image detail.Electronic equipment can shoot the multiframe figure with different depth of exposure under Same Scene
Picture synthesizes the highlights details of the dark portion details of overexposure light image, the intermediate details of normal exposure image and under-exposure image
To HDR image.However, the image that relevant HDR technical treatment obtains is difficult to be suitable for preview simultaneously, takes pictures and record a video.
Summary of the invention
The embodiment of the present application provides a kind of image processing method, device, storage medium and electronic equipment, what processing obtained
Image can be suitable for preview, take pictures and record a video.
The embodiment of the present application provides a kind of image processing method, is applied to electronic equipment, and the electronic equipment includes first
Camera module and the second camera module, wherein second camera module is focal length camera module, which comprises
First object camera module and the second target are determined from first camera module and second camera module
Camera module;
The first RAW image is obtained by the first object camera module, and is obtained by the second target camera module
Take the second RAW image and third RAW image, wherein the exposure of first RAW image, the second RAW image and third RAW image
Luminosity successively reduces;
Using second RAW image as benchmark image, to the first RAW image, the second RAW image and third RAW image
Synthesis processing is carried out, the RAW composograph with high dynamic range is obtained;
Using the RAW composograph, the preview of image is carried out or operation of taking pictures or record a video.
The embodiment of the present application provides a kind of image processing apparatus, is applied to electronic equipment, and the electronic equipment includes first
Camera module and the second camera module, wherein second camera module is focal length camera module, described device includes:
Determining module, for determining that first object images mould from first camera module and second camera module
Group and the second target camera module;
Module is obtained, for obtaining the first RAW image by the first object camera module, and passes through second mesh
It marks camera module and obtains the second RAW image and third RAW image, wherein first RAW image, the second RAW image and third
The exposure of RAW image successively reduces;
Synthesis module, for using second RAW image as benchmark image, to the first RAW image, the second RAW image with
And third RAW image carries out synthesis processing, obtains the RAW composograph with high dynamic range;
Processing module carries out the preview of image or operation of taking pictures or record a video for utilizing the RAW composograph.
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 image processing 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 image processing method provided by the embodiments of the present application.
In the present embodiment, since the first RAW image, the second RAW image and third RAW image are complete exposures
RAW image, therefore do high dynamic range with first RAW image, the second RAW image and third RAW image and enclose processing
There will be no losses for the image obtained afterwards its resolution ratio, and signal-to-noise ratio is also higher, i.e., have high dynamic obtained in the present embodiment
The RAW composograph of range has the advantages that high resolution and signal-to-noise ratio are high.This high resolution, signal-to-noise ratio are high to be moved with high
The RAW composograph of state range is used directly for image preview, takes pictures and record a video.
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 image processing method provided by the embodiments of the present application.
Fig. 2 is the first synthesis schematic diagram of image processing method provided by the embodiments of the present application.
Fig. 3 is another flow diagram of image processing method provided by the embodiments of the present application.
Fig. 4 is second of synthesis schematic diagram of image processing method provided by the embodiments of the present application.
Fig. 5 is the first camera module to be determined as to first object camera module, and (i.e. focal length images by the second camera module
Mould group) image synthesis schematic diagram when being determined as the second target camera module.
Fig. 6 is the second camera module (i.e. focal length camera module) to be determined as first object camera module, and first is taken the photograph
It is determined as image synthesis schematic diagram when the second target camera module as mould group.
Fig. 7 to Figure 11 is the schematic diagram of a scenario of image processing method provided by the embodiments of the present application.
Figure 12 is the structural schematic diagram of image processing apparatus provided by the embodiments of the present application.
Figure 13 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 14 is the structural schematic diagram of image processing circuit 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 flow diagram of image processing method provided by the embodiments of the present application.The image procossing
Method can be applied to electronic equipment, which can have the first camera module and the second camera module, wherein this
Two camera modules can be focal length camera module.The process of the image processing method may include:
101, first object camera module and the camera shooting of the second target are determined from the first camera module and the second camera module
Mould group.
102, the first RAW image is obtained by first object camera module, and obtains the by the second target camera module
Two RAW images and third RAW image, wherein the exposure of first RAW image, the second RAW image and third RAW image according to
Secondary reduction.
Compared to common image, high dynamic range images (High-Dynamic Range, abbreviation HDR) can be provided more
More dynamic ranges and image detail.Electronic equipment can shoot the multiframe figure with different depth of exposure under Same Scene
Picture synthesizes the highlights details of the dark portion details of overexposure light image, the intermediate details of normal exposure image and under-exposure image
To HDR image.However, the image that relevant HDR technical treatment obtains is difficult to be suitable for preview simultaneously, takes pictures and record a video.
For example, using zzHDR technology carry out image procossing when because zzHDR technology be in same frame image it is existing into
The pixel of the long exposure of row has the pixel for carrying out short exposure that can drop when long and short exposing pixels merging generates high dynamic range images again
Low at least half of resolution ratio.Therefore it is not used to take pictures or record a video using the high dynamic range images that zzHDR technology obtains,
Otherwise user can will become apparent from the image display effect of resolution ratio reduction.That is, what zzHDR technology can not be suitable for taking pictures and recording a video
Scene.The problem that other HDR technologies in the related technology are reduced there is also such as resolution ratio or signal-to-noise ratio is lower, so that
The image that these HDR technical treatments obtain can not be suitable for simultaneously preview, take pictures and record a video.
In the 101 of the embodiment of the present application and 102 process, for example, electronic equipment can first be from two camera modules
First object camera module and the second target are determined in first camera module and the second camera module (focal length camera module)
Camera module.
Later, electronic equipment can obtain the first RAW image by the first object camera module determined, and pass through
The the second target camera module determined obtains the second RAW image and third RAW image.Wherein, first RAW image,
The exposure of two RAW images and third RAW image successively reduces.That is, the exposure of the first RAW image can be greater than the 2nd RAW
The exposure of image, the second RAW image can be greater than third RAW image.
It should be noted that the camera module of electronic equipment is made of lens and imaging sensor, wherein lens are for adopting
Light signal outside collection is supplied to imaging sensor, and image sensor senses are converted from the light signal of lens
For digitized raw image data, i.e. RAW image data.RAW is unprocessed, also uncompressed format, can be by it
Visually it is known as " digital negative ".
Exposure refers to the depth of exposure of image.Depth of exposure may include overexposure, normal exposure and under-exposure.It exposes
Luminosity is also exposure value, and exposure value, which represents, can provide all camera aperture shutters combination equally exposed.
In the present embodiment, successively reduce can be with for the exposure of the first RAW image, the second RAW image and third RAW image
Including following situation: for example, it can be normal exposure image that the first RAW image, which can be overexposure image, the second RAW image,
Third RAW image can be under-exposure image.For another example, the first RAW image, the second RAW image and third RAW image can be exposure
The successively image of reduction between light time, such as compare, the first RAW image can be time for exposure longer long exposure diagram
Picture, the second RAW image can occupy intermediate intermediate exposure image for the time for exposure, and third RAW image can be the time for exposure
Shorter short exposed images etc..
That is, electronic equipment can be first from the first camera module and the second camera module in the 101 of the present embodiment and 102
Choose the first object camera module for carrying out overexposure or long exposure, and choose for carry out normal exposure and it is under-exposure or
Second target camera module of person progress intermediate exposure and short exposure.Selecting first object camera module and the second target is taken the photograph
As after mould group, electronic equipment can obtain the first RAW image by the first object camera module, and be taken the photograph by the second target
As mould group obtains the second RAW image and third RAW image.
103, using the second RAW image as benchmark image, to the first RAW image, the second RAW image and third RAW image
Synthesis processing is carried out, the RAW composograph with high dynamic range is obtained.
For example, electronic equipment can be with after getting the first RAW image, the second RAW image and third RAW image
Two RAW images are benchmark image, are carried out at HDR synthesis to first RAW image, the second RAW image and third RAW image
Reason, to obtain the RAW composograph with high dynamic range.
That is, the exposure of third RAW image is minimum, therefore electronic equipment can due to the exposure highest of the first RAW image
To obtain dark portion details from the first RAW image, highlights details is obtained from third RAW image, and the dark portion that will acquire is thin
Section and highlights details carry out HDR with the second RAW image and synthesize, to obtain the RAW composograph with high dynamic range.
104, using RAW composograph, the preview of image is carried out or operation of taking pictures or record a video.
For example, electronic equipment can use the RAW composite diagram after obtaining having the RAW composograph of high dynamic range
As carrying out the preview of image or operation of taking pictures or record a video.For example, electronic equipment can centainly be located to the RAW composograph
The preview interface of the camera applications of the electronic equipment is shown in after reason for user's preview.Alternatively, taking pictures when electronic equipment receives
Instruction, such as user press when taking pictures button, which can make after carrying out certain processing to the RAW composograph
It is checked on a display screen for user for photo output display.Alternatively, electronic equipment can when electronic equipment receives video recording instruction
A wherein frame with the video obtained after centainly handle to the RAW composograph as video recording.
Please refer to Fig. 2, Fig. 2 is the first synthesis schematic diagram of image processing method provided in this embodiment.
It should be noted that in the present embodiment, since the first RAW image, the second RAW image and third RAW image are equal
It is the RAW image of complete exposure, therefore does high dynamic with first RAW image, the second RAW image and third RAW image
There will be no losses for image its resolution ratio obtained after range synthesis processing, and signal-to-noise ratio is also higher, i.e., obtains in the present embodiment
The RAW composograph with high dynamic range have high resolution and signal-to-noise ratio it is high.This high resolution, signal-to-noise ratio
The high RAW composograph with high dynamic range is used directly for image preview, takes pictures and record a video.
Referring to Fig. 3, Fig. 3 is another flow diagram of image processing method provided by the embodiments of the present application.The image
Processing method can be applied to electronic equipment.The electronic equipment may include the first camera module and the second camera module, wherein
Second camera module can be focal length camera module.The process of the image processing method may include:
201, electronic equipment obtains the depth of field for the image that shooting obtains by the first camera module and the second camera module.
For example, the first camera module is common camera module, and the second camera module is focal length in the embodiment of the present application
Camera module.Electronic equipment can first pass through the first camera module and the second camera module obtains them and shoots obtained image
The depth of field.
As soon as allowing blur circle it should be noted that respectively having before and after over focus and perifocus, cried between this range
The depth of field, that is to say, that before and after focus point, image still has one section of definition range, and the front and back depth of subject, control
The fuzziness of image on photosensitive element.The distance of aperture, camera lens and subject is an important factor for influencing the depth of field.It utilizes
Depth of view information can be calculated in double camera modules.For example, after user's click camera applications enter preview screen, electronic equipment
Can use the first camera module and the second camera module and respectively shoot and obtain an image, then using the first camera module and
The depth of view information of image can be calculated in two images that second camera module is shot.Scape is calculated using double camera modules
Deeply convince that the mode of breath can be using scheme in the prior art, details are not described herein for the present embodiment.
If 202, the depth of field is greater than or equal to preset threshold, the first camera module is determined as first object and taken the photograph by electronic equipment
As mould group, and the second camera module is determined as the second target camera module.
For example, after getting the depth of field, electronic equipment can detecte whether the depth of field is greater than or equal to preset threshold.
If it is detected that the depth of field is greater than or equal to preset threshold, it may be considered that current photographed scene is in the majority with distant view.
At this point, the first camera module can be determined as first object camera module by electronic equipment, and by the second camera module (i.e. focal length
Camera module) it is determined as the second target camera module.
It should be noted that in the present embodiment, first object camera module, which can be, has maximum exposure for shooting
The camera module of the RAW image (i.e. the first RAW image) of degree.And the second target camera module can be for shooting with centre
The RAW image (i.e. the second RAW image) of the exposure of size and with minimum exposure degree RAW image (i.e. the 3rd RAW figure
Picture) camera module.Since when carrying out HDR synthesis, second of the exposure with middle size is can be used in the present embodiment
RAW image as benchmark image, therefore the present embodiment by under distant view photographed scene in the majority using focal length camera module come
Shooting the second RAW image can make the details (especially distant view details) of the second RAW image clearer, i.e., taken the photograph using focal length
The clarity of the second RAW image shot as mould group is more preferable.So, it is subsequent using second RAW image as benchmark image into
Row HDR synthesis processing (such as obtains dark portion details from the first RAW image when carrying out HDR synthesis processing and schemes from the 3rd RAW
Highlights details etc. is obtained as in, and the dark portion details and highlights details that will acquire are fused in the second RAW image) it is obtained
The imaging effect of RAW composograph also will be more preferable.
203, electronic equipment obtains the first RAW image by first object camera module, and images mould by the second target
Group obtains the second RAW image and third RAW image, wherein the exposure of the first RAW image, the second RAW image and third RAW image
Luminosity successively reduces, and the second target camera module obtains the second RAW image and third RAW image in the way of rapid alternation,
The frame per second of first object camera module and the second mould group camera module is identical.
For example, electronic equipment can be by this after determining first object camera module and the second target camera module
First object camera module obtains the first RAW image, and obtains the second RAW image and third by the second target camera module
RAW image.
Wherein, the frame per second of the first object camera module and the second target camera module can be identical.For example, this first
The frame per second of target camera module and the second target camera module is 30fps.It certainly, should in some other embodiments
The frame per second of first object camera module and the second target camera module may be other numerical value.Also, the first object is taken the photograph
It can be the numerical value not less than 20fps as the frame per second of mould group and the second target camera module.When the first object camera module
When being not less than 20fps with the frame per second of the second target camera module, the later use first object camera module and the second target
The RAW composograph of image that camera module is got synthesis carry out when image preview or video recording picture can than it is smoother without
There is Caton phenomenon.
Also, the exposure of first RAW image, the second RAW image and third RAW image successively reduces.That is, first
The exposure of RAW image can be greater than the second RAW image, and the exposure of the second RAW image can be greater than third RAW image.?
In some embodiments, the first RAW image can be overexposure image, and the second RAW image can be normal exposure image, third
RAW image can be under-exposure image.Alternatively, in the identical situation of other exposure parameters, the time for exposure of the first RAW image
The second RAW image can be greater than, and the time for exposure of the second RAW image can be greater than third RAW image.That is, the first RAW image
It can be long exposure image, the second RAW image can be intermediate exposure image, and third RAW image can be short exposed images.
In the present embodiment, the second target camera module obtains the second RAW image and third in the way of rapid alternation
RAW image.For example, the second target camera module can be alternately carried out intermediate exposure and short exposure, to be schemed accordingly
Picture.That is, first object camera module can constantly get long exposure image, the second target camera module in the present embodiment
Constantly, alternately it can get intermediate exposure image and short exposed images.
In the present embodiment, the overexposure image (or long exposure image) that can be will acquire uniformly is denoted as the first RAW figure
Normal exposure image (perhaps intermediate exposure image) is uniformly denoted as the second RAW image for deficient exposure image (or short exposure by picture
Image) uniformly it is denoted as third RAW image.
204, electronic equipment is using the second RAW image as benchmark image, the nth frame figure got to first object camera module
The N+1 frame image that the nth frame image and the second target camera module got as, the second target camera module is got into
Row synthesis processing, obtains the RAW composograph with high dynamic range.
For example, constantly getting long exposure image in first object camera module, and the second target camera module is not
During disconnected ground, alternating get intermediate exposure image and short exposed images, electronic equipment can image mould to first object
The nth frame image and the second target camera module that nth frame image that group is got, the second target camera module are got obtain
To N+1 frame image carry out synthesis processing, obtain the RAW composograph with high dynamic range.Wherein, HDR conjunction is being carried out
Cheng Shi, electronic equipment can be the benchmark image of HDR synthesis with the second RAW image.That is, electronic equipment can be from the first RAW image
Middle acquisition dark portion details obtains highlights details, and the dark portion details and highlights details that will acquire and the from third RAW image
Two RAW images carry out HDR synthesis, to obtain the RAW composograph with high dynamic range.
Please refer to Fig. 4, Fig. 4 is second of synthesis schematic diagram of image processing method provided in this embodiment.For example,
First object camera module carries out long exposure according to chronological order and obtains following image: (i.e. L1 is first by L1, L2, L3, L4
The first frame image of target camera module shooting, L2 are the second frame image of first object camera module shooting, and L3 is the first mesh
The third frame image of camera module shooting is marked, L4 is the 4th frame image of first object camera module shooting) etc..It is understood that
, L1, L2, L3 and L4 exposure having the same, such as in the identical situation of other exposure parameters, L1, L2, L3 and L4
Time for exposure t1 having the same.Second target camera module is according to chronological order alternately intermediate exposure and short exposure
Obtain following image: (i.e. M1 is the first frame image of the second target camera module shooting, and S1 is the second mesh by M1, S1, M2, S2, M3
The second frame image of camera module shooting is marked, M2 is the third frame image of the second target camera module shooting, and S2 is the second target
4th frame image of camera module shooting, M3 are the 5th frame image of the second target camera module shooting) etc..It is understood that
It is M1, M2, M3 exposure having the same, such as in the identical situation of other exposure parameters, M1, M2, M3 are having the same
Time for exposure t2.S1, S2 exposure having the same, such as in the identical situation of other exposure parameters, S1, S2 have identical
Time for exposure t3.So, HDR synthesize when, electronic equipment be L1, M1 and S1 are synthesized to obtain P1 image (be with M1
The benchmark image of HDR synthesis), L2, S1 and M2 are synthesized to obtain P2 image (taking M2 as the benchmark image of HDR synthesis), it will
L3, M2 and S2 are synthesized to obtain P3 image (taking M2 as the benchmark image of HDR synthesis), and L4, S2 and M3 are synthesized to obtain
P4 image (taking M3 as the benchmark image of HDR synthesis).That is, electronic equipment can successively obtain the P1, P2 with high dynamic range,
P3 and P4 image.
205, RAW composograph is converted to YUV composograph by electronic equipment.
206, after electronic equipment carries out default processing to YUV composograph, the preview of image is carried out.
For example, 205 and 206 may include:
After obtaining RAW composograph, which can be converted to YUV lattice by RAW format by electronic equipment
Formula, to obtain YUV composograph.
Later, electronic equipment can carry out the default processing such as image sharpening, image noise reduction to the YUV composograph,
And after the default processing, image preview operation is carried out using the image obtained after processing.For example, electronic equipment can be by YUV
The preview interface for the camera applications that the image that composograph obtains after default processing is shown in the electronic equipment is pre- for user
It lookes at.
Please refer to Fig. 5 and Fig. 6.First camera module is determined as first object camera module for electronic equipment by Fig. 5,
And image when the second camera module (i.e. focal length camera module) to be determined as to the second target camera module synthesizes schematic diagram.Fig. 6
The second camera module (i.e. focal length camera module) is determined as first object camera module for electronic equipment, and images mould for first
Group is determined as image synthesis schematic diagram when the second target camera module.
207, electronic equipment will default treated that YUV composograph is stored in pre-set image buffer queue.
208, when carrying out photographing operation, electronic equipment obtains a frame YUV composograph from pre-set image buffer queue,
And the YUV composograph that will acquire is as photo display.
For example, 207 and 208 may include:
After carrying out the default processing such as image sharpening, image noise reduction to the YUV composograph, electronic equipment can be incited somebody to action
The image obtained after processing is stored in a pre-set image buffer queue.
For example, user clicks the button progress of taking pictures of the camera applications of electronic equipment after carrying out preview to image
Photographing operation, then electronic equipment can obtain YUV composite diagram of the frame by default processing from pre-set image buffer queue
Picture, and the image that will acquire is shown as photo, the display screen for being such as shown in electronic equipment is checked for user takes pictures
Effect.
In one embodiment, it can also include following process after 201: be preset if it is detected that the depth of field is less than
Threshold value, it may be considered that current photographed scene is close shot, without too many distant view.At this point, electronic equipment can be taken the photograph second
Picture mould group (i.e. focal length camera module) is determined as first object camera module, and the first camera module is determined as the second target and is taken the photograph
As mould group.After determining first object camera module and the second target camera module, electronic equipment can pass through the first mesh
It marks camera module and obtains the first RAW image, and the second RAW image and third RAW image are obtained by the second target camera module,
Wherein, the exposure of the first RAW image, the second RAW image and third RAW image successively reduces, the second target camera module benefit
The second RAW image and third RAW image are obtained with the mode of rapid alternation, first object camera module and the second mould group image mould
The frame per second of group is identical.Later, electronic equipment gets first object camera module nth frame image, the second target image mould
The N+1 frame image that the nth frame image and the second target camera module that group is got are got carries out synthesis processing, is had
There is the RAW composograph of high dynamic range.After obtaining RAW composograph, electronic equipment can use the RAW composograph into
The preview of row image or operation of taking pictures or record a video.
In one embodiment, electronic equipment carries out the first RAW image, the second RAW image and third RAW image
Synthesis processing, obtains the process of the RAW composograph with high dynamic range, may include:
Second RAW image is determined as the benchmark image of image alignment processing by electronic equipment, and image alignment processing is at least
Including brightness of image registration process and picture position registration process;
After image alignment, electronic equipment synthesizes the first RAW image, the second RAW image and third RAW image
Processing, obtains the RAW composograph with high dynamic range.
For example, the first RAW image is overexposure light image, the second RAW image is normal exposure image, and third RAW image is
Under-exposure image.So, the second RAW image of normal exposure can be determined as the reference map of image alignment processing by electronic equipment
Picture, wherein image alignment processing include at least brightness of image registration process and picture position registration process.That is, carrying out HDR
Before fusion, electronic equipment need to the first RAW image, the second RAW image and third RAW image carry out brightness of image alignment and
Picture position alignment.In the embodiment of the present application, the second RAW image of normal exposure first can be determined as image by electronic equipment
Then first RAW image and third RAW image are carried out image by the benchmark image of registration process on the basis of the second RAW image
Brightness alignment and aligned in position.After image alignment, electronic equipment can be to the first RAW image, the second RAW image and third
RAW image carries out HDR synthesis (still can be using the second RAW image as the benchmark image synthesized when carrying out HDR synthesis), thus
Obtain the RAW composograph with high dynamic range.
It should be noted that can be made using the benchmark image that the second RAW image of intermediate exposure is handled as image alignment
It is more accurate to obtain image alignment processing, so that the imaging effect for finally synthesizing obtained image is more preferable.
It in the present embodiment, can for carrying out the first RAW image, the second RAW image and third RAW image of HDR synthesis
To be image of the shooting interval less than preset interval.For example, long exposure image, intermediate exposure for carrying out HDR synthesis
Image and short exposed images can be the image that shooting interval is less than preset interval.Electronic equipment can when shooting image
To generate timestamp corresponding with each image.Timestamp based on shooting, electronic equipment can correspond in detection when HDR is synthesized
Long exposure image, intermediate exposure image and short exposed images whether be shooting interval be less than preset interval image.
If so, electronic equipment can carry out HDR synthesis.If it is not, then electronic equipment can not carry out HDR synthesis to these images, and
It is that frame losing processing is carried out to these images, such as by these image-erasings.
Fig. 7 to Figure 11 is please referred to, Fig. 7 to Figure 11 is that the scene of image processing method provided by the embodiments of the present application is illustrated
Figure.
For example, as shown in fig. 7, electronic equipment has the first camera module 301 and the second camera module 302, wherein this
Two camera modules 302 are focal length camera module, and first camera module 301 can be common camera module.For example, first takes the photograph
As mould group 301 can be the common camera module neither focal length camera module nor wide-angle imaging mould group.Also, the first camera shooting mould
Group 301 and the frame per second having the same of the second camera module 302, such as their frame per second is 30fps or 60fps etc..
For example, as shown in figure 8, user clicks the icon of camera applications, and camera is directed at a certain scene.It is electric at this time
Sub- equipment enters the preview interface of camera applications.When detect enter preview interface after, the first camera module can shoot one
Image, the second camera module can also shoot an image.Later, electronic equipment can be taken the photograph by the first camera module and second
As the image that mould group is shot, the corresponding depth of field is obtained.For example, what electronic equipment can shoot the first camera module
The image synthesis that image and the second camera module are shot, and calculate the depth of view information of the image after synthesis.
After getting the depth of field, electronic equipment can detecte whether the depth of field is greater than or equal to preset threshold.For example, this reality
It applies in example, electronic equipment detects that the depth of field is greater than or equal to preset threshold, it may be considered that current photographed scene is with distant view
It is in the majority.At this point, the first camera module can be determined as first object camera module by electronic equipment, and by the second camera module
(i.e. focal length camera module) is determined as the second target camera module.
For another example, if it is detected that the depth of field is less than preset threshold, it may be considered that current photographed scene is mainly close shot, and do not have
There is too many distant view.At this point, the second camera module (i.e. focal length camera module) can be determined as first object camera shooting by electronic equipment
Mould group, and the first camera module is determined as the second target camera module.
After determining first object camera module and the second target camera module, electronic equipment can enter HDR mode.
For example, electronic equipment can be held by the imaging sensor of first object camera module according to shooting interval under the HDR mode
RAW image is obtained continuously, such as the present embodiment is denoted as the first RAW image, the time for exposure of first RAW image is T1.Meanwhile
It is T2's and T3 that electronic equipment, which can be alternately got by the imaging sensor of the second target camera module with the time for exposure,
RAW image, such as the RAW image with time for exposure T2 is uniformly denoted as the second RAW image, it will be with time for exposure T3's
RAW image is uniformly denoted as third RAW image.It is understood that the first RAW image, the second RAW image and third RAW image
The as image of the current scene of camera alignment.Due to the shooting of the first RAW image, the second RAW image and third RAW image
Time interval is very short, it can be considered that they are the image obtained under Same Scene.In one embodiment, the first RAW
Image, the second RAW image and third RAW image in addition to the time for exposure Bu Tong other than, other exposure parameters can be identical.
Time for exposure T1 is greater than T2 in the present embodiment, and T2 is greater than T3.That is, first object camera module carries out long exposure,
Obtain the RAW image of long exposure.Second target camera module alternately in, short exposure, obtain intermediate exposure and short exposure
RAW image.For example, as shown in figure 4, electronic equipment is passed by the image of first object camera module according to chronological order
Available RAW image L1, L2, L3 and the L4, etc. to long exposure of sensor.Also, according to chronological order, electronic equipment
By the imaging sensor of the second target camera module can alternately get in, RAW image M1, S1 of short exposure, M2, S2,
M3, etc..
After getting long exposure image, intermediate exposure image and short exposed images, electronic equipment can be to long exposure diagram
Picture, intermediate exposure image and short exposed images carry out HDR synthesis processing, obtain the RAW composograph with high dynamic range.Its
In, nth frame image that the image for carrying out HDR synthesis processing can get for first object camera module, the second target
The N+1 frame image that the nth frame image and the second target camera module that camera module is got are got.Also, carry out
When HDR is synthesized, benchmark image that electronic equipment can be synthesized using intermediate exposure image as HDR.
For example, as shown in figure 4, electronic equipment can be with image L1, M1 and S1 after getting image L1, M1 and S1
HDR synthesis processing (taking M1 as the benchmark image of HDR synthesis) is carried out, the image P1 with high dynamic range is obtained.It is getting
After image P1, image P1 can be converted to the image of yuv format by electronic equipment, and be carried out such as to the image after format conversion
The default processing such as image sharpening, image noise reduction, the image that obtains that treated.Later, electronic equipment can should treated figure
On a display screen as display, i.e., it is shown to user in preview interface and checks.
After getting image L2, M2, electronic equipment can carry out HDR synthesis processing (with M2 with image L2, M2 and S1
For the benchmark image of HDR synthesis), obtain the image P2 with high dynamic range.After getting image L3, S2, electronics is set
It is standby that HDR synthesis processing (taking M2 as the benchmark image of HDR synthesis) can be carried out with image L3, M2 and S2, it obtains with high dynamic
The image P3 of range.After getting image L4, M3, electronic equipment can carry out HDR synthesis processing with image L4, M3 and S2
(taking M3 as the benchmark image of HDR synthesis), obtains having image P4 of high dynamic range, etc..
After successively obtaining image P2, P3 and P4, image P2, P3 and P4 can be equally converted to YUV lattice by electronic equipment
The image of formula, and carry out image sharpening, the default processing such as image noise reduction to the image after format conversion, obtains that treated
Image.Later, electronic equipment can should treated that image is shown on a display screen, i.e., user is shown in preview interface
It checks.It is converted by image P1, P2, P3 and P4 etc. by format and default treated figure that is, can successively be shown in preview interface
Picture.
It is understood that the image that can be displayed in preview interface in the present embodiment is denoted as preview frame image.Electricity
Corresponding preview frame image can be stored in pre-set image buffer queue by sub- equipment after often obtaining a preview frame image.
The pre-set image buffer queue can be fixed length queue, be also possible to non-fixed length queue.
For example, pre-set image buffer queue is fixed length queue in the present embodiment, queue length is 30 frames.For example, electronics is set
Standby image Y1, Y2, Y3, Y4 etc. successively obtained for preview.So, electronic equipment can by obtained image Y1, Y2,
Y3, Y4 are sequentially stored into pre-set image buffer queue.It is understood that is stored in pre-set image buffer queue is most always
The 30 frame preview frame images newly obtained, as shown in Figure 9.
Later, such as shown in Figure 10, user clicks the button of taking pictures in camera applications interface, and electronic equipment can at this time
To obtain a frame preview frame from pre-set image buffer queue, and the preview frame of the acquisition is shown on a display screen as photo
Effect of taking pictures is checked for user.For example, electronic equipment gets image Y60 from pre-set image buffer queue.So, electronics is set
It is checked for that image Y60 can be shown to user as photo, as shown in figure 11.
It is understood that when taking, electronic equipment can be directly from pre-set image buffer queue in the present embodiment
The image with high dynamic range is obtained, and user is showed to check, so as to achieve the effect that zero propagation is taken pictures.
Figure 12 is please referred to, Figure 12 is the structural schematic diagram of image processing apparatus provided by the embodiments of the present application.At the image
Reason device can be applied to electronic equipment, which may include the first camera module and the second camera module, wherein should
Second camera module is focal length camera module.Image processing apparatus 400 may include: determining module 401, obtain module 402, close
At module 403, processing module 404.
Determining module 401, for determining that first object is taken the photograph from first camera module and second camera module
As mould group and the second target camera module.
Module 402 is obtained, for obtaining the first RAW image by the first object camera module, and passes through described the
Two target camera modules obtain the second RAW image and third RAW image, wherein first RAW image, the second RAW image and
The exposure of third RAW image successively reduces.
Synthesis module 403 is used for using second RAW image as benchmark image, to the first RAW image, the second RAW image
And third RAW image carries out synthesis processing, obtains the RAW composograph with high dynamic range.
Processing module 404 carries out the preview of image or operation of taking pictures or record a video for utilizing the RAW composograph.
In one embodiment, the determining module 401 can be used for:
The depth of field for the image that shooting obtains is obtained by first camera module and second camera module;
According to the depth of field, determine that first object images mould from first camera module and second camera module
Group and the second target camera module.
In one embodiment, the determining module 401 can be used for:
If the depth of field is greater than or equal to preset threshold, first camera module is determined as first object camera shooting mould
Group, and second camera module is determined as the second target camera module;
Alternatively, second camera module is determined as first object camera shooting mould if the depth of field is less than preset threshold
Group, and first camera module is determined as the second target camera module.
In one embodiment, first camera module is identical with the frame per second of second camera module.
In one embodiment, when the exposure of first RAW image, second RAW image and third RAW image
Between successively reduce.
In one embodiment, the second target camera module obtains the 2nd RAW figure in the way of rapid alternation
Picture and third RAW image.
The synthesis module 403 can be used for: the nth frame image that gets to the first object camera module, described
The N+1 frame image that the nth frame image and the second target camera module that second target camera module is got are got
Synthesis processing is carried out, the RAW composograph with high dynamic range is obtained.
In one embodiment, the processing module 404 can be used for:
The RAW composograph is converted into YUV composograph;
After carrying out default processing to the YUV composograph, the preview of image is carried out.
In one embodiment, the processing module 404 can be used for:
It will default treated that YUV composograph is stored in pre-set image buffer queue;
When carrying out photographing operation, a frame YUV composograph is obtained from the pre-set image buffer queue, and will acquire
The YUV composograph arrived is as photo display.
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 as in image processing method provided in this embodiment
Process.
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 image processing method provided in this embodiment.
For example, above-mentioned electronic equipment can be the mobile terminals such as tablet computer or smart phone.Figure 13 is please referred to,
Figure 13 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 module 501, memory 502, processor 503.Art technology
Personnel are appreciated that electronic devices structure shown in Figure 13 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 module 501 can be the double camera modules etc. installed on electronic equipment.Wherein the camera module 501 can be with
Including the first camera module and the second camera module.Second camera module can be focal length 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:
First object camera module and the second target are determined from first camera module and second camera module
Camera module;
The first RAW image is obtained by the first object camera module, and is obtained by the second target camera module
Take the second RAW image and third RAW image, wherein the exposure of first RAW image, the second RAW image and third RAW image
Luminosity successively reduces;
Using second RAW image as benchmark image, to first RAW image, the second RAW image and the 3rd RAW
Image carries out synthesis processing, obtains the RAW composograph with high dynamic range;
Using the RAW composograph, the preview of image is carried out or operation of taking pictures or record a video.
The embodiment of the present invention also provides a kind of electronic equipment.It include image processing circuit in above-mentioned electronic equipment, at image
Reason circuit can use hardware and or software component realization, it may include define image signal process (Image Signal
Processing) the various processing units of pipeline.Image processing circuit at least may include: camera, image-signal processor
(Image Signal Processor, ISP processor), control logic device, video memory and display etc..Wherein image
Head at least may include one or more lens and imaging sensor.
Imaging sensor may include colour filter array (such as Bayer filter).Imaging sensor can obtain and use image sensing
The luminous intensity and wavelength information that each imaging pixel of device captures, and it is original to provide one group for being handled by image-signal processor
Image data.
Image-signal processor can handle raw image data pixel by pixel in various formats.For example, each image
Pixel can have the bit depth of 8,10,12 or 14 bits, and image-signal processor can carry out one or more to raw image data
The statistical information of a image processing operations, collection about image data.Wherein, image processing operations can be by identical or different position
Depth accuracy carries out.Raw image data can be stored into video memory after image-signal processor is handled.Image letter
Number processor can also receive image data from video memory.
Video memory dedicated can be deposited for independent in a part, storage equipment or electronic equipment of memory device
Reservoir, and may include DMA (Direct Memory Access, direct direct memory access (DMA)) feature.
When receiving the image data from video memory, image-signal processor can carry out one or more images
Processing operation, such as time-domain filtering.Image data that treated can be transmitted to video memory, another to carry out before shown
Outer processing.Image-signal processor can also receive processing data from video memory, and carry out to the processing data original
Image real time transfer in domain and in RGB and YCbCr color space.Treated, and image data may be output to display, with
It watches for user and/or is further located by graphics engine or GPU (Graphics Processing Unit, graphics processor)
Reason.In addition, the output of image-signal processor also can be transmitted to video memory, and display can read from video memory and scheme
As data.In one embodiment, video memory can be configured to realize one or more frame buffers.
The statistical data that image-signal processor determines can be transmitted to control logic device.For example, statistical data may include certainly
The statistics of the imaging sensors such as dynamic exposure, automatic white balance, automatic focusing, flicker detection, black level compensation, correcting lens shadow
Information.
Control logic device may include the processor and/or microcontroller for executing one or more routines (such as firmware).One
Or multiple routines can statistical data based on the received, determine the control parameter and ISP control parameter of camera.For example, camera shooting
The control parameter of head may include camera flash control parameter, the control parameter of lens (such as focus or zoom focal length) or
The combination of these parameters.ISP control parameter may include for automatic white balance and color adjustment (for example, during RGB processing)
Gain level and color correction matrix etc..
Figure 14 is please referred to, Figure 14 is the structural schematic diagram of image processing circuit in the present embodiment.As shown in figure 14, for convenient for
Illustrate, the various aspects of image processing techniques relevant to the embodiment of the present invention are only shown.
Image processing circuit may include: the first camera module 510, the second camera module 520, the first image signal process
Device 530, the second image-signal processor 540, control logic device 550, video memory 560, display 570.Wherein, it first takes the photograph
As mould group 510 may include one or more first lens 511 and the first imaging sensor 512.Second camera module 520 can be with
Including one or more second lens 521 and the second imaging sensor 522.
First image transmitting of the first camera module 510 acquisition is handled to the first image-signal processor 530.First
After image-signal processor 530 handles the first image, can by the statistical data of the first image (brightness of such as image, image it is anti-
Difference, color of image etc.) it is sent to control logic device 550.Control logic device 550 can determine the first camera shooting according to statistical data
The control parameter of mould group 510, so that the first camera module 510 can carry out the behaviour such as auto-focusing, automatic exposure according to control parameter
Make.First image can store after the first image-signal processor 530 is handled into video memory 560.First figure
As signal processor 530 can also read the image stored in video memory 560 to be handled.In addition, the first image passes through
Display 570 can be sent directly to after image-signal processor 530 is handled by, which crossing, is shown.Display 570 can also be read
Take the image in video memory 560 to be shown.
Second image transmitting of the second camera module 520 acquisition is handled to the second image-signal processor 540.Second
After image-signal processor 540 handles the second image, can by the statistical data of the second image (brightness of such as image, image it is anti-
Difference, color of image etc.) it is sent to control logic device 550.Control logic device 550 can determine the second camera shooting according to statistical data
The control parameter of mould group 520, so that the second camera module 520 can carry out the behaviour such as auto-focusing, automatic exposure according to control parameter
Make.Second image can store after the second image-signal processor 540 is handled into video memory 560.Second figure
As signal processor 540 can also read the image stored in video memory 560 to be handled.In addition, the second image passes through
Display 570 can be sent directly to after image-signal processor 540 is handled by, which crossing, is shown.Display 570 can also be read
Take the image in video memory 560 to be shown.
In other embodiments, the first image-signal processor and the second image-signal processor can also synthesize system
One image-signal processor handles the data of the first imaging sensor and the second imaging sensor respectively.
In addition, not having displaying in figure, electronic equipment can also include CPU and power supply module.CPU and logic controller,
First image-signal processor, the second image-signal processor, video memory and display are all connected with, and CPU is for realizing complete
Office's control.Power supply module is used to power for modules.
In general, having the mobile phone of double camera modules, under certain photographing modes, double camera modules work.At this point,
It is that the first camera module and the second camera module are powered that CPU, which controls power supply module,.On imaging sensor in first camera module
Electricity, the imaging sensor in the second camera module power on, so as to realize the acquisition conversion of image.In certain photographing modes
Under, it can be the camera work in double camera modules.For example, only focal length camera works.In this case, CPU is controlled
Power supply module processed is powered to the imaging sensor of corresponding camera.
The following are the processes that image processing method provided in this embodiment is realized with image processing techniques in Figure 14:
First object camera module and the second target are determined from first camera module and second camera module
Camera module;
The first RAW image is obtained by the first object camera module, and is obtained by the second target camera module
Take the second RAW image and third RAW image, wherein the exposure of first RAW image, the second RAW image and third RAW image
Luminosity successively reduces;
Using second RAW image as benchmark image, to first RAW image, the second RAW image and the 3rd RAW
Image carries out synthesis processing, obtains the RAW composograph with high dynamic range;
Using the RAW composograph, the preview of image is carried out or operation of taking pictures or record a video.
In one embodiment, electronic equipment is executed from first camera module and second camera module really
It when determining first object camera module and the second target camera module, can execute: by first camera module and described
Two camera modules obtain the depth of field for the image that shooting obtains;According to the depth of field, from first camera module and described second
First object camera module and the second target camera module are determined in camera module.
In one embodiment, electronic equipment is executed according to the depth of view information, from first camera module and institute
It states and determines first object camera module in the second camera module and when the second target camera module, can execute: if the depth of field
More than or equal to preset threshold, then first camera module is determined as first object camera module, and described second is taken the photograph
As mould group is determined as the second target camera module;Alternatively, if the depth of field is less than preset threshold, by second camera module
It is determined as first object camera module, and first camera module is determined as the second target camera module.
In one embodiment, first camera module is identical with the frame per second of second camera module.
In one embodiment, when the exposure of first RAW image, second RAW image and third RAW image
Between successively reduce.
In one embodiment, the second target camera module obtains the 2nd RAW figure in the way of rapid alternation
Picture and third RAW image.
So, electronic equipment execution synthesizes first RAW image, the second RAW image and third RAW image
Processing, when obtaining the RAW composograph with high dynamic range, can execute: get to the first object camera module
Nth frame image, the nth frame image that gets of the second target camera module and the second target camera module obtain
To N+1 frame image carry out synthesis processing, obtain the RAW composograph with high dynamic range.
In one embodiment, electronic equipment, which executes, utilizes the RAW composograph can when carrying out the preview of image
To execute: the RAW composograph is converted to YUV composograph;After carrying out default processing to the YUV composograph, into
The preview of row image.
In one embodiment, electronic equipment can also be performed: will default treated that the deposit of YUV composograph is default
Image buffer storage queue;When carrying out photographing operation, a frame YUV composograph is obtained from the pre-set image buffer queue, and
The YUV composograph that will acquire is as photo display.
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 image processing method, details are not described herein again.
Image processing method in described image processing unit provided by the embodiments of the present application and foregoing embodiments belongs to together
One design can run either offer method in described image processing method embodiment in described image processing unit,
Specific implementation process is detailed in described image processing method embodiment, and details are not described herein again.
It should be noted that those of ordinary skill in the art can for the embodiment of the present application described image processing method
With understand realize the embodiment of the present application described image processing method all or part of the process, be can by computer program come
Relevant hardware is controlled to complete, the computer program can be stored in a computer-readable storage medium, such as be stored in
It in memory, and is executed by least one processor, in the process of implementation may include the embodiment such as described image processing method
Process.Wherein, the storage medium can be magnetic disk, CD, read-only memory (ROM, Read Only Memory), random
Access/memory body (RAM, Random Access Memory) etc..
For the described image processing unit of the embodiment of the present application, each functional module be can integrate in a processing core
In piece, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.On
It states integrated module both and can take the form of hardware realization, can also be realized in the form of software function module.The collection
If at module realized in the form of software function module and when sold or used as an independent product, also can store
In one computer-readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
Above to a kind of image processing method, device, storage medium and electronic equipment provided by the embodiment of the present application
It is described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above reality
The explanation for applying example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art,
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Hold the limitation that should not be construed as to the application.
Claims (11)
1. a kind of image processing method is applied to electronic equipment, which is characterized in that the electronic equipment includes the first camera module
With the second camera module, wherein second camera module be focal length camera module, which comprises
First object camera module and the camera shooting of the second target are determined from first camera module and second camera module
Mould group;
The first RAW image is obtained by the first object camera module, and passes through the second target camera module acquisition the
Two RAW images and third RAW image, wherein first RAW image, the exposure of the second RAW image and third RAW image
Successively reduce;
Using second RAW image as benchmark image, the first RAW image, the second RAW image and third RAW image are carried out
Synthesis processing, obtains the RAW composograph with high dynamic range;
Using the RAW composograph, the preview of image is carried out or operation of taking pictures or record a video.
2. image processing method according to claim 1, which is characterized in that from first camera module and described second
First object camera module and the second target camera module are determined in camera module, comprising:
The depth of field for the image that shooting obtains is obtained by first camera module and second camera module;
According to the depth of field, determined from first camera module and second camera module first object camera module and
Second target camera module.
3. image processing method according to claim 2, which is characterized in that according to the depth of field, from first camera shooting
First object camera module and the second target camera module are determined in mould group and second camera module, comprising:
If the depth of field is greater than or equal to preset threshold, first camera module is determined as first object camera module,
And second camera module is determined as the second target camera module;
Alternatively, second camera module is determined as first object camera module if the depth of field is less than preset threshold, and
First camera module is determined as the second target camera module.
4. image processing method according to claim 1, which is characterized in that first camera module and described second is taken the photograph
As the frame per second of mould group is identical.
5. image processing method according to claim 4, which is characterized in that first RAW image, the second RAW image
It is successively reduced with the exposure of third RAW image, comprising:
The time for exposure of first RAW image, second RAW image and third RAW image is successively reduced.
6. image processing method according to claim 4, which is characterized in that the second target camera module utilizes alternating
The mode of exposure obtains the second RAW image and third RAW image;
Synthesis processing is carried out to first RAW image, the second RAW image and third RAW image, is obtained with high dynamic range
The RAW composograph enclosed, comprising: nth frame image that the first object camera module is got, second target camera shooting
The N+1 frame image that the nth frame image and the second target camera module that mould group is got are got carries out synthesis processing,
Obtain the RAW composograph with high dynamic range.
7. image processing method according to claim 1, which is characterized in that utilize the RAW composograph, carry out image
Preview, comprising:
The RAW composograph is converted into YUV composograph;
After carrying out default processing to the YUV composograph, the preview of image is carried out.
8. image processing method according to claim 7, which is characterized in that the method also includes:
It will default treated that YUV composograph is stored in pre-set image buffer queue;
When carrying out photographing operation, a frame YUV composograph is obtained from the pre-set image buffer queue, and will acquire
The YUV composograph is as photo display.
9. a kind of image processing apparatus is applied to electronic equipment, which is characterized in that the electronic equipment includes the first camera module
With the second camera module, wherein second camera module is focal length camera module, described device includes:
Determining module, for from first camera module and second camera module determine first object camera module and
Second target camera module;
Module is obtained, for obtaining the first RAW image by the first object camera module, and is taken the photograph by second target
As mould group obtains the second RAW image and third RAW image, wherein first RAW image, the second RAW image and the 3rd RAW
The exposure of image successively reduces;
Synthesis module, for using second RAW image as benchmark image, to the first RAW image, the second RAW image and the
Three RAW images carry out synthesis processing, obtain the RAW composograph with high dynamic range;
Processing module carries out the preview of image or operation of taking pictures or record a video for utilizing the RAW composograph.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program is in computer
When upper execution, so that the computer executes such as method described in any item of the claim 1 to 8.
11. 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 such as method described in any item of the claim 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579940.3A CN110198418B (en) | 2019-06-28 | 2019-06-28 | Image processing method, image processing device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579940.3A CN110198418B (en) | 2019-06-28 | 2019-06-28 | Image processing method, image processing device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110198418A true CN110198418A (en) | 2019-09-03 |
CN110198418B CN110198418B (en) | 2020-12-22 |
Family
ID=67755492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910579940.3A Active CN110198418B (en) | 2019-06-28 | 2019-06-28 | Image processing method, image processing device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110198418B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479059A (en) * | 2020-04-15 | 2020-07-31 | Oppo广东移动通信有限公司 | Photographing processing method and device, electronic equipment and storage medium |
CN113873178A (en) * | 2020-06-30 | 2021-12-31 | Oppo广东移动通信有限公司 | Multimedia processing chip, electronic device and image processing method |
CN115359105A (en) * | 2022-08-01 | 2022-11-18 | 荣耀终端有限公司 | Depth-of-field extended image generation method, depth-of-field extended image generation device, and storage medium |
CN115633252A (en) * | 2021-08-11 | 2023-01-20 | 荣耀终端有限公司 | Shooting method and related equipment thereof |
WO2023056785A1 (en) * | 2021-10-09 | 2023-04-13 | 荣耀终端有限公司 | Image processing method and electronic device |
CN115967846A (en) * | 2021-10-09 | 2023-04-14 | 荣耀终端有限公司 | Image processing method and electronic equipment |
WO2024067071A1 (en) * | 2022-09-27 | 2024-04-04 | 华为技术有限公司 | Photographing method, and electronic device and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105308947A (en) * | 2013-06-13 | 2016-02-03 | 核心光电有限公司 | Dual aperture zoom digital camera |
CN106454131A (en) * | 2016-11-29 | 2017-02-22 | 广东欧珀移动通信有限公司 | Photographing method and device for terminal, and terminal |
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 |
CN107395898A (en) * | 2017-08-24 | 2017-11-24 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
US20180109771A1 (en) * | 2015-05-01 | 2018-04-19 | Duelight Llc | Systems and methods for generating a digital image |
CN109274939A (en) * | 2018-09-29 | 2019-01-25 | 成都臻识科技发展有限公司 | A kind of parking lot entrance monitoring method and system based on three camera modules |
-
2019
- 2019-06-28 CN CN201910579940.3A patent/CN110198418B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105308947A (en) * | 2013-06-13 | 2016-02-03 | 核心光电有限公司 | Dual aperture zoom digital camera |
US20180109771A1 (en) * | 2015-05-01 | 2018-04-19 | Duelight Llc | Systems and methods for generating a digital image |
CN106454131A (en) * | 2016-11-29 | 2017-02-22 | 广东欧珀移动通信有限公司 | Photographing method and device for terminal, and terminal |
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 |
CN107395898A (en) * | 2017-08-24 | 2017-11-24 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN109274939A (en) * | 2018-09-29 | 2019-01-25 | 成都臻识科技发展有限公司 | A kind of parking lot entrance monitoring method and system based on three camera modules |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479059A (en) * | 2020-04-15 | 2020-07-31 | Oppo广东移动通信有限公司 | Photographing processing method and device, electronic equipment and storage medium |
CN113873178A (en) * | 2020-06-30 | 2021-12-31 | Oppo广东移动通信有限公司 | Multimedia processing chip, electronic device and image processing method |
CN113873178B (en) * | 2020-06-30 | 2024-03-22 | Oppo广东移动通信有限公司 | Multimedia processing chip, electronic device and image processing method |
CN115633252A (en) * | 2021-08-11 | 2023-01-20 | 荣耀终端有限公司 | Shooting method and related equipment thereof |
CN115633252B (en) * | 2021-08-11 | 2023-10-20 | 荣耀终端有限公司 | Shooting method and related equipment thereof |
WO2023056785A1 (en) * | 2021-10-09 | 2023-04-13 | 荣耀终端有限公司 | Image processing method and electronic device |
CN115967846A (en) * | 2021-10-09 | 2023-04-14 | 荣耀终端有限公司 | Image processing method and electronic equipment |
CN115359105A (en) * | 2022-08-01 | 2022-11-18 | 荣耀终端有限公司 | Depth-of-field extended image generation method, depth-of-field extended image generation device, and storage medium |
CN115359105B (en) * | 2022-08-01 | 2023-08-11 | 荣耀终端有限公司 | Depth-of-field extended image generation method, device and storage medium |
WO2024067071A1 (en) * | 2022-09-27 | 2024-04-04 | 华为技术有限公司 | Photographing method, and electronic device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN110198418B (en) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109005366B (en) | Night scene shooting processing method and device for camera module, electronic equipment and storage medium | |
CN110198418A (en) | Image processing method, device, storage medium and electronic equipment | |
CN107959778B (en) | Imaging method and device based on dual camera | |
CN110290289B (en) | Image noise reduction method and device, electronic equipment and storage medium | |
CN110166708B (en) | Night scene image processing method and device, electronic equipment and storage medium | |
CN110198417A (en) | Image processing method, device, storage medium and electronic equipment | |
US10943341B2 (en) | Method for image processing, electronic device and computer readable storage medium | |
CN109068067A (en) | Exposal control method, device and electronic equipment | |
CN110191291B (en) | Image processing method and device based on multi-frame images | |
CN110072052B (en) | Image processing method and device based on multi-frame image and electronic equipment | |
CN110445988A (en) | Image processing method, device, storage medium and electronic equipment | |
WO2020057199A1 (en) | Imaging method and device, and electronic device | |
CN109672819B (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN110248106B (en) | Image noise reduction method and device, electronic equipment and storage medium | |
CN110505411A (en) | Image capturing method, device, storage medium and electronic equipment | |
CN110198419A (en) | Image processing method, device, storage medium and electronic equipment | |
CN110290325A (en) | Image processing method, device, storage medium and electronic equipment | |
CN109993722A (en) | Image processing method, device, storage medium and electronic equipment | |
CN110381263A (en) | Image processing method, device, storage medium and electronic equipment | |
CN108024054A (en) | Image processing method, device and equipment | |
CN110430370B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110266966A (en) | Image generating method and device, electronic equipment, computer readable storage medium | |
CN110266954A (en) | Image processing method, device, storage medium and electronic equipment | |
CN110213502A (en) | Image processing method, device, storage medium and electronic equipment | |
CN109756680B (en) | Image synthesis method and device, electronic equipment and readable storage medium |
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 |