CN109361853B - Image processing method, image processing device, electronic equipment and storage medium - Google Patents

Image processing method, image processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109361853B
CN109361853B CN201811227833.6A CN201811227833A CN109361853B CN 109361853 B CN109361853 B CN 109361853B CN 201811227833 A CN201811227833 A CN 201811227833A CN 109361853 B CN109361853 B CN 109361853B
Authority
CN
China
Prior art keywords
camera module
image
current
aperture value
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811227833.6A
Other languages
Chinese (zh)
Other versions
CN109361853A (en
Inventor
王宇鹭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811227833.6A priority Critical patent/CN109361853B/en
Publication of CN109361853A publication Critical patent/CN109361853A/en
Application granted granted Critical
Publication of CN109361853B publication Critical patent/CN109361853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction

Abstract

The application provides an image processing method and device, electronic equipment and a storage medium, and belongs to the technical field of imaging. Wherein, the method comprises the following steps: detecting the current jitter degree of the camera module; determining a target aperture value according to the current jitter degree of the camera module; when a shooting instruction is obtained, adjusting the size of an aperture in the camera module according to the target aperture value; when the size of the aperture reaches the target aperture value in the camera module, image acquisition is carried out. Therefore, the image processing method controls the shooting duration within a reasonable range, thereby effectively inhibiting the ghost of the acquired image caused by hand-held shake due to overlong exposure time during hand-held shooting, improving the quality of the night scene shooting image and improving the user experience.

Description

Image processing method, image processing device, electronic equipment and storage medium
Technical Field
The present application relates to the field of imaging technologies, and in particular, to an image processing method and apparatus, an electronic device, and a storage medium.
Background
With the development of science and technology, intelligent mobile terminals (such as smart phones, tablet computers and the like) are increasingly popularized. The cameras are arranged in most smart phones and tablet computers, and along with the enhancement of the processing capacity of the mobile terminal and the development of the camera technology, the performance of the built-in cameras is more and more powerful, and the quality of shot images is more and more high. At present, the mobile terminal is simple to operate and convenient to carry, and people using the mobile terminals such as smart phones and tablet computers to take pictures in daily life become a normal state.
While the intelligent mobile terminal brings convenience to daily photographing of people, the requirement of people on the quality of photographed images is higher and higher. However, due to professional level restrictions, people do not know how to set appropriate shooting parameters according to the shooting scene, and therefore it is difficult to shoot images as good as a professional camera, especially in some severe scenes, such as rainy weather, backlit scenes, night scenes, and the like. Therefore, an intelligent scene recognition technology without self-setting shooting parameters is developed. For example, in a night scene shooting scene, in order to avoid the problem of insufficient exposure due to poor illumination conditions, in a night scene shooting scene, the set exposure time is longer to ensure the exposure, but due to different shooting habits of people, for example, some users are used for handheld shooting, some users are used for shooting by using a foot rest, when the exposure time is too long, a ghost image is introduced into a shot image due to hand shake, and the image quality is reduced.
Disclosure of Invention
The image processing method, the image processing device, the electronic equipment and the storage medium are used for solving the problem that in the related art, in a night scene shooting scene, due to the fact that exposure time is too long, a ghost image is introduced into a shot image due to hand shaking, and image quality is reduced.
An embodiment of an aspect of the present application provides an image processing method, including: detecting the current jitter degree of the camera module; determining a target aperture value according to the current jitter degree of the camera module; when a shooting instruction is obtained, adjusting the size of an aperture in the camera module according to the target aperture value; and when the size of the aperture in the camera module reaches the target aperture value, acquiring an image.
Another embodiment of the present application provides an image processing apparatus, including: the detection module is used for detecting the current jitter degree of the camera module; the determining module is used for determining a target aperture value according to the current jitter degree of the camera module; the adjusting module is used for adjusting the size of an aperture in the camera module according to the target aperture value when a shooting instruction is obtained; and the acquisition module is used for acquiring images when the size of the aperture in the camera module reaches the target aperture value.
An embodiment of another aspect of the present application provides an electronic device, which includes: the camera module, the memory, the processor and the computer program stored on the memory and capable of running on the processor are characterized in that the processor realizes the image processing method when executing the program.
In yet another aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is executed by a processor to implement the image processing method as described above.
In another aspect of the present application, a computer program is provided, which is executed by a processor to implement the image processing method according to the embodiment of the present application.
The image processing method, the image processing device, the electronic device, the computer-readable storage medium and the computer program provided by the embodiment of the application can detect the current shaking degree of the camera module, determine the target aperture value according to the current shaking degree of the camera module, and adjust the size of the aperture in the camera module to the target aperture value and acquire an image when a shooting instruction is acquired. From this, through the shake degree according to the module of making a video recording, the size of the diaphragm in the module of making a video recording of adjustment to shoot for a long time control at reasonable within range, thereby effectively restrained when handheld shooting, because exposure time overlength makes the ghost that the image that obtains leads to because of handheld shake, improved the quality that the image was shot in the night scene, improved user experience.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another image processing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another image processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the like or similar elements throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The embodiment of the application provides an image processing method aiming at the problem that in the related art, in a night scene shooting scene, due to the fact that exposure time is too long, a shot image introduces ghost images due to hand shaking, and image quality is reduced.
The image processing method provided by the embodiment of the application can detect the current shaking degree of the camera module, determine the target aperture value according to the current shaking degree of the camera module, and adjust the size of the aperture in the camera module to the target aperture value and collect images when the shooting instruction is obtained. From this, through the shake degree according to the module of making a video recording, the size of the diaphragm in the module of making a video recording of adjustment to shoot for a long time control at reasonable within range, thereby effectively restrained when handheld shooting, because exposure time overlength makes the ghost that the image that obtains leads to because of handheld shake, improved the quality that the image was shot in the night scene, improved user experience.
The image processing method, apparatus, electronic device, storage medium, and computer program provided by the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure.
As shown in fig. 1, the image processing method includes the following steps:
and step 101, detecting the current shaking degree of the camera module.
In the embodiment of the application, the current shaking degree of the camera module, that is, the current shaking degree of the camera module, can be determined by acquiring the current gyroscope (Gyro-sensor) information of the electronic device.
The gyroscope is also called as an angular velocity sensor and can measure the rotation angular velocity of the physical quantity during deflection and inclination. In the electronic equipment, the gyroscope can well measure the actions of rotation and deflection, so that the actual actions of a user can be accurately analyzed and judged. The gyroscope information (gyro information) of the electronic device may include motion information of the electronic device in three dimensional directions in a three-dimensional space, and the three dimensions of the three-dimensional space may be respectively expressed as three directions of an X axis, a Y axis, and a Z axis, where the X axis, the Y axis, and the Z axis are in a pairwise perpendicular relationship.
It should be noted that, in a possible implementation form of the embodiment of the present application, the current shake degree of the camera module may be determined according to the current gyro information of the electronic device. The larger the absolute value of gyro motion of the electronic apparatus in three directions is, the larger the degree of shake of the camera module is. Specifically, absolute value thresholds of gyro motion in three directions may be preset, and the current shake degree of the camera module may be determined according to a relationship between the sum of the acquired absolute values of gyro motion in the three directions and the preset threshold.
For example, it is assumed that the preset threshold values are a first threshold value a, a second threshold value B, and a third threshold value C, where a < B < C, and the sum of absolute values of gyro motion in three directions currently acquired is S. If S is less than A, determining that the current shaking degree of the camera module is 'no shaking'; if A < S < B, the current shaking degree of the camera module can be determined to be 'slight shaking'; if B < S < C, the current shaking degree of the camera module can be determined to be 'small shaking'; if S > C, the current shaking degree of the camera module can be determined to be large shaking.
And 102, determining a target aperture value according to the current shaking degree of the camera module.
The aperture, which is a device for controlling the amount of light transmitted through the lens and entering the light-sensing surface of the camera body, is usually in the lens, and the aperture size is represented by the aperture factor (F value), and the complete aperture value is as follows: f/1.0, F/1.4, F/2.0, F/2.8, F/4.0, F/5.6, F/8.0, F/11, F/16, F/22, F/32, F/44, F/64. The gear design of the diaphragm is that the numerical value difference of two adjacent gears is 1.4 times (approximate value of square root 1.414 of 2), between two adjacent gears, the diameter difference of the light holes is 1.4 times, the area difference of the light holes is one time, the brightness difference of the imaging is one time, and the time difference required for maintaining the same exposure is one time. The aperture is used for determining the light entering amount of the lens, and the smaller the value behind F is, the larger the aperture is, and the more the light entering amount is; conversely, the smaller.
It can be understood that, under the condition that the exposure time is not changed, the smaller the F value of the aperture, the larger the light input quantity, and the brighter the picture; the larger the F number of the diaphragm is, the smaller the diaphragm is, and the darker the picture is. Correspondingly, under the condition of a certain exposure, the smaller the F value of the diaphragm is, namely the larger the diaphragm is, the shorter the required exposure time is; the larger the F-number of the aperture, i.e. the smaller the aperture, the longer the required exposure time. Therefore, in one possible implementation form of the embodiment of the present application, the exposure time period at the time of shooting can be controlled by adjusting the size of the aperture.
It should be noted that, the shooting duration is too long, which may cause the shake degree of the camera module to be aggravated during the handheld shooting, thereby affecting the image quality. Therefore, the target aperture value can be determined according to the current shaking degree of the camera module, so that the shooting time is controlled within a proper range, the shaking degree of the camera module is reduced, and the quality of shot images is improved.
Furthermore, a threshold value of the shake degree of the camera module can be preset, and the target aperture value is determined according to the relation between the current shake degree of the camera module and the threshold value. That is, in a possible implementation form of the embodiment of the present application, the step 102 may include:
if the current jitter degree of the camera module is smaller than a threshold value, determining the target aperture value as a first aperture value;
and if the current shaking degree of the camera module is larger than a threshold value, determining that the target aperture value is a second aperture value, wherein the first aperture value is larger than the second aperture value.
It can be understood that, if the current shake degree of the camera module is smaller than the threshold value, that is, the current shake degree of the camera module is smaller, the target aperture value can be determined to be a larger value, that is, the aperture is appropriately reduced, and the exposure time is prolonged, so that the shot image has higher resolution and definition; if the current shake degree of the camera module is larger than the threshold value, namely the current shake degree of the camera module is larger, the target aperture value can be determined to be a smaller value, namely the aperture is properly increased, the exposure time is shortened, so that the shake degree of the camera module is reduced, the shake blur is inhibited, and the quality of a shot image is improved.
And 103, when a shooting instruction is obtained, adjusting the size of an aperture in the camera module according to the target aperture value.
In the embodiment of the application, when the shooting instruction is acquired, that is, after the user presses the shooting key, the aperture size of the camera module can be adjusted to the target aperture value according to the determined target aperture value.
And 104, acquiring an image when the size of the aperture in the camera module reaches the target aperture value.
It should be noted that when the size of the aperture in the camera module reaches the target aperture value, the photosensitive element in the camera module can be controlled to perform photosensitive operation to collect an image.
The image processing method provided by the embodiment of the application can detect the current shaking degree of the camera module, determine the target aperture value according to the current shaking degree of the camera module, and adjust the size of the aperture in the camera module to the target aperture value and collect images when the shooting instruction is obtained. From this, through the shake degree according to the module of making a video recording, the size of the diaphragm in the module of making a video recording of adjustment to shoot for a long time control at reasonable within range, thereby effectively restrained when handheld shooting, because exposure time overlength makes the ghost that the image that obtains leads to because of handheld shake, improved the quality that the image was shot in the night scene, improved user experience.
In this application a possible implementation form, can gather multiframe preview picture through the module of making a video recording to according to the shake information that multiframe preview picture corresponds respectively, confirm the shake degree of the module of making a video recording, with the accuracy nature that improves the shake degree, and then confirm the target aperture value according to the shake degree, and after accomplishing image acquisition, with the aperture size adjustment in the module of making a video recording to the state before the shooting.
Another image processing method provided in the embodiment of the present application is further described below with reference to fig. 2.
Fig. 2 is a schematic flowchart of another image processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the image processing method includes the following steps:
step 201, determining a preset aperture value according to the illuminance of the current shooting scene.
In this embodiment of the present application, a light measuring module in the camera module may be used to obtain the illuminance of the current shooting scene, and an Automatic Exposure Control (AEC) algorithm is used to determine the Exposure amount corresponding to the current illuminance. The exposure amount is related to the aperture, the exposure time and the light sensitivity, so that the combination of the aperture value and the exposure time can be determined according to the exposure amount and the light sensitivity, the light incoming amount when an image is shot is consistent with the exposure amount determined by the ACE algorithm, and the aperture value automatically determined according to the illuminance of the current shooting scene is the preset aperture value.
And 202, controlling an aperture in the camera module to acquire and generate a preview picture according to the preset aperture value.
And 203, detecting the jitter information respectively corresponding to the multi-frame preview pictures acquired by the camera module.
And 204, determining the current shaking degree of the camera module according to the shaking information respectively corresponding to the multi-frame preview pictures.
In this application embodiment, after the camera module starts to operate, can confirm the exposure that the illuminance of current shooting scene corresponds through ACE algorithm, and then determine preset aperture value, later can control the camera module with preset aperture value, gather and generate multiframe preview picture, and when gathering each frame preview picture, detect the shake information of each frame preview picture through the gyroscope in the electronic equipment, the sum of the absolute values of gyro motion of electronic equipment in X, Y, Z three directions when gathering each frame preview picture promptly, and the shake information that corresponds with multiframe preview picture is cached in electronic equipment's storage component. After the preview pictures are collected, the average value of the jitter information corresponding to the multi-frame preview pictures can be calculated according to the jitter information corresponding to the cached multi-frame preview pictures, and then the jitter degree of the camera module is determined according to the average value of the jitter information, so that the accuracy of the jitter degree of the camera module is improved.
And step 205, determining a target aperture value according to the current shake degree of the camera module.
And step 206, when a shooting instruction is obtained, adjusting the size of the aperture in the camera module to the target aperture value, and acquiring an image.
The detailed implementation process and principle of the steps 205 and 206 can refer to the detailed description of the above embodiments, and are not described herein again.
And step 207, adjusting the size of the aperture in the camera module to a preset aperture value.
In a possible implementation form of the embodiment of the application, after image acquisition is completed, the size of the aperture in the camera module can be adjusted to a preset aperture value, namely, the size of the aperture is restored to the state before image acquisition, so that influence is not caused when the size of the aperture is adjusted during next shooting.
The image processing method provided by the embodiment of the application can determine a preset aperture value according to the illuminance of a current shooting scene, control the aperture in the camera module to acquire and generate the preview picture according to the preset aperture value, then detect the shake information respectively corresponding to the multi-frame preview pictures acquired by the camera module, determine the current shake degree of the camera module according to the shake information respectively corresponding to the multi-frame preview pictures, further determine a target aperture value according to the current shake degree of the camera module, and adjust the size of the aperture in the camera module to the target aperture value and acquire an image when a shooting instruction is obtained. From this, through gathering multiframe preview picture, and detect its shake information that corresponds respectively, determine the current shake degree of the module of making a video recording, further improve the accuracy nature that the module shake degree of making a video recording detected, and according to the shake degree of the module of making a video recording, the size of the light ring in the module of adjusting making a video recording, in order to control the length of time of will shooing at reasonable within range, thereby effectively restrained when handheld shooting, because the exposure time overlength makes the ghost that the image that obtains leads to because of handheld shake, the quality of the night scene shot image has been improved, user experience has been improved.
In a possible implementation form of the present application, the current shooting scene may also be determined according to the illuminance of the current shooting environment. If the night scene shooting is carried out, the quality of the night scene shooting image can be further improved in a mode of collecting multi-frame images and synthesizing.
Another image processing method provided in the embodiment of the present application is further described below with reference to fig. 3.
Fig. 3 is a flowchart illustrating another image processing method according to an embodiment of the present application.
As shown in fig. 3, the image processing method includes the steps of:
step 301, detecting the current shake degree of the camera module.
Step 302, determining a target aperture value according to the current shaking degree of the camera module.
The detailed implementation process and principle of the steps 301-302 can refer to the detailed description of the above embodiments, and are not described herein again.
Step 303, determining whether the current shooting scene is a night scene shooting according to the illuminance of the current shooting scene.
In the embodiment of the present application, the night scene shooting refers to a shooting scene when the ambient light illuminance of the shooting scene is less than a preset fourth threshold. That is, whether the current photographing scene is a night scene photographing or not can be determined according to the ambient light illuminance of the current photographing scene, regardless of whether the photographing scene is "night". For example, in a "night" scene with good lighting conditions, that is, a "night" scene with ambient light illuminance greater than a preset fourth threshold, the "night" scene is not taken at night; and in a non-night scene with the ambient light illumination smaller than the preset threshold, the night scene shooting can be determined.
It should be noted that, in actual use, the threshold of the ambient light illuminance may be preset according to actual needs or experience, and this is not limited in this application embodiment.
In another possible implementation form of the embodiment of the present application, an Artificial Intelligence (AI) technology may be further used to determine whether a current shooting scene is a night scene shooting according to brightness information in picture content of a current preview picture. Specifically, whether the current shooting scene is the night scene shooting can be judged according to the average brightness information of the preview picture content and the brightness difference values of different areas in the picture.
It should be noted that a fifth threshold of the average brightness of the content of the preview image and a sixth threshold of the brightness difference value may be preset, and whether the current shooting scene is a night scene shooting is determined according to the relationship between the average brightness of the content of the current preview image and the fifth threshold and the relationship between the brightness difference values of different areas in the image and the sixth threshold.
It can be understood that in a night scene, the overall brightness of the picture is generally low, and in a night scene with a light source, a highlight area is formed in the vicinity of the light source, and the brightness of the highlight area is high; and the dark area is formed in the area far away from the light source, and the brightness of the dark area is low, so that the brightness difference between different areas of the picture is high in the night scene with the light source. Accordingly, in a non-night scene, the overall brightness of the picture is generally high, and the brightness distribution is uniform, so that no obvious highlight area and dark area are formed, i.e. the brightness difference between different areas is small. Therefore, in a possible implementation form of the embodiment of the present application, if the average brightness of the picture content of the current preview picture is smaller than the fifth threshold, or the brightness difference between different areas is larger than the sixth threshold, it may be determined that the current shooting scene is a night scene shooting.
It should be noted that the fifth threshold of the average brightness of the preview image and the sixth threshold of the brightness difference between different areas may be preset according to actual needs or experience, and this is not limited in this embodiment of the application.
And 304, if yes, determining a target exposure compensation mode according to the current shaking degree of the camera module.
It should be noted that, in a night scene shooting scene, images with different dynamic ranges can be obtained by collecting images with different multi-frame exposure durations and synthesized, so that the synthesized image has a higher dynamic range, and the overall brightness and quality of the image are improved.
Further, the quantity of the image of gathering and the sensitivity of gathering the image can influence holistic long time of shooing, and long length of time of shooing probably leads to the shake degree aggravation of the module of making a video recording when handheld shooting to influence image quality. Therefore, the number of images to be acquired, the reference sensitivity corresponding to each frame of image to be acquired and the exposure time corresponding to each frame of image to be acquired, namely the target exposure compensation mode, can be determined according to the current shaking degree of the camera module, so that the shooting time is controlled in a proper range. That is, in a possible implementation form of the embodiment of the present application, the step 304 may include:
determining the number of images to be acquired and the reference sensitivity corresponding to each frame of image to be acquired according to the current jitter degree of the camera module;
and determining the exposure duration corresponding to each frame of image to be acquired according to the illuminance of the current shooting scene and the reference sensitivity corresponding to each frame of image to be acquired.
Wherein, the sensitivity, also called ISO value, is an index for measuring the sensitivity of the negative film to light. For a lower sensitivity film, a longer exposure time is required to achieve the same imaging as for a higher sensitivity film. The sensitivity of a digital camera is an index similar to the sensitivity of a film, and the ISO of a digital camera can be adjusted by adjusting the sensitivity of a photosensitive device or combining photosensitive points, that is, the ISO can be improved by increasing the light sensitivity of the photosensitive device or combining several adjacent photosensitive points. It should be noted that whether digital or film photography, the use of relatively high sensitivity generally introduces more noise in order to reduce the exposure time, resulting in reduced image quality.
In the embodiment of the present application, the reference sensitivity is a minimum sensitivity that is determined according to a current shake degree of the image capturing module and is suitable for the current shake degree.
It should be noted that, in the embodiment of the present application, by acquiring multiple frames of images with lower sensitivity simultaneously and synthesizing the acquired multiple frames of images to generate the target image, not only the dynamic range and the overall brightness of the night view captured image can be improved, but also noise in the image is effectively suppressed by controlling the value of the sensitivity, and the quality of the night view captured image is improved.
In the embodiment of the application, the number of the images to be acquired and the reference sensitivity corresponding to each frame of the images to be acquired can be determined according to the current shaking degree of the camera module, so that the shooting time is controlled in a proper range. Specifically, if the current jitter degree of the camera module is small, a plurality of frames of images can be acquired, and the reference sensitivity corresponding to each frame of image to be acquired can be properly compressed into a small value, so that the noise of each frame of image can be effectively inhibited, and the quality of the shot image can be improved; if the current shaking degree of the camera module is larger, images of fewer frames can be collected, and the reference sensitivity corresponding to each frame of image to be collected can be properly improved to be a larger value so as to shorten the shooting time.
For example, if it is determined that the current shake degree of the camera module is "no shake", it may be determined that the current shooting mode may be a tripod shooting mode, and at this time, images of a plurality of frames may be collected, and the reference sensitivity is determined to be a smaller value, so as to obtain an image with higher quality as much as possible, for example, it is determined that the number of images to be collected is 17 frames, and the reference sensitivity is 100; if the current shake degree of the camera module is determined to be 'slight shake', the camera module can be determined to be possibly in a handheld shooting mode currently, images of fewer frames can be collected at the moment, and the reference sensitivity is determined to be a larger value so as to reduce the shooting time length, for example, the number of the images to be collected is determined to be 7 frames, and the reference sensitivity is 200; if the current shake degree of the camera module is determined to be small shake, the camera module can be determined to be possibly in a handheld shooting mode, at this time, the number of images to be collected can be further reduced, and the reference sensitivity is further increased to reduce the shooting time length, for example, the number of the images to be collected is determined to be 5 frames, and the reference sensitivity is 220; if the current shaking degree of the camera module is determined to be 'large shaking', the current shaking degree can be determined to be too large, at this time, the number of images to be collected can be further reduced, or a mode of collecting multi-frame images is not adopted for shooting, and the reference sensitivity is further increased to reduce the shooting time length, for example, the images to be collected are determined to be 3 frames, and the reference sensitivity is 250.
It should be noted that the above examples are only illustrative and should not be construed as limiting the present application. In practical use, when the shake degree of the camera module is changed, the number of images to be acquired and the reference sensitivity can be changed simultaneously, and one of the images can be changed to obtain an optimal scheme. The mapping relation between the dithering degree of the camera module and the number of the images to be collected and the reference sensitivity corresponding to each frame of image to be collected can be preset according to actual needs.
In the embodiment of the application, after the number of the images to be acquired and the exposure time corresponding to each frame of the images to be acquired are determined, the exposure time corresponding to each frame of the images to be acquired can be determined according to the illuminance of the current shooting scene and the reference sensitivity corresponding to each frame of the images to be acquired.
The exposure duration refers to the time of light passing through the lens.
In the embodiment of the application, the illuminance of a current shooting scene can be acquired by using a photometric module in a camera module, and the Exposure amount corresponding to the current illuminance is determined by using an Automatic Exposure Control (AEC) algorithm, so that the Exposure duration corresponding to each frame of image to be acquired is determined according to the determined Exposure amount and the reference sensitivity corresponding to each frame of image to be acquired.
It should be noted that, in order to obtain images with different dynamic ranges, exposure durations corresponding to each frame of image to be acquired may be different, that is, different exposure compensation strategies may be adopted when each frame of image to be acquired is acquired, and the exposure duration corresponding to each frame of image to be acquired is determined according to the exposure compensation strategies and the current illuminance. The exposure compensation strategy can be preset in advance by one or more groups, and the preset exposure compensation strategy which is consistent with the number of the images to be acquired is determined according to the number of the images to be acquired.
Specifically, the reference exposure amount can be determined through an ACE algorithm according to the illuminance of the current shooting scene, the reference exposure duration can be determined according to the reference exposure amount and the reference sensitivity corresponding to each frame of image to be collected, and the exposure duration corresponding to each frame of image to be collected can be determined according to the reference exposure duration and a preset exposure compensation strategy.
The reference exposure is a normal exposure corresponding to the illuminance of the current shooting scene determined according to the illuminance of the current shooting scene. When the target aperture value is determined, the reference exposure time length can be determined according to the reference sensitivity and the reference exposure amount.
In the embodiment of the application, different exposure compensation strategies can be adopted for each frame of image to be acquired through a preset exposure compensation strategy, so that the image to be acquired corresponds to different exposure quantities, and images with different dynamic ranges can be obtained.
In the embodiment of the present application, the preset Exposure compensation strategy refers to a combination of Exposure values (EV for short) preset for each frame of image to be acquired. In the initial definition of exposure value, exposure value does not mean an exact numerical value, but means "a combination of all camera apertures and exposure periods that can give the same exposure amount". The sensitivity, aperture and exposure time determine the exposure of the camera, and different combinations of parameters can produce equal exposures, i.e., the EV values of these different combinations are the same, e.g., using an 1/125 second exposure time and F/11 aperture combination with the 1/250 second exposure time and F/8.0 shutter combination, the same exposure is obtained, i.e., the EV values are the same, with the same sensitivity. When the EV value is 0, the exposure is obtained when the light sensitivity is 100, the aperture coefficient is F/1 and the exposure time is 1 second; the exposure amount is increased by one step, namely, the exposure time is doubled, or the sensitivity is doubled, or the aperture is increased by one step, and the EV value is increased by 1, namely, the exposure amount corresponding to 1EV is twice as much as the exposure amount corresponding to 0 EV. As shown in table 1, the correspondence relationship between the exposure time, the aperture, and the sensitivity, when they were changed individually, and the EV value was obtained.
TABLE 1
Figure BDA0001836415670000091
After the digital era of photography, the photometric function inside the camera has been very powerful, EV is often used to represent a step difference on the exposure scale, and many cameras allow setting of exposure compensation and are usually represented by EV. In this case, EV refers to a difference between the exposure amount corresponding to the camera photometric data and the actual exposure amount, for example, exposure compensation of +1EV refers to an increase of one exposure with respect to the exposure amount corresponding to the camera photometric data, that is, the actual exposure amount is twice the exposure amount corresponding to the camera photometric data.
In the embodiment of the present application, when the exposure compensation strategy is preset, the EV value corresponding to the determined reference exposure amount may be preset to 0, where +1EV means increasing one-step exposure, that is, the exposure amount is 2 times of the reference exposure amount, +2EV means increasing two-step exposure, that is, the exposure amount is 4 times of the reference exposure amount, and-1 EV means decreasing one-step exposure, that is, the exposure amount is 0.5 times of the reference exposure amount.
For example, if the number of images to be captured is 7 frames, the EV value range corresponding to the preset exposure compensation strategy may be [ +1, +1, +1, +1,0, -3, -6 ]. The exposure compensation strategy is a frame of +1EV, the noise problem can be solved, time domain noise reduction is carried out through a frame with higher brightness, and noise is suppressed while dark part details are improved; the exposure compensation strategy is a frame of-6 EV, so that the problem of high light overexposure can be solved, and the details of a high light area are reserved; the exposure compensation strategies are 0EV and-3 EV frames, and the method can be used for maintaining the transition between highlight and dark areas and maintaining the good effect of bright-dark transition.
It should be noted that each EV value corresponding to the preset exposure compensation strategy may be specifically set according to actual needs, or may be obtained according to a set EV value range and a principle that differences between the EV values are equal, which is not limited in this embodiment of the present application.
In a possible implementation form of the embodiment of the application, each image to be acquired is acquired by using the determined target aperture value and the reference sensitivity, and therefore, after the number of the current images to be acquired is determined according to the current shake degree of the camera module, the exposure time corresponding to each frame of image to be acquired can be determined according to a preset exposure compensation strategy which is consistent with the number of the current images to be acquired and the reference exposure time. Specifically, if the exposure compensation strategy corresponding to the image to be acquired is +1EV, the exposure duration corresponding to the image to be acquired is 2 times of the reference duration; if the exposure compensation strategy corresponding to the image to be acquired is-1 EV, the exposure time length corresponding to the image to be acquired is 0.5 times of the reference time length, and so on.
For example, assuming that the number of images to be captured is determined to be 7 frames according to the current shake degree of the camera module, the EV range corresponding to the corresponding preset exposure compensation strategy may be [ +1, +1, +1, +1,0, -3, -6], and the reference exposure duration is determined to be 100 milliseconds according to the reference exposure and the reference sensitivity, and the exposure durations corresponding to each frame of images to be captured are 200 milliseconds, 100 milliseconds, 12.5 milliseconds, and 6.25 milliseconds, respectively.
And 305, when a shooting instruction is acquired, adjusting the size of an aperture in the camera module according to the target aperture value.
And 306, when the size of the aperture in the camera module reaches the target aperture value, acquiring an image according to the target exposure compensation mode.
In the embodiment of the application, after the shooting instruction is obtained, the size of the aperture in the camera module can be adjusted to the target aperture value, and image acquisition is performed according to the determined target exposure compensation mode.
Further, the target exposure compensation mode includes the number of images to be acquired, the reference sensitivity corresponding to each frame of image to be acquired, and the exposure duration corresponding to each frame of image to be acquired. That is, in a possible implementation form of the embodiment of the present application, the step 306 may include:
sequentially collecting multiple frames of images according to the reference sensitivity and the exposure duration corresponding to each frame of image to be collected;
and synthesizing the collected multi-frame images to generate a target image.
In the embodiment of the application, after the reference sensitivity and the exposure duration corresponding to each frame of image to be acquired are determined, multiple frames of images can be sequentially acquired according to the reference sensitivity and the exposure duration, and the acquired multiple frames of images are subjected to synthesis processing to generate the target image.
Further, in a possible implementation form of the embodiment of the application, a weight corresponding to each frame of an image to be acquired in a multi-frame image may also be preset, and the preset weight is utilized to perform synthesis processing on the acquired multi-frame image, so as to obtain a target image with an optimal effect.
The image processing method provided by the embodiment of the application can determine whether the current shooting scene is the night scene shooting according to the illuminance of the current shooting scene, determine the target exposure compensation mode according to the detected current shaking degree of the camera module in the night scene shooting, and acquire the image according to the target aperture value, namely the target compensation mode. Therefore, in the night scene shooting mode, the target aperture value, the number of the images to be collected and the reference sensitivity are determined according to the current shaking degree of the camera module, and determines the exposure time corresponding to each frame of image to be collected according to the illuminance and the reference sensitivity of the current shooting scene, therefore, by adjusting the size of the aperture in the camera module and shooting a plurality of images with different exposure durations for synthesis according to the shake degree of the camera module, the dynamic range and the overall brightness of the shot images in a night scene shooting mode are improved, the noise in the shot images is effectively inhibited, the shooting duration is controlled within a reasonable range, and the hand-held shooting is effectively inhibited, due to the fact that exposure time is too long, ghost images of the obtained images are caused by hand-held shaking, the quality of the images shot in the night scene is improved, and user experience is improved.
In order to implement the above embodiments, the present application also provides an image processing apparatus.
Fig. 4 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application.
As shown in fig. 4, the image processing apparatus 40 includes:
the detection module 41 is configured to detect a current shake degree of the camera module;
the determining module 42 is configured to determine a target aperture value according to the current shake degree of the camera module;
the adjusting module 43 is configured to adjust the size of an aperture in the camera module according to the target aperture value when a shooting instruction is obtained;
and the acquisition module 44 is used for acquiring images when the size of the aperture in the camera module reaches the target aperture value.
In practical use, the image processing apparatus provided in the embodiment of the present application may be configured in any electronic device to execute the foregoing image processing method.
The image processing device that this application embodiment provided can detect the current shake degree of module of making a video recording to according to the current shake degree of module of making a video recording, confirm the target aperture value, when obtaining and shoot the instruction, and then with the size adjustment of the diaphragm in the module of making a video recording to the target aperture value and gather the image. From this, through the shake degree according to the module of making a video recording, the size of the diaphragm in the module of making a video recording of adjustment to shoot for a long time control at reasonable within range, thereby effectively restrained when handheld shooting, because exposure time overlength makes the ghost that the image that obtains leads to because of handheld shake, improved the quality that the image was shot in the night scene, improved user experience.
In one possible implementation form of the present application, the image processing apparatus 40 further includes:
the processing module is used for determining whether the current shooting scene is a night scene shooting according to the illuminance of the current shooting scene; and when the current shooting scene is determined to be night scene shooting, determining a target exposure compensation mode according to the current shaking degree of the camera module.
Correspondingly, the acquisition module 44 is specifically configured to:
and when the size of the aperture in the camera module reaches the target aperture value, acquiring an image according to the target exposure compensation mode.
In another possible implementation form of the present application, the processing module is further configured to:
determining the number of images to be acquired and the reference sensitivity corresponding to each frame of image to be acquired according to the current jitter degree of the camera module;
determining the exposure duration corresponding to each frame of image to be acquired according to the illuminance of the current shooting scene and the reference sensitivity corresponding to each frame of image to be acquired;
correspondingly, the acquisition module 44 is specifically configured to:
sequentially collecting multiple frames of images according to the reference sensitivity and the exposure duration corresponding to each frame of image to be collected;
and synthesizing the collected multi-frame images to generate a target image.
In yet another possible implementation form of the present application, the image processing apparatus 40 further includes:
and the adjusting module is used for adjusting the size of the aperture in the camera module to a preset aperture value after image acquisition.
In another possible implementation form of the present application, the determining module 42 is further configured to:
and determining the preset aperture value according to the illuminance of the current shooting scene.
In another possible implementation form of the present application, the above-mentioned acquisition module 44 is further configured to:
and controlling the aperture in the camera module to collect and generate a preview picture according to the preset aperture value.
In a possible implementation form of the present application, the determining module 42 is specifically configured to:
if the current jitter degree of the camera module is smaller than a threshold value, determining the target aperture value as a first aperture value;
and if the current shaking degree of the camera module is larger than a threshold value, determining that the target aperture value is a second aperture value, wherein the first aperture value is smaller than the second aperture value.
In a possible implementation form of the present application, the detection module 41 is specifically configured to:
detecting jitter information respectively corresponding to the multi-frame preview pictures acquired by the camera module;
and determining the current shaking degree of the camera module according to the shaking information respectively corresponding to the multi-frame preview pictures.
It should be noted that the foregoing explanation of the embodiments of the image processing method shown in fig. 1, fig. 2, and fig. 3 also applies to the image processing apparatus 40 of this embodiment, and details thereof are not repeated here.
The image processing device provided by the embodiment of the application can determine whether the current shooting scene is the night scene shooting according to the illuminance of the current shooting scene, determine the target exposure compensation mode according to the detected current shaking degree of the camera module in the night scene shooting, and acquire an image according to the target aperture value, namely the target compensation mode. Therefore, in the night scene shooting mode, the target aperture value, the number of the images to be collected and the reference sensitivity are determined according to the current shaking degree of the camera module, and determines the exposure time corresponding to each frame of image to be collected according to the illuminance and the reference sensitivity of the current shooting scene, therefore, by adjusting the size of the aperture in the camera module and shooting a plurality of images with different exposure durations for synthesis according to the shake degree of the camera module, the dynamic range and the overall brightness of the shot images in a night scene shooting mode are improved, the noise in the shot images is effectively inhibited, the shooting duration is controlled within a reasonable range, and the hand-held shooting is effectively inhibited, due to the fact that exposure time is too long, ghost images of the obtained images are caused by hand-held shaking, the quality of the images shot in the night scene is improved, and user experience is improved.
In order to implement the above embodiments, the present application further provides an electronic device.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
As shown in fig. 5, the electronic device 200 includes:
a memory 210 and a processor 220, a bus 230 connecting different components (including the memory 210 and the processor 220), wherein the memory 210 stores a computer program, and when the processor 220 executes the program, the image processing method according to the embodiment of the present application is implemented.
Bus 230 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 200 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 200 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 210 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)240 and/or cache memory 250. The electronic device 200 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 260 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 230 by one or more data media interfaces. Memory 210 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 280 having a set (at least one) of program modules 270, including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment, may be stored in, for example, the memory 210. The program modules 270 generally perform the functions and/or methodologies of the embodiments described herein.
Electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), with one or more devices that enable a user to interact with electronic device 200, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 292. Also, the electronic device 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 293. As shown, the network adapter 293 communicates with the other modules of the electronic device 200 via the bus 230. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 220 executes various functional applications and data processing by executing programs stored in the memory 210.
It should be noted that, for the implementation process and the technical principle of the electronic device of the embodiment, reference is made to the foregoing explanation of the image processing method of the embodiment of the present application, and details are not described here again.
The electronic device provided by the embodiment of the application can execute the image processing method, detect the current shake degree of the camera module, determine the target aperture value according to the current shake degree of the camera module, and adjust the size of the aperture in the camera module to the target aperture value and acquire an image when acquiring the shooting instruction. From this, through the shake degree according to the module of making a video recording, the size of the diaphragm in the module of making a video recording of adjustment to shoot for a long time control at reasonable within range, thereby effectively restrained when handheld shooting, because exposure time overlength makes the ghost that the image that obtains leads to because of handheld shake, improved the quality that the image was shot in the night scene, improved user experience. In order to implement the above embodiments, the present application also proposes a computer-readable storage medium.
The computer readable storage medium stores thereon a computer program, and the computer program is executed by a processor to implement the image processing method according to the embodiment of the present application.
In order to implement the foregoing embodiments, an embodiment of a further aspect of the present application provides a computer program, which is executed by a processor to implement the image processing method according to the embodiment of the present application.
In an alternative implementation, the embodiments may be implemented in any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (9)

