WO2020038087A1 - Method and apparatus for photographic control in super night scene mode and electronic device - Google Patents
Method and apparatus for photographic control in super night scene mode and electronic device Download PDFInfo
- Publication number
- WO2020038087A1 WO2020038087A1 PCT/CN2019/091541 CN2019091541W WO2020038087A1 WO 2020038087 A1 WO2020038087 A1 WO 2020038087A1 CN 2019091541 W CN2019091541 W CN 2019091541W WO 2020038087 A1 WO2020038087 A1 WO 2020038087A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- scene
- shooting
- mode
- night scene
- image
- Prior art date
Links
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
Definitions
- the present disclosure relates to the field of imaging technology, and in particular, to a shooting control method, device, and electronic device in a super night scene mode.
- the present disclosure provides a shooting control method, device, and electronic device in a super night scene mode, which are used to realize the improvement of the dynamic range and the overall brightness of a captured image in the night scene shooting mode, and effectively suppress the noise in the captured image and improve the night scene shooting.
- the quality of the image improves the user experience to solve the technical problem that the shooting parameters corresponding to the night scene mode in the prior art cannot be changed with different shooting scenes, and in some scenes, the quality of the captured images may be poor.
- An embodiment of one aspect of the present disclosure provides a shooting control method in a super night scene mode, including:
- shooting is performed in the super night scene mode by using a tripod shooting mode.
- the shooting control method in the super night scene mode of the embodiment of the present disclosure by turning on the shooting scene detection function and obtaining the scene detection result corresponding to the current shooting scene, when the scene detection result is a night scene or a portrait night scene scene, start the super night scene mode, In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. .
- the current shooting scene is a night scene or a portrait night scene
- the brightness value of the preview image and whether the imaging device shakes it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode.
- the dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
- An embodiment of another aspect of the present disclosure provides a shooting control device in a super night scene mode, including:
- An acquisition module for enabling a shooting scene detection function and obtaining a scene detection result corresponding to a current shooting scene
- a startup module configured to start a super night scene mode when the scene detection result is a night scene or a portrait night scene
- a first determining module configured to determine whether a brightness value of a preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode
- a second determining module configured to further determine whether jitter occurs if the brightness value is greater than the preset threshold
- a photographing module is configured to perform photographing in the super night scene mode by using a tripod photographing mode if no shake is generated.
- the shooting control device in the super night scene mode of the embodiment of the present disclosure starts the shooting scene detection function and obtains the scene detection result corresponding to the current shooting scene.
- the scene detection result is a night scene or a portrait night scene scene
- the super night scene mode is activated
- the current shooting scene is a night scene or a portrait night scene
- the brightness value of the preview image and whether the imaging device shakes it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode.
- the dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
- An embodiment of yet another aspect of the present disclosure provides an electronic device including a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor configured to execute the foregoing implementation of the present application.
- the proposed shooting control method in the super night scene mode is not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, a computer program stored on the memory and executable on the processor, the processor configured to execute the foregoing implementation of the present application.
- the proposed shooting control method in the super night scene mode including a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor configured to execute the foregoing implementation of the present application.
- An embodiment of yet another aspect of the present disclosure provides a non-transitory computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements shooting in a super night scene mode as proposed by the foregoing embodiment of the present application. Control Method.
- FIG. 1 is a schematic flowchart of a shooting control method in a super night scene mode according to Embodiment 1 of the present disclosure
- FIG. 2 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 2 of the present disclosure
- FIG. 3 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 3 of the present disclosure
- FIG. 4 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 4 of the present disclosure
- FIG. 5 is a schematic structural diagram of a shooting control device in a super night scene mode provided in Embodiment 5 of the present disclosure
- FIG. 6 is a schematic block diagram of an electronic device according to some embodiments of the present disclosure.
- FIG. 7 is a schematic block diagram of an image processing circuit according to some embodiments of the present disclosure.
- the present disclosure is mainly directed to the technical problem of poor shooting image quality in the prior art, and proposes a shooting control method in a super night scene mode.
- the shooting control method in the super night scene mode of the embodiment of the present disclosure by turning on the shooting scene detection function and obtaining the scene detection result corresponding to the current shooting scene, when the scene detection result is a night scene or a portrait night scene scene, start the super night scene mode, In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. .
- the current shooting scene is a night scene or a portrait night scene
- the brightness value of the preview image and whether the imaging device shakes it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode.
- the dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
- FIG. 1 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 1 of the present disclosure.
- the shooting control method in the super night scene mode may include the following steps:
- Step 101 Enable a shooting scene detection function, and obtain a scene detection result corresponding to a current shooting scene.
- a shooting scene detection function when a function mutually exclusive with the night scene mode is turned off, a shooting scene detection function may be turned on. Specifically, a preview image corresponding to the current shooting scene can be obtained through the imaging device, and the scene detection result corresponding to the current shooting scene is determined according to the screen content of the preview image.
- the obtained scene detection result can be that the current shooting scene is a night scene, or the current shooting scene
- the scene is a portrait night scene, or the current shooting scene is a scene that is not a night scene and a scene that is not a portrait night scene.
- the portrait night scene may specifically refer to a group night scene.
- the current shooting scene is a night scene according to the screen content of the preview image and / or the environmental brightness value of each area of the preview image. For example, when the picture content of the preview image includes a night sky or a night scene light source, etc., it can be determined that the current shooting scene is a night scene scene, or when the ambient brightness value in each area of the preview image matches the brightness distribution characteristics of the image in the night scene environment, Make sure the current shooting scene is a night scene.
- the current shooting scene is a portrait night scene according to the screen content of the preview image and the environmental brightness value of each area of the preview image. For example, based on face recognition technology, it is possible to detect whether there are at least two faces in the screen content of the preview image. When there are at least two faces, it may further determine whether the current shooting scene is based on the ambient brightness values of each area of the preview image. It is a portrait night scene. For example, when the ambient brightness value is low, it indicates that the shooting environment is dark. At this time, it can be determined that the current shooting scene is a portrait night scene scene, or the ambient brightness value in each area except the portrait in the preview image.
- the current shooting scene is a portrait night scene scene.
- the current shooting scene may be further determined as a night scene of a portrait according to the environmental brightness values of each area of the preview image.
- face recognition algorithms may include: feature-based recognition algorithms (feature-based recognition algorithms), recognition algorithms based on entire face images (appearance-based recognition algorithms), and template-based recognition algorithms ( Template-based recognition algorithms, recognition algorithms using neural networks (Recognition algorithms, neural networks), and so on.
- Step 102 When the scene detection result is a night scene or a portrait night scene, start a super night scene mode.
- a super night scene mode may be automatically activated, thereby eliminating the need for a user to operate and improving the user ’s experience in shooting night scenes.
- a prompt may also be displayed on the display interface of the electronic device, and the user initiates the super night scene mode, thereby guiding the user to shoot at night , Use the super night scene shooting function to increase user engagement and improve user experience.
- the shooting parameters corresponding to the super night scene mode may be different.
- the shooting parameters corresponding to the super night scene mode may be different from the portrait night scene scene. Therefore, it is possible to set shooting parameters with better shooting effects for different shooting scenes, which can improve the imaging quality and improve the user's shooting experience.
- Step 103 In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold.
- the preset threshold may be preset by a built-in program of the electronic device, or the preset threshold may be set by a user, which is not limited.
- the preset threshold may be preset according to a night scene, for example, the preset threshold may be 410.
- the brightness value of the preset image corresponding to the current shooting scene can be obtained by metering the center area of the preview image, and the brightness value is marked as Lux_index.
- the brightness value Lux_index of the preset image and the current shooting scene The environment brightness value of the camera is inversely proportional. When the environment brightness value of the current shooting scene is higher, the preset image brightness value Lux_index is lower, and when the environment brightness value of the current shooting scene is lower, the preset image brightness value Lux_index is lower. The higher.
- the brightness value of the preview image may be compared with a preset threshold value.
- the preset threshold value it indicates that the current environment brightness is low.
- Step 104 may be triggered.
- step 104 if the brightness value is greater than a preset threshold, it is further determined whether jitter is generated.
- the displacement information provided by the imaging device can be used to collect the displacement information of the imaging device during shooting, and then determine whether the imaging device generates a shake based on the obtained displacement information.
- the current gyro sensor information of the electronic device can be used to determine whether the imaging device shakes and the current degree of shake of the imaging 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 movements 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 motion information of the imaging device in three dimensions in the three-dimensional space, and the three dimensions of the three-dimensional space may be expressed as the three directions of the X-axis, Y-axis, and Z-axis, respectively. , X-axis, Y-axis, and Z-axis are perpendicular to each other.
- the imaging device shakes and the current degree of shake of the imaging device according to the current gyro information of the electronic device.
- the absolute value threshold of the gyro motion in the three directions can be preset, and the relationship between the absolute value of the currently acquired gyro motion in the three directions and the preset threshold is used to determine the imaging device's 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, then determine the current jitter of the imaging device as “no jitter”; if A ⁇ S ⁇ B, you can determine the current jitter of the imaging device as “slight jitter”; if B ⁇ S ⁇ C, you can It is determined that the current jitter level of the imaging device is "small jitter”; if S> C, it can be determined that the current jitter level of the imaging device is "large jitter”.
- 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 jitter of the imaging device can be preset according to the relationship between the gyro information and each threshold.
- step 105 if jitter is not generated, shooting is performed in a super night scene mode by using a tripod shooting mode.
- a tripod shooting mode can be used for shooting in a super night scene mode.
- the shooting time is longer, which can improve 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.
- the shooting control method in the super night scene mode of the embodiment of the present disclosure by turning on the shooting scene detection function and obtaining the scene detection result corresponding to the current shooting scene, when the scene detection result is a night scene or portrait night scene scene, start the super night scene mode In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. .
- the current shooting scene is a night scene or a portrait night scene
- the brightness value of the preview image and whether the imaging device shakes it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode.
- the dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
- FIG. 2 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 2 of the present disclosure.
- the shooting control method in the super night scene mode may include the following steps:
- Step 201 Turn on a shooting scene detection function, and obtain a scene detection result corresponding to a current shooting scene.
- Step 202 When the scene detection result is a night scene or a portrait night scene, start a super night scene mode.
- Step 203 In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If yes, go to step 205; if not, go to step 204.
- step 204 shooting is performed in an HDR shooting mode.
- the HDR shooting mode can be used for shooting. Therefore, it is possible to avoid turning on the night scene mode during the day, and to improve the imaging quality and imaging effect.
- the long exposure time can be used to control the imaging device to acquire a long exposure image
- the medium exposure time can be used to control the imaging device to acquire a medium exposure image
- the short exposure time can be used to control the imaging device to acquire a short exposure image
- step 205 it is determined whether jitter is generated. If yes, go to step 207, and if no, go to step 206.
- Step 206 Use a tripod shooting mode to shoot in the super night scene mode.
- a tripod shooting mode can be used for shooting in a super night scene mode.
- the shooting time is longer, which can improve 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.
- the number of image frames to be acquired in the tripod shooting mode and the exposure compensation value corresponding to the images to be acquired in each frame can be set in advance.
- the number of image frames to be acquired in the tripod shooting mode may be 17 frames
- the range of EV values of the exposure compensation values corresponding to the images to be acquired in each frame may be: -6 to +2.
- EV + 1 exposure compensation refers to an increase of one exposure relative to the exposure amount corresponding to the metering data of the imaging device, that is, the actual exposure amount is twice the exposure amount corresponding to the metering data.
- EV-1 refers to Reduce the exposure by one stop, that is, the exposure amount is 0.5 times the exposure amount corresponding to the metering data.
- step 207 it is determined whether there is a region of interest in the face in the preview image. If yes, step 208 is performed, and if no, step 209 is performed.
- the imaging device shakes when the imaging device shakes, it indicates that the current imaging device is not in a stable state to capture images. At this time, it is not suitable to use a relatively stable tripod shooting mode. It can be further judged whether a region of interest in the face exists in the preview image. Optionally, it can be determined whether a region of interest in the face exists in the preview image based on the face recognition technology. When the region of interest of the face exists in the preview image, step 208 may be triggered, and when the region of interest of the face does not exist in the preview image, step 209 may be triggered.
- Step 208 Use the portrait shooting mode to shoot in the super night scene mode.
- the portrait shooting mode can be used to shoot in the super night scene mode.
- the shooting time is short, and targeted image processing can be performed for portrait night scenes to improve the quality of night scene shot images.
- the number of image frames to be acquired in the portrait shooting mode and the exposure compensation value corresponding to the images to be acquired in each frame may be set in advance.
- the number of image frames to be acquired in the portrait shooting mode may be 7 frames
- the range of EV values of the exposure compensation values corresponding to the images to be acquired in each frame may be: -6 to +0.
- the shooting parameters corresponding to the portrait shooting mode may be different.
- the degree of jitter of the imaging device is "no jitter”
- the range of EV values of the exposure compensation values corresponding to the images to be acquired for each frame is preset to -6 to +0, and the difference between adjacent EV values Is 0.5
- the jitter level of the imaging device is "slightly jittered”
- the EV value range of the exposure compensation value corresponding to each frame of the image to be acquired is preset to -5 to -1, and the difference between adjacent EV values is 1, wait.
- Step 209 Use the handheld shooting mode to shoot in the super night scene mode.
- the handheld shooting mode when the imaging device shakes and there is no region of interest in the face in the preview image, the handheld shooting mode can be used to shoot in the super night scene mode.
- the shooting time is short, which can improve 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.
- the number of image frames to be acquired and the exposure compensation value corresponding to the images to be acquired in each frame can be set in advance.
- the number of image frames to be acquired in the handheld shooting mode may be 7 frames
- the EV value range of the exposure compensation value corresponding to the image to be acquired in each frame may be: -6 to +1.
- the shooting parameters corresponding to the handheld shooting mode may be different.
- the degree of jitter of the imaging device is "no jitter”
- the range of EV values of the exposure compensation values corresponding to the images to be acquired for each frame is preset to -6 to +1, and the difference between adjacent EV values Is 0.5
- the jitter level of the imaging device is "slight jitter”
- the EV value range of the exposure compensation value corresponding to each frame of the image to be acquired is preset to -5 to +0, and the difference between adjacent EV values is 1, wait.
- the shooting control method in the super night scene mode of the embodiment of the present disclosure by determining the shooting mode corresponding to the shooting scene according to the brightness value of the preview image and whether the imaging device shakes, the shooting of the image in the night scene shooting mode can be improved. Dynamic range and overall brightness, and effectively suppress the noise in the captured image, improve the quality of the night scene captured image, and improve the user experience.
- the current shooting scene is determined by the ISO value and exposure time of the captured image. Specifically, by setting the exposure time to be fixed, when the ISO value is larger, it indicates that the current shooting scene is darker. At this time, the current shooting scene can be determined. The scene is in night mode.
- the current shooting scene may be identified based on a machine learning manner. The above process is described in detail below with reference to FIG. 2.
- FIG. 3 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 3 of the present disclosure.
- step 101 may specifically include the following sub-steps:
- Step 301 Obtain a preview image corresponding to the current shooting scene, and extract image features of the preview image.
- a preview image corresponding to a current shooting scene may be obtained through an imaging device, and then image features of the preview image may be extracted based on technologies such as image feature extraction technology and key point recognition.
- Step 302 Input image features into a pre-established scene recognition model to identify a scene detection result corresponding to the current shooting scene.
- the scene recognition model is a trained model.
- sample images corresponding to different shooting scenes can be collected in advance, and then the shooting scenes of the sample images are labeled.
- the scene recognition model is trained to obtain a trained scene. Identify the model. Therefore, after obtaining the image features of the preview image, the image features of the preview image can be input to the trained scene recognition model, and the scene detection result corresponding to the current shooting scene can be obtained.
- sample scene information can be collected, and the scene sample information can be characterized and defined, and then the feature description and the defined scene sample information can be input to a deep neural network for training, and scene recognition can be generated. model. Therefore, after obtaining the image features of the preview image, the image features of the preview image can be input to the trained scene recognition model, and the scene detection result corresponding to the current shooting scene can be obtained.
- the shooting control method in the super night scene mode can improve the accuracy of the scene detection result by determining the current shooting scene based on the method of machine learning.
- the shooting control method in the super night scene mode may further include the following steps:
- step 401 multiple frames of RAW images are captured and acquired.
- multiple frames of original RAW images can be acquired by an image sensor.
- Step 402 Use the image processor ISP to process multiple frames of RAW images to generate a captured image.
- an image processor may be used to process the multiple frames of RAW images. For example, in order to improve the quality of captured images, multiple frames of RAW images may be processed for alignment processing, Noise reduction processing, etc., and then based on a preset weight value corresponding to each frame of RAW image, synthesis processing is performed on the processed multiple frames of RAW image to obtain a captured image.
- the present disclosure also proposes a shooting control device in a super night scene mode.
- FIG. 5 is a schematic structural diagram of a shooting control device in a super night scene mode provided in Embodiment 5 of the present disclosure.
- the shooting control device 100 in the super night scene mode may include: an acquisition module 101, a startup module 102, a first determination module 103, a second determination module 104, and a photography module 105.
- the obtaining module 101 is configured to enable a shooting scene detection function and obtain a scene detection result corresponding to a current shooting scene.
- the obtaining module 101 is specifically configured to: obtain a preview image corresponding to the current shooting scene, and extract image features of the preview image; input the image features into a pre-established scene recognition model to identify the current shooting Scene detection result corresponding to the scene.
- a starting module 102 is configured to start a super night scene mode when a scene detection result is a night scene or a portrait night scene.
- the first determining module 103 is configured to determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode.
- the brightness value of the preview image corresponding to the current shooting scene is inversely proportional to the environment brightness value of the current shooting scene.
- the second determination module 104 is configured to further determine whether jitter is generated if the brightness value is greater than a preset threshold.
- the shooting module 105 is configured to use a tripod shooting mode to shoot in a super night scene mode if no shake occurs.
- the shooting module 105 is further configured to: if the brightness value is less than a preset threshold, use the HDR shooting mode to shoot in the super night scene mode.
- the shooting module 105 is further configured to: if there is no region of interest of the human face, use the handheld shooting mode to shoot in the super night scene mode.
- the shooting control apparatus 100 in the super night scene mode may further include:
- a third determining module is configured to further determine whether a region of interest of a human face exists in the preview image if jitter occurs.
- the shooting module 105 is further configured to use a portrait shooting mode to shoot in a super night scene mode if there is an area of interest in the human face.
- the first acquisition module is configured to collect scene sample information, and describe and define the scene sample information.
- a first training module is configured to input feature description and defined scene sample information to a deep neural network for training, and generate a scene recognition model.
- the second acquisition module is configured to acquire sample images corresponding to different shooting scenes.
- the labeling module is used for labeling the shooting scene of the sample image.
- the second training module is used to train the scene recognition model using the labeled sample images to obtain a trained scene recognition model.
- An output module is configured to capture multiple frames of RAW images after shooting in the super night scene mode, and use the image processor ISP to process the multiple frames of RAW images to generate captured images.
- the shooting control device in the super night scene mode of the embodiment of the present disclosure starts the shooting scene detection function and obtains the scene detection result corresponding to the current shooting scene.
- the scene detection result is a night scene or a portrait night scene scene
- the super night scene mode is activated
- the current shooting scene is a night scene or a portrait night scene
- the brightness value of the preview image and whether the imaging device shakes it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode.
- the dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
- the present disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. Shooting control method in night scene mode.
- the present disclosure also provides another electronic device 200.
- the electronic device 200 includes a memory 50 and a processor 60.
- the memory 50 stores computer-readable instructions.
- the processor 60 is caused to execute the shooting control method in the super night scene mode according to any one of the foregoing embodiments.
- FIG. 6 is a schematic diagram of the internal structure of the electronic device 200 in one embodiment.
- the electronic device 200 includes a processor 60, a memory 50 (for example, a non-volatile storage medium), an internal memory 82, a display screen 83, and an input device 84 connected through a system bus 81.
- the memory 50 of the electronic device 200 stores an operating system and computer-readable instructions.
- the computer-readable instructions can be executed by the processor 60 to implement a shooting control method in a super night scene mode according to an embodiment of the present disclosure.
- the processor 60 is used to provide computing and control capabilities to support the operation of the entire electronic device 200.
- the internal memory 50 of the electronic device 200 provides an environment for execution of computer-readable instructions in the memory 52.
- the display screen 83 of the electronic device 200 may be a liquid crystal display or an electronic ink display.
- 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 200. Board, which can also be an external keyboard, trackpad, or mouse.
- the electronic device 200 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.
- FIG. 6 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 200 to which the solution of the present disclosure is applied. 200 may include more or fewer components than shown in the figure, or some components may be combined, or have different component arrangements.
- the electronic device 200 includes an image processing circuit 90.
- the image processing circuit 90 may be implemented by using hardware and / or software components, including various types of defining an ISP (Image Signal Processing) pipeline Processing unit.
- FIG. 7 is a schematic diagram of an image processing circuit 90 in one embodiment. As shown in FIG. 7, for convenience of explanation, only various 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 may be the processor 60) 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 93 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 an independent dedicated memory in the memory 50, a part of the memory 50, a storage device, or 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 processing data of 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.
- shooting is performed in the super night scene mode by using a tripod shooting mode.
- the present disclosure also proposes a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, the implementation in the super night scene mode according to the above embodiment is implemented Shooting control method.
- first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as “first” and “second” may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "a plurality” is at least two, for example, two, three, etc., unless it is specifically and specifically defined otherwise.
- any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for implementing steps of a custom logic function or process
- the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present disclosure belong.
- Logic and / or steps represented in a flowchart or otherwise described herein, for example, a sequenced list of executable instructions that may be considered to implement a logical function, may be embodied in any computer-readable medium, For use by, or in combination with, an instruction execution system, device, or device (such as a computer-based system, a system that includes a processor, or another system that can fetch and execute instructions from an instruction execution system, device, or device) Or equipment.
- a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
- computer-readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM).
- the computer-readable medium may even be paper or other suitable medium on which the program can be printed, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means if necessary Process to obtain the program electronically and then store it in computer memory.
- portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
- multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
- Discrete logic circuits with logic gates for implementing logic functions on data signals Logic circuits, ASICs with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
- each functional unit in each embodiment of the present disclosure may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
- the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Disclosed are a method and apparatus for photographic control in a super night scene mode, and an electronic device. The method comprises: enabling a photographic scene detection function and acquiring a scene detection result corresponding to the current photographic scene; when the scene detection result is a night scene or a portrait night scene, starting a super night scene mode; in the super night scene mode, determining whether the brightness value of a preview image corresponding to the current photographic scene is greater than a preset threshold; if the brightness value is greater than the preset threshold, further determining whether jitter occurs; and if jitter does not occur, using a tripod photographic mode for photographing in a super night scene mode. By means of the method, the dynamic range and overall brightness for image photography in a night scene photographic mode can be improved, and the noise in image photography is effectively suppressed, thus improving the quality of an image photographed in a night scene and improving the user experience.
Description
相关申请的交叉引用Cross-reference to related applications
本公开要求OPPO广东移动通信有限公司于2018年08月22日提交的、申请名称为“超级夜景模式下的拍摄控制方法、装置和电子设备”的、中国专利申请号“201810962789.7”的优先权。This disclosure claims the priority of China Patent Application No. “201810962789.7”, submitted by OPPO Guangdong Mobile Communication Co., Ltd. on August 22, 2018, with the application name “Shot Control Method, Device and Electronic Equipment in Super Night Scene Mode”.
本公开涉及成像技术领域,尤其涉及一种超级夜景模式下的拍摄控制方法、装置和电子设备。The present disclosure relates to the field of imaging technology, and in particular, to a shooting control method, device, and electronic device in a super night scene mode.
随着成像技术以及终端技术的不断发展,越来越多的用户使用电子设备进行拍照。在夜景场景中,由于周围环境的亮度值较低,如果电子设备无法正确识别当前拍摄场景,则可能导致成像质量较差。因此,如何对夜景场景进行识别以及采用对应的拍摄模式至关重要。With the continuous development of imaging technology and terminal technology, more and more users use electronic devices to take pictures. In night scenes, because the brightness value of the surrounding environment is low, if the electronic device cannot correctly recognize the current shooting scene, it may result in poor imaging quality. Therefore, how to identify the night scene and adopt the corresponding shooting mode is very important.
公开内容Public content
本公开提出一种超级夜景模式下的拍摄控制方法、装置和电子设备,用于实现提升夜景拍摄模式下拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验,以解决现有技术中夜景模式对应的拍摄参数无法随拍摄场景的不同而改变,一些场景下,可能导致拍摄图像的质量不佳的技术问题。The present disclosure provides a shooting control method, device, and electronic device in a super night scene mode, which are used to realize the improvement of the dynamic range and the overall brightness of a captured image in the night scene shooting mode, and effectively suppress the noise in the captured image and improve the night scene shooting. The quality of the image improves the user experience to solve the technical problem that the shooting parameters corresponding to the night scene mode in the prior art cannot be changed with different shooting scenes, and in some scenes, the quality of the captured images may be poor.
本公开一方面实施例提出了一种超级夜景模式下的拍摄控制方法,包括:An embodiment of one aspect of the present disclosure provides a shooting control method in a super night scene mode, including:
开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果;Enable the shooting scene detection function and obtain the scene detection result corresponding to the current shooting scene;
当所述场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式;When the scene detection result is a night scene or a portrait night scene, start a super night scene mode;
在所述超级夜景模式下,判断所述当前拍摄场景对应的预览图像的亮度值是否大于预设阈值;Determining whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode;
如果所述亮度值大于所述预设阈值,则进一步判断是否产生抖动;If the brightness value is greater than the preset threshold, further determining whether jitter is generated;
如果未产生抖动,则采用脚架拍摄模式在所述超级夜景模式下进行拍摄。If no shake is generated, shooting is performed in the super night scene mode by using a tripod shooting mode.
本公开实施例的超级夜景模式下的拍摄控制方法,通过开启拍摄场景检测功能,并 获取当前拍摄场景对应的场景检测结果,当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式,在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值,若是,则进一步判断是否产生抖动,若未产生抖动,则采用脚架拍摄模式在超级夜景模式下进行拍摄。本公开中,在当前拍摄场景为夜景场景或人像夜景场景时,可以根据预览图像的亮度值和成像设备是否发生抖动,确定采用该拍摄场景下对应的拍摄模式进行拍摄,可以提升夜景拍摄模式下拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。According to the shooting control method in the super night scene mode of the embodiment of the present disclosure, by turning on the shooting scene detection function and obtaining the scene detection result corresponding to the current shooting scene, when the scene detection result is a night scene or a portrait night scene scene, start the super night scene mode, In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. . In the present disclosure, when the current shooting scene is a night scene or a portrait night scene, according to the brightness value of the preview image and whether the imaging device shakes, it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode. The dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
本公开又一方面实施例提出了一种超级夜景模式下的拍摄控制装置,包括:An embodiment of another aspect of the present disclosure provides a shooting control device in a super night scene mode, including:
获取模块,用于开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果;An acquisition module for enabling a shooting scene detection function and obtaining a scene detection result corresponding to a current shooting scene;
启动模块,用于当所述场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式;A startup module, configured to start a super night scene mode when the scene detection result is a night scene or a portrait night scene;
第一判断模块,用于在所述超级夜景模式下,判断所述当前拍摄场景对应的预览图像的亮度值是否大于预设阈值;A first determining module, configured to determine whether a brightness value of a preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode;
第二判断模块,用于如果所述亮度值大于所述预设阈值,则进一步判断是否产生抖动;A second determining module, configured to further determine whether jitter occurs if the brightness value is greater than the preset threshold;
拍摄模块,用于如果未产生抖动,则采用脚架拍摄模式在所述超级夜景模式下进行拍摄。A photographing module is configured to perform photographing in the super night scene mode by using a tripod photographing mode if no shake is generated.
本公开实施例的超级夜景模式下的拍摄控制装置,通过开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果,当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式,在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值,若是,则进一步判断是否产生抖动,若未产生抖动,则采用脚架拍摄模式在超级夜景模式下进行拍摄。本公开中,在当前拍摄场景为夜景场景或人像夜景场景时,可以根据预览图像的亮度值和成像设备是否发生抖动,确定采用该拍摄场景下对应的拍摄模式进行拍摄,可以提升夜景拍摄模式下拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。The shooting control device in the super night scene mode of the embodiment of the present disclosure starts the shooting scene detection function and obtains the scene detection result corresponding to the current shooting scene. When the scene detection result is a night scene or a portrait night scene scene, the super night scene mode is activated, In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. . In the present disclosure, when the current shooting scene is a night scene or a portrait night scene, according to the brightness value of the preview image and whether the imaging device shakes, it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode. The dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
本公开又一方面实施例提出了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器用于执行如本申前述实施例提出的超级夜景模式下的拍摄控制方法。An embodiment of yet another aspect of the present disclosure provides an electronic device including a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor configured to execute the foregoing implementation of the present application. The proposed shooting control method in the super night scene mode.
本公开又一方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算 机程序,该计算机程序被处理器执行时实现如本申前述实施例提出的超级夜景模式下的拍摄控制方法。An embodiment of yet another aspect of the present disclosure provides a non-transitory computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements shooting in a super night scene mode as proposed by the foregoing embodiment of the present application. Control Method.
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the present disclosure will be given in part in the following description, part of which will become apparent from the following description, or be learned through the practice of the present disclosure.
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present disclosure more clearly, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present disclosure. Those of ordinary skill in the art can also obtain other drawings according to these drawings without paying creative labor.
图1为本公开实施例一所提供的超级夜景模式下的拍摄控制方法的流程示意图;FIG. 1 is a schematic flowchart of a shooting control method in a super night scene mode according to Embodiment 1 of the present disclosure; FIG.
图2为本公开实施例二所提供的超级夜景模式下的拍摄控制方法的流程示意图;2 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 2 of the present disclosure;
图3为本公开实施例三所提供的超级夜景模式下的拍摄控制方法的流程示意图;3 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 3 of the present disclosure;
图4为本公开实施例四所提供的超级夜景模式下的拍摄控制方法的流程示意图;4 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 4 of the present disclosure;
图5为本公开实施例五所提供的超级夜景模式下的拍摄控制装置的结构示意图;5 is a schematic structural diagram of a shooting control device in a super night scene mode provided in Embodiment 5 of the present disclosure;
图6为本公开某些实施方式的电子设备的模块示意图;6 is a schematic block diagram of an electronic device according to some embodiments of the present disclosure;
图7为本公开某些实施方式的图像处理电路的模块示意图。FIG. 7 is a schematic block diagram of an image processing circuit according to some embodiments of the present disclosure.
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Hereinafter, embodiments of the present disclosure will be described in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary, and are intended to explain the present disclosure, and should not be construed as limiting the present disclosure.
本公开主要针对现有技术中拍摄图像质量不佳的技术问题,提出一种超级夜景模式下的拍摄控制方法。The present disclosure is mainly directed to the technical problem of poor shooting image quality in the prior art, and proposes a shooting control method in a super night scene mode.
本公开实施例的超级夜景模式下的拍摄控制方法,通过开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果,当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式,在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值,若是,则进一步判断是否产生抖动,若未产生抖动,则采用脚架拍摄模式在超级夜景模式下进行拍摄。本公开中,在当前拍摄场景为夜景场景或人像夜景场景时,可以根据预览图像的亮度值和成像设备是否发生抖动,确定采用该拍摄场景下对应的拍摄模式进行拍摄,可以提升夜景拍摄模式下拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。According to the shooting control method in the super night scene mode of the embodiment of the present disclosure, by turning on the shooting scene detection function and obtaining the scene detection result corresponding to the current shooting scene, when the scene detection result is a night scene or a portrait night scene scene, start the super night scene mode, In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. . In the present disclosure, when the current shooting scene is a night scene or a portrait night scene, according to the brightness value of the preview image and whether the imaging device shakes, it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode. The dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
下面参考附图描述本公开实施例的超级夜景模式下的拍摄控制方法、装置和电子设备。The following describes a shooting control method, an apparatus, and an electronic device in a super night scene mode according to an embodiment of the present disclosure with reference to the drawings.
图1为本公开实施例一所提供的超级夜景模式下的拍摄控制方法的流程示意图。FIG. 1 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 1 of the present disclosure.
如图1所示,该超级夜景模式下的拍摄控制方法可以包括以下步骤:As shown in FIG. 1, the shooting control method in the super night scene mode may include the following steps:
步骤101,开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果。Step 101: Enable a shooting scene detection function, and obtain a scene detection result corresponding to a current shooting scene.
本公开实施例中,当关闭与夜景模式互斥的功能后,可以开启拍摄场景检测功能。具体地,可以通过成像设备获取当前拍摄场景对应的预览图像,根据预览图像的画面内容,确定当前拍摄场景对应的场景检测结果,得到的场景检测结果可以为当前拍摄场景为夜景场景,或者当前拍摄场景为人像夜景场景,或者当前拍摄场景为非夜景场景且非人像夜景场景的场景。其中,人像夜景场景可以具体指合影夜景场景。In the embodiment of the present disclosure, when a function mutually exclusive with the night scene mode is turned off, a shooting scene detection function may be turned on. Specifically, a preview image corresponding to the current shooting scene can be obtained through the imaging device, and the scene detection result corresponding to the current shooting scene is determined according to the screen content of the preview image. The obtained scene detection result can be that the current shooting scene is a night scene, or the current shooting scene The scene is a portrait night scene, or the current shooting scene is a scene that is not a night scene and a scene that is not a portrait night scene. The portrait night scene may specifically refer to a group night scene.
可选地,可以根据预览图像的画面内容和/或预览图像各区域的环境亮度值,确定当前拍摄场景是否为夜景场景。例如,当预览图像的画面内容包括夜晚天空或者夜景灯源等等,可以确定当前拍摄场景为夜景场景,或者,预览图像的各区域中环境亮度值符合夜景环境下图像的亮度分布特性时,可以确定当前拍摄场景为夜景场景。Optionally, it may be determined whether the current shooting scene is a night scene according to the screen content of the preview image and / or the environmental brightness value of each area of the preview image. For example, when the picture content of the preview image includes a night sky or a night scene light source, etc., it can be determined that the current shooting scene is a night scene scene, or when the ambient brightness value in each area of the preview image matches the brightness distribution characteristics of the image in the night scene environment, Make sure the current shooting scene is a night scene.
可选地,可以根据预览图像的画面内容以及预览图像各区域的环境亮度值,确定当前拍摄场景是否为人像夜景场景。例如,可以基于人脸识别技术,检测预览图像的画面内容中是否存在至少两张人脸,当存在至少两张人脸时,可以进一步根据预览图像各区域的环境亮度值,确定当前拍摄场景是否为人像夜景场景,例如,当环境亮度值较低时,表明拍摄环境较暗,此时,可以确定当前拍摄场景为人像夜景场景,或者,预览图像中除人像之外的各区域中环境亮度值符合夜景环境下图像的亮度分布特性时,可以确定当前拍摄场景为人像夜景场景。或者,还可以基于边缘特征检测技术,提取预览图像中的各个成像对象,从而可以根据各个成像对象,以及预览图像各区域的环境亮度值,确定当前拍摄场景是否为人像夜景场景,例如,当根据提取的成像对象确定存在至少两个人时,可以进一步根据预览图像各区域的环境亮度值,确定当前拍摄场景为人像夜景场景。其中,常用的人脸识别算法可以包括:基于人脸特征点的识别算法(Feature-based recognition algorithms)、基于整幅人脸图像的识别算法(Appearance-based recognition algorithms)、基于模板的识别算法(Template-based recognition algorithms)、利用神经网络进行识别的算法(Recognition algorithms using neural network)等等。Optionally, it may be determined whether the current shooting scene is a portrait night scene according to the screen content of the preview image and the environmental brightness value of each area of the preview image. For example, based on face recognition technology, it is possible to detect whether there are at least two faces in the screen content of the preview image. When there are at least two faces, it may further determine whether the current shooting scene is based on the ambient brightness values of each area of the preview image. It is a portrait night scene. For example, when the ambient brightness value is low, it indicates that the shooting environment is dark. At this time, it can be determined that the current shooting scene is a portrait night scene scene, or the ambient brightness value in each area except the portrait in the preview image. When the brightness distribution characteristics of the image in the night scene environment are met, it can be determined that the current shooting scene is a portrait night scene scene. Alternatively, it is also possible to extract each imaging object in the preview image based on the edge feature detection technology, so that it can be determined whether the current shooting scene is a portrait night scene according to the environmental brightness value of each imaging object and each area of the preview image. When it is determined that there are at least two persons in the extracted imaging object, the current shooting scene may be further determined as a night scene of a portrait according to the environmental brightness values of each area of the preview image. Among them, commonly used face recognition algorithms may include: feature-based recognition algorithms (feature-based recognition algorithms), recognition algorithms based on entire face images (appearance-based recognition algorithms), and template-based recognition algorithms ( Template-based recognition algorithms, recognition algorithms using neural networks (Recognition algorithms, neural networks), and so on.
步骤102,当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式。Step 102: When the scene detection result is a night scene or a portrait night scene, start a super night scene mode.
作为一种可能的实现方式,当场景检测结果为夜景场景或人像夜景场景时,可以自动启动超级夜景模式,由此,可以无需用户进行操作,提升用户在夜景拍摄时的体 验。As a possible implementation manner, when a scene detection result is a night scene or a portrait night scene, a super night scene mode may be automatically activated, thereby eliminating the need for a user to operate and improving the user ’s experience in shooting night scenes.
作为另一种可能的实现方式,当场景检测结果为夜景场景或人像夜景场景时,还可以在电子设备的显示界面进行提示,由用户启动超级夜景模式,由此,可以引导用户在夜间拍摄时,使用超级夜景拍摄功能,提升用户的参与度,改善用户的使用体验。As another possible implementation manner, when the scene detection result is a night scene or a portrait night scene, a prompt may also be displayed on the display interface of the electronic device, and the user initiates the super night scene mode, thereby guiding the user to shoot at night , Use the super night scene shooting function to increase user engagement and improve user experience.
需要说明的是,在当前拍摄场景不同时,超级夜景模式对应的拍摄参数可以不同,例如,对于夜景场景而言,其对应的超级夜景模式的拍摄参数可以不同于人像夜景场景。由此,可以针对不同的拍摄场景,设置拍摄效果较佳的拍摄参数,可以提升成像质量,改善用户的拍摄体验。It should be noted that when the current shooting scene is different, the shooting parameters corresponding to the super night scene mode may be different. For example, for a night scene scene, the shooting parameters corresponding to the super night scene mode may be different from the portrait night scene scene. Therefore, it is possible to set shooting parameters with better shooting effects for different shooting scenes, which can improve the imaging quality and improve the user's shooting experience.
步骤103,在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值。Step 103: In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold.
本公开实施例中,预设阈值可以为电子设备的内置程序预先设定的,或者,预设阈值也可以由用户进行设置,对此不作限制。预设阈值可以根据夜景场景预先设定的,例如,预设阈值可以为410。In the embodiment of the present disclosure, the preset threshold may be preset by a built-in program of the electronic device, or the preset threshold may be set by a user, which is not limited. The preset threshold may be preset according to a night scene, for example, the preset threshold may be 410.
本公开实施例中,当前拍摄场景对应的预设图像的亮度值可以通过预览图像中心区域测光得到,标记该亮度值为Lux_index,需要说明的是,预设图像的亮度值Lux_index与当前拍摄场景的环境亮度值成反比关系,在当前拍摄场景的环境亮度值越高时,预设图像的亮度值Lux_index越低,而在当前拍摄场景的环境亮度值越低时,预设图像的亮度值Lux_index越高。In the embodiment of the present disclosure, the brightness value of the preset image corresponding to the current shooting scene can be obtained by metering the center area of the preview image, and the brightness value is marked as Lux_index. It should be noted that the brightness value Lux_index of the preset image and the current shooting scene The environment brightness value of the camera is inversely proportional. When the environment brightness value of the current shooting scene is higher, the preset image brightness value Lux_index is lower, and when the environment brightness value of the current shooting scene is lower, the preset image brightness value Lux_index is lower. The higher.
可选地,在预览图像中心区域测光得到预览图像的亮度值后,可以将该亮度值与预设阈值进行比较,当亮度值大于预设阈值时,表明当前环境亮度较低,此时,可以触发步骤104。Optionally, after the brightness value of the preview image is obtained through metering in the center area of the preview image, the brightness value may be compared with a preset threshold value. When the brightness value is greater than the preset threshold value, it indicates that the current environment brightness is low. At this time, Step 104 may be triggered.
步骤104,如果亮度值大于预设阈值,则进一步判断是否产生抖动。In step 104, if the brightness value is greater than a preset threshold, it is further determined whether jitter is generated.
本公开实施例中,在亮度值大于预设阈值时,可以判断成像设备是否发生抖动。可选地,可以通过成像设备设置的位移传感器,采集得到成像设备在拍摄过程中的位移信息,进而根据获取的位移信息,确定成像设备是否产生抖动。In the embodiment of the present disclosure, when the brightness value is greater than a preset threshold, it can be determined whether the imaging device shakes. Optionally, the displacement information provided by the imaging device can be used to collect the displacement information of the imaging device during shooting, and then determine whether the imaging device generates a shake based on the obtained displacement information.
例如,可以通过获取电子设备当前的陀螺仪(Gyro-sensor)信息,确定成像设备是否发生抖动,以及成像设备当前的抖动程度。For example, the current gyro sensor information of the electronic device can be used to determine whether the imaging device shakes and the current degree of shake of the imaging device.
其中,陀螺仪又叫角速度传感器,可以测量物理量偏转、倾斜时的转动角速度。在成像设备中,陀螺仪可以很好的测量转动、偏转的动作,从而可以精确分析判断出使用者的实际动作。电子设备的陀螺仪信息(gyro信息)可以包括成像设备在三维空间中三个维度方向上的运动信息,三维空间的三个维度可以分别表示为X轴、Y轴、Z轴三个方向,其中,X轴、Y轴、Z轴为两两垂直关系。Among them, the gyroscope is also called angular velocity sensor, which can measure the rotational angular velocity when the physical quantity is deflected and tilted. In the imaging equipment, the gyroscope can measure the movements 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 motion information of the imaging device in three dimensions in the three-dimensional space, and the three dimensions of the three-dimensional space may be expressed as the three directions of the X-axis, Y-axis, and Z-axis, respectively. , X-axis, Y-axis, and Z-axis are perpendicular to each other.
由此,本公开实施例中,可以根据电子设备当前的gyro信息,确定成像设备是否发生抖动,以及成像设备当前的抖动程度。电子设备在三个方向上的gyro运动的绝对值越大,则成像设备的抖动程度越大。具体的,可以预设在三个方向上gyro运动的绝对值阈值,并根据获取到的当前在三个方向上的gyro运动的绝对值之和,与预设的阈值的关系,确定成像设备的当前的抖动程度。Therefore, in the embodiments of the present disclosure, it can be determined whether the imaging device shakes and the current degree of shake of the imaging device according to the current gyro information of the electronic device. The greater the absolute value of the gyro movement of the electronic device in the three directions, the greater the degree of jitter of the imaging device. Specifically, the absolute value threshold of the gyro motion in the three directions can be preset, and the relationship between the absolute value of the currently acquired gyro motion in the three directions and the preset threshold is used to determine the imaging device's The current degree of jitter.
举例来说,假设预设的阈值为第一阈值A、第二阈值B、第三阈值C,且A<B<C,当前获取到的在三个方向上gyro运动的绝对值之和为S。若S<A,则确定成像设备当前的抖动程度为“无抖动”;若A<S<B,则可以确定成像设备当前的抖动程度为“轻微抖动”;若B<S<C,则可以确定成像设备当前的抖动程度为“小抖动”;若S>C,则可以确定成像设备当前的抖动程度为“大抖动”。For example, suppose 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, then determine the current jitter of the imaging device as “no jitter”; if A <S <B, you can determine the current jitter of the imaging device as “slight jitter”; if B <S <C, you can It is determined that the current jitter level of the imaging device is "small jitter"; if S> C, it can be determined that the current jitter level of the imaging device is "large jitter".
需要说明的是,上述举例仅为示例性的,不能视为对本公开的限制。实际使用时,可以根据实际需要预设阈值的数量和各阈值的具体数值,以及根据gyro信息与各阈值的关系,预设gyro信息与成像设备抖动程度的映射关系。It should be noted that the above examples are merely exemplary and cannot be regarded as limiting the present disclosure. In actual use, 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 jitter of the imaging device can be preset according to the relationship between the gyro information and each threshold.
步骤105,如果未产生抖动,则采用脚架拍摄模式在超级夜景模式下进行拍摄。In step 105, if jitter is not generated, shooting is performed in a super night scene mode by using a tripod shooting mode.
本公开实施例中,在成像设备未发生抖动时,表明当前成像设备处于稳定状态拍摄图像,因此,可以采用脚架拍摄模式在超级夜景模式下进行拍摄。在脚架拍摄模式下,拍摄时长较长,可以提升拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。In the embodiment of the present disclosure, when the imaging device does not shake, it indicates that the current imaging device is in a stable state to capture an image, and therefore, a tripod shooting mode can be used for shooting in a super night scene mode. In the tripod shooting mode, the shooting time is longer, which can improve 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.
本公开实施例的超级夜景模式下的拍摄控制方法,通过开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果,当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式,在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值,若是,则进一步判断是否产生抖动,若未产生抖动,则采用脚架拍摄模式在超级夜景模式下进行拍摄。本公开中,在当前拍摄场景为夜景场景或人像夜景场景时,可以根据预览图像的亮度值和成像设备是否发生抖动,确定采用该拍摄场景下对应的拍摄模式进行拍摄,可以提升夜景拍摄模式下拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。According to the shooting control method in the super night scene mode of the embodiment of the present disclosure, by turning on the shooting scene detection function and obtaining the scene detection result corresponding to the current shooting scene, when the scene detection result is a night scene or portrait night scene scene, start the super night scene mode In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. . In the present disclosure, when the current shooting scene is a night scene or a portrait night scene, according to the brightness value of the preview image and whether the imaging device shakes, it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode. The dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
为了清楚说明上述实施例,本公开提供了另一种超级夜景模式下的拍摄控制方法,图2为本公开实施例二所提供的超级夜景模式下的拍摄控制方法的流程示意图。In order to clearly explain the foregoing embodiment, the present disclosure provides another shooting control method in a super night scene mode. FIG. 2 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 2 of the present disclosure.
如图2所示,该超级夜景模式下的拍摄控制方法可以包括以下步骤:As shown in FIG. 2, the shooting control method in the super night scene mode may include the following steps:
步骤201,开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果。Step 201: Turn on a shooting scene detection function, and obtain a scene detection result corresponding to a current shooting scene.
步骤202,当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式。Step 202: When the scene detection result is a night scene or a portrait night scene, start a super night scene mode.
步骤203,在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值,若是,执行步骤205,若否,执行步骤204。Step 203: In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If yes, go to step 205; if not, go to step 204.
步骤204,采用HDR拍摄模式进行拍摄。In step 204, shooting is performed in an HDR shooting mode.
本公开实施例中,在当前拍摄场景对应的预览图像的亮度值小于等于预设阈值时,表明当前拍摄环境亮度较亮,此时,可以采用HDR拍摄模式进行拍摄。由此,可以避免白天开启夜景模式,提成成像质量和成像效果。In the embodiment of the present disclosure, when the brightness value of the preview image corresponding to the current shooting scene is less than or equal to a preset threshold, it indicates that the brightness of the current shooting environment is bright. At this time, the HDR shooting mode can be used for shooting. Therefore, it is possible to avoid turning on the night scene mode during the day, and to improve the imaging quality and imaging effect.
具体地,可以采用长曝光时长,控制成像设备采集一张长曝光图像,采用中曝光时长,控制成像设备采集一张中曝光图像,以及采用短曝光时长,控制成像设备采集一张短曝光图像,而后将长曝光图像、中曝光图像、短曝光图像进行合成,得到目标图像。Specifically, the long exposure time can be used to control the imaging device to acquire a long exposure image, the medium exposure time can be used to control the imaging device to acquire a medium exposure image, and the short exposure time can be used to control the imaging device to acquire a short exposure image, Then, the long exposure image, the middle exposure image, and the short exposure image are combined to obtain a target image.
步骤205,判断是否产生抖动,若是,执行步骤207,若否,执行步骤206。In step 205, it is determined whether jitter is generated. If yes, go to step 207, and if no, go to step 206.
步骤206,采用脚架拍摄模式在超级夜景模式下进行拍摄。Step 206: Use a tripod shooting mode to shoot in the super night scene mode.
本公开实施例中,在成像设备未发生抖动时,表明当前成像设备处于稳定状态拍摄图像,因此,可以采用脚架拍摄模式在超级夜景模式下进行拍摄。在脚架拍摄模式下,拍摄时长较长,可以提升拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。In the embodiment of the present disclosure, when the imaging device does not shake, it indicates that the current imaging device is in a stable state to capture an image, and therefore, a tripod shooting mode can be used for shooting in a super night scene mode. In the tripod shooting mode, the shooting time is longer, which can improve 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.
可选地,可以预先设置脚架拍摄模式所需采集的图像帧数,以及各帧待采集图像对应的曝光补偿值。例如,脚架拍摄模式所需采集的图像帧数可以为17帧,各帧待采集图像对应的曝光补偿值的EV值范围可以为:-6至+2。Optionally, the number of image frames to be acquired in the tripod shooting mode and the exposure compensation value corresponding to the images to be acquired in each frame can be set in advance. For example, the number of image frames to be acquired in the tripod shooting mode may be 17 frames, and the range of EV values of the exposure compensation values corresponding to the images to be acquired in each frame may be: -6 to +2.
需要说明的是,EV+1的曝光补偿是指相对于成像设备测光数据对应的曝光量增加一档曝光,即实际曝光量为测光数据对应的曝光量的两倍,EV-1是指减少一档曝光,即曝光量为为测光数据对应的曝光量的0.5倍。It should be noted that EV + 1 exposure compensation refers to an increase of one exposure relative to the exposure amount corresponding to the metering data of the imaging device, that is, the actual exposure amount is twice the exposure amount corresponding to the metering data. EV-1 refers to Reduce the exposure by one stop, that is, the exposure amount is 0.5 times the exposure amount corresponding to the metering data.
步骤207,判断预览图像中是否存在人脸感兴趣区域,若是,执行步骤208,若否,执行步骤209。In step 207, it is determined whether there is a region of interest in the face in the preview image. If yes, step 208 is performed, and if no, step 209 is performed.
本公开实施例中,在成像设备发生抖动时,表明当前成像设备未处于稳定状态拍摄图像,此时,不宜采用较为平稳的脚架拍摄模式。可以进一步判断预览图像中是否存在人脸感兴趣区域。可选地,可以基于人脸识别技术,确定预览图像中是否存在人脸感兴趣区域。在预览图像中存在人脸感兴趣区域时,可以触发步骤208,而在预览图像中未存在人脸感兴趣区域时,可以触发步骤209。In the embodiment of the present disclosure, when the imaging device shakes, it indicates that the current imaging device is not in a stable state to capture images. At this time, it is not suitable to use a relatively stable tripod shooting mode. It can be further judged whether a region of interest in the face exists in the preview image. Optionally, it can be determined whether a region of interest in the face exists in the preview image based on the face recognition technology. When the region of interest of the face exists in the preview image, step 208 may be triggered, and when the region of interest of the face does not exist in the preview image, step 209 may be triggered.
步骤208,采用人像拍摄模式在超级夜景模式下进行拍摄。Step 208: Use the portrait shooting mode to shoot in the super night scene mode.
本公开实施例中,在成像设备发生抖动,且预览图像中存在人脸感兴趣区域时,可以采用人像拍摄模式在超级夜景模式下进行拍摄。在人像拍摄模式下,拍摄时间短, 可以针对人像夜景做针对性的图像处理,提升夜景拍摄图像的质量。In the embodiment of the present disclosure, when the imaging device shakes and a region of interest of a human face exists in the preview image, the portrait shooting mode can be used to shoot in the super night scene mode. In the portrait shooting mode, the shooting time is short, and targeted image processing can be performed for portrait night scenes to improve the quality of night scene shot images.
可选地,可以预先设置人像拍摄模式所需采集的图像帧数,以及各帧待采集图像对应的曝光补偿值。例如,人像拍摄模式所需采集的图像帧数可以为7帧,各帧待采集图像对应的曝光补偿值的EV值范围可以为:-6至+0。Optionally, the number of image frames to be acquired in the portrait shooting mode and the exposure compensation value corresponding to the images to be acquired in each frame may be set in advance. For example, the number of image frames to be acquired in the portrait shooting mode may be 7 frames, and the range of EV values of the exposure compensation values corresponding to the images to be acquired in each frame may be: -6 to +0.
需要说明的是,当成像设备的抖动程度不同时,人像拍摄模式对应的拍摄参数可以不同。例如,可以将成像设备的抖动程度为“无抖动”时,各帧待采集图像对应的曝光补偿值的EV值范围预设为-6至+0,且相邻的EV值之间的差值为0.5;将成像设备的抖动程度为“轻微抖动”,各帧待采集图像对应的曝光补偿值的EV值范围预设为-5至-1,且相邻的EV值之间的差值为1,等等。It should be noted that when the degree of jitter of the imaging device is different, the shooting parameters corresponding to the portrait shooting mode may be different. For example, when the degree of jitter of the imaging device is "no jitter", the range of EV values of the exposure compensation values corresponding to the images to be acquired for each frame is preset to -6 to +0, and the difference between adjacent EV values Is 0.5; the jitter level of the imaging device is "slightly jittered", the EV value range of the exposure compensation value corresponding to each frame of the image to be acquired is preset to -5 to -1, and the difference between adjacent EV values is 1, wait.
步骤209,采用手持拍摄模式在超级夜景模式下进行拍摄。Step 209: Use the handheld shooting mode to shoot in the super night scene mode.
本公开实施例中,在成像设备发生抖动,且预览图像中未存在人脸感兴趣区域时,可以采用手持拍摄模式在超级夜景模式下进行拍摄。在手持拍摄模式下,拍摄时间短,可以提升拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。In the embodiment of the present disclosure, when the imaging device shakes and there is no region of interest in the face in the preview image, the handheld shooting mode can be used to shoot in the super night scene mode. In the handheld shooting mode, the shooting time is short, which can improve 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.
可选地,可以预先设置手持拍摄模式所需采集的图像帧数,以及各帧待采集图像对应的曝光补偿值。例如,手持拍摄模式所需采集的图像帧数可以为7帧,各帧待采集图像对应的曝光补偿值的EV值范围可以为:-6至+1。Optionally, the number of image frames to be acquired and the exposure compensation value corresponding to the images to be acquired in each frame can be set in advance. For example, the number of image frames to be acquired in the handheld shooting mode may be 7 frames, and the EV value range of the exposure compensation value corresponding to the image to be acquired in each frame may be: -6 to +1.
需要说明的是,当成像设备的抖动程度不同时,手持拍摄模式对应的拍摄参数可以不同。例如,可以将成像设备的抖动程度为“无抖动”时,各帧待采集图像对应的曝光补偿值的EV值范围预设为-6至+1,且相邻的EV值之间的差值为0.5;将成像设备的抖动程度为“轻微抖动”,各帧待采集图像对应的曝光补偿值的EV值范围预设为-5至+0,且相邻的EV值之间的差值为1,等等。It should be noted that when the shaking degree of the imaging device is different, the shooting parameters corresponding to the handheld shooting mode may be different. For example, when the degree of jitter of the imaging device is "no jitter", the range of EV values of the exposure compensation values corresponding to the images to be acquired for each frame is preset to -6 to +1, and the difference between adjacent EV values Is 0.5; the jitter level of the imaging device is "slight jitter", the EV value range of the exposure compensation value corresponding to each frame of the image to be acquired is preset to -5 to +0, and the difference between adjacent EV values is 1, wait.
本公开实施例的超级夜景模式下的拍摄控制方法,通过根据预览图像的亮度值和成像设备是否发生抖动,确定采用该拍摄场景下对应的拍摄模式进行拍摄,可以提升夜景拍摄模式下拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。According to the shooting control method in the super night scene mode of the embodiment of the present disclosure, by determining the shooting mode corresponding to the shooting scene according to the brightness value of the preview image and whether the imaging device shakes, the shooting of the image in the night scene shooting mode can be improved. Dynamic range and overall brightness, and effectively suppress the noise in the captured image, improve the quality of the night scene captured image, and improve the user experience.
现有技术中,通过拍摄图像的ISO值和曝光时间来确定当前拍摄场景,具体地,通过设置曝光时间固定,当ISO值越大时,表明当前拍摄场景越暗,此时,可以确定当前拍摄场景为夜景模式。In the prior art, the current shooting scene is determined by the ISO value and exposure time of the captured image. Specifically, by setting the exposure time to be fixed, when the ISO value is larger, it indicates that the current shooting scene is darker. At this time, the current shooting scene can be determined. The scene is in night mode.
这种方式下,对于一些较为复杂的场景,容易造成识别结果的准确率较低的问题,例如,当霓虹灯、大屏幕或这灯光直射引起镜头冲光时,极易造成误识别的情况。In this way, for some more complicated scenes, it is easy to cause the problem of low accuracy of the recognition result. For example, when a neon light, a large screen, or the direct light of the light causes the lens to flush, it is easy to cause misrecognition.
本公开实施例中,为了提升场景检测结果的准确性,可以基于机器学习的方式, 对当前拍摄场景进行识别。下面结合图2,对上述过程进行详细说明。In the embodiment of the present disclosure, in order to improve the accuracy of the scene detection result, the current shooting scene may be identified based on a machine learning manner. The above process is described in detail below with reference to FIG. 2.
图3为本公开实施例三所提供的超级夜景模式下的拍摄控制方法的流程示意图。FIG. 3 is a schematic flowchart of a shooting control method in a super night scene mode provided in Embodiment 3 of the present disclosure.
如图3所示,步骤101具体可以包括以下子步骤:As shown in FIG. 3, step 101 may specifically include the following sub-steps:
步骤301,获取当前拍摄场景对应的预览图像,并提取预览图像的图像特征。Step 301: Obtain a preview image corresponding to the current shooting scene, and extract image features of the preview image.
本公开实施例中,可以通过成像设备获取当前拍摄场景对应的预览图像,而后可以基于图像特征提取技术、关键点识别等技术,提取预览图像的图像特征。In the embodiment of the present disclosure, a preview image corresponding to a current shooting scene may be obtained through an imaging device, and then image features of the preview image may be extracted based on technologies such as image feature extraction technology and key point recognition.
步骤302,将图像特征输入至预先建立的场景识别模型,以识别出当前拍摄场景对应的场景检测结果。Step 302: Input image features into a pre-established scene recognition model to identify a scene detection result corresponding to the current shooting scene.
本公开实施例中,场景识别模型为经过训练后的模型。In the embodiment of the present disclosure, the scene recognition model is a trained model.
作为一种可能的实现方式,可以预先采集不同的拍摄场景对应的样本图像,而后对样本图像的拍摄场景进行标注,利用标注后的样本图像,对场景识别模型进行训练,可以得到训练后的场景识别模型。从而在得到预览图像的图像特征后,可以将上述预览图像的图像特征输入至训练后的场景识别模型,即可以得到当前拍摄场景对应的场景检测结果。As a possible implementation manner, sample images corresponding to different shooting scenes can be collected in advance, and then the shooting scenes of the sample images are labeled. Using the labeled sample images, the scene recognition model is trained to obtain a trained scene. Identify the model. Therefore, after obtaining the image features of the preview image, the image features of the preview image can be input to the trained scene recognition model, and the scene detection result corresponding to the current shooting scene can be obtained.
作为另一种可能的实现方式,可以采集拍摄场景样本信息,并对场景样本信息进行特征描述和定义,而后将特征描述和定义后的场景样本信息输入至深度神经网络进行训练,可以生成场景识别模型。从而在得到预览图像的图像特征后,可以将上述预览图像的图像特征输入至训练后的场景识别模型,即可以得到当前拍摄场景对应的场景检测结果。As another possible implementation manner, sample scene information can be collected, and the scene sample information can be characterized and defined, and then the feature description and the defined scene sample information can be input to a deep neural network for training, and scene recognition can be generated. model. Therefore, after obtaining the image features of the preview image, the image features of the preview image can be input to the trained scene recognition model, and the scene detection result corresponding to the current shooting scene can be obtained.
本公开实施例的超级夜景模式下的拍摄控制方法,通过基于机器学习的方式,确定当前拍摄场景,可以提升场景检测结果的准确性。The shooting control method in the super night scene mode according to the embodiment of the present disclosure can improve the accuracy of the scene detection result by determining the current shooting scene based on the method of machine learning.
作为一种可能的实现方式,参见图4,在超级夜景模式下进行拍摄之后,该超级夜景模式下的拍摄控制方法还可以包括以下步骤:As a possible implementation manner, referring to FIG. 4, after shooting in the super night scene mode, the shooting control method in the super night scene mode may further include the following steps:
步骤401,拍摄获取多帧RAW图像。In step 401, multiple frames of RAW images are captured and acquired.
本公开实施例中,可以通过图像传感器,采集多帧原始RAW图像。In the embodiment of the present disclosure, multiple frames of original RAW images can be acquired by an image sensor.
步骤402,利用图像处理器ISP对多帧RAW图像进行处理,以生成拍摄图像。Step 402: Use the image processor ISP to process multiple frames of RAW images to generate a captured image.
本公开实施例中,在拍摄得到多帧RAW图像后,还可以利用图像处理器对多帧RAW图像进行处理,例如,可以为了提升拍摄图像质量,可以对多帧RAW图像进行处理进行对齐处理、降噪处理等等,而后基于预先设置的每帧RAW图像对应的权重值,对处理后的多帧RAW图像进行合成处理,得到拍摄图像。In the embodiment of the present disclosure, after obtaining multiple frames of RAW images, an image processor may be used to process the multiple frames of RAW images. For example, in order to improve the quality of captured images, multiple frames of RAW images may be processed for alignment processing, Noise reduction processing, etc., and then based on a preset weight value corresponding to each frame of RAW image, synthesis processing is performed on the processed multiple frames of RAW image to obtain a captured image.
为了实现上述实施例,本公开还提出一种超级夜景模式下的拍摄控制装置。In order to implement the above embodiments, the present disclosure also proposes a shooting control device in a super night scene mode.
图5为本公开实施例五所提供的超级夜景模式下的拍摄控制装置的结构示意图。FIG. 5 is a schematic structural diagram of a shooting control device in a super night scene mode provided in Embodiment 5 of the present disclosure.
如图5所示,该超级夜景模式下的拍摄控制装置100可以包括:获取模块101、启动模块102、第一判断模块103、第二判断模块104,以及拍摄模块105。As shown in FIG. 5, the shooting control device 100 in the super night scene mode may include: an acquisition module 101, a startup module 102, a first determination module 103, a second determination module 104, and a photography module 105.
其中,获取模块101,用于开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果。The obtaining module 101 is configured to enable a shooting scene detection function and obtain a scene detection result corresponding to a current shooting scene.
作为一种可能的实现方式,获取模块101,具体用于:获取当前拍摄场景对应的预览图像,并提取预览图像的图像特征;将图像特征输入至预先建立的场景识别模型,以识别出当前拍摄场景对应的场景检测结果。As a possible implementation manner, the obtaining module 101 is specifically configured to: obtain a preview image corresponding to the current shooting scene, and extract image features of the preview image; input the image features into a pre-established scene recognition model to identify the current shooting Scene detection result corresponding to the scene.
启动模块102,用于当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式。A starting module 102 is configured to start a super night scene mode when a scene detection result is a night scene or a portrait night scene.
第一判断模块103,用于在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值。The first determining module 103 is configured to determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode.
作为一种可能的实现方式,当前拍摄场景对应的预览图像的亮度值与当前拍摄场景的环境亮度值成反比关系。As a possible implementation manner, the brightness value of the preview image corresponding to the current shooting scene is inversely proportional to the environment brightness value of the current shooting scene.
第二判断模块104,用于如果亮度值大于预设阈值,则进一步判断是否产生抖动。The second determination module 104 is configured to further determine whether jitter is generated if the brightness value is greater than a preset threshold.
拍摄模块105,用于如果未产生抖动,则采用脚架拍摄模式在超级夜景模式下进行拍摄。The shooting module 105 is configured to use a tripod shooting mode to shoot in a super night scene mode if no shake occurs.
作为一种可能的实现方式,拍摄模块105,还用于:如果亮度值小于预设阈值,则采用HDR拍摄模式在超级夜景模式下进行拍摄。As a possible implementation manner, the shooting module 105 is further configured to: if the brightness value is less than a preset threshold, use the HDR shooting mode to shoot in the super night scene mode.
作为另一种可能的实现方式,拍摄模块105,还用于:如果不存在人脸感兴趣区域,则采用手持拍摄模式在超级夜景模式下进行拍摄。As another possible implementation manner, the shooting module 105 is further configured to: if there is no region of interest of the human face, use the handheld shooting mode to shoot in the super night scene mode.
作为一种可能的实现方式,该超级夜景模式下的拍摄控制装置100还可以包括:As a possible implementation manner, the shooting control apparatus 100 in the super night scene mode may further include:
第三判断模块,用于如果产生抖动,则进一步判断预览图像中是否存在人脸感兴趣区域。A third determining module is configured to further determine whether a region of interest of a human face exists in the preview image if jitter occurs.
拍摄模块105,还用于如果存在人脸感兴趣区域,则采用人像拍摄模式在超级夜景模式下进行拍摄。The shooting module 105 is further configured to use a portrait shooting mode to shoot in a super night scene mode if there is an area of interest in the human face.
第一采集模块,用于采集拍摄场景样本信息,并对场景样本信息进行特征描述和定义。The first acquisition module is configured to collect scene sample information, and describe and define the scene sample information.
第一训练模块,用于将特征描述和定义后的场景样本信息输入至深度神经网络进行训练,并生成场景识别模型。A first training module is configured to input feature description and defined scene sample information to a deep neural network for training, and generate a scene recognition model.
第二采集模块,用于采集不同的拍摄场景对应的样本图像。The second acquisition module is configured to acquire sample images corresponding to different shooting scenes.
标注模块,用于对样本图像的拍摄场景进行标注。The labeling module is used for labeling the shooting scene of the sample image.
第二训练模块,用于利用标注后的样本图像,对场景识别模型进行训练,得到训练后的场景识别模型。The second training module is used to train the scene recognition model using the labeled sample images to obtain a trained scene recognition model.
输出模块,用于在超级夜景模式下进行拍摄之后,拍摄获取多帧RAW图像,并利用图像处理器ISP对多帧RAW图像进行处理,以生成拍摄图像。An output module is configured to capture multiple frames of RAW images after shooting in the super night scene mode, and use the image processor ISP to process the multiple frames of RAW images to generate captured images.
需要说明的是,前述对超级夜景模式下的拍摄控制方法实施例的解释说明也适用于该实施例对超级夜景模式下的拍摄控制装置100,此处不做赘述。It should be noted that the foregoing explanation of the embodiment of the method for shooting control in the super night scene mode is also applicable to the shooting control device 100 in the super night scene mode in this embodiment, and details are not described herein.
本公开实施例的超级夜景模式下的拍摄控制装置,通过开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果,当场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式,在超级夜景模式下,判断当前拍摄场景对应的预览图像的亮度值是否大于预设阈值,若是,则进一步判断是否产生抖动,若未产生抖动,则采用脚架拍摄模式在超级夜景模式下进行拍摄。本公开中,在当前拍摄场景为夜景场景或人像夜景场景时,可以根据预览图像的亮度值和成像设备是否发生抖动,确定采用该拍摄场景下对应的拍摄模式进行拍摄,可以提升夜景拍摄模式下拍摄图像的动态范围和整体亮度,而且有效抑制了拍摄图像中的噪声,提高了夜景拍摄图像的质量,改善了用户体验。The shooting control device in the super night scene mode of the embodiment of the present disclosure starts the shooting scene detection function and obtains the scene detection result corresponding to the current shooting scene. When the scene detection result is a night scene or a portrait night scene scene, the super night scene mode is activated, In the super night scene mode, determine whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold. If it is, then further determine whether shake occurs. If no shake occurs, use a tripod shooting mode to shoot in the super night scene mode. . In the present disclosure, when the current shooting scene is a night scene or a portrait night scene, according to the brightness value of the preview image and whether the imaging device shakes, it can be determined to shoot in the corresponding shooting mode in the shooting scene, which can improve the night scene shooting mode. The dynamic range and overall brightness of the captured image, and the noise in the captured image is effectively suppressed, the quality of the night scene captured image is improved, and the user experience is improved.
为了实现上述实施例,本公开还提出一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时,实现如上述实施例的超级夜景模式下的拍摄控制方法。In order to implement the above embodiments, the present disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. Shooting control method in night scene mode.
请参阅图6,本公开还提供另一种电子设备200。电子设备200包括存储器50和处理器60。存储器50中存储有计算机可读指令。计算机可读指令被存储器50执行时,使得处理器60执行上述任一实施方式的对超级夜景模式下的拍摄控制方法。Referring to FIG. 6, the present disclosure also provides another electronic device 200. The electronic device 200 includes a memory 50 and a processor 60. The memory 50 stores computer-readable instructions. When the computer-readable instructions are executed by the memory 50, the processor 60 is caused to execute the shooting control method in the super night scene mode according to any one of the foregoing embodiments.
图6为一个实施例中电子设备200的内部结构示意图。该电子设备200包括通过系统总线81连接的处理器60、存储器50(例如为非易失性存储介质)、内存储器82、显示屏83和输入装置84。其中,电子设备200的存储器50存储有操作系统和计算机可读指令。该计算机可读指令可被处理器60执行,以实现本公开实施方式的超级夜景模式下的拍摄控制方法。该处理器60用于提供计算和控制能力,支撑整个电子设备200的运行。电子设备200的内存储器50为存储器52中的计算机可读指令的运行提供环境。电子设备200的显示屏83可以是液晶显示屏或者电子墨水显示屏等,输入装置84可以是显示屏83上覆盖的触摸层,也可以是电子设备200外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该电子设备200可以是手机、平板电脑、笔记本电脑、个人数字 助理或穿戴式设备(例如智能手环、智能手表、智能头盔、智能眼镜)等。本领域技术人员可以理解,图6中示出的结构,仅仅是与本公开方案相关的部分结构的示意图,并不构成对本公开方案所应用于其上的电子设备200的限定,具体的电子设备200可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 6 is a schematic diagram of the internal structure of the electronic device 200 in one embodiment. The electronic device 200 includes a processor 60, a memory 50 (for example, a non-volatile storage medium), an internal memory 82, a display screen 83, and an input device 84 connected through a system bus 81. The memory 50 of the electronic device 200 stores an operating system and computer-readable instructions. The computer-readable instructions can be executed by the processor 60 to implement a shooting control method in a super night scene mode according to an embodiment of the present disclosure. The processor 60 is used to provide computing and control capabilities to support the operation of the entire electronic device 200. The internal memory 50 of the electronic device 200 provides an environment for execution of computer-readable instructions in the memory 52. The display screen 83 of the electronic device 200 may be a liquid crystal display or an electronic ink display. 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 200. Board, which can also be an external keyboard, trackpad, or mouse. The electronic device 200 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. 6 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 200 to which the solution of the present disclosure is applied. 200 may include more or fewer components than shown in the figure, or some components may be combined, or have different component arrangements.
请参阅图7,本公开实施例的电子设备200中包括图像处理电路90,图像处理电路90可利用硬件和/或软件组件实现,包括定义ISP(Image Signal Processing,图像信号处理)管线的各种处理单元。图7为一个实施例中图像处理电路90的示意图。如图7所示,为便于说明,仅示出与本公开实施例相关的图像处理技术的各个方面。Referring to FIG. 7, the electronic device 200 according to the embodiment of the present disclosure includes an image processing circuit 90. The image processing circuit 90 may be implemented by using hardware and / or software components, including various types of defining an ISP (Image Signal Processing) pipeline Processing unit. FIG. 7 is a schematic diagram of an image processing circuit 90 in one embodiment. As shown in FIG. 7, for convenience of explanation, only various aspects of the image processing technology related to the embodiments of the present disclosure are shown.
如图7所示,图像处理电路90包括ISP处理器91(ISP处理器91可为处理器60)和控制逻辑器92。摄像头93捕捉的图像数据首先由ISP处理器91处理,ISP处理器91对图像数据进行分析以捕捉可用于确定摄像头93的一个或多个控制参数的图像统计信息。摄像头93可包括一个或多个透镜932和图像传感器934。图像传感器934可包括色彩滤镜阵列(如Bayer滤镜),图像传感器934可获取每个成像像素捕捉的光强度和波长信息,并提供可由ISP处理器91处理的一组原始图像数据。传感器94(如陀螺仪)可基于传感器94接口类型把采集的图像处理的参数(如防抖参数)提供给ISP处理器91。传感器94接口可以为SMIA(Standard Mobile Imaging Architecture,标准移动成像架构)接口、其它串行或并行照相机接口或上述接口的组合。As shown in FIG. 7, the image processing circuit 90 includes an ISP processor 91 (the ISP processor 91 may be the processor 60) 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 93 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.
此外,图像传感器934也可将原始图像数据发送给传感器94,传感器94可基于传感器94接口类型把原始图像数据提供给ISP处理器91,或者传感器94将原始图像数据存储到图像存储器95中。In addition, 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.
ISP处理器91按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,ISP处理器91可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。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.
ISP处理器91还可从图像存储器95接收图像数据。例如,传感器94接口将原始图像数据发送给图像存储器95,图像存储器95中的原始图像数据再提供给ISP处理器91以供处理。图像存储器95可为存储器50、存储器50的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。The ISP processor 91 may also receive image data from the image memory 95. For example, 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 an independent dedicated memory in the memory 50, a part of the memory 50, a storage device, or an electronic device, and may include a DMA (Direct Memory Access) feature.
当接收到来自图像传感器934接口或来自传感器94接口或来自图像存储器95的原始图像数据时,ISP处理器91可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器95,以便在被显示之前进行另外的处理。ISP处理器91从图像存 储器95接收处理数据,并对处理数据进行原始域中以及RGB和YCbCr颜色空间中的图像数据处理。ISP处理器91处理后的图像数据可输出给显示器97(显示器97可包括显示屏83),以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,ISP处理器91的输出还可发送给图像存储器95,且显示器97可从图像存储器95读取图像数据。在一个实施例中,图像存储器95可被配置为实现一个或多个帧缓冲器。此外,ISP处理器91的输出可发送给编码器/解码器96,以便编码/解码图像数据。编码的图像数据可被保存,并在显示于显示器97设备上之前解压缩。编码器/解码器96可由CPU或GPU或协处理器实现。When receiving raw image data from the image sensor 934 interface or from the sensor 94 interface or from the image memory 95, 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 processing data of 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). In addition, 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. In one embodiment, the image memory 95 may be configured to implement one or more frame buffers. In addition, 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.
ISP处理器91确定的统计数据可发送给控制逻辑器92单元。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、透镜932阴影校正等图像传感器934统计信息。控制逻辑器92可包括执行一个或多个例程(如固件)的处理元件和/或微控制器,一个或多个例程可根据接收的统计数据,确定摄像头93的控制参数及ISP处理器91的控制参数。例如,摄像头93的控制参数可包括传感器94控制参数(例如增益、曝光控制的积分时间、防抖参数等)、照相机闪光控制参数、透镜932控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及透镜932阴影校正参数。The statistical data determined by the ISP processor 91 may be sent to the control logic unit 92. For example, 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. For example, the 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.
以下为运用图7中图像处理技术实现对超级夜景模式下的拍摄控制方法的步骤:The following are the steps of using the image processing technology in Figure 7 to implement the shooting control method in the super night scene mode:
开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果;Enable the shooting scene detection function and obtain the scene detection result corresponding to the current shooting scene;
当所述场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式;When the scene detection result is a night scene or a portrait night scene, start a super night scene mode;
在所述超级夜景模式下,判断所述当前拍摄场景对应的预览图像的亮度值是否大于预设阈值;Determining whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode;
如果所述亮度值大于所述预设阈值,则进一步判断是否产生抖动;If the brightness value is greater than the preset threshold, further determining whether jitter is generated;
如果未产生抖动,则采用脚架拍摄模式在所述超级夜景模式下进行拍摄。If no shake is generated, shooting is performed in the super night scene mode by using a tripod shooting mode.
为了实现上述实施例,本公开还提出一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如上述实施例所述的对超级夜景模式下的拍摄控制方法。In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, the implementation in the super night scene mode according to the above embodiment is implemented Shooting control method.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特 征进行结合和组合。In the description of this specification, the description with reference to the terms “one embodiment”, “some embodiments”, “examples”, “specific examples”, or “some examples” and the like means specific features described in conjunction with the embodiments or examples , Structure, material, or characteristic is included in at least one embodiment or example of the present disclosure. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Moreover, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine different embodiments or examples described in the present specification and features of the different embodiments or examples without conflicting one another.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "a plurality" is at least two, for example, two, three, etc., unless it is specifically and specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for implementing steps of a custom logic function or process And, the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present disclosure belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得程序,然后将其存储在计算机存储器中。Logic and / or steps represented in a flowchart or otherwise described herein, for example, a sequenced list of executable instructions that may be considered to implement a logical function, may be embodied in any computer-readable medium, For use by, or in combination with, an instruction execution system, device, or device (such as a computer-based system, a system that includes a processor, or another system that can fetch and execute instructions from an instruction execution system, device, or device) Or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means if necessary Process to obtain the program electronically and then store it in computer memory.
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits with logic gates for implementing logic functions on data signals Logic circuits, ASICs with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods in the foregoing embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium. Including one or a combination of steps of a method embodiment.
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既 可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
上述提到的存储介质可为只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。The aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present disclosure. Those skilled in the art can understand the above within the scope of the present disclosure. Embodiments are subject to change, modification, substitution, and modification.
Claims (20)
- 一种超级夜景模式下的拍摄控制方法,其特征在于,包括:A shooting control method in a super night scene mode, which includes:开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果;Enable the shooting scene detection function and obtain the scene detection result corresponding to the current shooting scene;当所述场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式;When the scene detection result is a night scene or a portrait night scene, start a super night scene mode;在所述超级夜景模式下,判断所述当前拍摄场景对应的预览图像的亮度值是否大于预设阈值;Determining whether the brightness value of the preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode;如果所述亮度值大于所述预设阈值,则进一步判断是否产生抖动;If the brightness value is greater than the preset threshold, further determining whether jitter is generated;如果未产生抖动,则采用脚架拍摄模式在所述超级夜景模式下进行拍摄。If no shake is generated, shooting is performed in the super night scene mode by using a tripod shooting mode.
- 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1, further comprising:如果所述亮度值小于所述预设阈值,则采用HDR拍摄模式进行拍摄。If the brightness value is less than the preset threshold, shooting is performed in an HDR shooting mode.
- 如权利要求1或2所述的方法,其特征在于,还包括:The method according to claim 1 or 2, further comprising:如果产生抖动,则进一步判断所述预览图像中是否存在人脸感兴趣区域;If jitter occurs, further determining whether a region of interest of a face exists in the preview image;如果存在所述人脸感兴趣区域,则采用人像拍摄模式在所述超级夜景模式下进行拍摄。If the region of interest of the human face exists, the portrait shooting mode is used to shoot in the super night scene mode.
- 如权利要求3所述的方法,其特征在于,还包括:The method according to claim 3, further comprising:如果不存在所述人脸感兴趣区域,则采用手持拍摄模式在所述超级夜景模式下进行拍摄。If the region of interest of the human face does not exist, shooting is performed in the super night scene mode by using a handheld shooting mode.
- 如权利要求1-4任一项所述的方法,其特征在于,开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果,包括:The method according to any one of claims 1-4, wherein enabling a shooting scene detection function and obtaining a scene detection result corresponding to a current shooting scene comprises:获取所述当前拍摄场景对应的预览图像,并提取所述预览图像的图像特征;Acquiring a preview image corresponding to the current shooting scene, and extracting image characteristics of the preview image;将所述图像特征输入至预先建立的场景识别模型,以识别出所述当前拍摄场景对应的场景检测结果。The image features are input to a pre-established scene recognition model to identify a scene detection result corresponding to the current shooting scene.
- 如权利要求5所述的方法,其特征在于,还包括:The method according to claim 5, further comprising:采集拍摄场景样本信息,并对所述场景样本信息进行特征描述和定义;Collecting shooting scene sample information, and characterizing and defining the scene sample information;将特征描述和定义后的场景样本信息输入至深度神经网络进行训练,并生成所述场景识别模型。The scene description information after the feature description and definition is input to a deep neural network for training, and the scene recognition model is generated.
- 如权利要求5所述的方法,其特征在于,还包括:The method according to claim 5, further comprising:采集不同的拍摄场景对应的样本图像;Collect sample images corresponding to different shooting scenes;对所述样本图像的拍摄场景进行标注;Marking the shooting scene of the sample image;利用标注后的样本图像,对所述场景识别模型进行训练,得到训练后的场景识别模型。Using the labeled sample images, the scene recognition model is trained to obtain a trained scene recognition model.
- 如权利要求1-7任一项所述的方法,其特征在于,在所述超级夜景模式下进行拍摄之后,还包括:The method according to any one of claims 1-7, wherein after shooting in the super night scene mode, further comprising:拍摄获取多帧RAW图像;Capture multiple frames of RAW images;利用图像处理器ISP对所述多帧RAW图像进行处理,以生成拍摄图像。An image processor ISP is used to process the multi-frame RAW images to generate a captured image.
- 如权利要求1-8任一项所述的方法,其特征在于,所述当前拍摄场景对应的预览图像的亮度值与所述当前拍摄场景的环境亮度值成反比关系。The method according to any one of claims 1 to 8, wherein a brightness value of a preview image corresponding to the current shooting scene is inversely proportional to an environment brightness value of the current shooting scene.
- 一种超级夜景模式下的拍摄控制装置,其特征在于,包括:A shooting control device in a super night scene mode, which includes:获取模块,用于开启拍摄场景检测功能,并获取当前拍摄场景对应的场景检测结果;An acquisition module for enabling a shooting scene detection function and obtaining a scene detection result corresponding to a current shooting scene;启动模块,用于当所述场景检测结果为夜景场景或人像夜景场景时,启动超级夜景模式;A startup module, configured to start a super night scene mode when the scene detection result is a night scene or a portrait night scene;第一判断模块,用于在所述超级夜景模式下,判断所述当前拍摄场景对应的预览图像的亮度值是否大于预设阈值;A first determining module, configured to determine whether a brightness value of a preview image corresponding to the current shooting scene is greater than a preset threshold in the super night scene mode;第二判断模块,用于如果所述亮度值大于所述预设阈值,则进一步判断是否产生抖动;A second determining module, configured to further determine whether jitter occurs if the brightness value is greater than the preset threshold;拍摄模块,用于如果未产生抖动,则采用脚架拍摄模式在所述超级夜景模式下进行拍摄。A photographing module is configured to perform photographing in the super night scene mode by using a tripod photographing mode if no shake is generated.
- 如权利要求10所述的装置,其特征在于,所述拍摄模块,还用于:The device according to claim 10, wherein the photographing module is further configured to:如果所述亮度值小于所述预设阈值,则采用HDR拍摄模式在所述超级夜景模式下进行拍摄。If the brightness value is less than the preset threshold, shooting is performed in the super night scene mode using an HDR shooting mode.
- 如权利要求10或11所述的装置,其特征在于,还包括:The device according to claim 10 or 11, further comprising:第三判断模块,用于如果产生抖动,则进一步判断所述预览图像中是否存在人脸感兴趣区域;A third determining module, configured to further determine whether a region of interest of a face exists in the preview image if jitter occurs;所述拍摄模块,还用于如果存在所述人脸感兴趣区域,则采用人像拍摄模式在所述超级夜景模式下进行拍摄。The shooting module is further configured to use a portrait shooting mode to shoot in the super night scene mode if the region of interest of the face exists.
- 如权利要求12所述的装置,其特征在于,所述拍摄模块,还用于:The apparatus according to claim 12, wherein the photographing module is further configured to:如果不存在所述人脸感兴趣区域,则采用手持拍摄模式在所述超级夜景模式下进行拍摄。If the region of interest of the human face does not exist, shooting is performed in the super night scene mode by using a handheld shooting mode.
- 如权利要求10-13任一项所述的装置,其特征在于,所述获取模块,具体用于:The device according to any one of claims 10-13, wherein the obtaining module is specifically configured to:获取所述当前拍摄场景对应的预览图像,并提取所述预览图像的图像特征;Acquiring a preview image corresponding to the current shooting scene, and extracting image characteristics of the preview image;将所述图像特征输入至预先建立的场景识别模型,以识别出所述当前拍摄场景对应的场景检测结果。The image features are input to a pre-established scene recognition model to identify a scene detection result corresponding to the current shooting scene.
- 如权利要求14所述的装置,其特征在于,还包括:The apparatus according to claim 14, further comprising:第一采集模块,用于采集拍摄场景样本信息,并对所述场景样本信息进行特征描述和定义;A first acquisition module, configured to collect sample scene information and describe and define the scene sample information;第一训练模块,用于将特征描述和定义后的场景样本信息输入至深度神经网络进行训练,并生成所述场景识别模型。A first training module is configured to input feature description and defined scene sample information to a deep neural network for training, and generate the scene recognition model.
- 如权利要求14所述的装置,其特征在于,还包括:The apparatus according to claim 14, further comprising:第二采集模块,用于采集不同的拍摄场景对应的样本图像;A second acquisition module, configured to acquire sample images corresponding to different shooting scenes;标注模块,用于对所述样本图像的拍摄场景进行标注;A labeling module, configured to label the shooting scene of the sample image;第二训练模块,用于利用标注后的样本图像,对所述场景识别模型进行训练,得到训练后的场景识别模型。A second training module is configured to use the labeled sample images to train the scene recognition model to obtain a trained scene recognition model.
- 如权利要求10-16任一项所述的装置,其特征在于,还包括:The device according to any one of claims 10-16, further comprising:输出模块,用于在所述超级夜景模式下进行拍摄之后,拍摄获取多帧RAW图像,并利用图像处理器ISP对所述多帧RAW图像进行处理,以生成拍摄图像。An output module is configured to capture multiple frames of RAW images after shooting in the super night scene mode, and use an image processor ISP to process the multiple frames of RAW images to generate captured images.
- 如权利要求10-17任一项所述的装置,其特征在于,所述当前拍摄场景对应的预览图像的亮度值与所述当前拍摄场景的环境亮度值成反比关系。The device according to any one of claims 10 to 17, wherein a brightness value of a preview image corresponding to the current shooting scene is inversely proportional to an environment brightness value of the current shooting scene.
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器用于执行如权利要求1-9任一项所述的超级夜景模式下的拍摄控制方法。An electronic device includes a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor is configured to execute the super night scene according to any one of claims 1-9 Shooting control method in mode.
- 一种非临时性计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如权利要求1-9任一项所述的超级夜景模式下的拍摄控制方法。A non-transitory computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements a shooting control method in a super night scene mode according to any one of claims 1-9.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810962789.7A CN109068058B (en) | 2018-08-22 | 2018-08-22 | Shooting control method and device in super night scene mode and electronic equipment |
CN201810962789.7 | 2018-08-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020038087A1 true WO2020038087A1 (en) | 2020-02-27 |
Family
ID=64755770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/091541 WO2020038087A1 (en) | 2018-08-22 | 2019-06-17 | Method and apparatus for photographic control in super night scene mode and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109068058B (en) |
WO (1) | WO2020038087A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115334234A (en) * | 2022-07-01 | 2022-11-11 | 北京讯通安添通讯科技有限公司 | Method and device for supplementing image information by taking pictures in dark environment |
CN116320732A (en) * | 2023-04-18 | 2023-06-23 | 广州市宏视电子技术有限公司 | Solar camera control method and device, solar camera and storage medium |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068058B (en) * | 2018-08-22 | 2020-05-22 | Oppo广东移动通信有限公司 | Shooting control method and device in super night scene mode and electronic equipment |
CN109618102B (en) * | 2019-01-28 | 2021-08-31 | Oppo广东移动通信有限公司 | Focusing processing method and device, electronic equipment and storage medium |
CN110035141B (en) * | 2019-02-22 | 2021-07-09 | 华为技术有限公司 | Shooting method and equipment |
CN110264420B (en) * | 2019-06-13 | 2023-04-25 | Oppo广东移动通信有限公司 | Image processing method and device based on multi-frame images |
CN110891142A (en) * | 2019-10-15 | 2020-03-17 | 深圳酷派技术有限公司 | Night scene mode determining method and device, storage medium and terminal |
CN110958401B (en) * | 2019-12-16 | 2022-08-23 | 北京迈格威科技有限公司 | Super night scene image color correction method and device and electronic equipment |
CN111225153B (en) * | 2020-01-21 | 2021-08-06 | Oppo广东移动通信有限公司 | Image data processing method, image data processing device and mobile terminal |
CN111447371A (en) * | 2020-03-12 | 2020-07-24 | 努比亚技术有限公司 | Automatic exposure control method, terminal and computer readable storage medium |
CN111654594B (en) * | 2020-06-16 | 2022-05-17 | Oppo广东移动通信有限公司 | Image capturing method, image capturing apparatus, mobile terminal, and storage medium |
CN112150363B (en) * | 2020-09-29 | 2023-07-07 | 中科方寸知微(南京)科技有限公司 | Convolutional neural network-based image night scene processing method, computing module for operating method and readable storage medium |
CN113542591A (en) * | 2021-06-02 | 2021-10-22 | 惠州Tcl移动通信有限公司 | Time-lapse shooting processing method and device, mobile terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090051783A1 (en) * | 2007-08-23 | 2009-02-26 | Samsung Electronics Co., Ltd. | Apparatus and method of capturing images having optimized quality under night scene conditions |
CN101778220A (en) * | 2010-03-01 | 2010-07-14 | 华为终端有限公司 | Method for automatically switching over night scene mode and image pickup device |
CN103227896A (en) * | 2012-01-26 | 2013-07-31 | 佳能株式会社 | Electronic apparatus, electronic apparatus control method, and storage medium |
CN105323456A (en) * | 2014-12-16 | 2016-02-10 | 维沃移动通信有限公司 | Image previewing method for photographing device and image photographing device |
CN109068058A (en) * | 2018-08-22 | 2018-12-21 | Oppo广东移动通信有限公司 | Filming control method, device and electronic equipment under super night scene mode |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404495B (en) * | 2010-09-10 | 2014-03-12 | 华晶科技股份有限公司 | Method for adjusting shooting parameters of digital camera |
JP6062656B2 (en) * | 2012-05-02 | 2017-01-18 | キヤノン株式会社 | Imaging apparatus, control method, and program |
KR101810447B1 (en) * | 2013-07-23 | 2017-12-20 | 삼성전자주식회사 | Image photograghing apparatus and method thereof |
CN103841323A (en) * | 2014-02-20 | 2014-06-04 | 小米科技有限责任公司 | Shooting parameter allocation method and device and terminal device |
CN103945120B (en) * | 2014-03-17 | 2017-05-24 | 联想(北京)有限公司 | Electronic equipment and information processing method |
-
2018
- 2018-08-22 CN CN201810962789.7A patent/CN109068058B/en active Active
-
2019
- 2019-06-17 WO PCT/CN2019/091541 patent/WO2020038087A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090051783A1 (en) * | 2007-08-23 | 2009-02-26 | Samsung Electronics Co., Ltd. | Apparatus and method of capturing images having optimized quality under night scene conditions |
CN101778220A (en) * | 2010-03-01 | 2010-07-14 | 华为终端有限公司 | Method for automatically switching over night scene mode and image pickup device |
CN103227896A (en) * | 2012-01-26 | 2013-07-31 | 佳能株式会社 | Electronic apparatus, electronic apparatus control method, and storage medium |
CN105323456A (en) * | 2014-12-16 | 2016-02-10 | 维沃移动通信有限公司 | Image previewing method for photographing device and image photographing device |
CN109068058A (en) * | 2018-08-22 | 2018-12-21 | Oppo广东移动通信有限公司 | Filming control method, device and electronic equipment under super night scene mode |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115334234A (en) * | 2022-07-01 | 2022-11-11 | 北京讯通安添通讯科技有限公司 | Method and device for supplementing image information by taking pictures in dark environment |
CN115334234B (en) * | 2022-07-01 | 2024-03-29 | 北京讯通安添通讯科技有限公司 | Method and device for taking photo supplementary image information in dim light environment |
CN116320732A (en) * | 2023-04-18 | 2023-06-23 | 广州市宏视电子技术有限公司 | Solar camera control method and device, solar camera and storage medium |
CN116320732B (en) * | 2023-04-18 | 2023-12-05 | 广州市宏视电子技术有限公司 | Solar camera control method and device, solar camera and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109068058B (en) | 2020-05-22 |
CN109068058A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020038087A1 (en) | Method and apparatus for photographic control in super night scene mode and electronic device | |
KR102642993B1 (en) | Night scene photography methods, devices, electronic equipment, and storage media | |
US11582400B2 (en) | Method of image processing based on plurality of frames of images, electronic device, and storage medium | |
CN110072052B (en) | Image processing method and device based on multi-frame image and electronic equipment | |
WO2020038074A1 (en) | Exposure control method and apparatus, and electronic device | |
WO2020034737A1 (en) | Imaging control method, apparatus, electronic device, and computer-readable storage medium | |
WO2020103503A1 (en) | Night scene image processing method and apparatus, electronic device, and storage medium | |
WO2020038069A1 (en) | Exposure control method and device, and electronic apparatus | |
WO2020038072A1 (en) | Exposure control method and device, and electronic device | |
WO2020057199A1 (en) | Imaging method and device, and electronic device | |
CN109788207B (en) | Image synthesis method and device, electronic equipment and readable storage medium | |
US20200045219A1 (en) | Control method, control apparatus, imaging device, and electronic device | |
CN110290289B (en) | Image noise reduction method and device, electronic equipment and storage medium | |
WO2020057198A1 (en) | Image processing method and device, electronic device and storage medium | |
WO2020207261A1 (en) | Image processing method and apparatus based on multiple frames of images, and electronic device | |
CN109348088B (en) | Image noise reduction method and device, electronic equipment and computer readable storage medium | |
CN110191291B (en) | Image processing method and device based on multi-frame images | |
CN110166707B (en) | Image processing method, image processing apparatus, electronic device, and storage medium | |
WO2020034701A1 (en) | Imaging control method and apparatus, electronic device, and readable storage medium | |
WO2019105297A1 (en) | Image blurring method and apparatus, mobile device, and storage medium | |
US11233948B2 (en) | Exposure control method and device, and electronic device | |
CN109005369B (en) | Exposure control method, exposure control device, electronic apparatus, and computer-readable storage medium | |
WO2019105298A1 (en) | Image blurring processing method, device, mobile device and storage medium | |
WO2020029679A1 (en) | Control method and apparatus, imaging device, electronic device and readable storage medium | |
WO2020034702A1 (en) | Control method, device, electronic equipment and computer readable storage medium |
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: 19852576 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19852576 Country of ref document: EP Kind code of ref document: A1 |