WO2020038028A1 - 夜景拍摄方法、装置、电子设备及存储介质 - Google Patents
夜景拍摄方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2020038028A1 WO2020038028A1 PCT/CN2019/088017 CN2019088017W WO2020038028A1 WO 2020038028 A1 WO2020038028 A1 WO 2020038028A1 CN 2019088017 W CN2019088017 W CN 2019088017W WO 2020038028 A1 WO2020038028 A1 WO 2020038028A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- exposure
- sensitivity
- acquired
- images
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 176
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 9
- 230000035945 sensitivity Effects 0.000 claims description 599
- 230000008569 process Effects 0.000 claims description 53
- 238000012545 processing Methods 0.000 claims description 45
- 238000003384 imaging method Methods 0.000 claims description 38
- 230000009467 reduction Effects 0.000 claims description 26
- 238000005286 illumination Methods 0.000 claims description 18
- 238000003672 processing method Methods 0.000 claims description 17
- 230000003287 optical effect Effects 0.000 claims description 15
- 230000015572 biosynthetic process Effects 0.000 claims description 8
- 238000003786 synthesis reaction Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 6
- 206010034960 Photophobia Diseases 0.000 abstract description 7
- 208000013469 light sensitivity Diseases 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 description 24
- 238000006073 displacement reaction Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 15
- 230000006641 stabilisation Effects 0.000 description 11
- 238000011105 stabilization Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 10
- 238000013507 mapping Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 238000013528 artificial neural network Methods 0.000 description 6
- 230000007704 transition Effects 0.000 description 5
- 230000002035 prolonged effect Effects 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 3
- 238000003705 background correction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- DWDGSKGGUZPXMQ-UHFFFAOYSA-N OPPO Chemical compound OPPO DWDGSKGGUZPXMQ-UHFFFAOYSA-N 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/684—Vibration or motion blur correction performed by controlling the image sensor readout, e.g. by controlling the integration time
- H04N23/6845—Vibration or motion blur correction performed by controlling the image sensor readout, e.g. by controlling the integration time by combination of a plurality of images sequentially taken
-
- 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/71—Circuitry for evaluating the brightness variation
-
- 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/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- 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/743—Bracketing, i.e. taking a series of images with varying exposure conditions
-
- 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/76—Circuitry for compensating brightness variation in the scene by influencing the image signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/50—Control of the SSIS exposure
- H04N25/57—Control of the dynamic range
- H04N25/58—Control of the dynamic range involving two or more exposures
- H04N25/587—Control of the dynamic range involving two or more exposures acquired sequentially, e.g. using the combination of odd and even image fields
- H04N25/589—Control of the dynamic range involving two or more exposures acquired sequentially, e.g. using the combination of odd and even image fields with different integration times, e.g. short and long exposures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10141—Special mode during image acquisition
- G06T2207/10144—Varying exposure
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
- G06T2207/30201—Face
Definitions
- the present disclosure relates to the field of imaging technology, and in particular, to a night scene shooting method, device, electronic device, and storage medium.
- mobile terminal equipment such as smart phones, tablet computers, etc.
- mobile terminal devices have built-in cameras, and with the enhancement of mobile terminal processing capabilities and the development of camera technology, the performance of built-in cameras is getting stronger and the quality of captured images is getting higher and higher.
- mobile terminal devices are simple to operate and portable, and more and more users in daily life use mobile terminal devices such as smartphones and tablets to take pictures.
- the present disclosure aims to solve at least one of the technical problems in the related art.
- the night scene shooting method, device, electronic device and storage medium proposed in the present disclosure are used to solve the problems in the related art that images shot in night scenes not only have a limited dynamic range, but also have low overall brightness and affect the user experience.
- An embodiment of the first aspect of the present disclosure provides a night scene shooting method, which is applied to a camera module, and the method includes:
- the acquired multiple frames are synthesized to generate a target image.
- the night scene shooting method obtains the degree of shake of the camera module, adjusts the reference sensitivity according to the degree of shake, and determines the exposure duration of multiple frames of images to be acquired based on the brightness information and the reference sensitivity of the shooting scene. And the exposure time of the multiple frames of images to be collected, and the collected multiple frames of images are synthesized to generate a target image. Because the multi-frame images are taken with the reference sensitivity, in order to control the image noise at a low level, the value of the reference sensitivity takes into account the degree of jitter, which does not make the shooting time too long, and avoids drag in the image Shadow. The multi-frame images obtained in this way have higher image quality. Processing these images together can further reduce noise and increase dynamic range. In night scene shooting, better shooting effects can be obtained.
- the embodiment of the second aspect of the present disclosure proposes another night scene shooting method, which is applied to a camera module, and the method includes:
- the acquired multiple frames are synthesized to generate a target image.
- the night scene shooting method obtains the degree of shake of the camera module, adjusts the exposure time according to the degree of shake, and determines the sensitivity of the images to be collected in multiple frames based on the brightness information and exposure duration of the shooting scene; Capture the image sensitivity and exposure time to capture the image, and combine the collected multiple frames to generate the target image. Therefore, after determining the exposure duration, the sensitivity of multiple frames of images to be acquired is determined according to the brightness information and exposure duration of the shooting scene, so that image acquisition is performed according to the exposure duration and sensitivity of the images of multiple frames to be acquired to synthesize and generate a target image. , Not only improves the dynamic range and overall brightness of night shot images, effectively suppresses noise in the image, but also suppresses ghosting caused by hand-shake, improves the quality of night shot images, and improves the user experience.
- An embodiment of the third aspect of the present disclosure provides another night scene shooting method, which is applied to a camera module.
- the method includes:
- the acquired multiple frames are synthesized to generate a target image.
- the exposure duration of multiple frames of images to be collected under the brightness of the shooting scene and the sensitivity required for the corresponding images to be collected are adjusted according to each Frame the image to be captured with the exposure time and sensitivity to capture the image, and combine the collected multiple frames of images to generate the target image. Therefore, image acquisition is performed according to the exposure duration and sensitivity of multiple frames of images to be collected to generate a target image, which not only improves the dynamic range and overall brightness of the night scene captured image, effectively suppresses noise in the image, but also suppresses handheld ghosting caused by jitter improves the quality of night shot images and improves the user experience.
- An embodiment of the fourth aspect of the present disclosure proposes a night scene photographing device applied to a camera module, where the device includes:
- An acquisition module configured to acquire a degree of jitter of the camera module
- An adjustment module configured to adjust a reference sensitivity according to the degree of jitter
- a determining module configured to determine the exposure duration of multiple frames of images to be acquired according to the brightness information of the shooting scene and the reference sensitivity
- An acquisition module configured to acquire an image according to the reference sensitivity and the exposure duration of the multiple frames of images to be acquired
- a generating module is configured to synthesize the collected multiple frames of images to generate a target image.
- the night scene shooting device obtains the degree of shake of the camera module, adjusts the reference sensitivity according to the degree of shake, and determines the exposure duration of multiple frames of images to be collected based on the brightness information and the reference sensitivity of the shooting scene.
- An image is acquired by the sensitivity and the exposure duration of the multiple frames of images to be acquired, and the acquired multiple frames are synthesized to generate a target image.
- the exposure duration of multiple frames of the image to be collected is determined according to the brightness information and the reference sensitivity of the shooting scene, so that image acquisition is performed according to the reference sensitivity and exposure time of the multiple frames of image to be collected to synthesize
- Generating the target image not only improves the dynamic range and overall brightness of the night scene captured image, effectively suppresses noise in the image, but also suppresses ghosting caused by hand-shake, improves the quality of the night scene captured image, and improves the user experience.
- An embodiment of the fifth aspect of the present disclosure proposes another night scene photographing device applied to a camera module, where the device includes:
- An acquisition module configured to acquire a degree of jitter of the camera module
- An adjustment module configured to adjust an exposure duration according to the degree of dithering
- a determining module configured to determine the sensitivity of images to be acquired in multiple frames according to the brightness information of the shooting scene and the exposure duration;
- An acquisition module configured to acquire an image according to the sensitivity of the multiple frames of images to be acquired and the exposure duration
- a generating module is configured to synthesize the collected multiple frames of images to generate a target image.
- the night scene shooting device obtains the degree of shake of the camera module, adjusts the exposure time according to the degree of shake, and determines the sensitivity of the images to be collected in multiple frames based on the brightness information and exposure duration of the shooting scene; Capture the image sensitivity and exposure time to capture the image, and combine the collected multiple frames to generate the target image. Therefore, after determining the exposure duration, the sensitivity of multiple frames of images to be acquired is determined according to the brightness information and exposure duration of the shooting scene, so that image acquisition is performed according to the exposure duration and sensitivity of the images of multiple frames to be acquired to synthesize and generate a target image. , Not only improves the dynamic range and overall brightness of night shot images, effectively suppresses noise in the image, but also suppresses ghosting caused by hand-shake, improves the quality of night shot images, and improves the user experience.
- An embodiment of the sixth aspect of the present disclosure proposes another night scene photographing device applied to a camera module.
- the device includes:
- An acquisition module configured to acquire a degree of jitter of the camera module
- An adjustment module configured to adjust the exposure duration of multiple frames of images to be acquired under the brightness of the shooting scene and the sensitivity required for the corresponding images to be acquired according to the brightness of the shooting scene;
- An acquisition module configured to acquire an image according to an exposure duration and sensitivity of an image to be acquired in each frame
- a generating module is configured to synthesize the collected multiple frames of images to generate a target image.
- the night scene shooting device obtains the degree of shake of the camera module, and adjusts the exposure duration of multiple frames of images to be captured under the brightness of the shooting scene and the sensitivity required for the corresponding images to be captured according to the brightness of the shooting scene.
- Frame the image to be captured with the exposure time and sensitivity to capture the image and combine the collected multiple frames of images to generate the target image. Therefore, image acquisition is performed according to the exposure duration and sensitivity of multiple frames of images to be collected to generate a target image, which not only improves the dynamic range and overall brightness of the night scene captured image, effectively suppresses noise in the image, but also suppresses handheld ghosting caused by jitter improves the quality of night shot images and improves the user experience.
- An embodiment of the seventh aspect of the present disclosure proposes a night scene camera processing method for a camera module, where the method includes:
- the acquired multiple frames of images are synthesized to generate a target image.
- the night scene camera processing method can detect the current jitter of the camera module in the night scene shooting mode, and determine the number of images to be acquired and the correspondence of each frame of images to be acquired according to the current jitter. Based on the light sensitivity of the current shooting scene and the reference sensitivity corresponding to each frame of the to-be-acquired image to determine the exposure time corresponding to each frame of the to-be-acquired image, and then based on the reference sensitivity and exposure time of each frame-to-be-acquired image. , Sequentially collecting multiple frames of images, and synthesizing the collected multiple frames of images to generate a target image.
- the number of images to be acquired and the reference sensitivity are determined according to the current jitter of the camera module, and the exposure time corresponding to each frame of the image to be acquired is determined according to the illumination of the current shooting scene, so that multiple different photos are taken by shooting
- Combining images with long exposure time not only improves the dynamic range and overall brightness of the captured image in night scene shooting mode, effectively suppresses noise in the captured image, but also suppresses ghosting and blurring caused by hand-held shake, which improves the night shot image. Quality and improved user experience.
- An embodiment of the eighth aspect of the present disclosure provides a night scene camera processing device for a camera module, where the device includes:
- a first detection module configured to detect a current shake degree of the camera module in a night scene shooting mode
- a first determining module configured to determine the number of images to be acquired and a reference sensitivity corresponding to each frame of images to be acquired according to the current jitter of the camera module;
- a second determining module configured to determine an exposure duration corresponding to each frame of the to-be-acquired image according to the light intensity of the current shooting scene and the reference sensitivity corresponding to the image to be-collected each frame;
- a first acquisition module configured to sequentially acquire multiple frames of images according to the reference sensitivity and exposure duration corresponding to each frame of images to be acquired;
- a synthesis module is configured to synthesize the collected multiple frames of images to generate a target image.
- the night scene camera processing device of the camera module can detect the current jitter level of the camera module in the night scene shooting mode, and determine the number of images to be acquired and the correspondence of each frame to be acquired according to the current jitter level. Based on the light sensitivity of the current shooting scene and the reference sensitivity corresponding to each frame of the to-be-acquired image to determine the exposure time corresponding to each frame of the to-be-acquired image, and then based on the reference sensitivity and exposure time of each to-be-acquired image , Sequentially collecting multiple frames of images, and synthesizing the collected multiple frames of images to generate a target image.
- the number of images to be acquired and the reference sensitivity are determined according to the current jitter of the camera module, and the exposure time corresponding to each frame of the image to be acquired is determined according to the illumination of the current shooting scene, so that multiple different photos are taken by shooting
- Combining images with long exposure time not only improves the dynamic range and overall brightness of the captured image in night scene shooting mode, effectively suppresses noise in the captured image, but also suppresses ghosting and blurring caused by hand-held shake, which improves the night shot image. Quality and improved user experience.
- An embodiment of the ninth aspect of the present disclosure provides an electronic device, a camera module, a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor being connected to the camera module, When the processor executes the computer program, the night scene shooting method as described in the above embodiment or the camera module night scene shooting processing method is implemented.
- An embodiment of the tenth aspect of the present disclosure provides an image processing circuit, where the image processing circuit includes an image signal processing ISP processor and a graphics processor GPU;
- the ISP processor is connected to a camera module and is configured to adjust a reference sensitivity according to the degree of shake of the camera module; determine the exposure of multiple frames of images to be collected according to the brightness information of the shooting scene and the reference sensitivity. Duration; controlling the camera module to acquire images according to the reference sensitivity and the exposure duration of the multiple frames of images to be acquired;
- the GPU is electrically connected to the ISP processor, and is configured to synthesize the acquired multiple frames of images to generate a target image.
- An embodiment of the eleventh aspect of the present disclosure provides a storage medium.
- the night scene shooting method described in the foregoing embodiment is implemented, or the camera module night scene shooting processing method is implemented. .
- FIG. 1 is a schematic flowchart of a first night scene shooting method according to an embodiment of the present disclosure
- FIG. 2 is a schematic flowchart of a second night scene shooting method according to an embodiment of the present disclosure
- FIG. 3 is a schematic flowchart of a third night scene shooting method according to an embodiment of the present disclosure
- FIG. 4 is a schematic flowchart of a fourth night scene shooting method according to an embodiment of the present disclosure
- FIG. 5 is a schematic flowchart of a fifth night scene shooting method according to an embodiment of the present disclosure.
- FIG. 6 is a schematic flowchart of a sixth night scene shooting method according to an embodiment of the present disclosure.
- FIG. 7 is a schematic flowchart of a seventh night scene shooting method according to an embodiment of the present disclosure.
- FIG. 8 is a schematic flowchart of an eighth night scene shooting method according to an embodiment of the present disclosure.
- FIG. 9 is a schematic flowchart of a ninth night scene shooting method according to an embodiment of the present disclosure.
- FIG. 10 is a schematic flowchart of a tenth night scene shooting method according to an embodiment of the present disclosure
- FIG. 11 is a schematic flowchart of an eleventh night scene shooting method according to an embodiment of the present disclosure.
- FIG. 12 is a schematic flowchart of a twelfth night scene shooting method according to an embodiment of the present disclosure
- FIG. 13 is a schematic flowchart of a thirteenth night scene shooting method according to an embodiment of the present disclosure
- FIG. 14 is a schematic flowchart of a fourteenth night scene shooting method according to an embodiment of the present disclosure.
- 15 is a schematic structural diagram of a night scene photographing device according to an embodiment of the present disclosure.
- 16 is a schematic structural diagram of another night scene photographing apparatus according to an embodiment of the present disclosure.
- FIG. 17 is a schematic structural diagram of another night scene photographing device according to an embodiment of the present disclosure.
- FIG. 18 is a schematic flowchart of a night scene imaging processing method of a camera module according to an embodiment of the present disclosure
- 19 is a schematic structural diagram of a night scene camera processing device of a camera module according to an embodiment of the present disclosure.
- 20 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
- 21 is a schematic diagram of an electronic device according to an embodiment of the present disclosure.
- FIG. 22 is a schematic diagram of an image processing circuit according to an embodiment of the present disclosure.
- an embodiment of the present disclosure proposes a night scene shooting method.
- the exposure duration of the image is acquired according to the reference sensitivity and the exposure duration of the multiple frames of images to be acquired, and the acquired multiple frames of images are synthesized to generate a target image.
- the value of the reference sensitivity takes into account the degree of jitter, which does not make the shooting time too long, and avoids drag in the image Shadow.
- the multi-frame images obtained in this way have higher image quality. Processing these images together can further reduce noise and increase dynamic range. In night scene shooting, better shooting effects can be obtained.
- FIG. 1 is a schematic flowchart of a first night scene shooting method according to an embodiment of the present disclosure.
- the night scene shooting method according to the embodiment of the present disclosure is applied to a camera module
- the camera module may be a hardware device such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and other operating systems and imaging devices.
- the night scene shooting method is applied to a camera module and includes the following steps:
- Step 101 Obtain the degree of shake of the camera module.
- displacement information may be collected according to a displacement sensor provided in the electronic device, and further, the degree of shake of the camera module may be determined according to the collected displacement information of the electronic device.
- the current jitter degree of the electronic device that is, the current jitter degree of the camera module may be determined by acquiring the current gyro-sensor information of the electronic device.
- the gyroscope is also called angular velocity sensor, which can measure the rotational angular velocity when the physical quantity is deflected and tilted.
- the gyroscope can measure the movement of rotation and deflection very well, so that it can accurately analyze and judge the actual movement of the user.
- the gyroscope information (gyro information) of the electronic device may include the movement information of the mobile phone in three dimensions in the three-dimensional space, and the three dimensions of the three-dimensional space may be respectively represented in the three directions of the X-axis, Y-axis, and Z-axis.
- the X-axis, Y-axis, and Z-axis are perpendicular to each other.
- the current jitter degree of the camera module may be determined according to the current gyro information of the electronic device.
- the absolute value threshold of the gyro movement in the three directions can be preset, and the camera module is determined according to the relationship between the acquired absolute value of the current gyro movement in the three directions and the preset threshold. The current degree of jitter.
- the preset thresholds are the first threshold A, the second threshold B, and the third threshold C, and A ⁇ B ⁇ C.
- the sum of the absolute values of the gyro motion in the three directions currently obtained is S . If S ⁇ A, determine the current jitter of the camera module as “no shake”; if A ⁇ S ⁇ B, you can determine the current jitter of the camera module as “slight shake”; if B ⁇ S ⁇ C, Then, it can be determined that the current shake degree of the camera module is "small shake”; if S> C, it can be determined that the current shake degree of the camera module is "large shake”.
- the number of thresholds and specific values of each threshold can be preset according to actual needs, and the mapping relationship between the gyro information and the degree of camera module shake can be preset according to the relationship between the gyro information and each threshold.
- Step 102 Adjust the reference sensitivity according to the degree of shaking.
- the sensitivity also known as the ISO value, refers to an index that measures the sensitivity of the negative to light.
- the sensitivity of a digital camera is a kind of index similar to the sensitivity of a film.
- the ISO of a digital camera can be adjusted by adjusting the sensitivity of the photosensitive device or combining the sensing points. Combining several adjacent photosensitive points to improve the ISO. It should be noted that, whether it is digital or negative photography, in order to reduce the exposure time, the use of a relatively high sensitivity will usually introduce more noise, resulting in lower image quality.
- the reference sensitivity may be the lowest sensitivity that is adjusted according to the current shake degree of the camera module during the current shooting according to the current shake degree of the camera module. For example, when adjusting the reference sensitivity corresponding to the degree of shake according to the degree of shake, if the current reference sensitivity and the degree of shake exactly match, the result of the adjustment is that the reference sensitivity remains unchanged. This situation also belongs to the category of "adjustment" in the embodiments of the present disclosure.
- the camera module is composed of multiple lenses, so different lenses can correspond to different sensitivities in the same shooting environment.
- the reference sensitivity adjusted in this step should be aimed at For the shooting process performed by one of the multiple lenses, during this shooting process, the same reference sensitivity is used to collect multiple frames of images.
- the reference sensitivity in this step is a low value to reduce image noise.
- the sensitivity of the captured image will affect the overall shooting time. If the shooting time is too long, the degree of shake of the camera module may be increased during handheld shooting, which will affect the image quality. Therefore, the reference sensitivity corresponding to the image to be acquired in each frame can be adjusted according to the current jitter degree of the camera module, so that the shooting duration is controlled within a proper range.
- the reference sensitivity corresponding to each frame of the image to be collected can be appropriately compressed to a smaller value to effectively suppress the noise of each frame of the image and improve the quality of the captured image ; If the current jitter of the camera module is large, the reference sensitivity corresponding to each frame of the image to be collected can be appropriately increased to a larger value to shorten the shooting time.
- the reference sensitivity can be determined to a smaller value to obtain a higher quality image as much as possible, such as determining the reference sensitivity to 100; if If the current jitter of the camera module is determined to be "slightly jitter", the reference sensitivity may be determined to be a large value to reduce the shooting time. For example, the reference sensitivity is determined to be 200. If the current jitter of the camera module is determined to be "Small shake”, you can further increase the reference sensitivity to reduce the shooting time, for example, determine the reference sensitivity is 220; if you determine that the current camera module's current shake level is "large shake", you can determine that the current shake level is too high. Large, you can further increase the reference sensitivity at this time to reduce the shooting time, for example, determine the reference sensitivity is 250.
- the above examples are merely exemplary and cannot be regarded as limiting the present disclosure.
- the reference sensitivity can be adjusted to obtain the optimal solution.
- the mapping relationship between the shake degree of the camera module and the reference sensitivity corresponding to each frame of the image to be acquired can be preset according to actual needs.
- the reference sensitivity is not limited to be adjusted based on only the degree of shake of the camera module, and the reference sensitivity may be comprehensively determined according to multiple parameters such as the degree of shake and brightness information of the shooting scene. It is not limited here.
- Step 103 Determine the exposure duration of the images to be acquired in multiple frames according to the brightness information and the reference sensitivity of the shooting scene.
- the exposure time refers to the time that light passes through the lens.
- the images to be acquired in multiple frames are two frames or more than two frames, which is not limited in the embodiments of the present disclosure.
- the brightness information of the shooting scene may be obtained by metering using a light metering module in the camera module, or may be obtained through brightness information in a preview image, which is not limited herein.
- the brightness information generally uses the illuminance of the shooting scene as a brightness measurement index. Those skilled in the art can know that other indicators may also be used for brightness measurement, which are all within the scope of this embodiment.
- an automatic exposure control (Auto Exposure Control (AEC) algorithm) is used to determine the exposure amount corresponding to the current brightness information, and further, according to the brightness information and the reference sensitivity information of the shooting scene, it is used for multiple frames of images to be collected. The exposure time is determined for each frame of images to be acquired.
- AEC Automatic Exposure Control
- the exposure amount is related to the aperture, the exposure duration, and the sensitivity.
- the aperture is the clear aperture, which determines the amount of light passing through in a unit time.
- Step 104 Acquire an image according to the reference sensitivity and the exposure duration of the images to be acquired in multiple frames.
- the camera module is controlled to acquire images based on the reference sensitivity and exposure duration of the images to be acquired in each frame, and details are not described herein.
- image collection based on the same reference sensitivity not only helps to reduce the noise of multi-frame images, but also avoids the technology of increasing the noise of multi-frame images acquired due to increased sensitivity. problem.
- step 105 the collected multiple frames of images are synthesized to generate a target image.
- multiple frames of images may be sequentially acquired according to the reference sensitivity and exposure duration, and the acquired multiple frames of images may be synthesized.
- the target image For generate the target image.
- the night scene shooting method of the embodiment of the present disclosure by obtaining the degree of shake of the camera module, adjusting the reference sensitivity according to the degree of shake, and determining the exposure duration of multiple frames of images to be collected according to the brightness information and the reference sensitivity of the shooting scene, according to the reference Acquire images by sensitivity and exposure time of multiple frames of images to be acquired, and synthesize and process the collected images to generate a target image.
- image acquisition is performed based on the reference sensitivity and exposure duration of multiple frames of images to be collected to generate a target image, which not only improves the dynamic range and overall brightness of the night scene captured image, effectively suppresses noise in the image, but also suppresses ghosting caused by hand-shake improves the quality of night shot images and improves the user experience.
- step 102 the exposure duration of the image to be acquired in each frame may also be determined based on the reference exposure determined by metering and the exposure compensation level of each frame. To obtain images with different dynamic ranges, so that the synthesized image has a higher dynamic range, and improve the overall brightness and quality of the image.
- FIG. 2 is a schematic flowchart of a second night scene shooting method according to an embodiment of the present disclosure. As shown in FIG. 2, step 102 specifically includes:
- Step 201 Determine a reference exposure amount according to the brightness information of the shooting scene.
- the reference exposure amount refers to an exposure amount adapted to the brightness information of the current shooting scene after the brightness information of the current shooting scene is obtained by metering the preview image, and is determined by looking up a table or the like.
- the value of the reference exposure can be the product of the reference sensitivity and the reference exposure duration.
- Step 202 Determine a reference exposure duration according to the reference exposure amount and the reference sensitivity.
- the reference exposure amount includes the reference exposure duration and the reference sensitivity. Therefore, after determining the reference sensitivity according to the degree of shake of the camera module and the reference exposure amount according to the illumination of the shooting scene, the The reference exposure and reference sensitivity determine the duration of the reference exposure.
- Step 203 Adjust the exposure compensation mode according to the degree of shaking.
- the exposure compensation mode is used to indicate the number of frames of the image to be acquired and the exposure compensation level set for multiple frames of the image to be acquired.
- the mapping relationship between the degree of shake of the camera module and the exposure compensation mode may be used to determine the number of images to be acquired according to the current degree of shake of the camera module. Number of frames and exposure compensation mode for multiple frames of images to be acquired.
- the camera module shake degree can be "no shake", the corresponding EV value range of the exposure compensation mode is preset to -6 to 2, and the difference between adjacent EV values is 0.5;
- the degree of dithering is "slightly dithering", the EV value range of the corresponding exposure compensation mode is preset to -5 to 1, and the difference between adjacent EV values is 1, and so on.
- the anti-shake performance of the camera module may be determined first to adjust the exposure compensation mode in combination with the degree of shake and anti-shake performance of the camera module.
- the anti-shake performance of the camera module has a certain relationship with the attribute information of each component in the camera module, so the anti-shake performance of the camera module can be determined according to the attribute information of each component in the camera module. Adjust the exposure compensation mode based on the degree of camera shake and anti-shake performance.
- the preset time range can be appropriately extended, because a camera module that can achieve optical image stabilization function, during the shooting process, when the camera module shakes , It can offset a part of the jitter itself, so that compared with a camera module that cannot achieve optical image stabilization, at the same degree of jitter, the ghost and blur in the image collected by the camera module that can achieve optical image stabilization function To a lesser extent. Therefore, compared with a camera module that cannot achieve optical image stabilization, the preset time range can be appropriately expanded, especially the upper limit of the time range, to obtain a better-quality image.
- FIG. 3 is a schematic flowchart of a third night scene shooting method according to an embodiment of the present disclosure. As shown in FIG. 3, step 203 may further include the following sub-steps:
- Sub-step 2031 Adjust the number of frames of the image to be acquired according to the degree of jitter.
- the number of frames of the image to be captured and the sensitivity of the captured image will affect the overall shooting time. If the shooting time is too long, it may cause the degree of shake of the camera module to increase during handheld shooting, thereby affecting the image quality. That is, the number of frames of the image to be acquired has an inverse relationship with the degree of jitter. Therefore, the number of image frames to be acquired can be adjusted according to the current jitter level of the camera module so that the shooting duration is controlled within a proper range.
- the current jitter of the camera module is small, more frames of images can be collected to effectively suppress the noise of each frame of the image and improve the quality of the captured image; if the current jitter of the camera module is large, then You can capture fewer frames to shorten the shooting time.
- the current shooting mode may be a tripod. At this time, more frames of images can be collected to obtain a higher quality image as much as possible, such as It is determined that the number of images to be acquired is 17 frames; if it is determined that the current jitter of the camera module is “slight jitter”, it may be determined that the current shooting mode may be a handheld shooting mode. At this time, images of fewer frames can be collected to reduce the shooting time.
- the number of images to be acquired is 7 frames; if it is determined that the current jitter of the camera module is “small jitter”, it may be determined that the current shooting mode may be a handheld shooting mode. At this time, the number of images to be acquired can be further reduced to reduce shooting Duration, for example, determine the number of images to be acquired is 5 frames; if the current degree of jitter of the camera module is determined to be "large jitter", it can be determined that the current degree of jitter is too large, and the number of images to be acquired can be further reduced at this time, or It does not adopt the method of collecting multiple frames of images to reduce the length of the shooting. For example, it is determined that the images to be collected are 3 frames.
- the above examples are merely exemplary and cannot be regarded as limiting the present disclosure.
- the degree of jitter of the camera module changes, the number of image frames to be acquired can be changed to obtain an optimal solution.
- the mapping relationship between the degree of jitter of the camera module and the number of image frames to be collected can be preset according to actual needs.
- Sub-step 2032 detecting whether a human face is included in the image collected by the camera module.
- Face recognition technology is to identify the identity by analyzing and comparing the visual characteristic information of the face. It belongs to the biometric recognition technology, which distinguishes the individual organisms from the biological characteristics of the organisms (generally specifically people).
- face recognition technology has been applied in many fields, such as digital camera face autofocus and smile shutter technology; corporate and residential security and management; access control systems; camera surveillance systems, etc.
- Commonly used face recognition algorithms include: Feature-based recognition algorithms (Feature-based recognition algorithms), Appearance-based recognition algorithms (Template-based recognition algorithms) recognition algorithms), algorithms using neural networks for recognition (Recognition algorithms, neural networks), and so on.
- the metering module of the camera module automatically performs metering based on the human face area, and is determined based on the metering result of the human face area Reference exposure.
- the light intensity of the face area is usually low, which results in a determined reference exposure amount that is higher than the reference exposure amount determined when the face is not included.
- Overexposed frames easily lead to overexposure of the human face area, which results in poor target image effect. Therefore, for the same degree of jitter, the corresponding exposure compensation mode needs to have a lower exposure compensation range compared to when the image captured by the camera module includes a human face and when it does not include a human face.
- step 2033 if a human face is included, it is determined that the exposure compensation mode is a first mode that matches the adjusted frame number.
- sub-step 2034 if the human face is not included, it is determined that the exposure compensation mode is a second mode that matches the adjusted frame number.
- the exposure compensation level value range corresponding to the second mode is larger than the exposure compensation level value range corresponding to the first mode.
- the degree of camera shake is "slight shake”
- the corresponding preset exposure compensation modes are the first mode and the second mode, where each EV value corresponding to the first mode is [0, 0, 0, 0 , -2, -4, -6], and each EV value corresponding to the second mode is [+1, +1, +1, +1, 0, -3, -6].
- the corresponding preset exposure compensation modes include a first mode and a second mode, where each EV value corresponding to the first mode is [0, 0 , 0, 0, -2, -4, -6], each EV value corresponding to the second mode is [+1, +1, +1, +1, 0, -3, -6], it can be seen that the first The exposure compensation range of the mode is smaller than the exposure compensation range of the second mode.
- the preset exposure compensation mode is the first mode that matches the adjusted frame number, that is, each EV value is [0, 0, 0, 0, -2 , -4, -6]; if it is detected that the image currently captured by the camera module does not include a human face, determine that the preset exposure compensation mode is the second mode that matches the adjusted frame number, that is, each EV value is [+ 1, +1, +1, +1, 0, -3, -6].
- Step 204 Compensate the reference exposure duration according to the exposure compensation level set for the images to be acquired in each frame to obtain the exposure duration of the images to be acquired in each frame.
- different exposure compensation strategies may be adopted for each frame of images to be acquired through exposure compensation levels, so that the images to be acquired correspond to different exposure amounts to obtain images with different dynamic ranges.
- the exposure compensation mode refers to a combination of exposure compensation values (Exposure Value, EV for short) preset for each frame of images to be acquired.
- Exposure Value Exposure Value
- Exposure compensation level is a parameter that adjusts the amount of exposure, so that some images are underexposed, some images are overexposed, and some images can be properly exposed.
- the EV value is the same.
- the EV value refers to the exposure amount obtained when the sensitivity is 100
- the aperture factor is f1
- the exposure duration is 1 second.
- the exposure amount is increased by one stop, that is, the exposure time is doubled, or the sensitivity is doubled, or the aperture is increased by one stop, and the EV value is increased by 1, that is, the exposure amount corresponding to EV1 is twice the exposure amount corresponding to EV0.
- Table 1 the corresponding relationship with the EV value when the exposure duration, aperture, and sensitivity are individually changed.
- the exposure amount when the EV value is 0 in a digital camera may be obtained by metering ambient light in a shooting scene.
- EV refers to the difference between the exposure amount corresponding to the camera metering data and the actual exposure amount.
- EV + 1 exposure compensation refers to an increase of one exposure relative to the exposure amount corresponding to the camera metering data.
- the actual exposure is twice the exposure corresponding to the camera's metering data.
- the EV value corresponding to the determined reference exposure amount can be preset to 0, and EV + 1 means to increase the exposure by one step, that is, the exposure amount is twice the reference exposure amount.
- EV + 2 means to increase the exposure by two stops, that is, the exposure is 4 times the reference exposure, and EV-1 means to decrease the exposure by one stop, that is, the exposure is 0.5 times the reference exposure, and so on.
- the range of EV values corresponding to the exposure compensation mode may be [+1, +1, +1, +1, 0, -3, -6].
- frames with exposure compensation mode of EV + 1 can solve the problem of noise.
- Time-domain noise reduction is performed through frames with higher brightness, which suppresses noise while improving details in the dark.
- Frames with exposure compensation mode of EV-6 can solve the problem.
- the problem of overexposure of highlights preserves the details of highlight areas; frames with exposure compensation modes of EV0 and EV-3 can be used to maintain the transition between highlights and dark areas, and maintain a good light and dark transition effect.
- each EV value corresponding to the exposure compensation mode can be specifically set according to actual needs, or it can be obtained according to the set EV value range and based on the principle that the difference between the EV values is equal.
- the embodiment of the present disclosure does not limit this.
- the size of the aperture may be constant, and each to-be-acquired image is acquired using a determined reference sensitivity. Therefore, according to the current jitter level of the camera module, it is determined After the current number of images to be acquired, the exposure time corresponding to each frame of images to be acquired can be determined according to a preset exposure compensation mode that matches the current number of images to be acquired, and a reference exposure time.
- the exposure compensation mode corresponding to the image to be collected is EV + 1
- the exposure duration corresponding to the image to be collected is twice the reference duration
- the exposure compensation mode corresponding to the image to be collected is EV-1
- the waiting time The exposure time corresponding to the captured image is 0.5 times the reference duration, and so on.
- the corresponding EV range of the corresponding preset exposure compensation mode may be [+1, +1, +1, +1 , 0, -3, -6], according to the reference exposure amount and reference sensitivity, determine that the reference exposure time is 100 milliseconds, then the exposure time corresponding to each frame of the image to be collected is 200 milliseconds, 200 milliseconds, 200 milliseconds, 200 Millisecond, 100 millisecond, 12.5 millisecond, 6.25 millisecond.
- the night scene shooting method determines the reference exposure amount according to the brightness information of the shooting scene, determines the reference exposure duration according to the reference exposure amount and the reference sensitivity, and adjusts the exposure compensation mode according to the degree of shake of the camera module.
- the exposure compensation level set for each frame of images to be acquired compensates the reference exposure time to obtain the exposure time of each frame of images to be acquired. Therefore, the reference exposure and the exposure compensation level of each frame are determined by the brightness information of the shooting scene to determine the exposure time for capturing each frame of the image.
- the reference exposure and the exposure compensation level of each frame are determined by the brightness information of the shooting scene to determine the exposure time for capturing each frame of the image.
- FIG. 4 is a schematic flowchart of a fourth night scene shooting method according to an embodiment of the present disclosure, which may specifically include the following steps:
- Step 301 Determine, according to the screen content of the preview screen, that the current shooting scene belongs to a night scene.
- a preview screen of a current shooting scene may be obtained through an imaging device, and is used to determine whether the current shooting scene belongs to a night scene.
- the contents of the preview screen are also different. Based on the screen contents of the preview scene of the current shooting scene and the ambient brightness values of each area, it is determined whether the current shooting scene belongs to a night scene.
- the picture content of the preview screen includes the night sky or night light sources, or the ambient brightness values in each area of the preview screen match the brightness distribution characteristics of the image under the night environment, it can be determined that the current shooting scene belongs to the night scene.
- Step 302 Identify a night scene mode applicable to the current shooting scene according to the degree of shake of the camera module and / or whether the preview screen includes a human face.
- the displacement information provided by the imaging device can be acquired through the displacement sensor provided by the imaging device, and then the current shake degree of the camera module is determined according to the obtained displacement information. Therefore, it can be judged by the degree of shake of the camera module whether the user fixes the imaging device on a tripod for shooting or shoots in a handheld mode. Furthermore, according to the current shaking degree of the camera module, a night scene mode applicable to the current shooting scene is identified. Among them, the night scene mode is a tripod mode or a handheld mode.
- the night view mode applicable to the current shooting scene may be identified by determining that the preview screen of the imaging device is sufficient to include a human face.
- the metering module of the camera module automatically performs metering based on the human face area, and determines the reference exposure amount based on the photometric result of the human face area.
- the light intensity of the face area is usually low, which results in a determined reference exposure amount that is higher than the reference exposure amount determined when the face is not included.
- Overexposed frames easily lead to overexposure of the human face area, resulting in poor imaging results of the collected images. Therefore, for the same degree of jitter, compared with the case where the face is included in the preview picture, the night scene mode is different.
- Step 303 Determine a preset exposure compensation value for each frame of the image to be acquired according to the exposure compensation mode corresponding to the night scene mode.
- the camera module has different degrees of jitter, and the night scene mode applicable to the current shooting scene is also different. Therefore, the preset exposure compensation values of the determined images to be collected for each frame are also different.
- the mapping relationship between the degree of shake of the camera module and the exposure compensation value can be preset to determine the preset exposure compensation value of the image to be acquired in each frame currently based on the degree of shake of the camera module. .
- the range of EV values of the exposure compensation values corresponding to the images to be collected in each frame is preset to -6 to 2, and the difference between adjacent EV values The value is 0.5; the jitter degree of the camera module is "slight jitter”, and the EV value range of the exposure compensation value corresponding to each frame of the image to be collected is preset to -5 to 1, and the difference between adjacent EV values The value is 1, and so on.
- the preview picture of the camera module includes a human face.
- the night scene mode applicable to the current shooting scene is different, and the frames determined from this
- the exposure compensation value preset for the image to be acquired is also different.
- different exposure compensation values can be determined for each frame of images to be acquired according to whether a preview picture includes a human face. Therefore, for the same degree of jitter, it can correspond to multiple exposure compensation values.
- the degree of camera shake is "slight shake”
- the preset exposure compensation value for each frame of the image to be collected includes two cases: the face and the face.
- the light intensity of the face area is usually low, which results in a determined reference exposure amount that is higher than the reference exposure amount determined when the face is not included.
- the corresponding exposure compensation mode needs to have a lower exposure compensation range. Therefore, for the same degree of jitter, compared with the case where the face is included in the preview screen compared to when no face is included, after determining the current degree of jitter of the camera module and whether the preview screen contains a face, it can be determined from the current The preset exposure compensation value matches the actual situation.
- the night scene mode applicable to the current shooting scene is identified Then, according to the night scene mode, a preset exposure compensation value for each frame of images to be acquired is determined.
- a night scene mode in the shooting scene is determined, and then a preset exposure compensation value for each frame to be acquired is determined, which is further used to determine each frame to be
- the exposure time of the captured image is updated according to the upper limit of the exposure time of at least one frame of the image to be collected.
- the exposure is controlled based on the exposure time and sensitivity of each of the updated frames of the image to be collected, and then imaging is performed, which not only improves the night scene shooting mode Lower the dynamic range and overall brightness of the captured image, and effectively suppress the noise in the captured image, improve the quality of the night scene captured image, and improve the user experience.
- FIG. 5 is a schematic flowchart of a fifth night scene shooting method according to an embodiment of the present disclosure. As shown in FIG. 5, step 102 may include the following steps:
- Step 401 Determine the degree of shake of the camera module.
- the displacement information may be collected according to a displacement sensor provided in the electronic device, and further, the degree of shake of the camera module may be determined according to the collected displacement information of the electronic device.
- the preset sensitivity of the image to be collected in each frame is the same, the preset sensitivity of the image to be collected in each frame may be determined according to the degree of shaking of the camera module.
- Step 402 Determine whether the degree of shake of the camera module is greater than or equal to the shake threshold
- the degree of shake of the camera module is compared with a preset shake threshold to determine the sensitivity value of the reference sensitivity according to the degree of shake.
- step 403 if the degree of shaking is greater than or equal to the shaking threshold, it is determined that the reference sensitivity is the first sensitivity value.
- the determined degree of shake of the camera module is greater than or equal to the shake threshold, and at this time, the reference sensitivity is determined to be the first sensitivity value.
- the reference sensitivity can be increased to reduce the shooting duration, for example, the reference sensitivity is determined to be 800.
- step 404 if the degree of dithering is less than the dithering threshold, it is determined that the reference sensitivity is the second sensitivity value.
- the determined degree of shake of the camera module is less than a shake threshold, and at this time, it is determined that the reference sensitivity is the second sensitivity value.
- the first light sensitive value is greater than the second light sensitive value
- the first light sensitive value is a preset multiple of the second light sensitive value
- the preset multiple takes a value greater than or equal to two.
- the second sensitivity value may be the minimum sensitivity of the imaging device, that is, the value of the second sensitivity value is 100 ISO, and accordingly, the value range of the first sensitivity value is It can be 200, 400, 800 or higher.
- the reference sensitivity can be determined to be 100.
- the degree of shaking is compared with the threshold of shaking. If the degree of shaking is greater than or equal to the threshold of shaking, it is determined that the reference sensitivity is the first sensitivity value, and if the degree of shaking is less than the threshold of shaking , Determine that the reference sensitivity is the second sensitivity value. Therefore, the sensitivity value of the reference sensitivity is determined by the shake degree of the camera module to further determine the exposure time according to the sensitivity value, thereby not only improving the dynamic range and overall brightness of the captured image in the night scene shooting mode, but also effectively suppressing the captured image. The noise in the image improves the quality of the night shot image and improves the user experience.
- step 102 after determining the exposure time required for each frame of the image to be acquired under the light intensity of the shooting scene, The determined exposure time is compared with the upper limit determined according to the degree of jitter of the camera module, so as to reduce the exposure time of the image to be collected whose exposure time is longer than the upper limit of the exposure time, and to avoid image distortion caused by overexposure when the exposure time is too long , Jitter causes the picture to be blurred, and the shooting time is too long.
- FIG. 6 is a schematic flowchart of a sixth night scene shooting method according to an embodiment of the present disclosure. As shown in FIG. 6, after step 103, the following steps are further included:
- Step 501 Determine an upper limit of the duration according to the degree of jitter of the camera module.
- the displacement information may be collected according to a displacement sensor provided in the imaging device, and further, the degree of shake of the camera module may be determined according to the collected displacement information of the imaging device. Further, the determined shake degree of the camera module is compared with a preset shake threshold to determine an upper limit of the exposure time.
- the jitter threshold is a jitter value preset in the imaging device and used to determine a preset sensitivity value.
- the camera module has a large degree of jitter, if a longer exposure time is set, it may lead to an increase in the overall shooting time and increase the degree of jitter in the imaging device, so that the final image may appear due to jitter. causes ghosting and noticeable blurring of the image. Therefore, when the degree of shake of the camera module is large, a shorter exposure time can be set to avoid ghosting or blurring of the captured image.
- the degree of jitter of the imaging device is less than the jitter threshold, it is determined that the upper limit of the exposure duration of the images to be acquired in each frame in the current shooting scene is the second duration.
- the first duration is shorter than the second duration, and the first duration ranges from 150ms to 300ms; the second duration ranges from 4.5s to 5.5s.
- Step 502 Compare the exposure duration of the image to be collected in each frame with a set upper limit.
- the exposure time of each frame to be acquired is determined according to the reference sensitivity determined by the camera module.
- the reference sensitivity determined by the camera module.
- the exposure time of each frame of the image to be collected is compared with the set upper limit to avoid the exposure time being too long. Overexposure causes image distortion.
- step 503 if there is a first image in the to-be-collected image whose exposure duration is greater than the upper limit, the exposure duration of the first image is reduced to the upper limit.
- the corresponding exposure duration in the to-be-acquired image is longer than the upper limit, it may cause the overall shooting duration to be prolonged, exacerbate the degree of jitter in the imaging device, and thus may cause ghosts in the final captured image due to jitter. Shadows and images are clearly blurred.
- the exposure duration can be compared with a preset upper limit to determine whether the exposure duration corresponding to the image to be collected in each frame is greater than the upper limit.
- the determined exposure time in the image to be collected is compared with the first upper limit. If the exposure time in the image to be collected is greater than the first time
- the upper limit of the first image reduces the exposure duration of the first image to the upper limit of the duration. Among them, the upper limit of the first duration is 300ms.
- the exposure time of a frame to be acquired is 350ms, and because the exposure time of the frame is greater than the first upper limit, the exposure time of the frame is reduced, and the exposure time of the frame to be acquired is set to 300ms .
- the determined exposure duration in the image to be acquired is compared with the second upper limit, and when the exposure duration corresponding to the first image in the image to be acquired is greater than
- the exposure duration corresponding to the first image is set to the upper limit of the second duration, which is 5.5s.
- the exposure time of an image to be collected in a frame is 6s, because the exposure time of the image in the frame is greater than the upper limit of the second duration, the exposure time of the image in the frame is reduced, and the exposure time of the image in the frame is set to 5.5 s.
- Step 504 Increase the sensitivity of the first image according to the ratio of the exposure duration before the reduction to the reduced exposure duration of the first image.
- the exposure amount is the product of the sensitivity and the exposure duration
- the exposure amount of the first image when the exposure amount of the first image is determined, it can be increased according to the ratio of the exposure duration before the reduction of the first image to the exposure duration after the reduction.
- the sensitivity of the first image to maintain the brightness of the captured image.
- the exposure duration and the reference exposure amount when the exposure compensation level is EV0 are 2s and 100 ISO, respectively.
- the exposure duration and sensitivity are 8s and 100ISO respectively. Since the exposure duration is 8s and is greater than the maximum duration of 5s, the exposure duration of EV + 2 is set to 5s.
- the ISO value is determined to be 8/5 * 100ISO or 160ISO. Therefore, by updating the exposure duration of the image to be collected in the frame, while ensuring the exposure amount, the image brightness is improved, and the image distortion caused by overexposure caused by the long exposure time is avoided.
- the exposure time of each frame to be captured is compared with the set upper limit. If there is a first Image, reducing the exposure duration of the first image to the upper limit of the duration, and increasing the sensitivity of the first image according to the ratio of the exposure duration before the reduction of the first image to the reduced exposure duration. Therefore, the exposure time of the image whose exposure time is longer than the upper limit is reduced to the upper limit, thereby avoiding that the overall shooting time is prolonged due to the exposure time being too long, which exacerbates the degree of jitter of the camera module, so that ghosts and blurry images due to jitter may appear in the final captured image.
- FIG. 7 is a schematic flowchart of a seventh night scene shooting method according to an embodiment of the present disclosure. As shown in FIG. 7, after step 103, the following steps are further included:
- Step 601 Compare the exposure duration of the image to be collected in each frame with a set lower limit.
- the exposure time of each frame to be acquired is determined according to the reference sensitivity determined by the camera module.
- the reference sensitivity determined by the camera module.
- the exposure time of each frame of the image to be collected is compared with the set lower limit, so that Adjust the exposure time.
- the lower limit of the duration is greater than or equal to 10 ms.
- the lower limit of the exposure duration is also determined according to the degree of jitter of the camera module.
- the lower limit of the exposure duration is also determined according to the degree of jitter of the camera module.
- step 602 if there is a second image in the to-be-collected image whose exposure duration is less than the lower limit of duration, the exposure duration of the second image is increased to the lower limit of duration.
- the exposure duration corresponding to the image to be acquired is shorter than the lower limit of the duration, it may cause excessive noise in the image to be difficult to eliminate. Therefore, when the exposure duration corresponding to an image to be acquired in a frame is less than the lower limit, the exposure duration corresponding to the image to be acquired in the frame is increased to the lower limit.
- Step 603 Determine a ratio between the exposure duration after the second image is increased and the exposure duration before the increase.
- the exposure duration before the second image is increased is 8ms
- the exposure duration of the second image is increased to the preset lower limit of 10ms
- the ratio between the exposure duration of and the exposure duration before the increase is 10/8.
- step 604 if there is a first image in the remaining frames of images to be acquired with an exposure duration greater than the upper limit, the exposure duration of the first image is reduced according to the upper limit.
- a first image with an exposure duration greater than the upper limit of the duration is also present in the remaining frames of the to-be-collected image, and the first image may be Is reduced to the maximum duration.
- Step 605 Increase the sensitivity of the first image according to the ratio of the exposure time before and after the first image is reduced.
- step 605 in the embodiment of the present disclosure, refer to the implementation process of step 504 in the foregoing embodiment, and details are not described herein again.
- Step 606 Update the sensitivity or exposure duration of the remaining frames of images to be acquired based on the ratio of the remaining frames of images to be collected whose exposure time is greater than or equal to the lower limit of the duration.
- the ratio and the rest The product of the sensitivity or exposure time before updating of the images to be acquired in each frame is used as the sensitivity or exposure time after updating of the images to be acquired in the remaining frames.
- the preset sensitivity value of each frame is determined to be 100 ISO according to the degree of jitter of the camera module, and the exposure duration of the 4 frames of image to be captured is 100ms, 200ms, 400ms, and 800ms, respectively.
- the value is 10ms / 1.5ms, that is, 20/3. Therefore, it is determined that the exposure time of the four frames to be collected is expanded to the original 20/3 times of 100ms, 200ms, 400ms and 800ms.
- the method for updating the sensitivity is similar to the method for updating the exposure duration. It is only necessary to replace the exposure duration with the sensitivity, but it should be noted that the exposure duration and update can only be updated according to the aforementioned to-be-collected images that are less than the lower limit of the duration.
- One of the ratio between the previous exposure time and the exposure time and the sensitivity is updated. If the exposure time and the sensitivity need to be updated at the same time, the ratio needs to be assigned according to the weight and then updated. For example, the exposure duration and the sensitivity are each half weighted. If the ratio between the updated exposure duration of the to-be-collected image smaller than the lower duration and the exposure duration before the update is R, the exposure duration is enlarged to the original R / 2 To increase the sensitivity to the original R / 2 times.
- the exposure time of the image to be collected for each frame is compared with the set lower limit. There is a second image in the image with an exposure duration that is shorter than the lower limit. Increase the exposure duration of the second image to the lower limit. Determine the ratio between the increased exposure duration of the second image and the exposure duration before the increase. For the remaining frames to be acquired with a duration greater than or equal to the lower limit of the duration, the sensitivity or exposure duration of the remaining frames to be acquired according to the ratio is updated.
- the exposure time of the images to be collected for each frame is determined, and then the sensitivity and exposure time of the images to be collected for each frame are updated according to the lower and upper limit of the exposure time, and finally the exposure time and sensitivity of the images to be collected are updated for each frame. It can control the exposure, and then imaging, which not only improves the dynamic range and overall brightness of the captured image in the night scene shooting mode, but also effectively suppresses the noise in the captured image, improves the quality of the night scene captured image, and improves the user experience.
- the exposure duration when shooting a night scene, can also be adjusted according to the degree of shake of the camera module, and then the sensitivity of multiple frames of images to be acquired is determined according to the exposure duration, so that Capture the image by the sensitivity and exposure time of the image to be acquired. Different from adjusting the exposure duration based on the reference sensitivity in the implementation provided in FIG. 1, the sensitivity is adjusted based on the exposure duration. Similarly, the sensitivity can be controlled to a lower level in combination with the degree of dithering.
- FIG. 8 is a schematic flowchart of an eighth night scene shooting method according to an embodiment of the present application.
- the method specifically includes the following steps:
- Step 701 Obtain the degree of jitter of the camera module.
- step 701 for the implementation process of step 701, refer to the implementation process of step 101 in the foregoing embodiment, and details are not described herein again.
- Step 702 Adjust the exposure duration according to the degree of dithering.
- the exposure time refers to the time that light passes through the lens.
- the exposure time can be adjusted according to the degree of shake of the camera module.
- the camera module has a large degree of jitter
- Step 703 Determine the sensitivity of the images to be acquired in multiple frames according to the brightness information and the exposure duration of the shooting scene.
- the brightness information of the shooting scene may be obtained by metering using a light metering module in the camera module, or may be the illumination of the shooting scene, or may be obtained through the brightness information in the preview image. This is not limited.
- the exposure amount is related to the aperture, the exposure duration, and the sensitivity.
- the aperture is the clear aperture, which determines the amount of light passing through in a unit time. After determining the exposure duration of multiple frames of images to be collected and the aperture size is the same, after determining the exposure amount corresponding to each frame of images to be collected according to the brightness information of the shooting scene, you can, according to the exposure time of each frame of images to be collected To determine the sensitivity of the image to be acquired for each frame.
- Step 704 Acquire an image according to the sensitivity and exposure time of the images to be acquired in multiple frames.
- the camera module is controlled to acquire images according to the sensitivity and exposure duration of the images to be collected in each frame, and details are not described herein.
- step 705 the collected multiple frames of images are synthesized to generate a target image.
- step 705 for the implementation process of step 705, refer to the implementation process of step 105 in the foregoing embodiment, and details are not described herein again.
- the night scene shooting method obtains the degree of shake of the camera module, adjusts the exposure time according to the degree of shake, and determines the sensitivity of the images to be collected in multiple frames based on the brightness information and exposure duration of the shooting scene. Capture the image sensitivity and exposure time to capture the image, and combine the collected multiple frames to generate the target image. Therefore, after determining the exposure duration, the sensitivity of multiple frames of images to be acquired is determined according to the brightness information and exposure duration of the shooting scene, so that image acquisition is performed according to the exposure duration and sensitivity of the images of multiple frames to be acquired to synthesize and generate a target image. , Not only improves the dynamic range and overall brightness of night shot images, effectively suppresses noise in the image, but also suppresses ghosting caused by hand-shake, improves the quality of night shot images, and improves the user experience.
- step 702 the exposure compensation level set for each frame of images to be acquired and the exposure duration corresponding to each exposure compensation level may be determined based on the degree of jitter.
- the synthesized image has a higher dynamic range, and the overall brightness and quality of the image are improved.
- Step 801 Determine the exposure duration corresponding to each exposure compensation level according to the degree of jitter.
- exposure compensation is a control method of exposure, which is a combination of the shutter and aperture parameters obtained after the object is metered by electronic equipment, and then the shutter speed obtained by manually changing the metering is compensated by the exposure compensation.
- Exposure compensation levels include high compensation levels, low compensation levels less than high compensation levels, and transition levels between high and low compensation levels.
- the current camera module has different degrees of jitter, different exposure compensation levels corresponding to multiple frames of images to be acquired, and different exposure durations corresponding to different exposure compensation levels. Therefore, the exposure duration corresponding to each exposure compensation level can be determined according to the degree of jitter, so as to establish a correspondence relationship between each exposure compensation level and exposure duration.
- the camera module shake degree can be "no shake”
- the corresponding EV value range of the exposure compensation level is preset to -6 ⁇ 2
- the difference between adjacent EV values is 0.5, while setting a longer
- the exposure duration of the camera module is set to "slightly shake” the camera module
- the EV value range of the corresponding exposure compensation level is preset to -5 to 1
- the difference between adjacent EV values is 1, while setting the Short exposure duration, etc.
- Step 802 Adjust the exposure compensation mode according to the degree of shaking.
- the exposure compensation mode is used to indicate the number of frames of the image to be acquired and the exposure compensation level set for each frame of the image to be acquired.
- the current jitter of the camera module is different, and the number of determined images to be acquired may also be different.
- the number of images to be acquired is different, different exposure compensation modes need to be adopted. Therefore, in a possible implementation form of the embodiment of the present disclosure, a mapping relationship between the degree of shake of the camera module and the exposure compensation mode may be established to determine the number of images to be acquired according to the current degree of shake of the camera module. Number of frames and the exposure compensation mode set for each frame of images to be acquired.
- the camera module shake degree can be "no shake", the corresponding EV value range of the exposure compensation mode is preset to -6 to 2, and the difference between adjacent EV values is 0.5;
- the degree of dithering is "slightly dithering", the EV value range of the corresponding exposure compensation mode is preset to -5 to 1, and the difference between adjacent EV values is 1, and so on.
- the anti-shake performance of the camera module may be determined first to adjust the exposure compensation mode in combination with the degree of shake and anti-shake performance of the camera module.
- the anti-shake performance of the camera module has a certain relationship with the attribute information of each component in the camera module, so the anti-shake performance of the camera module can be determined according to the attribute information of each component in the camera module. Adjust the exposure compensation mode based on the degree of camera shake and anti-shake performance.
- the preset time range can be appropriately extended, because a camera module that can achieve optical image stabilization function, during the shooting process, when the camera module shakes , It can offset a part of the jitter itself, so that compared with a camera module that cannot achieve optical image stabilization, at the same degree of jitter, the ghost and blur in the image collected by the camera module that can achieve optical image stabilization function To a lesser extent. Therefore, compared with a camera module that cannot achieve optical image stabilization, the preset time range can be appropriately expanded, especially the upper limit of the time range, to obtain a better-quality image.
- the number of frames of an image to be acquired may be adjusted according to the degree of jitter of the camera module, and further, the camera module detects whether the captured image includes a human face to adjust the exposure compensation mode of each frame.
- the number of frames of the image to be captured and the sensitivity of the captured image will affect the overall shooting time. If the shooting time is too long, it may cause the degree of shake of the camera module to increase during handheld shooting, thereby affecting the image quality. That is, the number of frames of the image to be acquired has an inverse relationship with the degree of jitter. Therefore, the number of image frames to be acquired can be adjusted according to the current jitter level of the camera module so that the shooting duration is controlled within a proper range.
- the current jitter of the camera module is small, more frames of images can be collected to effectively suppress the noise of each frame of the image and improve the quality of the captured image; if the current jitter of the camera module is large, then You can capture fewer frames to shorten the shooting time.
- the current shooting mode may be a tripod. At this time, more frames of images can be collected to obtain a higher quality image as much as possible, such as It is determined that the number of images to be acquired is 17 frames; if it is determined that the current jitter of the camera module is “slight jitter”, it may be determined that the current shooting mode may be a handheld shooting mode. At this time, images of fewer frames can be collected to reduce the shooting time.
- the number of images to be acquired is 7 frames; if it is determined that the current jitter of the camera module is “small jitter”, it may be determined that the current shooting mode may be a handheld shooting mode. At this time, the number of images to be acquired can be further reduced to reduce shooting Duration, for example, determine the number of images to be acquired is 5 frames; if the current degree of jitter of the camera module is determined to be "large jitter", it can be determined that the current degree of jitter is too large, and the number of images to be acquired can be further reduced at this time, or It does not adopt the method of collecting multiple frames of images to reduce the length of the shooting. For example, it is determined that the images to be collected are 3 frames.
- the above examples are merely exemplary and cannot be regarded as limiting the present disclosure.
- the degree of jitter of the camera module changes, the number of image frames to be acquired can be changed to obtain an optimal solution.
- the mapping relationship between the degree of jitter of the camera module and the number of image frames to be collected can be preset according to actual needs.
- Face recognition technology is to identify the identity by analyzing and comparing the visual characteristic information of the face. It belongs to the biometric recognition technology, which distinguishes the individual organisms from the biological characteristics of the organisms (generally specifically people).
- face recognition technology has been applied in many fields, such as digital camera face autofocus and smile shutter technology; corporate and residential security and management; access control systems; camera surveillance systems, etc.
- Commonly used face recognition algorithms include: Feature-based recognition algorithms (Feature-based recognition algorithms), Appearance-based recognition algorithms (Template-based recognition algorithms) recognition algorithms), algorithms using neural networks for recognition (Recognition algorithms, neural networks), and so on.
- the metering module of the camera module automatically performs metering based on the human face area, and is determined based on the metering result of the human face area Reference exposure.
- the light intensity of the face area is usually low, which results in a determined reference exposure amount that is higher than the reference exposure amount determined when the face is not included.
- Overexposed frames easily lead to overexposure of the human face area, which results in poor target image effect. Therefore, for the same degree of jitter, the corresponding exposure compensation mode needs to have a lower exposure compensation range compared to when the image captured by the camera module includes a human face and when it does not include a human face.
- the exposure compensation mode is the first mode that matches the adjusted frame number.
- the exposure compensation mode is a second mode that conforms to the adjusted frame number.
- the exposure compensation level value range corresponding to the second mode is larger than the exposure compensation level value range corresponding to the first mode.
- the degree of camera shake is "slight shake”
- the corresponding preset exposure compensation modes are the first mode and the second mode, where each EV value corresponding to the first mode is [0, 0, 0, 0 , -2, -4, -6], and each EV value corresponding to the second mode is [+1, +1, +1, +1, 0, -3, -6].
- the corresponding preset exposure compensation modes include a first mode and a second mode, where each EV value corresponding to the first mode is [0, 0 , 0, 0, -2, -4, -6], each EV value corresponding to the second mode is [+1, +1, +1, +1, 0, -3, -6], it can be seen that the first The exposure compensation range of the mode is smaller than the exposure compensation range of the second mode.
- the preset exposure compensation mode is the first mode that matches the adjusted frame number, that is, each EV value is [0, 0, 0, 0, -2 , -4, -6]; if it is detected that the image currently captured by the camera module does not include a human face, determine that the preset exposure compensation mode is the second mode that matches the adjusted frame number, that is, each EV value is [+ 1, +1, +1, +1, 0, -3, -6].
- Step 803 Determine the exposure duration of the image to be acquired for each frame according to the exposure compensation level set for each frame of the image to be acquired and the exposure duration corresponding to each exposure compensation level.
- the exposure time for each frame to be acquired can be determined.
- the exposure duration corresponding to each exposure compensation level is determined according to the degree of shake of the camera module, and the exposure compensation mode is adjusted, and further, the exposure compensation level set according to the image to be acquired for each frame and the exposure compensation level are corresponding.
- the exposure duration is determined by the exposure duration of the image to be acquired for each frame.
- step 703 according to the brightness information and exposure duration of the shooting scene, the sensitivity of the images to be collected in multiple frames is determined, and the determined The sensitivity of the frame to be acquired is compared with the set upper limit of the sensitivity to reduce the sensitivity of the to-be-acquired image whose sensitivity is greater than the upper limit of the sensitivity. It avoids the technical problem that the sensitivity value is high during the process of collecting images, which causes the noise of the collected images to increase. The following describes the above process in detail with reference to FIG. 10. As shown in FIG. 10, after step 703, it may further include:
- Step 901 Determine an upper limit of the sensitivity according to the degree of shaking of the camera module.
- the displacement information may be collected according to a displacement sensor provided in the electronic device, and further, the degree of shake of the camera module may be determined according to the collected displacement information of the electronic device.
- the upper limit of the sensitivity of the images to be collected in each frame may be determined according to the degree of jitter of the camera module.
- the degree of shake of the camera module may be compared with a preset shake threshold to determine an upper limit of sensitivity according to the degree of shake.
- the jitter threshold is a value used to measure the degree of jitter.
- the determined degree of shake of the camera module is greater than or equal to the shake threshold, and at this time, the upper limit of the sensitivity is determined to be the first sensitivity value.
- the sensitivity value is determined to be 800.
- the determined degree of shake of the camera module is less than the shake threshold, and at this time, it is determined that the upper limit of the sensitivity is the second sensitivity value.
- the first light sensitive value is greater than the second light sensitive value, the first light sensitive value is a preset multiple of the second light sensitive value, and the preset multiple takes a value greater than or equal to two.
- the second sensitivity value can be the minimum sensitivity of the imaging device, that is, the value of the second sensitivity value is 100 ISO. Accordingly, the value range of the first sensitivity value can be 200, 400, 800 or higher.
- the degree of shake of the camera module is small, a lower sensitivity can be set to obtain a higher quality image as much as possible.
- the sensitivity can be determined to be 100.
- Step 902 Compare the sensitivity of the image to be collected in each frame with a set upper limit of sensitivity.
- the sensitivity of the image to be collected in each frame is compared with the set upper limit of the sensitivity to The sensitivity of the captured image is adjusted to help reduce the noise of each frame of the collected image, to avoid the situation that the image noise increases when the sensitivity is increased.
- step 903 if there is a first image in the image to be collected with a sensitivity greater than the upper limit of the sensitivity, the sensitivity of the first image is reduced according to the upper limit of the sensitivity.
- the corresponding sensitivity in the image to be collected is greater than the upper limit of the sensitivity, it may cause more noise in the process of capturing the image, which may cause serious noise in the final captured image.
- the sensitivity of the image to be collected in each frame can be compared with the upper limit of the sensitivity to determine whether there is a first image in the image to be collected whose sensitivity is greater than the upper limit of the sensitivity .
- the determined sensitivity in the image to be collected is compared with the upper limit of the sensitivity.
- the first image reduces the sensitivity of the first image according to the upper limit of the sensitivity.
- the upper limit of the sensitivity is the first sensitivity value.
- the determined sensitivity in the image to be acquired is compared with the upper limit of the sensitivity, and when the first image in the image to be acquired has a sensitivity greater than
- the sensitivity is upper limit
- the sensitivity of the first image is decreased according to the sensitivity upper limit.
- the upper limit of the sensitivity is the second sensitivity value.
- Step 904 Increase the exposure duration of the first image according to the ratio of the sensitivity before the reduction of the first image to the sensitivity after the reduction.
- the exposure amount is the product of the sensitivity and the exposure duration
- the exposure amount of the first image when the exposure amount of the first image is determined, it can be increased according to the ratio of the sensitivity before the reduction of the first image to the sensitivity after the reduction.
- the exposure time of the first image is long to maintain the brightness of the captured image.
- the upper limit of sensitivity is determined according to the degree of shaking of the camera module, and the sensitivity of the image to be collected in each frame is compared with the set upper limit of sensitivity.
- the first image reduces the sensitivity of the first image according to the upper limit of the sensitivity, and increases the exposure duration of the first image according to the ratio of the sensitivity before the reduction of the first image to the sensitivity after the reduction.
- the sensitivity of an image to be acquired with a sensitivity greater than the upper limit of sensitivity is reduced to the upper limit of sensitivity, thereby avoiding the introduction of more noise into the captured image due to the higher sensitivity, thereby making the final The captured image appears blurry.
- step 703 according to the brightness information and exposure duration of the shooting scene, the sensitivity of the images to be collected for multiple frames is determined, and each frame is The sensitivity of the image to be collected is compared with the lower limit of sensitivity to adjust the sensitivity of the second image in the to-be-acquired image that has a sensitivity lower than the lower limit of sensitivity according to the lower limit of sensitivity.
- FIG. 11 is a schematic flowchart of an eleventh night scene shooting method according to an embodiment of the present disclosure. As shown in FIG. 11, after step 703, the following steps are further included:
- step 1001 the sensitivity of the image to be acquired in each frame is compared with a set lower limit of sensitivity.
- the lower limit of the sensitivity is determined according to the sensitivity of the sensor in the camera module to light, for example, it can be 80.
- the sensitivity of each frame to be collected is determined according to the exposure time determined by the degree of jitter of the camera module.
- the sensitivity of each frame to be collected is determined according to the exposure time determined by the degree of jitter of the camera module.
- the sensitivity of the images to be collected in each frame is compared with the set lower limit of the sensitivity, so that the lower limit of the sensitivity is determined according to the lower limit of the sensitivity Adjust the sensitivity.
- step 1002 if a second image with a sensitivity lower than the lower sensitivity limit exists in the image to be collected, the sensitivity of the second image is increased according to the lower sensitivity limit.
- the phenomenon of blurring may occur in the image captured at night. Therefore, when the sensitivity corresponding to an image to be acquired in a frame is less than the lower sensitivity limit, the sensitivity corresponding to the image to be acquired in the frame is increased to the lower sensitivity limit.
- the sensitivity When capturing images in a night scene, the sensitivity is low with the same amount of exposure, and the exposure time needs to be increased, which leads to an increase in the overall shooting time and exacerbates the degree of jitter of the camera module, so that the final captured image ghosting and blurry images may occur due to jitter. Therefore, when a second image having a sensitivity lower than the lower limit of sensitivity exists in the image to be collected, the sensitivity corresponding to the second image is increased to the lower limit of sensitivity.
- Step 1003 Determine a ratio between the sensitivity after the second image is increased and the sensitivity before the increase.
- the preset lower limit of the sensitivity is 80
- the sensitivity before the second image is increased to 20
- the sensitivity after the second image is increased to 80
- the sensitivity of the second image after the increase may be determined.
- the ratio between the sensitivities before the increase is 8/2.
- Step 1004 For the remaining frames of images to be acquired with sensitivity greater than or equal to the lower limit of sensitivity, the sensitivity or exposure duration of the remaining frames of images to be acquired is updated according to the ratio.
- the ratio is determined.
- the product of the sensitivity or exposure time before the update of the images to be collected in the remaining frames is used as the sensitivity or exposure time after the images in the remaining frames are updated.
- the update method of the exposure time is similar to the update method of the sensitivity. It is only necessary to replace the sensitivity with the exposure time. However, it should be noted that the update of the sensitivity and One of the ratio between the sensitivity before the update, the exposure duration, and the sensitivity. If the exposure duration and the sensitivity need to be updated at the same time, the ratio needs to be assigned according to the weight and then updated. For example, the exposure duration and the sensitivity are each half weighted. If the ratio between the updated exposure duration of the to-be-collected image smaller than the lower duration and the exposure duration before the update is R, the exposure duration is enlarged to the original R / 2 To increase the sensitivity to the original R / 2 times.
- the sensitivity of the image to be collected in each frame is compared with the set lower limit of sensitivity. If a second image with a sensitivity lower than the lower limit of sensitivity exists in the image to be collected, the second is increased according to the lower limit of sensitivity Sensitivity of the image. Determine the ratio between the increased sensitivity of the second image and the sensitivity before the increase. For the remaining frames whose sensitivity is greater than or equal to the lower sensitivity limit, the images to be acquired are updated according to the ratio. Sensitivity or exposure duration of the frame to be acquired. Thus, the sensitivity of each frame to be acquired is determined, and then the sensitivity and exposure time of each frame to be acquired are updated according to the lower limit of the sensitivity. Exposure control, and then imaging, not only improves the dynamic range and overall brightness of the captured image in the night scene shooting mode, but also effectively suppresses noise in the captured image, improves the quality of the night scene captured image, and improves the user experience.
- the exposure duration of multiple frames of images to be acquired and the corresponding images to be acquired may be adjusted according to the brightness of the camera module according to the brightness information of the shooting scene.
- the required sensitivity is based on the exposure time and sensitivity of the image to be captured for each frame.
- Step 1101 Obtain the degree of jitter of the camera module.
- step 1101 for the implementation process of step 1101, refer to the implementation process of step 101 in the foregoing embodiment, and details are not described herein again.
- Step 1102 Adjust the exposure duration of the images to be acquired in multiple frames and the sensitivity required for the corresponding images to be acquired according to the brightness information of the shooting scene.
- the brightness information of the shooting scene can be obtained by metering using a light metering module in the camera module, or can be obtained from the brightness of the shooting scene, or obtained through the brightness information in the preview image, which is not limited herein.
- the exposure time and sensitivity under the brightness information of the shooting scene can be adjusted for multiple frames of images to be acquired, and the exposure time and sensitivity can be adjusted simultaneously.
- the exposure duration and sensitivity can be adjusted simultaneously.
- query the exposure table to obtain the exposure duration and sensitivity of the corresponding images to be collected.
- the inquiry exposure duration of each frame of the image to be collected is adjusted so that the sensitivity of the corresponding image to be collected is lower than the sensitivity threshold corresponding to the degree of dithering.
- the exposure table records exposure parameters corresponding to the brightness information of different shooting scenes. Exposure parameters include aperture parameters, exposure compensation levels, exposure duration, and sensitivity.
- the shake degree of the camera module can be compared with a preset shake threshold value to determine the sensitivity threshold value according to the shake degree.
- the jitter threshold is a value used to measure the degree of jitter.
- the query exposure duration of the image to be collected in each frame is adjusted according to the degree of jitter to make the sensitivity of the corresponding image to be collected Below the sensitivity threshold corresponding to the degree of jitter. Therefore, when capturing an image, the phenomenon that the captured image has a lot of noise due to the large sensitivity is avoided, which causes the phenomenon that the final captured image appears blurred.
- the exposure duration may be determined first, and then the sensitivity is determined. First, obtain the degree of shake of the camera module, and adjust the exposure duration according to the degree of shake. Furthermore, according to the brightness information of the shooting scene and the exposure duration, the sensitivity of the images to be acquired in multiple frames is determined. For a specific implementation manner, refer to the embodiment corresponding to FIG. 8, which is not described in this embodiment.
- the sensitivity may be determined first, and then the exposure duration is determined. First, obtain the shaking degree of the camera module. Further, the reference sensitivity is adjusted according to the degree of shaking, and the exposure duration of the images to be collected for multiple frames is determined according to the brightness information of the shooting scene and the reference sensitivity. For a specific implementation manner, refer to the embodiment corresponding to FIG. 1, which is not described in this embodiment.
- Step 1103 Acquire an image according to the exposure duration and sensitivity of the image to be acquired in each frame.
- step 1104 the collected multiple frames of images are synthesized to generate a target image.
- step 1103 and step 1104 in the embodiment of the present disclosure refer to the implementation process of step 101 and step 105 in the foregoing embodiment, respectively, and details are not described herein again.
- the exposure time of multiple frames of images to be captured and the sensitivity required for the corresponding images to be captured are adjusted according to the brightness information of the shooting scene. Capture the image's exposure time and sensitivity to capture the image, and combine the collected multiple frames of images to generate the target image. Therefore, image acquisition is performed according to the exposure duration and sensitivity of multiple frames of images to be collected to generate a target image, which not only improves the dynamic range and overall brightness of the night scene captured image, effectively suppresses noise in the image, but also suppresses handheld ghosting caused by jitter improves the quality of night shot images and improves the user experience.
- step 1102 according to the degree of dithering, the exposure duration of multiple frames of images to be acquired and the location of corresponding images to be acquired are adjusted according to the brightness information of the shooting scene.
- the determined exposure time can be compared with the upper limit of the time determined according to the degree of jitter of the camera module, so as to reduce the exposure time of the image to be acquired with an exposure time greater than the upper limit of the time length, and avoid excessive exposure time.
- the overexposure caused the image distortion, the blurring of the picture, and the situation that the shooting time is too long.
- Step 1201 Determine the upper limit of the duration according to the degree of jitter.
- the displacement information may be collected according to a displacement sensor provided in the imaging device, and further, the degree of shake of the camera module may be determined according to the collected displacement information of the imaging device. Further, the determined shake degree of the camera module is compared with a preset shake threshold to determine an upper limit of the exposure time.
- the jitter threshold is a jitter value preset in the imaging device and used to determine a preset sensitivity value.
- the degree of jitter of the imaging device is less than the jitter threshold, it is determined that the upper limit of the exposure duration of the images to be acquired in each frame in the current shooting scene is the second duration.
- the first duration is shorter than the second duration, and the first duration ranges from 150ms to 300ms; the second duration ranges from 4.5s to 5.5s.
- Step 1202 Compare the exposure duration of the image to be collected in each frame with a set upper limit.
- the exposure duration of each frame to be acquired can be determined by querying the exposure table according to the brightness information of the shooting scene.
- the specific implementation process refer to the implementation process of step 1102 in the foregoing embodiment, and details are not described herein again.
- step 1203 if there is a first image in the to-be-collected image whose exposure duration is greater than the upper limit, the exposure duration of the first image is reduced according to the upper limit.
- Step 1204 Increase the sensitivity of the first image according to the ratio of the exposure duration before the reduction to the reduced exposure duration of the first image.
- the exposure time of each frame to be captured is compared with the set upper limit. If there is a first According to the upper limit of the duration of the image, the exposure duration of the first image is reduced, and the sensitivity of the first image is increased according to the ratio of the exposure duration before the reduction of the first image to the reduced exposure duration. Therefore, the exposure time of the image whose exposure time is longer than the upper limit is reduced to the upper limit, thereby avoiding that the overall shooting time is prolonged due to the exposure time being too long, which exacerbates the degree of jitter of the camera module, so that ghosts and blurry images due to jitter may appear in the final captured image.
- step 1102 according to the degree of dithering, the exposure duration of multiple frames of images to be acquired and the location of corresponding images to be acquired are adjusted according to the brightness information of the shooting scene After determining the required sensitivity, the determined exposure time is compared with the lower limit of the time determined according to the degree of jitter of the camera module to adjust the exposure time that is less than the lower limit of the time according to the lower limit of the exposure time.
- Step 1301 Compare the exposure duration of the image to be acquired in each frame with a set lower limit.
- the exposure duration of each frame to be acquired can be determined by querying the exposure table according to the brightness information of the shooting scene.
- the specific implementation process refer to the implementation process of step 1102 in the foregoing embodiment, and details are not described herein again.
- the exposure time of each frame of the image to be collected is compared with the set lower limit, so that Adjust the exposure time.
- the lower limit of the duration is greater than or equal to 10 ms.
- the lower limit of the exposure time is also determined according to the degree of jitter of the camera module.
- the lower limit of the exposure time is also determined according to the degree of jitter of the camera module.
- step 1302 if there is a second image in the to-be-collected image with an exposure duration less than the lower limit of the duration, the exposure duration of the second image is increased according to the lower limit of the duration.
- the exposure duration corresponding to the image to be acquired is shorter than the lower limit of the duration, it may cause excessive noise in the image to be difficult to eliminate. Therefore, when the exposure duration corresponding to an image to be acquired in a frame is less than the lower limit, the exposure duration corresponding to the image to be acquired in the frame is increased to the lower limit.
- Step 1303 Determine a ratio between an exposure duration after the second image is increased and an exposure duration before the increase.
- the exposure duration before the second image is increased is 8ms
- the exposure duration of the second image is increased to the preset lower limit of 10ms
- the ratio between the exposure duration of and the exposure duration before the increase is 10/8.
- Step 1304 For the remaining frames of the image to be acquired whose exposure time is greater than or equal to the lower limit of the duration, the sensitivity or exposure time of the remaining images to be acquired is updated according to the ratio.
- the ratio and the rest The product of the sensitivity or exposure time before updating of the images to be acquired in each frame is used as the sensitivity or exposure time after updating of the images to be acquired in the remaining frames.
- the update method of the sensitivity is similar to the update method of the exposure duration. It is only necessary to replace the exposure duration with the sensitivity, but it should be noted that only after the image to be acquired that is smaller than the lower limit of the duration is updated.
- One of the ratio between the exposure duration and the exposure duration before the update the exposure duration and the sensitivity are updated. If the exposure duration and the sensitivity need to be updated at the same time, the ratio needs to be assigned according to the weight and then updated. For example, the exposure duration and the sensitivity are each half weighted. If the ratio between the updated exposure duration of the to-be-collected image smaller than the lower duration and the exposure duration before the update is R, the exposure duration is enlarged to the original R / 2 To increase the sensitivity to the original R / 2 times.
- the query exposure duration of each frame of the image to be collected is adjusted according to the degree of dithering, so that the sensitivity of the corresponding image to be collected is lower than the sensitivity threshold corresponding to the degree of dithering, and then the Compare the exposure time with the set lower limit. If there is a second image in the to-be-collected image whose exposure time is shorter than the lower limit, increase the exposure time of the second image according to the lower limit to determine the increased exposure time of the second image.
- the ratio between the exposure durations before the increase, and for the remaining frames to be acquired for the exposure duration that is greater than or equal to the lower limit of the duration, the sensitivity or exposure duration of the remaining frames to be acquired is updated according to the ratio.
- the exposure time of the images to be collected in each frame is determined, and then the sensitivity and exposure time of the images to be collected in each frame are updated according to the lower limit of the exposure time.
- Exposure control, and then imaging not only improves the dynamic range and overall brightness of the captured image in the night scene shooting mode, but also effectively suppresses noise in the captured image, improves the quality of the night scene captured image, and improves the user experience.
- the present disclosure also proposes a night scene photographing device.
- FIG. 15 is a schematic structural diagram of a night scene photographing apparatus according to an embodiment of the present disclosure.
- the night scene photographing device 100 is applied to a camera module and includes: an acquisition module 110, an adjustment module 120, a determination module 130, a collection module 140, and a generation module 150.
- the obtaining module 110 is configured to obtain a degree of shaking of the camera module.
- the adjusting module 120 is configured to adjust the reference sensitivity according to the degree of shaking.
- the determining module 130 is configured to determine the exposure duration of the images to be acquired in multiple frames according to the brightness information of the shooting scene and the reference sensitivity.
- the acquisition module 140 is configured to acquire an image according to a reference sensitivity and an exposure duration of multiple frames of images to be acquired.
- the generating module 150 is configured to synthesize the collected multiple frames of images to generate a target image.
- the determining module 130 includes:
- the first determining unit is configured to determine a reference exposure amount according to the brightness information of the shooting scene.
- the second determining unit is configured to determine a reference exposure duration according to the reference exposure amount and the reference sensitivity.
- the exposure compensation unit is configured to compensate the reference exposure duration according to the exposure compensation level set for the images to be collected in each frame to obtain the exposure duration of the images to be collected in each frame.
- the determining module 130 further includes:
- a third determining unit configured to adjust the exposure compensation mode according to the degree of shaking
- the exposure compensation mode is used to indicate the number of frames of the image to be acquired and the exposure compensation level set for each frame of the image to be acquired.
- the third determining unit is configured to:
- Adjusting the number of frames of the image to be acquired according to the degree of jitter detecting whether a face has been included in the image acquired by the camera module; if a face is included, determining that the exposure compensation mode is a Mode; if no human face is included, determine that the exposure compensation mode is a second mode that conforms to the adjusted frame number; wherein the exposure compensation level of the second mode is greater than the exposure compensation level of the first mode. Value range.
- the frame number of the image to be collected has an inverse relationship with the jitter degree.
- the adjustment module 120 includes:
- the first adjusting unit is configured to determine the reference sensitivity as the first sensitivity value if the degree of shaking is greater than or equal to the shaking threshold.
- the second adjusting unit is configured to determine that the reference sensitivity is the second sensitivity value if the degree of shaking is less than the shaking threshold; wherein the first sensitivity value is greater than the second sensitivity value.
- the first sensitivity value is a preset multiple of the second sensitivity value, and the preset multiple is greater than or equal to 2; the second sensitivity value is the minimum sensitivity of the camera module.
- the night scene photographing apparatus 100 further includes:
- the first comparison module is configured to compare the exposure duration of the image to be acquired in each frame with a set upper limit.
- the exposure duration reduction module is configured to reduce the exposure duration of the first image to the upper limit of the duration if there is a first image in the image to be collected with an exposure duration greater than the upper limit of the duration.
- the night scene photographing apparatus 100 further includes:
- the duration upper limit determining module is configured to determine the upper limit of the duration according to the degree of shaking of the camera module.
- the duration upper limit determination module includes:
- a fifth determining unit is configured to determine that if the degree of jitter is greater than or equal to the jitter threshold, the upper limit of the duration is the first duration.
- a sixth determining unit is configured to determine that the upper limit of the duration is the second duration if the degree of the dither is less than the threshold of the dither; wherein the first duration is less than the second duration.
- the value of the first duration ranges from 150 ms to 300 ms; and the value of the second duration ranges from 4.5s to 5.5s.
- the night scene photographing apparatus 100 further includes:
- the sensitivity increasing module is configured to increase the sensitivity of the first image according to the ratio of the exposure duration before the reduction of the first image to the exposure duration after the reduction.
- the night scene photographing apparatus 100 further includes:
- the second comparison module is configured to compare the exposure duration of the image to be acquired in each frame with a set lower limit of the duration.
- the exposure duration increasing module is configured to increase the exposure duration of the second image to the lower duration if there is a second image in the image to be collected with an exposure duration less than the lower duration.
- the night scene photographing apparatus 100 further includes:
- a ratio determining module configured to determine a ratio between an exposure duration after the second image is increased and an exposure duration before the increase
- An update module is used to update the sensitivity or exposure duration of the remaining frames of images to be acquired based on the ratio of the remaining frames of images to be acquired whose exposure time is greater than or equal to the lower limit of time.
- the update module is used to:
- the product of the ratio and the sensitivity of the remaining frames of images before being updated is used as the updated images of the remaining frames of images to be acquired Sensitivity
- the product of the ratio and the exposure time before the remaining frames to be acquired images are updated as the remaining frames to be acquired images are updated After the exposure.
- the update module may also be used: if there is a first image in the remaining frames of images to be acquired with an exposure time greater than the upper limit of the duration, reduce the exposure time of the first image according to the upper limit of the duration; The ratio of exposure time before and after the first image is reduced, and the sensitivity of the first image is increased.
- the lower limit of the duration is greater than or equal to 10 ms.
- the night scene shooting device obtains the degree of shake of the camera module, adjusts the reference sensitivity according to the degree of shake, and determines the exposure duration of multiple frames of images to be collected based on the brightness information and the reference sensitivity of the shooting scene.
- Sensitivity and exposure time of multiple frames of images to be acquired Images are collected and the acquired multiple frames are synthesized to generate a target image. Therefore, image acquisition is performed according to the reference sensitivity and exposure duration of each frame to be acquired to synthesize and generate a target image, which not only improves the dynamic range and overall brightness of the night scene captured image, effectively suppresses noise in the image, but also suppresses the image.
- ghosting caused by hand-shake improves the quality of night shot images and improves the user experience.
- the present disclosure also proposes another night scene photographing device.
- FIG. 16 is a schematic structural diagram of another night scene photographing apparatus according to an embodiment of the present disclosure.
- the night scene photographing device 200 is applied to a camera module and includes an acquisition module 210, an adjustment module 220, a determination module 230, a collection module 240, and a generation module 250.
- the obtaining module 210 is configured to obtain a shaking degree of the camera module.
- the adjusting module 220 is configured to adjust the exposure duration according to the degree of shaking.
- the determining module 230 is configured to determine the sensitivity of the image to be acquired in multiple frames according to the brightness information and the exposure duration of the shooting scene.
- the acquisition module 240 is configured to acquire an image according to the sensitivity and exposure duration of the images to be acquired in multiple frames.
- the generating module 250 is configured to synthesize the collected multiple frames of images to generate a target image.
- the adjustment module 220 includes:
- the first adjusting unit is configured to determine an exposure duration corresponding to each exposure compensation level according to the degree of shaking.
- the second adjusting unit is configured to determine the exposure duration of the image to be acquired in each frame according to the exposure compensation level set for each frame of the image to be acquired and the exposure duration corresponding to each exposure compensation level.
- the adjustment module 220 may further include:
- a third adjustment unit configured to adjust the exposure compensation mode according to the degree of shaking
- the exposure compensation mode is used to indicate the number of frames of the image to be acquired and the exposure compensation level set for each frame of the image to be acquired.
- the third adjustment unit is specifically configured to:
- the exposure compensation mode is a first mode conforming to the adjusted frame number
- the exposure compensation level range of the second mode is larger than the exposure compensation level range of the first mode.
- the number of frames of the image to be acquired has an inverse relationship with the degree of jitter.
- the night scene photographing apparatus 200 further includes:
- the comparison module is configured to compare the sensitivity of the image to be collected in each frame with a set upper limit of sensitivity.
- the sensitivity reduction module is configured to reduce the sensitivity of the first image according to the upper limit of the sensitivity if there is a first image in the image to be collected having a sensitivity greater than the upper limit of the sensitivity.
- the night scene photographing apparatus 200 further includes:
- the sensitivity upper limit determining module is configured to determine the upper limit of the sensitivity according to the degree of shaking of the camera module.
- the sensitivity upper limit determination module is specifically configured to:
- the degree of dithering is greater than or equal to the dithering threshold, determine that the upper limit of the sensitivity is the first photosensitive value
- the first photosensitive value is greater than the second photosensitive value.
- the first sensitivity value is a preset multiple of the second sensitivity value, and the preset multiple is greater than or equal to 2; the second sensitivity value is the minimum sensitivity of the camera module.
- the night scene photographing apparatus 200 further includes:
- the exposure duration increasing module is configured to increase the exposure duration of the first image according to the ratio of the sensitivity before the reduction of the first image to the sensitivity after the reduction.
- the night scene photographing apparatus 200 further includes:
- the comparison module is configured to compare the sensitivity of the image to be collected in each frame with a set lower limit of sensitivity.
- the sensitivity increasing module is configured to increase the sensitivity of the second image according to the lower sensitivity limit if a second image having a sensitivity lower than the lower sensitivity limit exists in the image to be collected.
- the night scene photographing apparatus 200 further includes:
- the ratio determination module is configured to determine a ratio between the sensitivity after the second image is increased and the sensitivity before the increase.
- An update module is configured to update the sensitivity or exposure duration of the remaining frames of images to be acquired according to the ratio for the remaining frames of images to be acquired with sensitivity greater than or equal to the lower limit of sensitivity.
- the night scene shooting device obtains the degree of shake of the camera module, adjusts the exposure time according to the degree of shake, and determines the sensitivity of the images to be collected in multiple frames based on the brightness information and exposure duration of the shooting scene; Capture the image sensitivity and exposure time to capture the image, and combine the collected multiple frames to generate the target image. Therefore, after determining the exposure duration, the sensitivity of multiple frames of images to be acquired is determined according to the brightness information and exposure duration of the shooting scene, so that image acquisition is performed according to the exposure duration and sensitivity of the images of multiple frames to be acquired to synthesize and generate a target image. , Not only improves the dynamic range and overall brightness of night shot images, effectively suppresses noise in the image, but also suppresses ghosting caused by hand-shake, improves the quality of night shot images, and improves the user experience.
- the present disclosure also proposes another night scene photographing device.
- FIG. 17 is a schematic structural diagram of another night scene photographing apparatus according to an embodiment of the present disclosure.
- the night scene photographing device 300 is applied to a camera module and includes an acquisition module 310, an adjustment module 320, a collection module 330, and a generation module 340.
- the obtaining module 310 is configured to obtain a shaking degree of the camera module.
- the adjusting module 320 is configured to adjust the exposure duration of the images to be acquired in multiple frames and the sensitivity required for the corresponding images to be acquired according to the brightness of the shooting scene.
- the acquisition module 330 is configured to acquire an image according to an exposure duration and a sensitivity of an image to be acquired in each frame.
- the generating module 340 is configured to synthesize the collected multiple frames of images to generate a target image.
- the adjustment module 320 may include:
- the query unit is configured to query the exposure table according to the brightness information of the shooting scene and the exposure compensation level set for each frame of the image to be acquired, to obtain the exposure duration and sensitivity of the corresponding image to be acquired.
- the first adjusting unit is configured to adjust the query exposure duration of each frame of the image to be collected according to the degree of dithering, so that the sensitivity of the corresponding image to be collected is lower than the sensitivity threshold corresponding to the degree of dithering.
- the adjustment module 320 may further include:
- a second adjustment unit configured to adjust the exposure compensation mode according to the degree of shaking
- the exposure compensation mode is used to indicate the number of frames of the image to be acquired and the exposure compensation level set for each frame of the image to be acquired.
- the second adjustment unit is specifically configured to:
- the exposure compensation mode is a first mode conforming to the adjusted frame number
- the exposure compensation level range of the second mode is larger than the exposure compensation level range of the first mode.
- the night scene photographing apparatus 300 further includes:
- the comparison module is configured to compare the exposure duration of the image to be acquired in each frame with a set upper limit.
- the reducing module is configured to reduce the exposure duration of the first image according to the upper limit of the duration of the first image in the image to be acquired if the exposure duration is greater than the upper limit of the duration.
- the night scene photographing apparatus 300 further includes:
- the duration upper limit determining module is configured to determine the upper limit of the duration according to the degree of jitter.
- the duration upper limit determining module is specifically used for:
- the degree of jitter is greater than or equal to the jitter threshold, determine that the upper limit of the duration is the first duration
- the degree of jitter is less than the jitter threshold, determine that the upper limit of the duration is the second duration
- the first duration is shorter than the second duration.
- the first duration value ranges from 150ms to 300ms; the second duration value ranges from 4.5s to 5.5s.
- the night scene photographing apparatus 300 further includes:
- the sensitivity increasing module is configured to increase the sensitivity of the first image according to the ratio of the exposure duration before the reduction of the first image to the exposure duration after the reduction.
- the night scene photographing apparatus 300 further includes:
- the comparison module is configured to compare the exposure duration of the image to be collected in each frame with a set lower limit.
- the increasing module is used to increase the exposure duration of the second image according to the lower duration limit if there is a second image in the image to be collected with an exposure duration less than the lower duration limit.
- the night scene photographing apparatus 300 further includes:
- a ratio determination module configured to determine a ratio between an exposure duration after the second image is increased and an exposure duration before the increase
- An update module is configured to update the sensitivity or exposure duration of the remaining frames of images to be acquired based on the ratio of the remaining frames of images to be acquired whose exposure time is greater than or equal to the lower limit of the duration.
- the night scene shooting device obtains the degree of shake of the camera module, and adjusts the exposure duration of multiple frames of images to be captured under the brightness of the shooting scene and the sensitivity required for the corresponding images to be captured according to the brightness of the shooting scene.
- Frame the image to be captured with the exposure time and sensitivity to capture the image and combine the collected multiple frames of images to generate the target image. Therefore, image acquisition is performed according to the exposure duration and sensitivity of multiple frames of images to be collected to generate a target image, which not only improves the dynamic range and overall brightness of the night scene captured image, effectively suppresses noise in the image, but also suppresses handheld ghosting caused by jitter improves the quality of night shot images and improves the user experience.
- FIG. 18 is a schematic flowchart of a night scene imaging processing method of a camera module according to an embodiment of the present disclosure.
- the camera module night scene photography processing method includes the following steps:
- Step 1801 In the night scene shooting mode, detect the current jitter of the camera module.
- the current jitter degree of the mobile phone that is, the current jitter degree of the camera module may be determined by acquiring the current gyro-sensor information of the electronic device.
- Gyroscope is also called angular velocity sensor, which can measure the angular velocity of rotation when the physical quantity is deflected and tilted.
- the gyroscope can measure the movement of rotation and deflection very well, so that it can accurately analyze and judge the actual movement of the user.
- the gyroscope information (gyro information) of the electronic device may include the movement information of the mobile phone in three dimensions in the three-dimensional space, and the three dimensions of the three-dimensional space may be respectively represented in the three directions of the X-axis, Y-axis, and Z-axis. Among them, The X-axis, Y-axis, and Z-axis are perpendicular to each other.
- the current jitter degree of the camera module may be determined according to the current gyro information of the electronic device.
- the absolute value threshold of the gyro movement in the three directions can be preset, and the camera module is determined according to the relationship between the acquired absolute value of the current gyro movement in the three directions and the preset threshold. The current degree of jitter.
- the preset thresholds are the first threshold A, the second threshold B, and the third threshold C, and A ⁇ B ⁇ C.
- the sum of the absolute values of the gyro motion in the three directions currently obtained is S . If S ⁇ A, determine the current jitter of the camera module as “no shake”; if A ⁇ S ⁇ B, you can determine the current jitter of the camera module as “slight shake”; if B ⁇ S ⁇ C, Then, it can be determined that the current shake degree of the camera module is "small shake”; if S> C, it can be determined that the current shake degree of the camera module is "large shake”.
- the number of thresholds and specific values of each threshold can be preset according to actual needs, and the mapping relationship between the gyro information and the degree of camera module shake can be preset according to the relationship between the gyro information and each threshold.
- Step 1802 Determine the number of images to be acquired and the reference sensitivity corresponding to each frame of images to be acquired according to the current jitter of the camera module.
- the sensitivity also known as the ISO value, refers to an index that measures the sensitivity of the negative to light.
- the sensitivity of a digital camera is a kind of index similar to the sensitivity of a film.
- the ISO of a digital camera can be adjusted by adjusting the sensitivity of the photosensitive device or combining the sensing points. Combining several adjacent photosensitive points to improve the ISO. It should be noted that, whether it is digital or negative photography, in order to reduce the exposure time, the use of a relatively high sensitivity will usually introduce more noise, resulting in lower image quality.
- the reference sensitivity refers to the lowest sensitivity that is adjusted according to the current degree of shake of the camera module to match the current degree of shake.
- the reference sensitivity corresponding to each frame of the image to be collected may be the same or different, and the specific value is related to the current jitter of the camera module that collects the image of the frame.
- the number of captured images and the sensitivity of the captured images will affect the overall shooting time. If the shooting time is too long, the degree of shake of the camera module may be increased during handheld shooting, which will affect the image quality. Therefore, the number of images to be acquired and the reference sensitivity corresponding to each frame of images to be acquired can be determined according to the current jitter level of the camera module, so that the shooting duration is controlled within a suitable range.
- the current jitter of the camera module is small, more frames of images can be collected, and the reference sensitivity corresponding to each frame of images to be collected can be appropriately compressed to a smaller value to effectively suppress the image of each frame.
- Noise improve the quality of captured images; if the current camera module has a large degree of jitter, it can collect fewer frames of images, and the reference sensitivity corresponding to each frame of images to be collected can be appropriately increased to a larger value to shorten Shooting time.
- the current shake degree of the camera module is "no shake”
- the reference sensitivity is determined to be smaller.
- Value to try to obtain a higher quality image for example, determine the number of images to be captured is 17 frames, and the reference sensitivity is 100; if it is determined that the current jitter of the camera module is "slight jitter", it may be determined that the current may be handheld Shooting mode. At this time, you can collect fewer frames of the image and determine the reference sensitivity to a larger value to reduce the shooting time. For example, determine the number of images to be captured is 7 frames and the reference sensitivity is 200.
- the current jitter level of the module is "small jitter", you can determine that the current handheld shooting mode is possible. At this time, you can further reduce the number of images to be collected, and further increase the reference sensitivity to reduce the shooting time, such as determining the time to be collected.
- the number of images is 5 frames, and the reference sensitivity is 220; if the current jitter degree of the camera module is determined to be "large jitter", the current jitter can be determined. The degree of jitter is too large. At this time, you can further reduce the number of images to be collected, or take pictures without collecting multiple frames, and further increase the reference sensitivity to reduce the shooting time, such as determining that the image to be collected is 3 frames. ,
- the reference sensitivity is 250.
- both the number of images to be acquired and the reference sensitivity can be changed at the same time, or one of them can be changed to obtain the optimal solution.
- the mapping relationship between the degree of jitter of the camera module and the number of images to be acquired and the reference sensitivity corresponding to each frame of images to be acquired can be preset according to actual needs.
- Step 1803 Determine the exposure duration corresponding to the image to be collected for each frame according to the illumination of the current shooting scene and the reference sensitivity corresponding to the image to be collected for each frame.
- the exposure time refers to the time that light passes through the lens.
- the light metering module in the camera module can be used to obtain the light intensity of the current shooting scene, and an automatic exposure control (Auto Exposure Control (AEC) algorithm) can be used to determine the exposure amount corresponding to the current light intensity, and then according to The determined exposure amount and the reference sensitivity corresponding to each frame of images to be acquired determine the exposure time corresponding to each frame of images to be acquired.
- AEC Automatic Exposure Control
- the exposure amount is related to the aperture, the exposure duration, and the sensitivity.
- the aperture is the clear aperture, which determines the amount of light passing through in a unit time.
- the exposure time corresponding to each frame of the image to be acquired is different to obtain images with different dynamic ranges, so that the synthesized image has a higher dynamic range and improves the overall brightness and quality of the image. That is, in a possible implementation form of the embodiment of the present disclosure, the above step 1803 may include:
- an exposure duration corresponding to the image to be acquired in each frame is determined.
- the reference exposure amount refers to a normal exposure amount corresponding to the lightness of the current shooting scene determined according to the lightness of the current shooting scene.
- the reference exposure time can be determined according to the reference sensitivity and the reference exposure.
- different exposure compensation strategies can be adopted for each frame of images to be acquired through preset exposure compensation modes, so that the images to be acquired correspond to different exposure amounts to obtain images with different dynamic ranges.
- the preset exposure compensation mode refers to a combination of exposure compensation values (Exposure Value, EV for short) preset for each frame of images to be acquired.
- Exposure Value Exposure Value
- Exposure compensation level is a parameter that adjusts the amount of exposure, so that some images are underexposed, some images are overexposed, and some images can be properly exposed.
- the EV value is the same.
- the EV value when the EV value is 0, it refers to the exposure obtained when the sensitivity is 100, the aperture factor is f1, and the exposure duration is 1 second; when the exposure is increased by one stop, the exposure duration is doubled, or The EV value is doubled, or the aperture is increased by one stop, the EV value is increased by 1, that is, the exposure amount corresponding to EV1 is twice the exposure amount corresponding to EV0.
- the specific exposure time, aperture, and sensitivity are individually changed, the corresponding relationship with the EV value can be seen in Table 1.
- the exposure amount when the EV value is 0 in a digital camera may be obtained by metering ambient light in a shooting scene.
- EV refers to the difference between the exposure amount corresponding to the camera metering data and the actual exposure amount.
- EV + 1 exposure compensation refers to an increase of one exposure relative to the exposure amount corresponding to the camera metering data.
- the actual exposure is twice the exposure corresponding to the camera's metering data.
- the EV value corresponding to the determined reference exposure amount can be preset to 0, and EV + 1 means to increase the exposure by one step, that is, the exposure amount is twice the reference exposure amount.
- EV + 2 means to increase the exposure by two stops, that is, the exposure is 4 times the reference exposure, and EV-1 means to reduce the exposure by one stop, that is, the exposure is 0.5 times the reference exposure, and so on.
- the range of EV values corresponding to the preset exposure compensation mode may be [+1, +1, +1, +1, 0, -3, -6].
- frames with exposure compensation mode of EV + 1 can solve the problem of noise.
- Time-domain noise reduction is performed through frames with higher brightness, which suppresses noise while improving details in the dark.
- Frames with exposure compensation mode of EV-6 can solve the problem.
- the problem of overexposure of highlights preserves the details of highlight areas; frames with exposure compensation modes of EV0 and EV-3 can be used to maintain the transition between highlights and dark areas, and maintain a good light and dark transition effect.
- each EV value corresponding to the preset exposure compensation mode can be specifically set according to actual needs, or it can be determined according to the set EV value range and based on the principle that the difference between the EV values is equal. As a result, this embodiment of the present disclosure does not limit this.
- the size of the aperture may be constant, and each to-be-acquired image is acquired using a determined reference sensitivity. Therefore, according to the current jitter level of the camera module, it is determined After the current number of images to be acquired, the exposure time corresponding to each frame of images to be acquired can be determined according to a preset exposure compensation mode that matches the current number of images to be acquired, and a reference exposure time.
- the exposure compensation mode corresponding to the image to be collected is EV + 1
- the exposure duration corresponding to the image to be collected is twice the reference duration
- the exposure compensation mode corresponding to the image to be collected is EV-1
- the waiting time The exposure time corresponding to the captured image is 0.5 times the reference duration, and so on.
- the corresponding EV range of the corresponding preset exposure compensation mode may be [+1, +1, +1, +1 , 0, -3, -6], according to the reference exposure amount and reference sensitivity, determine that the reference exposure time is 100 milliseconds, then the exposure time corresponding to each frame of the image to be collected is 200 milliseconds, 200 milliseconds, 200 milliseconds, 200 Millisecond, 100 millisecond, 12.5 millisecond, 6.25 millisecond.
- an exposure compensation mode consistent with the current situation may be determined according to the real-time situation of the camera module. That is, in a possible implementation form of the embodiment of the present disclosure, before determining the exposure duration corresponding to the image to be acquired for each frame according to the reference exposure duration and the preset exposure compensation mode, the method further includes:
- the mapping relationship between the degree of shake of the camera module and the exposure compensation mode may be preset, so as to determine the current image to be acquired according to the degree of shake of the camera module. Match the number of preset exposure compensation modes.
- the camera module shake degree can be "no shake", the corresponding EV value range of the exposure compensation mode is preset to -6 to 2, and the difference between adjacent EV values is 0.5;
- the degree of dithering is "slightly dithering", the EV value range of the corresponding exposure compensation mode is preset to -5 to 1, and the difference between adjacent EV values is 1, and so on.
- determining the preset exposure compensation mode may further include:
- the preset exposure compensation mode is the second mode according to the current shaking degree of the camera module, wherein the exposure compensation range corresponding to the second mode is larger than the exposure compensation range corresponding to the first mode.
- Face recognition technology is to identify the identity by analyzing and comparing the visual characteristic information of the face. It belongs to the biometric recognition technology, which distinguishes the individual organisms from the biological characteristics of the organisms (generally specifically people).
- face recognition technology has been applied in many fields, such as digital camera face autofocus and smile shutter technology; corporate and residential security and management; access control systems; camera surveillance systems, etc.
- Commonly used face recognition algorithms include: Feature-based recognition algorithms (Feature-based recognition algorithms), Appearance-based recognition algorithms (Template-based recognition algorithms) recognition algorithms), algorithms using neural networks for recognition (Recognition algorithms, neural networks), and so on.
- the metering module of the camera module automatically performs metering based on the human face area, and is determined based on the metering result of the human face area Reference exposure.
- the light intensity of the face area is usually low, which results in a determined reference exposure amount that is higher than the reference exposure amount determined when the face is not included.
- Overexposed frames easily lead to overexposure of the human face area, which results in poor target image effect. Therefore, for the same degree of jitter, the corresponding exposure compensation mode of the current captured image of the camera module containing a human face compared to when it does not include a human face needs to have a lower exposure compensation range.
- the degree of camera shake is "slight shake”
- the corresponding preset exposure compensation modes are the first mode and the second mode, where each EV value corresponding to the first mode is [0, 0, 0, 0 , -2, -4, -6], and each EV value corresponding to the second mode is [+1, +1, +1, +1, 0, -3, -6].
- the corresponding preset exposure compensation modes include a first mode and a second mode, where each EV value corresponding to the first mode is [0, 0 , 0, 0, -2, -4, -6], each EV value corresponding to the second mode is [+1, +1, +1, +1, 0, -3, -6], it can be seen that the first The exposure compensation range of the mode is smaller than the exposure compensation range of the second mode.
- the preset exposure compensation mode is the first mode, that is, each EV value is [0, 0, 0, 0, -2, -4, -6 ]; If it is detected that the image currently captured by the camera module does not include a human face, determine that the preset exposure compensation mode is the second mode, that is, each EV value is [+1, +1, +1, +1, 0 , -3, -6].
- the performance of the components in the camera module may also affect the exposure compensation mode. That is, in a possible implementation form of the embodiment of the present disclosure, before the preset exposure compensation mode is determined, the attribute information of each device in the camera module can also be determined; and then based on the attribute information of each device and the current degree of jitter, Preset exposure compensation mode. For example, for different sensors, apertures, shutters, lenses, and different AEC algorithms, there may be gaps in the specific EV values corresponding to the exposure compensation mode.
- step 1804 multiple frames of images are sequentially acquired according to the reference sensitivity and exposure duration corresponding to the images to be acquired for each frame.
- Step 1805 Perform synthesis processing on the collected multiple frames of images to generate a target image.
- multiple frames of images can be sequentially acquired according to the reference sensitivity and exposure duration, and the acquired multiple frames of images can be synthesized. Processing to generate a target image.
- the above step 1805 may include:
- the night scene camera processing method of the camera module can detect the current jitter degree of the camera module in the night scene shooting mode, and determine the number of images to be acquired and the corresponding number of images to be acquired per frame according to the current jitter degree. Reference sensitivity, and then determine the exposure duration corresponding to each frame of the to-be-acquired image based on the light intensity of the current shooting scene and the reference sensitivity corresponding to each frame of the to-be-acquired image, and then according to the reference sensitivity and exposure duration of each to-be-acquired image, Collect multiple frames of images in sequence, and synthesize the collected multiple frames of images to generate a target image.
- the number of images to be acquired and the reference sensitivity are determined according to the current jitter of the camera module, and the exposure time corresponding to each frame of the image to be acquired is determined according to the illumination of the current shooting scene, so that multiple different photos are taken by shooting
- Combining images with long exposure time not only improves the dynamic range and overall brightness of the captured image in night scene shooting mode, effectively suppresses noise in the captured image, but also suppresses ghosting and blurring caused by hand-held shake, which improves the night shot image. Quality and improved user experience.
- FIG. 19 is a schematic structural diagram of a night scene camera processing device for a camera module according to an embodiment of the present disclosure.
- the camera module night scene camera processing device 400 includes: a first detection module 410, a first determination module 420, a second determination module 430, a first acquisition module 440, and a synthesis module 450.
- a first detection module 410 configured to detect a current shake degree of a camera module in a night scene shooting mode
- a first determining module 420 configured to determine the number of images to be acquired and the reference sensitivity corresponding to each frame of images to be acquired according to the current jitter of the camera module;
- a second determining module 430 configured to determine an exposure duration corresponding to each frame of the to-be-acquired image according to the illumination intensity of the current shooting scene and the reference sensitivity corresponding to the image to be-collected per frame;
- a first acquisition module 440 configured to sequentially acquire multiple frames of images according to the reference sensitivity and exposure duration corresponding to the images to be acquired for each frame;
- a synthesis module 450 is configured to perform synthesis processing on the collected multiple frames of images to generate a target image.
- the camera module night scene imaging processing device provided by the embodiment of the present disclosure may be configured in any electronic device to perform the foregoing camera module night scene imaging processing method.
- the above-mentioned camera module night scene camera processing device 400 may further include:
- a second detection module configured to detect whether an exposure duration corresponding to the image to be acquired in each frame is within a preset duration range
- a second updating module configured to update the exposure duration of the at least one frame of the to-be-acquired image according to the preset duration range if the exposure duration of the at least one frame of the to-be-acquired image is not within the preset duration range, so as to The exposure duration of the at least one frame of images to be acquired is within the preset duration range.
- the above-mentioned camera module night scene camera processing device 400 further includes:
- a third determining module is configured to determine the preset duration range according to a setting manner of an optical device in the camera component.
- the above-mentioned camera module night scene camera processing device 400 further includes:
- An exposure amount adjustment mode determining module configured to determine an exposure amount adjustment mode corresponding to the image to be acquired for each frame according to a difference between an exposure time before the update of the at least one frame of images to be acquired and an updated exposure time;
- An adjustment module is configured to adjust the sensitivity and exposure time of the image to be acquired in each frame according to the exposure amount adjustment mode.
- the second determining module 430 is configured to:
- an exposure duration corresponding to the image to be acquired in each frame is determined.
- the second determining module 430 may be further configured to:
- the second determining module 430 may be further configured to:
- the preset exposure compensation mode is the second mode according to the current shaking degree of the camera module, wherein the exposure compensation range corresponding to the second mode is larger than the exposure compensation range corresponding to the first mode.
- the second determining module 430 may be further configured to:
- the above-mentioned synthesis module 450 is configured to:
- the night scene camera processing device of the camera module can detect the current jitter level of the camera module in the night scene shooting mode, and determine the number of images to be acquired and the correspondence of each frame to be acquired according to the current jitter level. Based on the light sensitivity of the current shooting scene and the reference sensitivity corresponding to each frame of the to-be-acquired image to determine the exposure time corresponding to each frame of the to-be-acquired image, and then based on the reference sensitivity and exposure time of each to-be-acquired image , Sequentially collecting multiple frames of images, and synthesizing the collected multiple frames of images to generate a target image.
- the number of images to be acquired and the reference sensitivity are determined according to the current jitter of the camera module, and the exposure time corresponding to each frame of the image to be acquired is determined according to the illumination of the current shooting scene, so that multiple different photos are taken by shooting
- Combining images with long exposure time not only improves the dynamic range and overall brightness of the captured image in night scene shooting mode, effectively suppresses noise in the captured image, but also suppresses ghosting and blurring caused by hand-held shake, which improves the night shot image. Quality and improved user experience.
- the present disclosure also proposes an electronic device.
- the electronic device 500 includes: a camera module 510, a processor 520, a memory 530, and a computer stored in the memory and operable on the processor.
- Program the processor 520 is connected to the camera module 510, and when the processor executes the computer program, the camera module night scene camera processing method described in the above embodiment is implemented.
- FIG. 21 is a schematic diagram illustrating a principle of an electronic device according to an embodiment of the present disclosure.
- the memory 530 of the electronic device 600 includes a non-volatile memory 80, an internal memory 82, and a processor 520.
- the memory 530 stores computer-readable instructions.
- the processor 520 executes the night view processing method of the camera module according to any one of the foregoing embodiments.
- the electronic device 600 includes a processor 520, a camera module 510, a non-volatile memory 80, an internal memory 82, a display screen 83, and an input device 84 connected through a system bus 81.
- the non-volatile memory 80 of the electronic device 600 stores an operating system and computer-readable instructions.
- the computer-readable instructions may be executed by the processor 520 to implement the exposure control method according to the embodiment of the present disclosure.
- the processor 520 is used to provide computing and control capabilities to support the operation of the entire electronic device 600.
- the internal memory 82 of the electronic device 600 provides an environment for execution of computer-readable instructions in the non-volatile memory 80.
- the display screen 83 of the electronic device 600 may be a liquid crystal display or an electronic ink display, and the input device 84 may be a touch layer covered on the display screen 83, or may be a button, a trackball, or a touch button provided on the housing of the electronic device 600. Board, which can also be an external keyboard, trackpad, or mouse.
- the electronic device 600 may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant or a wearable device (such as a smart bracelet, a smart watch, a smart helmet, a smart glasses), and the like. Those skilled in the art can understand that the structure shown in FIG.
- 21 is only a schematic diagram of a part of the structure related to the solution of the present disclosure, and does not constitute a limitation on the electronic device 600 to which the solution of the present disclosure is applied.
- the specific electronic device 600 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
- FIG. 22 is a schematic diagram of an image processing circuit provided by an embodiment of the present disclosure.
- the electronic device in FIG. 20 may further include an image processing circuit 90.
- the image processing circuit 90 may It is implemented using hardware and / or software components, including various processing units that define an ISP (Image Signal Processing) pipeline.
- FIG. 21 is a schematic diagram of an image processing circuit 90 in one embodiment. As shown in FIG. 21, for convenience of explanation, only aspects of the image processing technology related to the embodiments of the present disclosure are shown.
- the image processing circuit 90 includes an ISP processor 91 (the ISP processor 91 serves as the processor 320) and a control logic 92.
- the image data captured by the camera 93 is first processed by the ISP processor 91.
- the ISP processor 91 analyzes the image data to capture image statistical information that can be used to determine one or more control parameters of the camera 93.
- the camera module 310 may include one or more lenses 932 and an image sensor 934.
- the image sensor 934 may include a color filter array (such as a Bayer filter). The image sensor 934 may obtain light intensity and wavelength information captured by each imaging pixel, and provide a set of raw image data that can be processed by the ISP processor 91.
- the sensor 94 (such as a gyroscope) may provide parameters (such as image stabilization parameters) of the acquired image processing to the ISP processor 91 based on the interface type of the sensor 94.
- the sensor 94 interface may be a SMIA (Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces, or a combination of the foregoing interfaces.
- the image sensor 934 may also send the original image data to the sensor 94.
- the sensor 94 may provide the original image data to the ISP processor 91 based on the interface type of the sensor 94, or the sensor 94 stores the original image data into the image memory 95.
- the ISP processor 91 processes the original image data pixel by pixel in a variety of formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 91 may perform one or more image processing operations on the original image data and collect statistical information about the image data. The image processing operations may be performed with the same or different bit depth accuracy.
- the ISP processor 91 may also receive image data from the image memory 95.
- the sensor 94 interface sends the original image data to the image memory 95, and the original image data in the image memory 95 is then provided to the ISP processor 91 for processing.
- the image memory 95 may be a memory 330, a part of the memory 330, a storage device, or a separate dedicated memory in an electronic device, and may include a DMA (Direct Memory Access) feature.
- DMA Direct Memory Access
- the ISP processor 91 may perform one or more image processing operations, such as time-domain filtering.
- the processed image data may be sent to the image memory 95 for further processing before being displayed.
- the ISP processor 91 receives processing data from the image memory 95, and performs processing on the image data in the original domain and in the RGB and YCbCr color spaces.
- the image data processed by the ISP processor 91 may be output to a display 97 (the display 97 may include a display screen 83) for viewing by a user and / or further processing by a graphics engine or a GPU (Graphics Processing Unit).
- the output of the ISP processor 91 can also be sent to the image memory 95, and the display 97 can read image data from the image memory 95.
- the image memory 95 may be configured to implement one or more frame buffers.
- the output of the ISP processor 91 may be sent to an encoder / decoder 96 to encode / decode image data.
- the encoded image data can be saved and decompressed before being displayed on the display 97 device.
- the encoder / decoder 96 may be implemented by a CPU or a GPU or a coprocessor.
- the statistical data determined by the ISP processor 91 may be sent to the control logic unit 92.
- the statistical data may include image sensor 934 statistical information such as auto exposure, auto white balance, auto focus, flicker detection, black level compensation, and lens 932 shading correction.
- the control logic 92 may include a processing element and / or a microcontroller that executes one or more routines (such as firmware). The one or more routines may determine the control parameters of the camera 93 and the ISP processor according to the received statistical data. 91 control parameters.
- control parameters of the camera 93 may include sensor 94 control parameters (such as gain, integration time for exposure control, anti-shake parameters, etc.), camera flash control parameters, lens 932 control parameters (such as focus distance for focusing or zooming), or these parameters The combination.
- the ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (eg, during RGB processing), and lens 932 shading correction parameters.
- the ISP processor adjusts the reference sensitivity according to the degree of camera module shake; and determines based on the brightness information of the shooting scene and the reference sensitivity Exposure time of multiple frames of images to be collected; controlling the camera module to acquire images based on the reference sensitivity and exposure time of the images of multiple frames to be acquired; the GPU synthesizes the acquired multiple frames of images to generate a target image.
- an embodiment of the present disclosure further provides a storage medium.
- the processor When an instruction in the storage medium is executed by a processor, the processor is implemented to implement the storage medium described in the foregoing embodiment when the storage medium is executed.
- Night scene shooting method and camera module night scene shooting processing method When an instruction in the storage medium is executed by a processor, the processor is implemented to implement the storage medium described in the foregoing embodiment when the storage medium is executed.
- the program can be stored in a non-volatile computer-readable storage medium.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Quality & Reliability (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Studio Devices (AREA)
- Exposure Control For Cameras (AREA)
- Image Processing (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
Description
Claims (53)
- 一种夜景拍摄方法,应用于摄像模组,其特征在于,所述方法包括:获取所述摄像模组的抖动程度;根据所述抖动程度,调整基准感光度;根据拍摄场景的亮度信息和所述基准感光度,确定多帧待采集图像的曝光时长;根据所述基准感光度和所述多帧待采集图像的曝光时长采集图像;将采集的多帧图像合成,以生成目标图像。
- 根据权利要求1所述的方法,其特征在于,所述根据拍摄场景的亮度信息和所述基准感光度,确定多帧待采集图像的曝光时长,包括:根据所述拍摄场景的亮度信息,确定基准曝光量;根据所述基准曝光量和所述基准感光度,确定基准曝光时长;根据各帧待采集图像设定的曝光补偿等级,对所述基准曝光时长进行补偿以得到各帧待采集图像的曝光时长。
- 根据权利要求2所述的方法,其特征在于,所述根据各帧待采集图像设定的曝光补偿等级,对所述基准曝光时长进行补偿以得到各帧待采集图像的曝光时长之前,还包括:根据所述抖动程度,调整曝光补偿模式;其中,所述曝光补偿模式,用于指示待采集图像的帧数和各帧待采集图像设定的曝光补偿等级。
- 根据权利要求3所述的方法,其特征在于,所述根据抖动程度,调整曝光补偿模式,包括:根据所述抖动程度,调整待采集图像的帧数;检测所述摄像模组已采集的图像中是否包含人脸;若包含人脸,确定所述曝光补偿模式为符合调整后帧数的第一模式;若不包含人脸,确定所述曝光补偿模式为符合调整后帧数的第二模式;其中,所述第二模式的曝光补偿等级取值范围大于所述第一模式的曝光补偿等级取值范围。
- 根据权利要求4所述的方法,其特征在于,所述待采集图像的帧数与所述抖动程度具有反向关系。
- 根据权利要求1-5任一项所述的方法,其特征在于,所述根据抖动程度,调整基准感光度,包括:若所述抖动程度大于或等于抖动阈值,确定所述基准感光度为第一感光值;若所述抖动程度小于所述抖动阈值,确定所述基准感光度为第二感光值;其中,所述第一感光值大于所述第二感光值。
- 根据权利要求6所述的方法,其特征在于,所述第一感光值为所述第二感光值的预设倍数,所述预设倍数取值大于等于2;所述第二感光值为所述摄像模组的最小感光度。
- 根据权利要求1-7任一项所述的方法,其特征在于,所述根据拍摄场景的亮度信息和所述基准感光度,确定多帧待采集图像的曝光时长之后,还包括:将各帧待采集图像的曝光时长与设定的时长上限比较;若待采集图像中存在曝光时长大于时长上限的第一图像,将所述第一图像的曝光时长减小至所述时长上限。
- 根据权利要求8所述的方法,其特征在于,所述将各帧待采集图像的曝光时长与设定的时长上限比较之前,还包括:根据所述抖动程度,确定所述时长上限。
- 根据权利要求9所述的方法,其特征在于,所述根据抖动程度,确定所述时长上限,包括:若所述抖动程度大于或等于抖动阈值,确定所述时长上限为第一时长;若所述抖动程度小于抖动阈值,确定所述时长上限为第二时长;其中,所述第一时长小于所述第二时长。
- 根据权利要求10所述的方法,其特征在于,所述第一时长取值范围为150ms至300ms;所述第二时长取值范围为4.5s至5.5s。
- 根据权利要求8-11任一项所述的方法,其特征在于,所述将所述第一图像的曝光时长减小至所述时长上限之后,还包括:根据所述第一图像减小前的曝光时长与减小后的曝光时长之比,增大所述第一图像的感光度。
- 根据权利要求1-7任一项所述的方法,其特征在于,所述根据拍摄场景的亮度信息和所述基准感光度,确定多帧待采集图像的曝光时长之后,还包括:将各帧待采集图像的曝光时长与设定的时长下限比较;若待采集图像中存在曝光时长小于所述时长下限的第二图像,将所述第二图像的曝光时长增大至所述时长下限。
- 根据权利要求13所述的方法,其特征在于,所述将所述第二图像的曝光时长增大至所述时长下限之后,还包括:确定所述第二图像增大后的曝光时长与增大前的曝光时长之间的比值;对曝光时长大于或等于所述时长下限的其余各帧待采集图像,根据所述比值,更新所述其余各帧待采集图像的感光度或曝光时长。
- 根据权利要求14所述的方法,其特征在于,所述对曝光时长大于或等于所述时长下限的其余各帧待采集图像,根据所述比值,更新所述其余各帧待采集图像的感光度或曝光时长,包括:对曝光时长大于或等于所述时长下限的其余各帧待采集图像,将所述比值与所述其余各帧待采集图像更新前的感光度乘积,作为所述其余各帧待采集图像更新后的感光度;或者,对曝光时长大于或等于所述时长下限的其余各帧待采集图像,将所述比值与所述其余各帧待采集图像更新前的曝光时长乘积,作为所述其余各帧待采集图像更新后的曝光时长。
- 根据权利要求14或15所述的方法,其特征在于,所述对曝光时长大于或等于所述时长下限的其余各帧待采集图像,根据所述比值,更新所述其余各帧待采集图像的感光度或曝光时长之前,还包括:若所述其余各帧待采集图像中存在曝光时长大于时长上限的第一图像,根据所述时长上限,减小所述第一图像的曝光时长;根据所述第一图像减小前后的曝光时长之比,增大所述第一图像的感光度。
- 根据权利要求13-16任一项所述的方法,其特征在于,所述时长下限大于或等于10ms。
- 一种夜景拍摄方法,应用于摄像模组,其特征在于,所述方法包括:获取所述摄像模组的抖动程度;根据所述抖动程度,调整曝光时长;根据拍摄场景的亮度信息和所述曝光时长,确定多帧待采集图像的感光度;根据所述多帧待采集图像的感光度和所述曝光时长采集图像;将采集的多帧图像合成,以生成目标图像。
- 根据权利要求18所述的方法,其特征在于,所述根据所述抖动程度,调整曝光时长,包括:根据所述抖动程度,确定各曝光补偿等级对应的曝光时长;根据各帧待采集图像设定的曝光补偿等级和各曝光补偿等级对应的曝光时长,确定各帧待采集图像的曝光时长。
- 根据权利要求19所述的方法,其特征在于,所述根据各帧待采集图像设定的曝光补偿等级和各曝光补偿等级对应的曝光时长,确定各帧待采集图像的曝光时长之前,还包括:根据所述抖动程度,调整曝光补偿模式;其中,所述曝光补偿模式,用于指示待采集图像的帧数和各帧待采集图像设定的曝光补偿等级。
- 根据权利要求20所述的方法,其特征在于,所述根据抖动程度,调整曝光补偿模式,包括:根据所述抖动程度,调整待采集图像的帧数;检测所述摄像模组已采集的图像中是否包含人脸;若包含人脸,确定所述曝光补偿模式为符合调整后帧数的第一模式;若不包含人脸,确定所述曝光补偿模式为符合调整后帧数的第二模式;其中,所述第二模式的曝光补偿等级取值范围大于所述第一模式的曝光补偿等级取值范围。
- 根据权利要求18-21任一项所述的方法,其特征在于,所述根据拍摄场景的亮度信息和所述曝光时长,确定多帧待采集图像的感光度之后,还包括:将各帧待采集图像的感光度与设定的感光度上限比较;若待采集图像中存在感光度大于感光度上限的第一图像,根据所述感光度上限,减小所述第一图像的感光度。
- 根据权利要求22所述的方法,其特征在于,所述将各帧待采集图像的感光度与设定的感光度阈值比较之前,还包括:根据摄像模组的抖动程度,确定所述感光度上限。
- 根据权利要求23所述的方法,其特征在于,所述根据摄像模组的抖动程度,确定所述感光度上限,包括:若所述抖动程度大于或等于抖动阈值,确定所述感光度上限为第一感光值;若所述抖动程度小于抖动阈值,确定所述感光度上限为第二感光值;其中,所述第一感光值大于所述第二感光值。
- 根据权利要求22-24任一项所述的方法,其特征在于,所述根据所述感光度上限,减小所述第一图像的感光度之后,还包括:根据所述第一图像减小前的感光度与减小后的感光度之比,增大所述第一图像的曝光时长。
- 根据权利要求18-21任一项所述的方法,其特征在于,所述根据拍摄场景的亮度信息和所述曝光时长,确定多帧待采集图像的感光度之后,还包括:将各帧待采集图像的感光度与设定的感光度下限比较;若待采集图像中存在感光度小于所述感光度下限的第二图像,根据所述感光度下限,增大所述第二图像的感光度。
- 根据权利要求26所述的方法,其特征在于,所述根据所述感光度下限,增大所述第二图像的感光度之后,还包括:确定所述第二图像增大后的感光度与增大前的感光度之间的比值;对感光度大于或等于所述感光度下限的其余各帧待采集图像,根据所述比值,更新所述其余各帧待采集图像的感光度或曝光时长。
- 一种夜景拍摄方法,应用于摄像模组,其特征在于,所述方法包括:获取所述摄像模组的抖动程度;根据所述抖动程度,调整在拍摄场景的亮度信息下多帧待采集图像的曝光时长和相应待采集图像所需的感光度;根据各帧待采集图像的曝光时长和感光度采集图像;将采集的多帧图像合成,以生成目标图像。
- 根据权利要求28所述的方法,其特征在于,所述根据所述抖动程度,调整在拍摄场景的亮度下多帧待采集图像的曝光时长和相应待采集图像所需的感光度,包括:根据所述拍摄场景的亮度信息和各帧待采集图像设定的曝光补偿等级,查询曝光表,得到相应待采集图像的曝光时长和感光度;根据所述抖动程度,调整各帧待采集图像的查询到的曝光时长,以使相应待采集图像的感光度低于所述抖动程度对应的感光度阈值。
- 根据权利要求29所述的方法,其特征在于,所述根据所述拍摄场景的亮度信息和各帧待采集图像设定的曝光补偿等级,查询曝光表,得到相应待采集图像的曝光时长和感光度之前,还包括:根据所述抖动程度,调整曝光补偿模式;其中,所述曝光补偿模式,用于指示待采集图像的帧数和各帧待采集图像设定的曝光补偿等级。
- 根据权利要求30所述的方法,其特征在于,所述根据抖动程度,调整曝光补偿模式,包括:根据所述抖动程度,调整待采集图像的帧数;检测所述摄像模组已采集的图像中是否包含人脸;若包含人脸,确定所述曝光补偿模式为符合调整后帧数的第一模式;若不包含人脸,确定所述曝光补偿模式为符合调整后帧数的第二模式;其中,所述第二模式的曝光补偿等级取值范围大于所述第一模式的曝光补偿等级取值范围。
- 根据权利要求28-31任一项所述的方法,其特征在于,所述根据所述抖动程度,调整在拍摄场景的亮度信息下多帧待采集图像的曝光时长和相应待采集图像所需的感光度之后,还包括:将各帧待采集图像的曝光时长与设定的时长上限比较;若待采集图像中存在曝光时长大于时长上限的第一图像,根据所述时长上限,减小所述第一图像的曝光时长。
- 根据权利要求32所述的方法,其特征在于,所述将各帧待采集图像的曝光时长与设定的时长上限比较之前,还包括:根据所述抖动程度,确定所述时长上限。
- 根据权利要求33所述的方法,其特征在于,所述根据抖动程度,确定所述时长上限,包括:若所述抖动程度大于或等于抖动阈值,确定所述时长上限为第一时长;若所述抖动程度小于抖动阈值,确定所述时长上限为第二时长;其中,所述第一时长小于所述第二时长。
- 根据权利要求32-34任一项所述的方法,其特征在于,所述根据所述时长上限,减小所述第一图像的曝光时长之后,还包括:根据所述第一图像减小前的曝光时长与减小后的曝光时长之比,增大所述第一图像的感光度。
- 根据权利要求28-31任一项所述的方法,其特征在于,所述根据所述抖动程度,调整在拍摄场景的亮度信息下多帧待采集图像的曝光时长和相应待采集图像所需的感光度之后,还包括:将各帧待采集图像的曝光时长与设定的时长下限比较;若待采集图像中存在曝光时长小于所述时长下限的第二图像,根据所述时长下限,增大所述第二图像的曝光时长。
- 根据权利要求36所述的方法,其特征在于,所述根据所述时长下限,增大所述第二图像的曝光时长之后,还包括:确定所述第二图像增大后的曝光时长与增大前的曝光时长之间的比值;对曝光时长大于或等于所述时长下限的其余各帧待采集图像,根据所述比值,更新所述其余各帧待采集图像的感光度或曝光时长。
- 一种夜景拍摄装置,应用于摄像模组,其特征在于,所述装置包括:获取模块,用于获取所述摄像模组的抖动程度;调整模块,用于根据所述抖动程度,调整基准感光度;确定模块,用于根据拍摄场景的亮度信息和所述基准感光度,确定多帧待采集图像的曝光时长;采集模块,用于根据所述基准感光度和所述多帧待采集图像的曝光时长采集图像;生成模块,用于将采集的多帧图像合成,以生成目标图像。
- 一种夜景拍摄装置,应用于摄像模组,其特征在于,所述装置包括:获取模块,用于获取所述摄像模组的抖动程度;调整模块,用于根据所述抖动程度,调整曝光时长;确定模块,用于根据拍摄场景的亮度信息和所述曝光时长,确定多帧待采集图像的感光度;采集模块,用于根据所述多帧待采集图像的感光度和所述曝光时长采集图像;生成模块,用于将采集的多帧图像合成,以生成目标图像。
- 一种夜景拍摄装置,应用于摄像模组,其特征在于,所述装置包括:获取模块,用于获取所述摄像模组的抖动程度;调整模块,用于根据所述抖动程度,调整在拍摄场景的亮度下多帧待采集图像的曝光时长和相应待采集图像所需的感光度;采集模块,用于根据各帧待采集图像的曝光时长和感光度采集图像;生成模块,用于将采集的多帧图像合成,以生成目标图像。
- 一种摄像模组夜景摄像处理方法,其特征在于,包括:在夜景拍摄模式下,检测摄像模组当前的抖动程度;根据所述摄像模组当前的抖动程度,确定待采集的图像数量及每帧待采集图像对应的基准感光度;根据当前拍摄场景的光照度及所述每帧待采集图像对应的基准感光度,确定每帧待采集图像对应的曝光时长;根据所述每帧待采集图像对应的基准感光度及曝光时长,依次采集多帧图像;将采集的多帧图像进行合成处理,以生成目标图像。
- 根据权利要求41所述的方法,其特征在于,所述确定每帧待采集图像对应的曝光时长之后,还包括:检测所述每帧待采集图像对应的曝光时长是否在预设时长范围内;若至少一帧待采集图像的曝光时长未在所述预设时长范围内,则根据所述预设时长范围,更新所述至少一帧待采集图像的曝光时长,以使所述至少一帧待采集图像的曝光时长位于所述预设的时长范围内。
- 根据权利要求42所述的方法,其特征在于,所述检测所述每帧待采集图像对应的曝光时长是否在预设时长范围内之前,还包括:根据所述摄像组件中光学器件的设置方式,确定所述预设时长范围。
- 根据权利要求42所述的方法,其特征在于,所述更新所述至少一帧待采集图像的曝光时长之后,还包括:根据所述至少一帧待采集图像更新前的曝光时长及更新后的曝光时长的差值,确定所述每帧待采集图像对应的曝光量调整模式;根据所述曝光量调整模式,调整所述每帧待采集图像的感光度及曝光时长。
- 根据权利要求41-44任一所述的方法,其特征在于,所述根据当前拍摄场景的光照度及所述每帧待采集图像对应的基准感光度,确定每帧待采集图像对应的曝光时长,包括:根据所述当前拍摄场景的光照度,确定基准曝光量;根据所述基准曝光量及所述每帧待采集图像对应的基准感光度,确定基准曝光时长;根据所述基准曝光时长及预设的曝光补偿模式,确定所述每帧待采集图像对应的曝光时长。
- 根据权利要求45所述的方法,其特征在于,所述根据所述基准曝光时长及预设的曝光补偿模式,确定所述每帧待采集图像对应的曝光时长之前,还包括:根据所述摄像模组当前的抖动程度,确定所述预设的曝光补偿模式。
- 根据权利要求46所述的方法,其特征在于,所述确定所述预设的曝光补偿模式,包括:检测所述摄像模组当前采集的图像中是否包含人脸;若包括,则根据所述摄像模组当前的抖动程度,确定所述预设的曝光补偿模式为第一模式;否则,根据所述摄像模组当前的抖动程度,确定所述预设的曝光补偿模式为第二模式,其中,第二模式对应的曝光补偿范围,大于所述第一模式对应的曝光补偿范围。
- 根据权利要求46或47所述的方法,其特征在于,所述确定所述预设的曝光补偿模式之前,还包括:确定所述摄像组件中各器件的属性信息;所述确定所述预设的曝光补偿模式,包括:根据所述各器件的属性信息及所述当前的抖动程度,确定所述预设的曝光补偿模式。
- 如权利要求41-48任一所述的方法,其特征在于,所述将所述采集的多帧图像进行合成处理,以生成目标图像,包括:根据预设的所述多帧图像中每帧待采集图像对应的权重,将所述多帧图像进行合成处理。
- 一种摄像模组夜景摄像处理装置,其特征在于,包括:检测模块,用于在夜景拍摄模式下,检测摄像模组当前的抖动程度;第一确定模块,用于根据所述摄像模组当前的抖动程度,确定待采集的图像数量及每帧待采集图像对应的基准感光度;第二确定模块,用于根据当前拍摄场景的光照度及所述每帧待采集图像对应的基准感光度,确定每帧待采集图像对应的曝光时长;采集模块,用于根据所述每帧待采集图像对应的基准感光度及曝光时长,依次采集多帧图像;合成模块,用于将所述采集的多帧图像进行合成处理,以生成目标图像。
- 一种电子设备,其特征在于,所述电子设备包括:摄像模组、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器与所述摄像模组连接,所述处理器执行所述计算机程序时,实现如权利要求1-17中任一项所述的夜景拍摄方法,或者,实现如权利要求18-27中任一项所 述的夜景拍摄方法,或者,实现如权利要求28-37中任一项所述的夜景拍摄方法,或者,实现如权利要求41-49中任一项所述的摄像模组夜景摄像处理方法。
- 一种图像处理电路,其特征在于,所述图像处理电路包括图像信号处理ISP处理器和图形处理器GPU;所述ISP处理器,与摄像模组连接,用于根据所述摄像模组的抖动程度,调整基准感光度;根据拍摄场景的亮度信息和所述基准感光度,确定多帧待采集图像的曝光时长;根据所述基准感光度和所述多帧待采集图像的曝光时长控制所述摄像模组采集图像;所述GPU,与所述ISP处理器电连接,用于将采集的多帧图像进行合成处理,以生成目标图像。
- 一种存储介质,其特征在于,当所述存储介质中的指令由处理器执行时,实现如权利要求1-17中任一项所述的夜景拍摄方法,或者,实现如权利要求18-27中任一项所述的夜景拍摄方法,或者,实现如权利要求28-37中任一项所述的夜景拍摄方法,或者,实现如权利要求41-49中任一项所述的摄像模组夜景摄像处理方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2019326496A AU2019326496B2 (en) | 2018-08-22 | 2019-05-22 | Method for capturing images at night, apparatus, electronic device, and storage medium |
JP2021500825A JP7371081B2 (ja) | 2018-08-22 | 2019-05-22 | 夜景撮影方法、装置、電子機器および記憶媒体 |
KR1020217001996A KR102642993B1 (ko) | 2018-08-22 | 2019-05-22 | 야경 촬영 방법, 장치, 전자설비, 및 저장 매체 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810963331.3 | 2018-08-22 | ||
CN201810963331.3A CN109005366B (zh) | 2018-08-22 | 2018-08-22 | 摄像模组夜景摄像处理方法、装置、电子设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020038028A1 true WO2020038028A1 (zh) | 2020-02-27 |
Family
ID=64593679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/088017 WO2020038028A1 (zh) | 2018-08-22 | 2019-05-22 | 夜景拍摄方法、装置、电子设备及存储介质 |
Country Status (7)
Country | Link |
---|---|
US (1) | US11089207B2 (zh) |
EP (1) | EP3624439B1 (zh) |
JP (1) | JP7371081B2 (zh) |
KR (1) | KR102642993B1 (zh) |
CN (1) | CN109005366B (zh) |
AU (1) | AU2019326496B2 (zh) |
WO (1) | WO2020038028A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115243017A (zh) * | 2022-08-03 | 2022-10-25 | 上海研鼎信息技术有限公司 | 一种改善图像质量的方法及设备 |
Families Citing this family (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3286915B1 (en) | 2015-04-23 | 2021-12-08 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
US9716825B1 (en) | 2016-06-12 | 2017-07-25 | Apple Inc. | User interface for camera effects |
DK180859B1 (en) | 2017-06-04 | 2022-05-23 | Apple Inc | USER INTERFACE CAMERA EFFECTS |
US11112964B2 (en) | 2018-02-09 | 2021-09-07 | Apple Inc. | Media capture lock affordance for graphical user interface |
US10375313B1 (en) | 2018-05-07 | 2019-08-06 | Apple Inc. | Creative camera |
US11722764B2 (en) | 2018-05-07 | 2023-08-08 | Apple Inc. | Creative camera |
CN109005366B (zh) | 2018-08-22 | 2020-04-28 | Oppo广东移动通信有限公司 | 摄像模组夜景摄像处理方法、装置、电子设备及存储介质 |
DK201870623A1 (en) | 2018-09-11 | 2020-04-15 | Apple Inc. | USER INTERFACES FOR SIMULATED DEPTH EFFECTS |
US11770601B2 (en) | 2019-05-06 | 2023-09-26 | Apple Inc. | User interfaces for capturing and managing visual media |
US10674072B1 (en) | 2019-05-06 | 2020-06-02 | Apple Inc. | User interfaces for capturing and managing visual media |
US11321857B2 (en) | 2018-09-28 | 2022-05-03 | Apple Inc. | Displaying and editing images with depth information |
US11128792B2 (en) | 2018-09-28 | 2021-09-21 | Apple Inc. | Capturing and displaying images with multiple focal planes |
CN109547703B (zh) * | 2018-12-28 | 2021-04-13 | 北京旷视科技有限公司 | 一种摄像设备的拍摄方法、装置、电子设备及介质 |
CN110062159A (zh) * | 2019-04-09 | 2019-07-26 | Oppo广东移动通信有限公司 | 基于多帧图像的图像处理方法、装置、电子设备 |
CN110072052B (zh) * | 2019-04-09 | 2021-08-27 | Oppo广东移动通信有限公司 | 基于多帧图像的图像处理方法、装置、电子设备 |
US11706521B2 (en) | 2019-05-06 | 2023-07-18 | Apple Inc. | User interfaces for capturing and managing visual media |
CN111901476B (zh) * | 2019-05-06 | 2022-06-10 | 苹果公司 | 用于捕获和管理视觉媒体的用户界面 |
CN110248106B (zh) * | 2019-06-13 | 2021-04-23 | Oppo广东移动通信有限公司 | 图像降噪方法、装置、电子设备以及存储介质 |
CN110166711B (zh) * | 2019-06-13 | 2021-07-13 | Oppo广东移动通信有限公司 | 图像处理方法、装置、电子设备以及存储介质 |
CN110290314B (zh) * | 2019-06-13 | 2021-01-15 | Oppo广东移动通信有限公司 | 图像处理方法、装置、电子设备及存储介质 |
CN110233970B (zh) * | 2019-06-27 | 2021-03-12 | Oppo广东移动通信有限公司 | 图像处理方法和装置、电子设备、计算机可读存储介质 |
JP2021043296A (ja) * | 2019-09-10 | 2021-03-18 | 株式会社ミツトヨ | 画像検出装置 |
US11039074B1 (en) | 2020-06-01 | 2021-06-15 | Apple Inc. | User interfaces for managing media |
CN111988523B (zh) * | 2020-08-14 | 2022-05-13 | RealMe重庆移动通信有限公司 | 超级夜景图像生成方法及装置、终端和可读存储介质 |
US11212449B1 (en) | 2020-09-25 | 2021-12-28 | Apple Inc. | User interfaces for media capture and management |
KR20220126084A (ko) * | 2021-03-08 | 2022-09-15 | 삼성전자주식회사 | 전자 장치의 촬영 방법 및 그 전자 장치 |
US11778339B2 (en) | 2021-04-30 | 2023-10-03 | Apple Inc. | User interfaces for altering visual media |
US11539876B2 (en) | 2021-04-30 | 2022-12-27 | Apple Inc. | User interfaces for altering visual media |
CN115314627B (zh) * | 2021-05-08 | 2024-03-01 | 杭州海康威视数字技术股份有限公司 | 一种图像处理方法、系统及摄像机 |
CN115706766B (zh) * | 2021-08-12 | 2023-12-15 | 荣耀终端有限公司 | 视频处理方法、装置、电子设备和存储介质 |
US11985747B2 (en) | 2021-12-08 | 2024-05-14 | Carlo Van de Roer | Apparatus and method for filming a scene using lighting setups actuated repeatedly during each entire frame without visible flicker on set while acquiring images synchronously with the lighting setups only during a portion of each frame |
CN114339001B (zh) * | 2021-12-30 | 2023-09-12 | 维沃移动通信有限公司 | 图像传感器、曝光控制方法、摄像模组和电子设备 |
CN114928694A (zh) * | 2022-04-25 | 2022-08-19 | 深圳市慧鲤科技有限公司 | 图像获取方法和装置、设备、介质 |
WO2023224216A1 (ko) * | 2022-05-20 | 2023-11-23 | 삼성전자주식회사 | 저전력 프로세서를 이용하여 카메라의 광학식 흔들림 보정을 제어하는 장치 및 방법 |
CN115297269B (zh) * | 2022-09-27 | 2023-04-07 | 荣耀终端有限公司 | 曝光参数的确定方法及电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008068865A1 (ja) * | 2006-12-06 | 2008-06-12 | Panasonic Corporation | 撮像装置 |
CN101345824A (zh) * | 2007-07-09 | 2009-01-14 | 三星电子株式会社 | 补偿相机的手抖动的方法和设备 |
EP2521091A1 (en) * | 2011-05-03 | 2012-11-07 | ST-Ericsson SA | Estimation of picture motion blurriness |
CN103051841A (zh) * | 2013-01-05 | 2013-04-17 | 北京小米科技有限责任公司 | 曝光时间的控制方法及装置 |
CN103561210A (zh) * | 2013-10-24 | 2014-02-05 | 惠州Tcl移动通信有限公司 | 根据背景光拍照的方法及移动终端 |
CN107509044A (zh) * | 2017-08-31 | 2017-12-22 | 广东欧珀移动通信有限公司 | 图像合成方法、装置、计算机可读存储介质和计算机设备 |
CN109005366A (zh) * | 2018-08-22 | 2018-12-14 | Oppo广东移动通信有限公司 | 摄像模组夜景摄像处理方法、装置、电子设备及存储介质 |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4794786B2 (ja) * | 2001-09-28 | 2011-10-19 | 株式会社リコー | 撮像装置、自動露出方法、およびその方法をコンピュータが実行するためのプログラム |
JP2006262220A (ja) | 2005-03-18 | 2006-09-28 | Seiko Epson Corp | 撮像装置 |
JP2007225763A (ja) * | 2006-02-22 | 2007-09-06 | Sony Corp | 撮像装置および撮像方法、並びにプログラム |
JP5319078B2 (ja) * | 2006-07-07 | 2013-10-16 | オリンパスイメージング株式会社 | カメラ、カメラの画像処理方法、プログラム、記録媒体 |
JP5148989B2 (ja) | 2007-12-27 | 2013-02-20 | イーストマン コダック カンパニー | 撮像装置 |
JP2009182926A (ja) * | 2008-02-01 | 2009-08-13 | Canon Inc | 撮像装置 |
JP5317737B2 (ja) * | 2009-02-03 | 2013-10-16 | キヤノン株式会社 | 撮像装置、その制御方法及びプログラム |
JP2011135152A (ja) * | 2009-12-22 | 2011-07-07 | Olympus Corp | 撮像装置及び撮像方法 |
JP5825946B2 (ja) | 2011-09-09 | 2015-12-02 | キヤノン株式会社 | 撮像装置及びその制御方法 |
WO2013094087A1 (ja) | 2011-12-22 | 2013-06-27 | パナソニック株式会社 | 撮像装置 |
CN103369228A (zh) | 2012-03-26 | 2013-10-23 | 百度在线网络技术(北京)有限公司 | 摄像机设置方法、装置和摄像机 |
US8675964B2 (en) * | 2012-06-06 | 2014-03-18 | Apple Inc. | Image fusion using intensity mapping functions |
CN103841324A (zh) | 2014-02-20 | 2014-06-04 | 小米科技有限责任公司 | 拍摄处理方法、装置和终端设备 |
US9210335B2 (en) * | 2014-03-19 | 2015-12-08 | Konica Minolta Laboratory U.S.A., Inc. | Method for generating HDR images using modified weight |
KR20160016068A (ko) | 2014-08-01 | 2016-02-15 | 삼성전자주식회사 | 이미지 생성 방법 및 그 전자 장치 |
WO2018003799A1 (ja) * | 2016-06-30 | 2018-01-04 | 富士フイルム株式会社 | 撮影装置及びその制御方法 |
CN107613190B (zh) * | 2016-07-11 | 2020-11-03 | 中兴通讯股份有限公司 | 一种拍照方法及终端 |
CN106375676A (zh) * | 2016-09-20 | 2017-02-01 | 广东欧珀移动通信有限公司 | 终端设备的拍照控制方法、装置和终端设备 |
CN107635101B (zh) * | 2017-10-27 | 2020-07-03 | Oppo广东移动通信有限公司 | 拍摄方法、装置、存储介质和电子设备 |
CN107820022A (zh) * | 2017-10-30 | 2018-03-20 | 维沃移动通信有限公司 | 一种拍照方法及移动终端 |
CN108322669B (zh) * | 2018-03-06 | 2021-03-23 | Oppo广东移动通信有限公司 | 图像获取方法及装置、成像装置和可读存储介质 |
-
2018
- 2018-08-22 CN CN201810963331.3A patent/CN109005366B/zh active Active
-
2019
- 2019-05-22 WO PCT/CN2019/088017 patent/WO2020038028A1/zh active Application Filing
- 2019-05-22 JP JP2021500825A patent/JP7371081B2/ja active Active
- 2019-05-22 KR KR1020217001996A patent/KR102642993B1/ko active IP Right Grant
- 2019-05-22 AU AU2019326496A patent/AU2019326496B2/en active Active
- 2019-08-21 US US16/546,907 patent/US11089207B2/en active Active
- 2019-08-22 EP EP19193125.2A patent/EP3624439B1/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008068865A1 (ja) * | 2006-12-06 | 2008-06-12 | Panasonic Corporation | 撮像装置 |
CN101345824A (zh) * | 2007-07-09 | 2009-01-14 | 三星电子株式会社 | 补偿相机的手抖动的方法和设备 |
EP2521091A1 (en) * | 2011-05-03 | 2012-11-07 | ST-Ericsson SA | Estimation of picture motion blurriness |
CN103051841A (zh) * | 2013-01-05 | 2013-04-17 | 北京小米科技有限责任公司 | 曝光时间的控制方法及装置 |
CN103561210A (zh) * | 2013-10-24 | 2014-02-05 | 惠州Tcl移动通信有限公司 | 根据背景光拍照的方法及移动终端 |
CN107509044A (zh) * | 2017-08-31 | 2017-12-22 | 广东欧珀移动通信有限公司 | 图像合成方法、装置、计算机可读存储介质和计算机设备 |
CN109005366A (zh) * | 2018-08-22 | 2018-12-14 | Oppo广东移动通信有限公司 | 摄像模组夜景摄像处理方法、装置、电子设备及存储介质 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115243017A (zh) * | 2022-08-03 | 2022-10-25 | 上海研鼎信息技术有限公司 | 一种改善图像质量的方法及设备 |
CN115243017B (zh) * | 2022-08-03 | 2024-06-07 | 上海研鼎信息技术有限公司 | 一种改善图像质量的方法及设备 |
Also Published As
Publication number | Publication date |
---|---|
US11089207B2 (en) | 2021-08-10 |
AU2019326496B2 (en) | 2022-01-27 |
AU2019326496A1 (en) | 2021-03-11 |
CN109005366B (zh) | 2020-04-28 |
KR20210024053A (ko) | 2021-03-04 |
EP3624439B1 (en) | 2023-11-22 |
KR102642993B1 (ko) | 2024-03-04 |
JP7371081B2 (ja) | 2023-10-30 |
EP3624439A2 (en) | 2020-03-18 |
JP2021530911A (ja) | 2021-11-11 |
CN109005366A (zh) | 2018-12-14 |
EP3624439A3 (en) | 2020-08-12 |
US20200068121A1 (en) | 2020-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020038028A1 (zh) | 夜景拍摄方法、装置、电子设备及存储介质 | |
CN108900782B (zh) | 曝光控制方法、装置以及电子设备 | |
CN110072051B (zh) | 基于多帧图像的图像处理方法和装置 | |
US11403740B2 (en) | Method and apparatus for image capturing and processing | |
CN110072052B (zh) | 基于多帧图像的图像处理方法、装置、电子设备 | |
CN109788207B (zh) | 图像合成方法、装置、电子设备及可读存储介质 | |
WO2020034737A1 (zh) | 成像控制方法、装置、电子设备以及计算机可读存储介质 | |
WO2020038069A1 (zh) | 曝光控制方法、装置和电子设备 | |
US11532076B2 (en) | Image processing method, electronic device and storage medium | |
WO2020057198A1 (zh) | 图像处理方法、装置、电子设备及存储介质 | |
WO2020038072A1 (zh) | 曝光控制方法、装置和电子设备 | |
CN110191291B (zh) | 基于多帧图像的图像处理方法和装置 | |
CN110166708B (zh) | 夜景图像处理方法、装置、电子设备以及存储介质 | |
CN109005369B (zh) | 曝光控制方法、装置、电子设备以及计算机可读存储介质 | |
CN109218627B (zh) | 图像处理方法、装置、电子设备及存储介质 | |
CN109348088B (zh) | 图像降噪方法、装置、电子设备及计算机可读存储介质 | |
WO2020207261A1 (zh) | 基于多帧图像的图像处理方法、装置、电子设备 | |
WO2020038087A1 (zh) | 超级夜景模式下的拍摄控制方法、装置和电子设备 | |
CN109151333B (zh) | 曝光控制方法、装置以及电子设备 | |
CN110264420B (zh) | 基于多帧图像的图像处理方法和装置 | |
CN109756680B (zh) | 图像合成方法、装置、电子设备及可读存储介质 | |
CN110276730B (zh) | 图像处理方法、装置、电子设备 | |
CN110113539A (zh) | 曝光控制方法、装置、电子设备以及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19851519 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021500825 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20217001996 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2019326496 Country of ref document: AU Date of ref document: 20190522 Kind code of ref document: A |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19851519 Country of ref document: EP Kind code of ref document: A1 |