1. An image processing method, comprising:
detecting the current jitter degree of the camera module;
determining a target aperture value according to the current jitter degree of the camera module;
determining whether the current shooting scene is night scene shooting or not according to the illuminance of the current shooting scene;
if so, determining the number of images to be acquired and the reference sensitivity corresponding to each frame of image to be acquired according to the current jitter degree of the camera module, wherein the number of the images to be acquired and the jitter degree are in a negative correlation relationship, and the reference sensitivity and the jitter degree are in a positive correlation relationship;
determining a reference exposure according to the illuminance of the current shooting scene;
determining a reference exposure time length according to the reference exposure amount and the reference sensitivity corresponding to each frame of image to be acquired;
determining the exposure duration corresponding to each frame of image to be acquired according to the reference exposure duration and a preset exposure compensation strategy;
when a shooting instruction is obtained, adjusting the size of an aperture in the camera module according to the target aperture value;
when the size of an aperture in the camera module reaches the target aperture value, sequentially collecting multiple frames of images according to the reference sensitivity and the exposure duration corresponding to each frame of image to be collected;
and synthesizing the collected multi-frame images to generate a target image.
2. The method of claim 1, wherein after said performing image acquisition, further comprising:
and adjusting the size of the aperture in the camera module to a preset aperture value.
3. The method of claim 2, wherein before adjusting the size of the aperture in the camera module according to the target aperture value, further comprising:
and determining the preset aperture value according to the illuminance of the current shooting scene.
4. The method according to claim 2 or 3, wherein before adjusting the size of the aperture in the camera module according to the target aperture value, the method further comprises:
and controlling the aperture in the camera module to collect and generate a preview picture according to the preset aperture value.
5. The method according to any one of claims 1-3, wherein said determining a target aperture value based on a current degree of shake of said camera module comprises:
if the current jitter degree of the camera module is smaller than a threshold value, determining the target aperture value as a first aperture value;
and if the current shaking degree of the camera module is larger than a threshold value, determining that the target aperture value is a second aperture value, wherein the first aperture value is larger than the second aperture value.
6. The method according to any one of claims 1-3, wherein said detecting a current shake level of the camera module comprises:
detecting jitter information respectively corresponding to the multi-frame preview pictures acquired by the camera module;
and determining the current shaking degree of the camera module according to the shaking information respectively corresponding to the multi-frame preview pictures.
7. An image processing apparatus characterized by comprising:
the detection module is used for detecting the current jitter degree of the camera module;
the determining module is used for determining a target aperture value according to the current jitter degree of the camera module;
the processing module is used for determining whether the current shooting scene is night scene shooting according to the illuminance of the current shooting scene, and determining the number of images to be collected and the reference sensitivity corresponding to each frame of image to be collected according to the current shaking degree of the camera module when the current shooting scene is determined to be night scene shooting, wherein the number of the images to be collected and the shaking degree are in a negative correlation relationship, and the reference sensitivity and the shaking degree are in a positive correlation relationship; determining a reference exposure according to the illuminance of the current shooting scene; determining a reference exposure time length according to the reference exposure amount and the reference sensitivity corresponding to each frame of image to be acquired; determining the exposure duration corresponding to each frame of image to be acquired according to the reference exposure duration and a preset exposure compensation strategy;
the adjusting module is used for adjusting the size of an aperture in the camera module according to the target aperture value when a shooting instruction is obtained;
the acquisition module is used for sequentially acquiring multiple frames of images according to the reference sensitivity and the exposure duration corresponding to each frame of image to be acquired when the size of the aperture in the camera module reaches the target aperture value; and synthesizing the collected multi-frame images to generate a target image.
8. An electronic device, comprising: the camera module, the memory, the processor and the computer program stored on the memory and capable of running on the processor, when the processor executes the computer program, the image processing method according to any one of claims 1 to 6 is realized.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the image processing method according to any one of claims 1 to 6.
CN201811227833.6A 2018-10-22 2018-10-22 Image processing method, image processing device, electronic equipment and storage medium Active CN109361853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811227833.6A CN109361853B (en) 2018-10-22 2018-10-22 Image processing method, image processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811227833.6A CN109361853B (en) 2018-10-22 2018-10-22 Image processing method, image processing device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109361853A CN109361853A (en) 2019-02-19
CN109361853B true CN109361853B (en) 2021-03-23

