CN112492216A - Shooting control method and shooting control device - Google Patents

Shooting control method and shooting control device Download PDF

Info

Publication number
CN112492216A
CN112492216A CN202011468204.XA CN202011468204A CN112492216A CN 112492216 A CN112492216 A CN 112492216A CN 202011468204 A CN202011468204 A CN 202011468204A CN 112492216 A CN112492216 A CN 112492216A
Authority
CN
China
Prior art keywords
image
shooting
target object
images
shooting scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011468204.XA
Other languages
Chinese (zh)
Other versions
CN112492216B (en
Inventor
段霞霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011468204.XA priority Critical patent/CN112492216B/en
Publication of CN112492216A publication Critical patent/CN112492216A/en
Application granted granted Critical
Publication of CN112492216B publication Critical patent/CN112492216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application provides a shooting control method and a shooting control device, and belongs to the technical field of shooting. The shooting control method comprises the following steps: acquiring a plurality of initial images of a shooting scene; obtaining a plurality of target object images of a target object in a shooting scene and obtaining a background object image of a background object in the shooting scene according to the plurality of initial images; and performing image synthesis on at least one of the target object images and the background object image to generate a shooting scene image of the shooting scene. Synthesizing a plurality of target object images according to the initial image, so that the problem of target object image blurring does not occur even if the target object moves in the shooting process; the background object image is synthesized by a plurality of images, so that the brightness of the background object image can be ensured, and the shooting effect of the detail image of the background object is improved.

Description

Shooting control method and shooting control device
Technical Field
The application belongs to the technical field of shooting, and particularly relates to a shooting control method and a shooting control device.
Background
People often use a mobile phone to take a picture when gathering or entertaining at night, and the inventor of the application finds that the method for obtaining more light incoming amount by prolonging the exposure time and further ensuring the brightness of the night scene image in the related art has the following disadvantages:
since the person is active and hardly remains still for a certain exposure time, simply extending the exposure time causes a problem of blurring of the image when the picture is taken.
Disclosure of Invention
An object of the embodiments of the present application is to provide a shooting control method, a shooting control apparatus, an electronic device, and a readable storage medium, which can solve the problem in the related art that a single extension of an exposure time can cause a blur in a portrait of a shot picture.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting control method, including: acquiring a plurality of initial images of a shooting scene; obtaining a plurality of target object images of a target object in a shooting scene and obtaining a background object image of a background object in the shooting scene according to the plurality of initial images; and performing image synthesis on at least one of the target object images and the background object image to generate a shooting scene image of the shooting scene.
In a second aspect, an embodiment of the present application provides a shooting control apparatus, including: the shooting module is used for acquiring a plurality of initial images of a shooting scene; and the processing module is used for obtaining a plurality of target object images of a target object in the shooting scene according to the plurality of initial images, obtaining a background object image of a background object in the shooting scene, and carrying out image synthesis on at least one of the plurality of target object images and the background object image to generate a shooting scene image of the shooting scene.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when the program or the instruction is executed by the processor, the steps of the shooting control method according to the first aspect are implemented.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the shooting control method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the shooting control method according to the first aspect.
In the embodiment of the application, after a plurality of initial images of a shooting scene are acquired, a plurality of target object images and a background object image are obtained according to the plurality of initial images, and at least one of the plurality of obtained target object images and the background object image are subjected to image synthesis to generate the shooting scene image, that is, a plurality of shooting scene pictures with the same background object and different target objects are generated. On one hand, a plurality of target object images are synthesized according to the initial image, so that the problem of target object image blurring can not occur even if the target object moves in the shooting process; on the other hand, the background object image is synthesized by a plurality of images, so that the brightness of the background object image can be ensured, and the shooting effect of the detail image of the background object is improved.
Drawings
Fig. 1 is a flowchart of a shooting control method provided in an embodiment of the present application;
fig. 2 is a second flowchart of a shooting control method according to an embodiment of the present application;
fig. 3 is a third flowchart of a shooting control method provided in the embodiment of the present application;
fig. 4 is a fourth flowchart of a shooting control method provided in the embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a display effect of an interface of an electronic device according to an embodiment of the present application;
fig. 6 is a block diagram schematically illustrating a structure of a photographing control apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting control method, the shooting control apparatus, the electronic device, and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
An embodiment of the present application provides a photographing control method, as shown in fig. 1, including:
step 102, collecting a plurality of initial images of a shooting scene;
optionally, the plurality of initial images are acquired in a time period from opening to closing of a shutter of the camera, that is, the plurality of initial images are acquired in one shooting process.
In this embodiment, a camera is disposed on the electronic device, and multiple initial images are captured of a shooting scene by using the camera.
And 104, obtaining a plurality of target object images of the target object in the shooting scene and obtaining a background object image of the background object in the shooting scene according to the plurality of initial images.
In this embodiment, each initial image includes a target object and a background object, the target object may be a dynamic object such as a person or an animal, and the target object may be in an active state when being photographed, that is, information such as a motion and a position of the target object in each initial image may be different. And the background object is a static object, and the background object is the same in each initial image. According to the embodiment of the application, a plurality of target object images and a background object image are obtained according to a plurality of initial images.
And 106, performing image synthesis on at least one of the target object images and the background object image to generate a shooting scene image of the shooting scene.
In this embodiment, in one case, one of the plurality of target object images is selected, for example, based on information such as the expression of the target object, the motion of the target object, and the sharpness of the target object image, and the selected target object image is image-synthesized with the background object image to generate one captured scene image to be displayed to the user.
In another case, the plurality of target object images are respectively image-synthesized with the background object image to generate a plurality of shooting scene images, that is, a plurality of shooting scene images with the same background object but different target objects are obtained. For example, when the user presses a shooting key once to capture six images, and each two images are combined into one target object image, three target object images are obtained, and the six images are combined together into one background object image. And then the three target object images are respectively synthesized with the background object image to generate three shooting scene pictures with the same background object and different target objects.
According to the embodiment of the application, on one hand, a plurality of target object images are synthesized according to the initial image, so that the problem of target object image blurring can not occur even if the target object moves in the shooting process; on the other hand, the background object image is synthesized by a plurality of images, so that the brightness of the background object image can be ensured, and the shooting effect of the detail image of the background object is improved; on the other hand, a picture with better shooting effect can be generated and provided for the user, or a plurality of pictures with the same background object and different target objects can be generated finally, so that various choices can be provided for the user, and the shooting flexibility is improved.
Further, in this embodiment of the present application, obtaining a plurality of target object images of a target object in a shooting scene according to a plurality of initial images includes: dividing a plurality of initial images into a plurality of groups of images; and for each group of images, extracting a target object from each initial image for image synthesis to generate a target object image, and further obtaining a plurality of target object images.
In this embodiment, a plurality of initial images are divided into a plurality of groups of images, and one target object image is generated for one group of images, thereby obtaining a plurality of target object images. Specifically, for each group of images, the target object is extracted from each initial image in the group of images, so that the extracted target object is generated into a target object image. Because the target object image is obtained according to the group of initial images, the exposure time of the target object image is the sum of the exposure time of each initial image in the group of initial images, the target object image is shot by the short exposure time, the target object is prevented from being required to be kept still for a long time, and the shooting flexibility is improved.
It should be noted that the number of the final target objects in each group is smaller than or equal to the number of the initial images in the group. For example, if two original images have identical images of the intercepted target object, the two original images may correspond to one target object.
Further, in this embodiment of the present application, obtaining a plurality of target object images of a target object in a shooting scene according to a plurality of initial images includes: and extracting a background object from each initial image, and performing image synthesis to generate a background object image.
In this embodiment, the extraction of the background object is performed for each initial image, so that one background object image is generated from all the extracted background objects. The background object image is synthesized by all the initial images, the exposure time of the background object image is the sum of the exposure times of the initial images, and the exposure time of the target object image is the sum of the exposure times of each initial image in the corresponding group of initial images, so that the exposure time of the target object image is relatively short, the exposure time of the background object image is relatively long, more light incoming amount is obtained by prolonging the exposure time, and the shooting effect of the background object image in a shooting environment with dark brightness is improved.
It should be noted here that since the background object image is synthesized from a plurality of initial images, the exposure time of the background object image is relatively long compared to any one target object image, and when the exposure time is relatively long, some weak light sources of the background may be overexposed, which may cause the details of the background to be lost, so that it is necessary to perform image synthesis using HDR (High Dynamic Range) technology, specifically, to generate initial images with different brightness by adjusting the camera to different exposure levels, and finally synthesize a picture with uniform brightness and without overexposure of the light sources of the background.
It should be noted that the number of the extracted background objects is smaller than or equal to the number of the initial images, for example, if the exposure levels of two initial images are completely the same, the two initial images may correspond to one background object.
Further, in the embodiment of the present application, the exposure time of each target object image is smaller than that of the background object image.
In this embodiment, the exposure time of the target object image is the sum of the exposure time of its corresponding set of initial images, and the exposure time of the background object image is equivalent to the sum of the exposure time of all the initial images. For example, 5 initial images are taken within 1 second, the exposure time of each initial image is 0.2 second, the 5 initial images are divided into two groups, the first group is the first three initial images, the second group is the last two initial images, the exposure time of the first group of synthesized target object images is 0.6 second, the exposure time of the second group of synthesized target object images is 0.4 second, and the background object image is a synthesized image of the 5 initial images, and the exposure time is 1 second.
By the mode, the background object image can acquire more background details by using longer-time exposure, the target object image can be clearer by using shorter-time exposure, and the problem of image blurring caused by the movement of the target object under the condition of long-time exposure can be solved.
Further, in the embodiment of the present application, image-synthesizing at least one of the plurality of target object images with the background object image to generate a shooting scene image of the shooting scene includes: performing brightness processing on at least one of the plurality of target object images; and carrying out image synthesis on the target object image subjected to the brightness processing and the background object image to generate a shooting scene image.
In this embodiment, when a picture is taken in a dark shooting environment, the brightness of the target object in the initial image that is taken can be ensured to be brighter by using flash light supplementary lighting, focusing and the like, but if the brightness of the target object is still less than the brightness of the synthesized background object image, brightness processing can be performed on a plurality of target object images to improve the brightness of each target object image, and finally the target object image with the improved brightness is synthesized with the background object image, so that a shot scene picture with uniform overall scene brightness is obtained.
In the embodiment of the application, because the exposure time of each target object image is short, the brightness of the target object image is ensured by processing the target object image to improve the image brightness, so that the target object in the night view picture is clearer, and the background object is brighter.
As one possible embodiment, as shown in fig. 2, the photographing control method includes:
step 202, judging whether a target object exists in the shooting scene, if so, entering step 204, otherwise, entering step 210.
Step 204, a plurality of initial images of a shooting scene are acquired.
Step 206, obtaining a plurality of target object images of the target object in the shooting scene and obtaining a background object image of the background object in the shooting scene according to the plurality of initial images.
At step 208, at least one of the plurality of target object images is image-synthesized with the background object image to generate a shooting scene image of the shooting scene.
Step 210, capturing a shooting scene image of the shooting scene according to the first exposure time.
In the embodiment, whether a target object exists in a shooting scene is judged firstly, for example, whether a person exists is judged, if the person exists, the person part is in a segmented short-exposure state to generate a plurality of human body pictures, the background part is in a long-exposure state, and finally a plurality of pictures with the same background and different expressions and actions of the person are synthesized. Specifically, a plurality of initial images of a shooting scene are collected, a plurality of target object images and a background object image are obtained according to the plurality of initial images, and then the target object images and the background object image are subjected to image synthesis to generate a shooting scene image. On the one hand, more light-entering amounts are obtained by prolonging the exposure time of the background object image, the shooting effect of the background object image in a dark shooting environment is improved, meanwhile, the target object is shot through shorter exposure time, the target object is clearer, the target object is prevented from being required to be kept still for a longer time, and the shooting flexibility is improved.
If the person does not exist, the shot scene image is directly acquired according to the long exposure time (namely the first exposure time), the brightness of the background object image can be ensured directly through the long exposure time, and the shooting effect of the detail image of the background object is improved.
As one possible embodiment, as shown in fig. 3, the photographing control method includes:
step 302, detecting the brightness of the shooting environment.
Step 304, determining whether the brightness of the shooting environment is less than a preset brightness threshold, if so, entering step 306, otherwise, entering step 316.
Step 306, determining whether a target object exists in the shooting scene, if yes, entering step 308, otherwise, entering step 314.
Step 308, a plurality of initial images of the scene are captured.
Step 310, obtaining a plurality of target object images of the target object in the shooting scene and obtaining a background object image of the background object in the shooting scene according to the plurality of initial images.
Step 312, image-synthesizing at least one of the plurality of target object images with the background object image to generate a shooting scene image of the shooting scene.
Step 314, capturing a shooting scene image of the shooting scene according to the first exposure time.
Step 316, capturing a captured scene image of the captured scene according to the second exposure time.
Wherein the second exposure time is less than the first exposure time.
In this embodiment, it is first determined whether the brightness of the shooting environment is low, and if the brightness of the shooting environment is high, the shot scene image is directly acquired according to the short exposure time (i.e., the second exposure time). And if the brightness of the shooting environment is darker, continuously judging whether a target object exists in the shooting scene. For example, it is determined whether or not a person is present, and if a person is present, a plurality of human body pictures are generated by using a segmented short exposure state for the person portion, and a plurality of pictures with the same background and different expressions and motions for the person are finally synthesized by using a long exposure state for the background portion. Specifically, a plurality of initial images of a shooting scene are collected, a plurality of target object images and a background object image are obtained according to the plurality of initial images, and then the target object images and the background object image are subjected to image synthesis to generate a shooting scene image. On the one hand, more light-entering amounts are obtained by prolonging the exposure time of the background object image, the shooting effect of the background object image in a dark shooting environment is improved, meanwhile, the target object is shot through shorter exposure time, the target object is clearer, the target object is prevented from being required to be kept still for a longer time, and the shooting flexibility is improved. On the other hand, the user can take a single shot and finally generate a plurality of pictures with the same background and different target objects, and various choices can be provided for the user.
If the person does not exist, the shot scene image is directly acquired according to the long exposure time (namely the first exposure time), the brightness of the background object image can be ensured directly through the long exposure time, and the shooting effect of the detail image of the background object is improved.
As one possible embodiment, as shown in fig. 4, the photographing control method includes:
and step 402, detecting the brightness of the current shooting environment.
And step 404, judging whether the current shooting environment is dark, if so, entering step 406, and otherwise, entering step 416.
And step 406, judging whether a human body exists in the current shooting scene, if so, entering step 408 and step 412, otherwise, entering step 418.
And step 408, generating three human body photos through three times of segmented short-time exposure.
And step 410, cutting the human body image in the picture, and brightening the human body image.
In step 412, a background picture is obtained by long-time exposure, and the overexposed details of the background picture are restored by the HDR technique.
And step 414, respectively carrying out picture synthesis on the three human body photos and the background photo to generate three photos with the same background and different characters.
Step 416, a short exposure shot is performed to obtain a picture.
In step 418, a long-time exposure shot is performed to obtain a picture.
In this embodiment, the user clicks a shooting key of the mobile phone once to start a shooting function of the mobile phone. The mobile phone identifies the current ambient brightness, and if the ambient brightness is sufficient, a normal exposure scheme is used, namely, short-time exposure shooting is adopted. If the environment is dark and the human body is not shot, long-time exposure shooting is carried out to ensure the brightness of the picture. If the environment is dark and the human body is shot, the exposure time is adjusted by distinguishing different areas of the human body and the background. Specifically, the human body is exposed three times in one total exposure time, for example, the exposure time of 0.6 second is divided into three segments, each segment is a short time of 0.2 second, and one human body photograph is generated every 0.2 second, and then three human body photographs are generated together. That is, the exposure time of the human body part is relatively short, so that the human body is in a slightly darker but relatively clear state, and then the human body image is appropriately brightened to generate a picture of the human body part. Because the background exposure time is longer, the background exposure time can be set to be 3 times of the human exposure time, and in the state that the background is continuously exposed, the person can also continuously expose another 2 pictures with different expressions and actions.
In the background exposure step, the background is relatively dark in the night scene, so that a relatively long exposure time is required to obtain more details, that is, one exposure is performed on the background within a total exposure time, that is, the exposure time of the background is 0.6 seconds. However, after a long time, some weak light sources on the background are overexposed, which results in loss of details of the background, so that it is necessary to perform image synthesis using the HDR technique, specifically, generate pictures with different brightness by dividing different exposure levels, and finally synthesize a background picture with uniform brightness and without overexposure of the background light source.
And finally, synthesizing the three human body pictures with the background picture respectively to generate three night scene pictures exposed in different areas. As shown in fig. 5, three photos with the same background and different human body actions can be displayed on the photo preview interface of the screen of the electronic device.
The embodiment of the application can solve the problem that the night scene person photo is fuzzy due to the fact that the exposure time is singly prolonged to shoot the person in the night scene state, and solve the problems that the background is not bright enough and the background details are not sufficient due to the fact that the exposure time is shortened to shoot the person. On one hand, the exposure time of a target object (namely a person) and a background object is distinguished, more light entering amount is obtained by prolonging the exposure time of the background object image, the shooting effect of the background object image in a dark shooting environment is improved, meanwhile, the target object is shot through shorter exposure time, the target object is clearer, the target object is prevented from being required to be kept still for a longer time, and the shooting flexibility is improved. On the other hand, the user can take a single shot and finally generate a plurality of pictures with the same background and different target objects, and various choices can be provided for the user.
It should be noted that, in the shooting control method provided in the embodiment of the present application, the execution subject may be a shooting control apparatus, or a control module in the shooting control apparatus for executing the loading of the shooting control method. In the embodiment of the present application, a shooting control apparatus executing a loaded shooting control method is taken as an example, and the shooting control apparatus provided in the embodiment of the present application is described.
Fig. 6 is a schematic block diagram showing a possible configuration of the photographing control apparatus according to the embodiment of the present application. As shown in fig. 6, the photographing control apparatus 600 includes:
a shooting module 602, configured to collect a plurality of initial images of a shooting scene;
the processing module 604 is configured to obtain a plurality of target object images of a target object in the shooting scene and a background object image of a background object in the shooting scene according to the plurality of initial images, and perform image synthesis on at least one of the plurality of target object images and the background object image to generate a shooting scene image of the shooting scene.
In this embodiment, after the capture module 602 captures a plurality of initial images of a capture scene, the processing module 604 obtains a plurality of target object images and a background object image according to the plurality of initial images. And finally, carrying out image synthesis on at least one of the obtained target object images and the background object image to obtain at least one shooting scene image.
In one case, one of the plurality of target object images is selected, for example, based on information such as the expression of the target object, the movement of the target object, and the sharpness of the target object image, and the selected target object image is image-synthesized with the background object image to generate one captured scene image to be displayed to the user. In another case, the plurality of target object images are respectively image-synthesized with the background object image to generate a plurality of shooting scene images, that is, a plurality of shooting scene images with the same background object but different target objects are obtained. For example, when the user presses a shooting key once to capture six images, and each two images are combined into one target object image, three target object images are obtained, and the six images are combined together into one background object image. And then the three target object images are respectively synthesized with the background object image to generate three shooting scene pictures with the same background object and different target objects.
According to the embodiment of the application, on one hand, a plurality of target object images are synthesized according to the initial image, so that the problem of target object image blurring can not occur even if the target object moves in the shooting process; on the other hand, the background object image is synthesized by a plurality of images, so that the brightness of the background object image can be ensured, and the shooting effect of the detail image of the background object is improved; on the other hand, a picture with better shooting effect can be generated and provided for the user, or a plurality of pictures with the same background object and different target objects can be generated finally, so that various choices can be provided for the user, and the shooting flexibility is improved.
Further, in this embodiment of the application, the processing module 604 is specifically configured to divide the plurality of initial images into a plurality of groups of images; and for each group of images, extracting a target object from each initial image for image synthesis to generate a target object image, and further obtaining a plurality of target object images.
Further, in this embodiment of the application, the processing module 604 is specifically configured to extract a background object from each initial image and perform image synthesis, so as to generate a background object image.
Further, in the embodiment of the present application, the exposure time of each target object image is smaller than that of the background object image.
Further, in this embodiment of the present application, the processing module 604 is specifically configured to perform brightness processing on at least one object image of a plurality of objects; and carrying out image synthesis on the target object image subjected to the brightness processing and the background object image to generate a shooting scene image.
Further, in this embodiment of the application, the processing module 604 is further configured to determine whether a target object exists in the shooting scene, and in a case that the target object exists in the shooting scene, control the shooting module 602 to capture a plurality of initial images of the shooting scene.
Further, in this embodiment of the application, the processing module 604 is further configured to control the capturing module 602 to capture a captured scene image of the captured scene according to the first exposure time when the target object does not exist in the captured scene.
Further, in the embodiment of the present application, the photographing control apparatus 600 further includes: the detection module is used for detecting the brightness of the shooting environment; the processing module 604 is further configured to determine whether the brightness of the shooting environment is smaller than a preset brightness threshold, and control the shooting module 602 to acquire a plurality of initial images of the shooting scene when the brightness of the shooting environment is smaller than the preset brightness threshold.
Further, in this embodiment of the application, the processing module 604 is further configured to control the capturing module 602 to capture a captured scene image of the captured scene according to the second exposure time when the brightness of the capturing environment is greater than or equal to the preset brightness threshold.
The shooting control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing control apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting control device provided in the embodiment of the present application can implement each process in the shooting control method embodiments of fig. 1 to 5, and is not described here again to avoid repetition.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 720, a memory 718, and a program or an instruction that is stored in the memory 718 and is executable on the processor 720, and when executed by the processor 720, the program or the instruction implements each process of the above-described shooting control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: radio unit 702, network module 704, audio output unit 706, input unit 708, sensor 710, display unit 712, user input unit 714, interface unit 716, memory 718, and processor 720.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, which may be logically coupled to the processor 720 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The input unit 708 is configured to acquire a plurality of initial images of a shooting scene, obtain a plurality of target object images of a target object in the shooting scene and obtain a background object image of a background object in the shooting scene according to the plurality of initial images, and perform image synthesis on at least one of the plurality of target object images and the background object image to generate a shooting scene image of the shooting scene.
In this embodiment, after the input unit 708 acquires a plurality of initial images of a shooting scene, a plurality of target object images and a background object image are obtained based on the plurality of initial images. And finally, carrying out image synthesis on at least one of the obtained target object images and the background object image to obtain at least one shooting scene image.
According to the embodiment of the application, on one hand, a plurality of target object images are synthesized according to the initial image, so that the problem of target object image blurring can not occur even if the target object moves in the shooting process; on the other hand, the background object image is synthesized by a plurality of images, so that the brightness of the background object image can be ensured, and the shooting effect of the detail image of the background object is improved; on the other hand, a picture with better shooting effect can be generated and provided for the user, or a plurality of pictures with the same background object and different target objects can be generated finally, so that various choices can be provided for the user, and the shooting flexibility is improved.
Further, an input unit 708, specifically configured to divide the plurality of initial images into a plurality of sets of images; and for each group of images, extracting a target object from each initial image for image synthesis to generate a target object image, and further obtaining a plurality of target object images.
Further, the input unit 708 is specifically configured to extract a background object from each of the initial images for image synthesis, and generate a background object image.
Wherein the exposure time of each target object image is less than the exposure time of the background object image.
Further, the input unit 708 is specifically configured to perform brightness processing on at least one of the plurality of target object images, and perform image synthesis on the target object image subjected to the brightness processing and the background object image to generate a captured scene image.
Further, the processor 720 is configured to determine whether a target object exists in the shooting scene, and in case the target object exists in the shooting scene, the control input unit 708 acquires a plurality of initial images of the shooting scene.
Further, the processor 720 is further configured to control the input unit 708 to capture a shooting scene image of the shooting scene at the first exposure time in case that the target object does not exist in the shooting scene.
Further, a sensor 710 for detecting the brightness of the shooting environment.
Further, the processor 720 is further configured to determine whether the brightness of the shooting environment is less than a preset brightness threshold, and acquire a plurality of initial images of the shooting scene when the brightness of the shooting environment is less than the preset brightness threshold.
Further, the processor 720 is further configured to control the input unit 708 to acquire the captured scene image of the captured scene according to a second exposure time when the brightness of the capturing environment is greater than or equal to the preset brightness threshold, wherein the second exposure time is less than the first exposure time.
It should be understood that in the embodiment of the present application, the input unit 708 is used for receiving an audio or video signal. The input Unit 708 may include a Graphics Processing Unit (GPU) 7082 and a microphone 7084, and the Graphics processor 7082 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 712, or stored in the memory 718 (or other storage medium), or transmitted via the radio frequency unit 702 or the network module 704. The microphone 7084 may receive sound and may be capable of processing the sound into audio data, and the processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 702 in the case of a phone call mode.
The sensor 710, including the light sensor, may further include: fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, motion sensors, and other sensors.
The display unit 712 is used to display information input by the user or information provided to the user. The display unit 712 may include a display panel 7122, and the display panel 7122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 714 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the first electronic device. Specifically, the user input unit 714 includes a touch panel 7142 and other input devices 7144. Touch panel 7142, also referred to as a touch screen, may collect touch operations by a user on or near it. The touch panel 7142 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 720, receives a command from the processor 720, and executes the command. Other input devices 7144 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Processor 720 performs various functions of electronic device 700 and processes data by executing or executing software programs and/or modules stored in memory 718, as well as invoking data stored in memory 718, thereby providing an overall monitoring of electronic device 700. Processor 720 may include one or more processing units; preferably, the processor 720 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned shooting control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned embodiment of the shooting control method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A shooting control method, characterized by comprising:
acquiring a plurality of initial images of a shooting scene;
obtaining a plurality of target object images of a target object in the shooting scene and obtaining a background object image of a background object in the shooting scene according to the plurality of initial images;
and performing image synthesis on at least one of the target object images and the background object image to generate a shooting scene image of the shooting scene.
2. The shooting control method according to claim 1, wherein said deriving a plurality of target object images of a target object in the shooting scene from the plurality of initial images comprises:
dividing a plurality of the initial images into a plurality of groups of images;
and for each group of images, extracting the target object from each initial image for image synthesis to generate one target object image, and further obtaining a plurality of target object images.
3. The photographing control method according to claim 1, wherein the step of obtaining a background object image of a background object in the photographing scene from the plurality of initial images includes:
and extracting the background object from each initial image for image synthesis to generate a background object image.
4. The shooting control method according to claim 1,
the exposure time of each target object image is less than the exposure time of the background object image.
5. The shooting control method according to any one of claims 1 to 4, wherein the image-synthesizing at least one of the plurality of target object images with the background object image to generate a shooting scene image of the shooting scene includes:
performing brightness processing on at least one of the plurality of target object images;
and carrying out image synthesis on the target object image subjected to brightness processing and the background object image to generate the shooting scene image.
6. The shooting control method according to any one of claims 1 to 4, wherein the acquiring a plurality of initial images of a shooting scene includes:
judging whether a target object exists in the shooting scene or not;
acquiring a plurality of initial images of the shooting scene under the condition that the target object exists in the shooting scene.
7. The shooting control method according to claim 6, characterized by further comprising:
and acquiring a shooting scene image of the shooting scene according to a first exposure time under the condition that the target object does not exist in the shooting scene.
8. The shooting control method according to any one of claims 1 to 4, characterized by, before said acquiring a plurality of initial images of a shooting scene, further comprising:
detecting the brightness of a shooting environment;
judging whether the brightness of the shooting environment is smaller than a preset brightness threshold value or not;
and acquiring a plurality of initial images of a shooting scene under the condition that the brightness of the shooting environment is smaller than the preset brightness threshold.
9. The shooting control method according to claim 8, characterized by further comprising:
and acquiring a shooting scene image of the shooting scene according to a second exposure time under the condition that the brightness of the shooting environment is greater than or equal to the preset brightness threshold.
10. A shooting control apparatus, characterized by comprising:
the shooting module is used for acquiring a plurality of initial images of a shooting scene;
and the processing module is used for obtaining a plurality of target object images of a target object in the shooting scene and a background object image of a background object in the shooting scene according to the plurality of initial images, and performing image synthesis on at least one of the plurality of target object images and the background object image to generate a shooting scene image of the shooting scene.
CN202011468204.XA 2020-12-14 2020-12-14 Shooting control method and shooting control device Active CN112492216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011468204.XA CN112492216B (en) 2020-12-14 2020-12-14 Shooting control method and shooting control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011468204.XA CN112492216B (en) 2020-12-14 2020-12-14 Shooting control method and shooting control device

Publications (2)

Publication Number Publication Date
CN112492216A true CN112492216A (en) 2021-03-12
CN112492216B CN112492216B (en) 2022-06-07

Family

ID=74917529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011468204.XA Active CN112492216B (en) 2020-12-14 2020-12-14 Shooting control method and shooting control device

Country Status (1)

Country Link
CN (1) CN112492216B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466736A (en) * 2001-06-27 2004-01-07 ���ṫ˾ Image processing apparatus and method
JP2010114566A (en) * 2008-11-05 2010-05-20 Casio Computer Co Ltd Imaging apparatus, imaging method, and program
CN102487431A (en) * 2010-11-30 2012-06-06 信泰伟创影像科技有限公司 Imaging apparatus, imaging method and computer program
US20140184841A1 (en) * 2012-12-28 2014-07-03 Samsung Electronics Co., Ltd. Photographing device for producing composite image and method using the same
CN107623820A (en) * 2017-11-03 2018-01-23 维沃移动通信有限公司 A kind of image pickup method, device and mobile terminal
CN108346139A (en) * 2018-01-09 2018-07-31 阿里巴巴集团控股有限公司 A kind of method for screening images and device
CN109922257A (en) * 2019-02-22 2019-06-21 珠海格力电器股份有限公司 Shooting control method and device, storage medium, processor and electronic equipment
CN110213476A (en) * 2018-02-28 2019-09-06 腾讯科技(深圳)有限公司 Image processing method and device
US20200053267A1 (en) * 2018-08-13 2020-02-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Imaging Control Method and Apparatus, Electronic Device, and Computer Readable Storage Medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466736A (en) * 2001-06-27 2004-01-07 ���ṫ˾ Image processing apparatus and method
JP2010114566A (en) * 2008-11-05 2010-05-20 Casio Computer Co Ltd Imaging apparatus, imaging method, and program
CN102487431A (en) * 2010-11-30 2012-06-06 信泰伟创影像科技有限公司 Imaging apparatus, imaging method and computer program
US20140184841A1 (en) * 2012-12-28 2014-07-03 Samsung Electronics Co., Ltd. Photographing device for producing composite image and method using the same
CN107623820A (en) * 2017-11-03 2018-01-23 维沃移动通信有限公司 A kind of image pickup method, device and mobile terminal
CN108346139A (en) * 2018-01-09 2018-07-31 阿里巴巴集团控股有限公司 A kind of method for screening images and device
CN110213476A (en) * 2018-02-28 2019-09-06 腾讯科技(深圳)有限公司 Image processing method and device
US20200053267A1 (en) * 2018-08-13 2020-02-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Imaging Control Method and Apparatus, Electronic Device, and Computer Readable Storage Medium
CN109922257A (en) * 2019-02-22 2019-06-21 珠海格力电器股份有限公司 Shooting control method and device, storage medium, processor and electronic equipment

Also Published As

Publication number Publication date
CN112492216B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN107566739B (en) photographing method and mobile terminal
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN109218626B (en) Photographing method and terminal
CN107566749B (en) Shooting method and mobile terminal
CN107623818B (en) Image exposure method and mobile terminal
CN112822412B (en) Exposure method, exposure device, electronic equipment and storage medium
CN105391940B (en) A kind of image recommendation method and device
CN112637500B (en) Image processing method and device
EP3975046B1 (en) Method and apparatus for detecting occluded image and medium
CN112422798A (en) Photographing method and device, electronic equipment and storage medium
CN107147851B (en) Photo processing method and device, computer readable storage medium and electronic equipment
CN112333382B (en) Shooting method and device and electronic equipment
CN108616687B (en) Photographing method and device and mobile terminal
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN108259767B (en) Image processing method, image processing device, storage medium and electronic equipment
CN112672055A (en) Photographing method, device and equipment
CN113808066A (en) Image selection method and device, storage medium and electronic equipment
CN112492216B (en) Shooting control method and shooting control device
CN112153291B (en) Photographing method and electronic equipment
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium
CN112312024A (en) Photographing processing method and device and storage medium
CN113037996A (en) Image processing method and device and electronic equipment
CN112399092A (en) Shooting method and device and electronic equipment
CN112291474A (en) Image acquisition method and device and electronic equipment
CN114071016B (en) Image processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant