CN112291471A - Shooting control method, shooting control device, electronic device and readable storage medium - Google Patents
Shooting control method, shooting control device, electronic device and readable storage medium Download PDFInfo
- Publication number
- CN112291471A CN112291471A CN202011169982.9A CN202011169982A CN112291471A CN 112291471 A CN112291471 A CN 112291471A CN 202011169982 A CN202011169982 A CN 202011169982A CN 112291471 A CN112291471 A CN 112291471A
- Authority
- CN
- China
- Prior art keywords
- image
- camera
- controlling
- flash lamp
- shoot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- 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/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application provides a shooting control method, a shooting control device, electronic equipment and a readable storage medium, and belongs to the technical field of shooting. The shooting control method comprises the following steps: starting a flash lamp and controlling a camera to shoot a first image of a shot scene; controlling the camera or the flash lamp to move at least once; controlling the camera to shoot at least one second image of the shot scene under the condition that the flash lamp is in an on state after the position is moved every time; and displaying a third image obtained by image fusion of the first image and at least one second image. The embodiment of the application can obtain a photo with uniform brightness by adjusting the flash lamp or the camera, avoids the phenomena of brightness in the center of the photo and darkness around the photo, improves the photographing imaging effect in the flash lamp mode, and meets the photographing requirement of a user.
Description
Technical Field
The application belongs to the technical field of shooting, and particularly relates to a shooting control method, a shooting control device, electronic equipment and a readable storage medium.
Background
At present, the mobile phone shooting function becomes a mobile phone function frequently used by a user, and the user can shoot pictures anytime and anywhere by using the mobile phone. However, in the process of taking a picture using a mobile phone, the inventors of the present application found that at least the following problems exist in the related art: in a shooting environment with low brightness, a flash lamp is used for supplementing light to a shot picture, and the brightness of the central area is obviously higher than that of the peripheral areas, so that the problem of uneven brightness of the whole image of the picture can occur.
Content of application
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 of uneven brightness of the entire image of a photograph in the related art.
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: starting a flash lamp and controlling a camera to shoot a first image of a shot scene; controlling the camera or the flash lamp to move at least once; controlling the camera to shoot at least one second image of the shot scene under the condition that the flash lamp is in an on state after the position is moved every time; and displaying a third image obtained by image fusion of the first image and at least one second image.
In a second aspect, an embodiment of the present application provides a shooting control apparatus, where the method includes: the control module is used for starting the flash lamp, controlling the camera to shoot a first image of a shot scene, controlling the camera or the flash lamp to carry out at least one time of position movement, and controlling the camera to shoot at least one second image of the shot scene under the condition that the flash lamp is in a starting state after each time of position movement; and the image processing and displaying module is used for displaying a third image obtained by image fusion of the first image and the at least one second image.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the shooting control method according to the first aspect.
In a fourth aspect, embodiments of the present application provide 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, the camera is controlled to shoot a first image of a shot scene under the condition that the flash lamp is turned on, the camera or the flash lamp is controlled to carry out position movement for at least one time, after each position movement, the camera is controlled to shoot at least one second image of the shot scene under the condition that the flash lamp is turned on, and the first image and the at least one second image are subjected to image fusion to generate a third image. Since the central region of the subject scene in the first image is a brighter image and the edge region of the subject scene in the second image (i.e., the peripheral region of the central region of the subject scene) is a brighter image, the brightness of both the center and the edge of the subject scene in the synthesized third image is brighter. The embodiment of the application can obtain a photo with uniform brightness by adjusting the flash lamp or the camera, avoids the phenomena of brightness in the center of the photo and darkness around the photo, improves the photographing imaging effect in the flash lamp mode, and meets the photographing requirement of a user.
Drawings
Fig. 1 is a flowchart of a shooting control method of an embodiment of the present application;
FIG. 2 is a schematic diagram of a position where a flash and a camera according to an embodiment of the present application are disposed;
fig. 3 is one of schematic diagrams of a positional relationship among a shot scene, a lens field range of a camera, and a spot range of a flash according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a shooting process of an electronic device according to an embodiment of the present application;
fig. 5 is a second schematic diagram illustrating a positional relationship among a shot scene, a lens field range of a camera, and a spot range of a flash according to the embodiment of the present application;
fig. 6 is a third schematic diagram illustrating a positional relationship among a shot scene, a lens field range of a camera, and a spot range of a flash according to the embodiment of the present application;
fig. 7 is a fourth schematic diagram illustrating a positional relationship among a subject scene, a lens field range of a camera, and a spot range of a flash according to an embodiment of the present application;
fig. 8 is a fifth schematic diagram illustrating a positional relationship among a subject scene, a lens field range of a camera, and a spot range of a flash according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a shooting control apparatus of an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to 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:
104, controlling the camera or the flash lamp to move at least once;
and step 108, displaying a third image obtained by image fusion of the first image and the at least one second image.
In the embodiment, the electronic device is provided with a flash lamp and a camera, and when the shooting environment brightness is low, the flash lamp is controlled to flash while the camera shoots so as to improve the brightness of the shot image.
The method comprises the steps of controlling a camera to shoot a first image of a shot scene, controlling the camera to carry out at least one position movement after the first image is shot, and shooting a second image after each position movement. Or after the first image is shot, controlling the flash lamp to carry out at least one position movement, and controlling the camera to shoot a second image after each position movement. And finally, carrying out image fusion on the first image and at least one second image to generate a third image, wherein the central area of the shot scene in the first image is a brighter image, and the edge area of the shot scene in the second image (namely the peripheral area of the central area of the shot scene) is a brighter image, so that the brightness of the center and the edge of the shot scene in the synthesized third image is brighter, and finally, displaying the third image. The embodiment of the application can shoot a photo with uniform brightness by adjusting the flash lamp or the camera, avoids the phenomena of brightness in the center of the photo and darkness around the center of the photo, improves the photographing imaging effect in the flash lamp mode, and meets the photographing requirement of a user.
For the electronic equipment with the camera having a larger camera view field range and a smaller flash lamp light spot range, when the electronic equipment shoots a picture, the brightness of the periphery of the picture is lower than that of the center of the picture. Therefore, by adopting the embodiment of the application, the camera has a larger shooting view field range and a smaller flash lamp light spot range, so that the brightness distribution of the center and the periphery of a picture shot by a flash lamp is more uniform.
It should be noted that the electronic device of the embodiment of the present application includes, but is not limited to, a mobile terminal, a tablet computer, a notebook computer, a wearable device, a vehicle-mounted terminal, and the like.
Further, in this embodiment of the present application, controlling a camera to capture a first image of a captured scene includes: and controlling the camera to shoot a first image under the condition that the central area of the lens field range of the camera and the central area of the facula range of the flash lamp are overlapped with the central area of the shot scene.
In this embodiment, the camera is controlled to capture the first image with the center region of the lens field range (i.e., the lens field angle) of the camera coinciding with the center region of the subject scene and the center region of the flare range of the flash coinciding with the center region of the subject scene. As shown in fig. 2, the flash 202 is disposed at a predetermined position of the electronic device 200 and is movable on the first region 206, and the camera 204 is disposed at a predetermined position of the electronic device 200 and is movable on the second region 208. The initial position of the flash 202 is such that the center of the flash 202 coincides with the center of the first region 206, and the initial position of the camera 204 is such that the lens center of the camera 204 coincides with the center of the second region 208.
Controlling the flash to be at an initial position, controlling the camera to be at an initial position, and when the flash is at the initial position and the camera is at the initial position, as shown in fig. 3, coinciding a central area of a shot scene 302, a central area of a lens field range 304 of the camera, and a central area of a light spot range 306 of the flash, and shooting a first image with the first image as a reference image.
Through the mode, an image with a brighter central area is shot, so that a reference is provided for acquiring a picture with uniform brightness.
Further, in this embodiment of the application, after controlling the camera to perform the position movement, controlling the camera to capture at least one second image of the captured scene includes: and controlling the camera to shoot a second image under the condition that the central area of the lens field range of the camera is overlapped with the edge area of the shot scene.
In this embodiment, the camera is controlled to make at least one movement after the first image is captured, and one second image is captured after each movement. The camera is moved but the flash lamp is not moved, so that the central area of the light spot range of the flash lamp coincides with the central area of the shot scene, and after the camera is moved, the central area of the lens view field range of the camera does not coincide with the central area of the light spot range of the flash lamp, but moves towards the edge of the light spot range of the flash lamp, namely the central area of the lens view field range is aligned with the edge area of the shot scene. Therefore, the purpose of increasing the brightness of the edge area of the shot scene in the second image is achieved by virtue of the characteristic that the transmittance of the central area of the lens field range is high.
Further, in this embodiment of the application, after controlling the flash to perform the position movement, controlling the camera to capture at least one second image of the shot scene includes: and controlling the camera to shoot a second image under the condition that the central area of the light spot range of the flash lamp is overlapped with the edge area of the shot scene.
In the embodiment, after the first image is shot, the flash lamp is controlled to move at least once, and the camera is controlled to shoot a second image after each movement. The central area of the lens view field range of the camera coincides with the central area of the shot scene because the flash lamp moves but the camera does not move, and after the flash lamp moves, the central area of the light spot range of the flash lamp does not coincide with the central area of the lens view field range of the camera but moves towards the edge of the lens view field range of the camera, namely the central area of the light spot range of the flash lamp is aligned with the edge area of the shot scene. In the above manner, the brightness of the edge area of the shot scene in the second image is improved.
For positional movement of the camera or flash, as shown in FIG. 2, the flash 202 may move in a first region 206 of the electronic device 200 and the camera 204 may move in a second region 208 of the electronic device 200. The movement here means that the flash 202 moves on the plane of the X-axis and Y-axis of the first region 206, where the X-axis is the lateral axis of the first region 206 and the Y-axis is the longitudinal axis of the first region 206. When the camera 204 is not moved and the flash 202 moves from the center position of the first region to the edge, the center region corresponding to the flash spot range moves from the center region to the edge region of the shot scene, so that the edge region of the shot scene is illuminated.
The camera 204 moves in an X-axis Y-axis plane of the second region 208, where the X-axis is a lateral axis of the second region 208 and the Y-axis is a longitudinal axis of the second region 208. When the flash 202 is still and the camera 204 moves from the center position of the second area to the edge, the center area corresponding to the lens field range moves from the center area to the edge area of the shot scene, so that the purpose of increasing the brightness of the edge area of the shot scene during shooting is achieved by virtue of the characteristic of high transmittance of the center area of the lens field range.
In the present embodiment, the direction of at least one movement is not limited, and for example, when the camera or the flash is controlled to move at a plurality of positions, the movement in any one of the left, right, up, and down directions may be performed.
Further, in this embodiment of the present application, displaying a third image obtained by image fusion of the first image and the at least one second image includes: determining a first coincident image in the first image which is coincident with the second image, and determining a second coincident image in the second image which is coincident with the first image; replacing the first superposed image in the first image with a second superposed image to generate a third image; and displaying the third image.
In this embodiment, a second composite image (i.e., an image with the same content as the first image) that is superposed with the first image is cut out from each second image, the second composite image cut out from each second image includes an image that tends to be in an edge area in the first image, and the brightness of this image in the second image is greater than the brightness of this image in the first image, further, the second composite image is replaced with a first composite image that is superposed with the second image in the first image, i.e., for the same image, an image with higher brightness is replaced with an image with lower brightness, and a final picture of the shot scene is generated, and each area of the shot scene in this picture is an image with higher brightness, so that the brightness of the whole picture is improved, and the brightness uniformity of the whole picture is improved.
Further, in this embodiment of the present application, the step of controlling the camera or the flash to perform at least one position movement includes: and controlling the adjusting device to enable the adjusting device to drive the camera or the flash lamp to move at least once.
In this embodiment, an adjusting device is installed on the electronic device, the adjusting device is connected with the camera or the flash lamp, the camera or the flash lamp is moved at least once by controlling the adjusting device, so that the overlapping area of the light spot of the flash lamp and the field range of the camera lens can be adjusted, and an image shot under different overlapping areas is synthesized to obtain a photo with uniform brightness distribution, so that the purpose of improving the shooting effect under the flash lamp mode is achieved.
In the embodiment of the application, adjusting device includes little cloud platform, adjusts the camera lens field of view scope of flash light facula or camera with the help of little cloud platform, and speed is very fast and can avoid the picture shake through suitable lock frame, improves the shooting effect, gives the better use of user and experiences.
The adjusting device can also comprise a driving unit and a motor, wherein the driving unit receives the control signal and drives the motor to rotate so as to drive the camera or the flash lamp to move.
Further, in this embodiment of the present application, before turning on the flash and controlling the camera to capture the first image of the captured scene in step 102, the capture control method further includes: detecting the brightness of the shooting environment; and entering a flash lamp shooting mode under the condition that the shooting environment brightness is smaller than a preset brightness threshold value.
In this embodiment, when it is determined that the brightness of the shooting environment is less than the preset brightness threshold, which indicates that the shooting environment is dark, the flash lamp needs to be controlled to flash while shooting, and the flash lamp flashes a picture with peripheral brightness significantly lower than the central brightness.
And when the brightness of the shooting environment is judged to be greater than or equal to the preset brightness threshold, the shooting environment is bright, a flash lamp does not need to be started during shooting, and only the camera is controlled to shoot.
By judging the brightness of the shooting environment, the function of flashing while shooting is controlled to be executed or not is controlled, the problem of overlarge exposure degree of an image caused by flash shooting under the condition of not flashing is avoided, and the flexibility of shooting control is improved.
The photographing control method of the above embodiment will be further described with reference to fig. 3 to 8 as an example. Specifically, the shooting control method includes:
(1) when a user takes a picture by using the electronic device in a dark environment, the flash detection mechanism detects that the current environment needs to be supplemented with light by a flash, and as shown in fig. 4, a flash state starting identifier 402 is displayed on a screen of the electronic device to indicate that the flash can flash when the camera takes a picture. When the user clicks the photographing control 404, the electronic device automatically enters a photographing mode for improving the uniformity of flash photographing.
(2) After entering a shooting mode for improving the shooting uniformity of the flash lamp, the micro cloud platform of the electronic device controls the camera to stay at the first position, as shown in fig. 3, when the camera is at the first position, a central area of a shot scene 302, a central area of a lens view field range 304 of the camera, and a central area of a light spot range 306 of the flash lamp coincide, and a light sensing chip of the camera outputs a current frame image, which is recorded as a shot image 1.
(3) The micro cloud platform controls the camera, adjusts the position of the camera, as shown in fig. 5, so that the lens view field range 304 of the camera is adjusted to the second position on the upper left of the first position, and the light sensing chip of the camera outputs the current frame image, which is recorded as a shot image 2.
(4) The micro cloud platform controls the camera to adjust the position of the camera, as shown in fig. 6, so that the lens view field range 304 of the camera is adjusted to a third position at the upper right of the first position, and the light sensing chip of the camera outputs a current frame image, which is recorded as a shot image 3.
(5) The micro cloud platform controls the camera, adjusts the position of the camera, as shown in fig. 7, so that the lens view field range 304 of the camera is adjusted to a third position at the lower left of the first position, and the light sensing chip of the camera outputs a current frame image, which is recorded as a shot image 4.
(6) The micro cloud platform controls the camera, adjusts the position of the camera, as shown in fig. 8, so that the lens view field range 304 of the camera is adjusted to the fourth position at the lower right of the first position, and the light sensing chip of the camera outputs the current frame image, which is recorded as a shot image 5.
(7) Taking the shot image 1 as a reference image, cutting out an upper left area image of the shot image 1 from the shot image 2, cutting out an upper right area image of the shot image 1 from the shot image 3, cutting out a lower left area image of the shot image 1 from the shot image 4, cutting out a lower right area image of the shot image 1 from the shot image 5, and carrying out image fusion with the shot image 1 to finally obtain a flash shot picture with improved brightness at the periphery relative to the shot image 1.
The embodiment of the application aims to adjust the overlapping area of the light spot of the flash lamp and the field range of the camera lens by means of the micro cloud deck, so that the light energy obtained by the edge area of the photographed picture on the photosensitive chip is improved, and then the overlapping area of the image is spliced by a multi-frame synthesis algorithm, so that the purpose of improving the brightness of the periphery of the photographed picture of the flash lamp is achieved, and the brightness uniformity of the photographed picture of the flash lamp of the electronic equipment is improved.
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 a method of loading shooting control. In the embodiment of the present application, a method for executing a loading shooting control by a shooting control apparatus is taken as an example, and the shooting control apparatus provided in the embodiment of the present application is described.
Fig. 9 is a schematic diagram showing a possible configuration of the photographing control apparatus 900 according to the embodiment of the present application. As shown in fig. 9, the imaging control apparatus 900 includes:
the control module 902 is configured to turn on the flash and control the camera to capture a first image of a captured scene, control the camera or the flash to perform at least one position movement, and control the camera to capture at least one second image of the captured scene after each position movement and under the condition that the flash is in an on state;
and an image processing and displaying module 904, configured to display a third image obtained by image fusion of the first image and the at least one second image.
In this embodiment, the camera is controlled to capture a first image of a subject scene, the camera is controlled to make at least one position shift after the first image is captured, and a second image is captured after each position shift. Or after the first image is shot, controlling the flash lamp to carry out at least one position movement, and controlling the camera to shoot a second image after each position movement. And finally, carrying out image fusion on the first image and at least one second image to generate a third image, wherein the central area of the shot scene in the first image is a brighter image, and the edge area of the shot scene in the second image (namely the peripheral area of the central area of the shot scene) is a brighter image, so that the brightness of the center and the edge of the shot scene in the synthesized third image is brighter, and finally, displaying the third image. The embodiment of the application can shoot a photo with uniform brightness by adjusting the flash lamp or the camera, avoids the phenomena of brightness in the center of the photo and darkness around the center of the photo, improves the photographing imaging effect in the flash lamp mode, and meets the photographing requirement of a user.
Further, in this embodiment of the application, the control module 902 is specifically configured to: and controlling the camera to shoot a first image under the condition that the central area of the lens field range of the camera and the central area of the facula range of the flash lamp are overlapped with the central area of the shot scene.
In this embodiment, the camera is controlled to capture the first image in a case where the central region of the lens field range of the camera coincides with the central region of the subject scene, and the central region of the spot range of the flash coincides with the central region of the subject scene. As shown in fig. 2, the flash 202 is disposed at a predetermined position of the electronic device 200 and is movable on the first region 206, and the camera 204 is disposed at a predetermined position of the electronic device 200 and is movable on the second region 208. The initial position of the flash 202 is such that the center of the flash 202 coincides with the center of the first region 206, and the initial position of the camera 204 is such that the center of the camera 204 coincides with the center of the second region 208.
When the flash is controlled to be at the initial position, the camera is controlled to be at the initial position, the flash is controlled to be at the initial position, and the camera is controlled to be at the initial position, as shown in fig. 3, the central area of the shot scene 302, the central area of the lens view field range 304 of the camera, and the central area of the light spot range 306 of the flash are overlapped, at this time, a first image is shot, and the first image is taken as a reference image.
Through the mode, an image with a brighter central area is shot, so that a reference is provided for acquiring a picture with uniform brightness.
Further, in this embodiment of the application, the control module 902 is specifically configured to: and controlling the camera to shoot a second image under the condition that the central area of the lens field range of the camera is overlapped with the edge area of the shot scene.
In this embodiment, the camera is controlled to make at least one movement after the first image is captured, and one second image is captured after each movement. Because the camera is moved and the flash lamp is not moved, after the camera is moved, the central area of the lens view field range of the camera is not overlapped with the central area of the light spot range of the flash lamp, but is moved towards the edge of the light spot range of the flash lamp, namely the central area of the lens view field range is aligned with the edge area of the shot scene. Therefore, the purpose of increasing the brightness of the edge area of the shot scene in the second image is achieved by virtue of the characteristic that the transmittance of the central area of the lens field range is high.
Further, in this embodiment of the application, the control module 902 is specifically configured to: and controlling the camera to shoot a second image under the condition that the central area of the light spot range of the flash lamp is overlapped with the edge area of the shot scene.
In the embodiment, after the first image is shot, the flash lamp is controlled to move at least once, and the camera is controlled to shoot a second image after each movement. Because the flash lamp moves but the camera does not move, after the flash lamp moves, the central area of the light spot range of the flash lamp does not coincide with the central area of the lens view field range of the camera, but moves towards the edge of the lens view field range of the camera, namely the central area of the light spot range of the flash lamp is aligned with the edge area of the shot scene. In the above manner, the brightness of the edge area of the shot scene in the second image is improved.
Further, in the embodiment of the present application, the image processing and display module 904 includes: an image processing module 942, configured to determine a first overlapped image in the first image, which is overlapped with the second image, and determine a second overlapped image in the second image, which is overlapped with the first image, replace the first overlapped image in the first image with the second overlapped image, and generate a third image; and a display module 944 configured to display the third image.
In this embodiment, a second composite image (i.e., an image with the same content as the first image) that is superposed with the first image is cut out from each second image, the second composite image cut out from each second image includes an image that tends to be in an edge area in the first image, and the brightness of this image in the second image is greater than the brightness of this image in the first image, further, the second composite image is replaced with a first composite image that is superposed with the second image in the first image, i.e., for the same image, an image with higher brightness is replaced with an image with lower brightness, and a final picture of the shot scene is generated, and each area of the shot scene in this picture is an image with higher brightness, so that the brightness of the whole picture is improved, and the brightness uniformity of the whole picture is improved.
Further, in this embodiment of the application, the control module 902 is specifically configured to: and controlling the adjusting device to enable the adjusting device to drive the camera or the flash lamp to move at least once.
In this embodiment, an adjusting device is installed on the electronic device, the adjusting device is connected with the camera or the flash lamp, the camera or the flash lamp is moved at least once by controlling the adjusting device, so that the overlapping area of the light spot of the flash lamp and the field range of the camera lens can be adjusted, and an image shot under different overlapping areas is synthesized to obtain a photo with uniform brightness distribution, so that the purpose of improving the shooting effect under the flash lamp mode is achieved.
In the embodiment of the application, adjusting device includes little cloud platform, adjusts the camera lens field of view scope of flash light facula or camera with the help of little cloud platform, and speed is very fast and can avoid the picture shake through suitable lock frame, improves the shooting effect, gives the better use of user and experiences.
The adjusting device can also comprise a driving unit and a motor, wherein the driving unit receives the control signal and drives the motor to rotate so as to drive the camera or the flash lamp to move.
Further, in the embodiment of the present application, the photographing control apparatus 900 further includes:
a detection module 906, configured to detect a shooting environment brightness before turning on the flash and controlling the camera to shoot a first image of a shot scene;
the control module 902 is further configured to: and entering a flash lamp shooting mode under the condition that the shooting environment brightness is smaller than a preset brightness threshold value.
In this embodiment, when it is determined that the brightness of the shooting environment is less than the preset brightness threshold, it indicates that the shooting environment is dark, the flash lamp needs to be controlled to flash while shooting, and the flash lamp flashes a picture with peripheral brightness significantly lower than the central brightness.
And when the brightness of the shooting environment is judged to be greater than or equal to the preset brightness threshold, the shooting environment is bright, a flash lamp does not need to be started during shooting, and only the camera is controlled to shoot.
By judging the brightness of the shooting environment, the function of flashing while shooting is controlled to be executed or not is controlled, the problem of overlarge exposure degree of an image caused by flash shooting under the condition of not flashing is avoided, and the flexibility of shooting control is improved.
The photographing control apparatus 900 in the embodiment of the present application may be an apparatus, 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 900 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 apparatus 900 provided in this embodiment of the application can implement each process implemented by the shooting control method in the method embodiments of fig. 1 to fig. 8, and can achieve the same technical effect, 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 1020, a memory 1018, and a program or an instruction stored in the memory 1018 and executable on the processor 1020, where the program or the instruction is executed by the processor 1020 to implement 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. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1002, network module 1004, audio output unit 1006, input unit 1008, sensors 1010, display unit 1012, user input unit 1014, interface unit 1016, memory 1018, and processor 1020.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1020 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 10 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 not repeated here.
The electronic device 1000 may further include an image capture device and a flash, where the image capture device is a camera in this embodiment.
The processor 1020 is configured to turn on the flash and control the camera to capture a first image of a captured scene, control the camera or the flash to perform at least one position shift, and control the camera to capture at least one second image of the captured scene after each position shift and under the condition that the flash is in an on state.
The display unit 1012 displays a third image obtained by image fusion of the first image and the at least one second image.
In this embodiment, a first image is captured first, and the central area of the subject scene in the first image is a brighter image. And moving the camera or the flash lamp at least once, and shooting a corresponding second image after moving every time, wherein the edge area of the shot scene in the second image is a brighter image. And synthesizing the first image and the second image to obtain a third image, wherein the brightness of the center and the edge of the shot scene in the third image is brighter, and finally displaying the third image. The embodiment of the application can obtain a photo with uniform brightness by adjusting the flash lamp or the camera, avoids the phenomena of brightness in the center of the photo and darkness around the photo, improves the photographing imaging effect in the flash lamp mode, and meets the photographing requirement of a user.
Further, the processor 1020 is specifically configured to: and controlling the camera to shoot a first image under the condition that the central area of the lens field range of the camera and the central area of the facula range of the flash lamp are overlapped with the central area of the shot scene.
Further, the processor 1020 is specifically configured to: and controlling the camera to shoot a second image under the condition that the central area of the lens field range of the camera is overlapped with the edge area of the shot scene.
Further, the processor 1020 is specifically configured to: and controlling the camera to shoot a second image under the condition that the central area of the light spot range of the flash lamp is overlapped with the edge area of the shot scene.
Further, the input Unit 1008 may include a Graphics Processing Unit (GPU) 10082 and a microphone 10084, and the Graphics Processing Unit 10082 processes image data of still pictures or video obtained by the camera in the video capture mode or the image capture mode. Specifically, the input unit 1008 is configured to determine a first overlapping image of the first image that overlaps the second image, determine a second overlapping image of the second image that overlaps the first image, replace the first overlapping image of the first image with the second overlapping image, and generate a third image.
Further, the processor 1020 is specifically configured to: and controlling the adjusting device to enable the adjusting device to drive the camera or the flash lamp to move at least once.
Further, a sensor 1010 for detecting a shooting environment brightness before the flash is turned on and the camera is controlled to shoot a first image of the shot scene; the processor 1020 is specifically configured to enter a flash shooting mode when the shooting environment brightness is less than a preset brightness threshold.
Wherein sensor 1010 comprises a light sensor.
It should be understood that, in the embodiment of the present application, the sensor 1010 further includes: fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, motion sensors, and other sensors.
The display unit 1012 is used to display information input by the user or information provided to the user. The display unit 1012 may include a display panel 10122, and the display panel 10122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 1014 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1014 includes a touch panel 10142 and other input devices 10144. The touch panel 10142 is also referred to as a touch screen and may collect touch operations by a user thereon or nearby. The touch panel 10142 can include two parts, 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 1020, receives a command from the processor 1020, and executes the command. Other input devices 10144 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.
Further, the touch panel 10142 can be overlaid on the display panel 10122, and when the touch panel 10142 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1020 to determine the type of the touch event, and then the processor 1020 provides a corresponding visual output on the display panel 10122 according to the type of the touch event. The touch panel 10142 and the display panel 10122 may be provided as two separate components or may be integrated into one component.
The processor 1020 performs various functions of the electronic device 1000 and processes data by executing or executing software programs and/or modules stored in the memory 1018, as well as invoking data stored in the memory 1018, thereby monitoring the electronic device 1000 as a whole. Processor 1020 may include one or more processing units; the processor 1020 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily 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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 (14)
1. A shooting control method, characterized by comprising:
starting a flash lamp and controlling a camera to shoot a first image of a shot scene;
controlling the camera or the flash lamp to move at least once;
controlling the camera to shoot at least one second image of the shot scene under the condition that the flash lamp is in an on state after the position is moved every time;
and displaying a third image obtained by image fusion of the first image and the at least one second image.
2. The shooting control method according to claim 1, wherein the controlling the camera to shoot the first image of the shot scene comprises:
and controlling the camera to shoot the first image under the condition that the central area of the lens view field range of the camera and the central area of the light spot range of the flash lamp are overlapped with the central area of the shot scene.
3. The shooting control method according to claim 1, wherein said controlling the camera to shoot at least one second image of the shot scene after controlling the camera to make a position movement includes:
and controlling the camera to shoot the second image under the condition that the central area of the lens field range of the camera is overlapped with the edge area of the shot scene.
4. The shooting control method according to claim 1, wherein the controlling the camera to shoot at least one second image of the shot scene after controlling the flash to make the position movement includes:
and controlling the camera to shoot the second image under the condition that the central area of the light spot range of the flash lamp is overlapped with the edge area of the shot scene.
5. The shooting control method according to any one of claims 1 to 4, wherein the displaying a third image obtained by image fusion of the first image and the at least one second image includes:
determining a first coincident image of the first images that is coincident with the second image, and determining a second coincident image of the second images that is coincident with the first image;
replacing the first coincident image in the first image with the second coincident image, generating the third image;
and displaying the third image.
6. The shooting control method according to any one of claims 1 to 4, wherein the controlling the camera or the flash to make at least one position movement includes:
and controlling an adjusting device to enable the adjusting device to drive the camera or the flash lamp to move at least once.
7. A shooting control apparatus, characterized by comprising:
the control module is used for starting a flash lamp, controlling a camera to shoot a first image of a shot scene, controlling the camera or the flash lamp to carry out at least one time of position movement, and controlling the camera to shoot at least one second image of the shot scene under the condition that the flash lamp is in a starting state after each time of position movement;
and the image processing and displaying module is used for displaying a third image obtained by image fusion of the first image and the at least one second image.
8. The shooting control apparatus according to claim 7, wherein the control module is specifically configured to:
and controlling the camera to shoot the first image under the condition that the central area of the lens view field range of the camera and the central area of the light spot range of the flash lamp are overlapped with the central area of the shot scene.
9. The shooting control apparatus according to claim 7, wherein the control module is specifically configured to:
and controlling the camera to shoot the second image under the condition that the central area of the lens field range of the camera is overlapped with the edge area of the shot scene.
10. The shooting control apparatus according to claim 7, wherein the control module is specifically configured to:
and controlling the camera to shoot the second image under the condition that the central area of the light spot range of the flash lamp is overlapped with the edge area of the shot scene.
11. The imaging control apparatus according to any one of claims 7 to 10, wherein the image processing and display module includes:
an image processing module, configured to determine a first coincident image in the first image that coincides with the second image, determine a second coincident image in the second image that coincides with the first image, replace the first coincident image in the first image with the second coincident image, and generate the third image;
and the display module is used for displaying the third image.
12. The shooting control apparatus according to any one of claims 7 to 10, wherein the control module is specifically configured to:
and controlling an adjusting device to enable the adjusting device to drive the camera or the flash lamp to move at least once.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the photographing control method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that a program or instructions is stored thereon, which when executed by a processor, implements the steps of the photographing control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011169982.9A CN112291471B (en) | 2020-10-28 | 2020-10-28 | Shooting control method, shooting control device, electronic device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011169982.9A CN112291471B (en) | 2020-10-28 | 2020-10-28 | Shooting control method, shooting control device, electronic device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112291471A true CN112291471A (en) | 2021-01-29 |
CN112291471B CN112291471B (en) | 2022-06-10 |
Family
ID=74373480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011169982.9A Active CN112291471B (en) | 2020-10-28 | 2020-10-28 | Shooting control method, shooting control device, electronic device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112291471B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115883956A (en) * | 2021-09-24 | 2023-03-31 | 上海擎感智能科技有限公司 | Shooting control method, shooting device, interactive object manufacturing device and vehicle |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201629797U (en) * | 2010-04-23 | 2010-11-10 | 张文桥 | Broad-spectrum digital camera |
US9560252B1 (en) * | 2016-02-26 | 2017-01-31 | Essential Products, Inc. | Flash optimization for camera devices |
CN107623819A (en) * | 2015-04-30 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of method taken pictures and mobile terminal and related media production |
CN109525782A (en) * | 2018-12-25 | 2019-03-26 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
US20190164257A1 (en) * | 2017-11-30 | 2019-05-30 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Image processing method, apparatus and device |
CN110740260A (en) * | 2019-10-24 | 2020-01-31 | 深圳传音控股股份有限公司 | shooting method, device and computer readable storage medium |
CN111031221A (en) * | 2019-12-27 | 2020-04-17 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
CN111480333A (en) * | 2017-09-13 | 2020-07-31 | 深圳传音通讯有限公司 | Light supplementing photographing method, mobile terminal and computer readable storage medium |
-
2020
- 2020-10-28 CN CN202011169982.9A patent/CN112291471B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201629797U (en) * | 2010-04-23 | 2010-11-10 | 张文桥 | Broad-spectrum digital camera |
CN107623819A (en) * | 2015-04-30 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of method taken pictures and mobile terminal and related media production |
US9560252B1 (en) * | 2016-02-26 | 2017-01-31 | Essential Products, Inc. | Flash optimization for camera devices |
CN111480333A (en) * | 2017-09-13 | 2020-07-31 | 深圳传音通讯有限公司 | Light supplementing photographing method, mobile terminal and computer readable storage medium |
US20190164257A1 (en) * | 2017-11-30 | 2019-05-30 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Image processing method, apparatus and device |
CN109525782A (en) * | 2018-12-25 | 2019-03-26 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
CN110740260A (en) * | 2019-10-24 | 2020-01-31 | 深圳传音控股股份有限公司 | shooting method, device and computer readable storage medium |
CN111031221A (en) * | 2019-12-27 | 2020-04-17 | 维沃移动通信有限公司 | Shooting method and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115883956A (en) * | 2021-09-24 | 2023-03-31 | 上海擎感智能科技有限公司 | Shooting control method, shooting device, interactive object manufacturing device and vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN112291471B (en) | 2022-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3010226B1 (en) | Method and apparatus for obtaining photograph | |
CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
AU2018415738A1 (en) | Photographing Mobile Terminal | |
CN111669507A (en) | Photographing method and device and electronic equipment | |
CN106937055A (en) | A kind of image processing method and mobile terminal | |
CN112738402B (en) | Shooting method, shooting device, electronic equipment and medium | |
CN112954214B (en) | Shooting method, shooting device, electronic equipment and storage medium | |
EP3259658B1 (en) | Method and photographing apparatus for controlling function based on gesture of user | |
CN112333382B (en) | Shooting method and device and electronic equipment | |
CN112887617B (en) | Shooting method and device and electronic equipment | |
CN107360375B (en) | Shooting method and mobile terminal | |
CN113473004A (en) | Shooting method and device | |
CN112911147B (en) | Display control method, display control device and electronic equipment | |
CN106815809B (en) | Picture processing method and device | |
CN112492201B (en) | Photographing method and device and electronic equipment | |
EP4322520A1 (en) | Photographing method and apparatus, and electronic device | |
CN111669495B (en) | Photographing method, photographing device and electronic equipment | |
CN112702531A (en) | Shooting method and device and electronic equipment | |
CN112312019A (en) | Light supplementing method and device and electronic equipment | |
CN114143461B (en) | Shooting method and device and electronic equipment | |
CN112437231A (en) | Image shooting method and device, electronic equipment and storage medium | |
CN113794831B (en) | Video shooting method, device, electronic equipment and medium | |
EP4161056B1 (en) | Anti-shake method, anti-shake apparatus, and electronic device | |
CN112291471B (en) | Shooting control method, shooting control device, electronic device and readable storage medium | |
CN112672051B (en) | Shooting method and device and electronic equipment |
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 |