Family

ID=65346104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811227833.6A Active CN109361853B (en) 2018-10-22 2018-10-22 Image processing method, image processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109361853B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020168519A1 (en) * 2019-02-21 2020-08-27 深圳市大疆创新科技有限公司 Camera parameter adjusting method, camera device, and movable platform
CN110072052B (en) * 2019-04-09 2021-08-27 Oppo广东移动通信有限公司 Image processing method and device based on multi-frame image and electronic equipment
CN110233970B (en) * 2019-06-27 2021-03-12 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN113347352B (en) * 2021-05-21 2023-10-03 Oppo广东移动通信有限公司 Shooting parameter adjusting method and device, electronic equipment and computer storage medium
CN114125266B (en) * 2021-10-20 2024-04-09 武汉旷视金智科技有限公司 Rotation detection method, rotation detection device, rotation detection apparatus, rotation detection device, rotation detection medium, and rotation detection program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002168895A (en) * 2000-11-30 2002-06-14 Toyo Commun Equip Co Ltd Aperture jitter measuring method and device
CN101277393A (en) * 2007-03-30 2008-10-01 富士胶片株式会社 Image taking apparatus
CN104219448A (en) * 2014-08-28 2014-12-17 小米科技有限责任公司 Shooting method and shooting device
CN108419022A (en) * 2018-03-06 2018-08-17 广东欧珀移动通信有限公司 Control method, control device, computer readable storage medium and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002168895A (en) * 2000-11-30 2002-06-14 Toyo Commun Equip Co Ltd Aperture jitter measuring method and device
CN101277393A (en) * 2007-03-30 2008-10-01 富士胶片株式会社 Image taking apparatus
CN104219448A (en) * 2014-08-28 2014-12-17 小米科技有限责任公司 Shooting method and shooting device
CN108419022A (en) * 2018-03-06 2018-08-17 广东欧珀移动通信有限公司 Control method, control device, computer readable storage medium and computer equipment

Also Published As

Publication number Publication date
CN109361853A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN109218628B (en) Image processing method, image processing device, electronic equipment and storage medium
CN109005366B (en) Night scene shooting processing method and device for camera module, electronic equipment and storage medium
CN109218627B (en) Image processing method, image processing device, electronic equipment and storage medium
CN109348089B (en) Night scene image processing method and device, electronic equipment and storage medium
CN109361853B (en) Image processing method, image processing device, electronic equipment and storage medium
CN110072051B (en) Image processing method and device based on multi-frame images
US11532076B2 (en) Image processing method, electronic device and storage medium
CN110445988B (en) Image processing method, image processing device, storage medium and electronic equipment
CN108900782B (en) Exposure control method, exposure control device and electronic equipment
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment
CN110191291B (en) Image processing method and device based on multi-frame images
CN110290289B (en) Image noise reduction method and device, electronic equipment and storage medium
CN109729274B (en) Image processing method, image processing device, electronic equipment and storage medium
CN110166708B (en) Night scene image processing method and device, electronic equipment and storage medium
CN110072052B (en) Image processing method and device based on multi-frame image and electronic equipment
CN110248106B (en) Image noise reduction method and device, electronic equipment and storage medium
CN109919116B (en) Scene recognition method and device, electronic equipment and storage medium
CN110166709B (en) Night scene image processing method and device, electronic equipment and storage medium
CN109618102B (en) Focusing processing method and device, electronic equipment and storage medium
CN109151333B (en) Exposure control method, exposure control device and electronic equipment
CN109714539B (en) Image acquisition method and device based on gesture recognition and electronic equipment
CN109756680B (en) Image synthesis method and device, electronic equipment and readable storage medium
CN110264420B (en) Image processing method and device based on multi-frame images
CN110971833B (en) Image processing method and device, electronic equipment and 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