CN110830724B - Shooting method and electronic equipment - Google Patents

Shooting method and electronic equipment Download PDF

Info

Publication number
CN110830724B
CN110830724B CN201911234238.XA CN201911234238A CN110830724B CN 110830724 B CN110830724 B CN 110830724B CN 201911234238 A CN201911234238 A CN 201911234238A CN 110830724 B CN110830724 B CN 110830724B
Authority
CN
China
Prior art keywords
image
exposure
framing
exposed
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911234238.XA
Other languages
Chinese (zh)
Other versions
CN110830724A (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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN201911234238.XA priority Critical patent/CN110830724B/en
Publication of CN110830724A publication Critical patent/CN110830724A/en
Application granted granted Critical
Publication of CN110830724B publication Critical patent/CN110830724B/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/80Camera processing pipelines; Components thereof
    • 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
    • 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/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Abstract

The invention provides a shooting method and electronic equipment, comprising the following steps: displaying an image collected by a shooting device on a first screen; determining whether there is an exposure image of the framing content for which the exposure has been completed; if an exposed image of the exposed framing content exists, displaying a first image and a second image on a second screen, wherein the first image is an image currently displayed on the first screen, the second image is an exposed image of the exposed framing content, and the corresponding framing content of the first image is different from that of the second image; and if the exposure is finished aiming at the first image, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image. In the embodiment of the invention, in the shooting process of the shot object with a large shooting scene, the shot object can be divided into a plurality of view finding contents, and the exposure image of each view finding content is obtained, so that the shooting effect of the shot object with the large scene in a dark environment is improved.

Description

Shooting method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a shooting method and an electronic device.
Background
At present, at night or under the condition of dark light, in order to make up for the condition of insufficient light, the shooting effect of images is generally improved by starting a light supplement lamp to increase exposure. When the shot object exceeds the preview interface, the shooting of a large scene is generally realized by adjusting the distance between the camera and the shot object. However, since the range of action of the flash lamp is limited, increasing the shooting distance affects the exposure effect of the flash lamp, and further affects the shooting effect of the image.
Disclosure of Invention
The embodiment of the invention provides a shooting method and electronic equipment, and aims to solve the problem that shooting of a large scene is poor in shooting effect at night or in a dark environment in the existing shooting process.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a shooting method applied to an electronic device including a first screen, a second screen, and a shooting device, including:
displaying the image acquired by the shooting device on the first screen;
determining whether there is an exposure image of the framing content for which the exposure has been completed;
if an exposed image of the exposed framing content exists, displaying a first image and a second image on the second screen, wherein the first image is an image currently displayed on the first screen, the second image is an exposed image of the exposed framing content, and the corresponding framing content of the first image is different from that of the second image;
and if the first image is determined to be exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image.
In a second aspect, an embodiment of the present invention further provides an electronic device, including a first screen, a second screen, and a shooting device, where the electronic device further includes:
the first display module is used for displaying the image acquired by the shooting device on the first screen;
a determination module configured to determine whether there is an exposure image of the framing content for which the exposure has been completed;
the second display module is configured to display a first image and a second image on the second screen if an exposed image of framing content of which exposure is completed exists, where the first image is an image currently displayed on the first screen, and the second image is an exposed image of framing content of which exposure is completed, and corresponding framing contents of the first image and the second image are different;
and the synthesis module is used for synthesizing the exposure image of the first image and the second image to obtain a first synthesized image if the first image is determined to be exposed, and taking the first synthesized image as a panoramic image.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned shooting method.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the shooting method described above.
In the embodiment of the invention, the image collected by the shooting device is displayed on the first screen; determining whether there is an exposure image of the framing content for which the exposure has been completed; if an exposed image of the exposed framing content exists, displaying a first image and a second image on the second screen, wherein the first image is an image currently displayed on the first screen, the second image is an exposed image of the exposed framing content, and the corresponding framing content of the first image is different from that of the second image; and if the first image is determined to be exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image. In the embodiment of the invention, in the shooting process of the shot object with a large shooting scene, the shot object can be divided into a plurality of view finding contents, and the exposure image of each view finding content is obtained, so that the shooting effect of the shot object with the large scene in a dark environment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a photographing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a bridge provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an electronic device provided by an embodiment of the invention;
FIG. 4 is a block diagram of an electronic device provided in accordance with an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The shooting method provided by the embodiment of the invention is applied to electronic equipment, the electronic equipment comprises a first screen, a second screen and a shooting device, wherein the electronic equipment can be folding screen electronic equipment or sliding type double-screen electronic equipment, and the shooting device can be an image acquisition device of the electronic equipment, such as a camera.
As shown in fig. 1, the shooting method provided by the embodiment of the present invention includes the following steps:
step 101, displaying the image collected by the shooting device on the first screen.
Step 102, determining whether there is an exposure image of the framing content for which the exposure has been completed.
And 103, if an exposure image of the exposed framing content exists, displaying the first image and the second image on the second screen.
And 104, if the first image is determined to be exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image.
In the shooting process of the shot object with a large shooting scene, the shot object can be divided into a plurality of view finding contents, and the exposure image of each view finding content is obtained, so that the shooting effect of the shot object with the large scene in a dark environment is improved.
The first image is an image currently displayed on the first screen, that is, a preview image of a scene content taken from a certain part of a shooting object currently acquired by the shooting device, and the first image may be an unfinished exposure image. The second image is an exposure image of the exposed framing content, and the framing content corresponding to the first image is different from that corresponding to the second image.
Wherein, whether there is an exposure image of the framing content for which the exposure has been completed can be judged by detecting the number of images displayed on the second screen. If the second screen only displays one image, the exposed image of the framing content which does not complete exposure is shown; if the second screen displays two or more images, it indicates that there is an exposed image of the exposed framing content.
For example, the subject a is a large-scene subject, and a high-quality exposure image cannot be obtained by one-shot shooting in a dark environment, and if the shooting distance between the electronic device and the subject a is increased, the resolution of the shot image is insufficient. By adopting the shooting method provided by the embodiment of the invention, the shooting object A is divided into 3 pieces of view contents which can be respectively numbered as view content a, view content B and view content c, and in the shooting process of the shooting object A, the exposure image a, the exposure image B and the exposure image c corresponding to the view content a, the view content B and the view content c can be shot in sequence, and the shot exposure image a, the exposure image B and the exposure image c are synthesized to obtain the exposure image B, so that the panoramic shooting of the shooting object A is realized.
In the shooting process of the shooting object A, shooting is carried out according to the arrangement sequence of the framing content a, the framing content b and the framing content c, so when the preview image of the framing content b is displayed on the first screen, the framing content a is exposed and displayed on the second screen, the preview image of the framing content b is also displayed on the second screen and is spliced and displayed with the exposure image corresponding to the framing content a, and the splicing position is the boundary line of the framing content a and the framing content b.
If the preview image of the framing content b is exposed, the preview image of the framing content b displayed on the second screen is replaced by the image corresponding to the exposed framing content b, next shooting is carried out, the shooting device starts to acquire the image of the framing content c and displays the preview image of the framing content c on the first screen, the second screen displays the exposed framing content a and the image corresponding to the framing content b, and the second screen also displays the preview image of the framing content c.
If the preview image of the framing content c is exposed, the preview image of the framing content c displayed on the second screen is replaced by the image corresponding to the exposed framing content c, and the shooting of the shooting object A is completed. At this time, an exposure image B can be synthesized as a panoramic image of the shooting object a by receiving an input operation of the user on the electronic device, for example, completing an input of completing shooting by the user; the instruction for ending the shooting can also be determined according to the content detected by the electronic device, for example, if the corresponding framing content is not acquired, the shooting is ended, and the exposure image a, the exposure image B and the exposure image c are synthesized to obtain the exposure image B as the panoramic image of the shooting object a.
Therefore, the shot object is divided into N pieces of view finding contents, the exposure image of each view finding content is sequentially acquired, and the exposure images of the N pieces of view finding contents are synthesized to obtain the panoramic image of the shot object, so that the shooting effect of the shot object with a large scene in a dark environment can be effectively improved.
Optionally, before the first screen displays the image captured by the camera, the method further includes: dividing a shooting object into N pieces of framing content, wherein the N pieces of framing content comprise the framing content corresponding to the first image and the second image, and N is a positive integer; if it is determined that the first image is exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image, including: and if the first image is determined to be exposed and the framing content corresponding to the first image is the last framing content in the N framing contents, synthesizing the exposed image of the first image and the second image to obtain a second synthesized image, and taking the second synthesized image as the panoramic image of the shooting object.
In the present embodiment, mainly in the case where the first image is a preview image of the last view content of the N view contents of the object, if the first image is a preview image of the last view content, and if the exposure of the preview image of the last view content is completed, the shooting is terminated, and a composite image of the first image and the second image is used as a panoramic image of the object, thereby completing the shooting of the panoramic image of the object in a dark environment and ensuring the shooting effect of the object.
In the process of dividing the shooting object into N viewing contents, the preset viewing range, that is, the size of the viewing range corresponding to one-time shooting, can be determined under the condition of ensuring the shooting effect. For example, in a certain shooting scene, the viewing range is 3 meters, and the viewing range of the shooting object is 9 meters, the number of times of viewing of the shooting object can be calculated to be 3 times, and the 3 times of shooting just completes the whole viewing of the shooting object. However, the user may have a hand shake during shooting, which causes a deviation during shooting, and it is difficult to complete the shooting of the entire framing content of the object to be shot in 3 shots. In this case, the shooting object can be divided into 4 pieces of framing content, so that the phenomenon that a user shakes hands to shake part of the framing content out of the framing range is avoided, the fault tolerance rate of the shooting process is increased, and the shooting effect is improved.
Therefore, the shooting fault tolerance rate can be effectively increased and the shooting effect can be improved by setting a certain framing margin.
Optionally, if it is determined that the first image completes exposure, the method further includes, before synthesizing the exposure image of the first image and the second image to obtain a second synthesized image and using the second synthesized image as the panoramic image of the photographic subject, the method further includes: acquiring a first exposure parameter of framing content currently acquired by the shooting device; and exposing the image currently displayed on the first screen according to the first exposure parameter to obtain an exposed image of the first image.
In this embodiment, an exposure image of the first image may be obtained by obtaining a first exposure parameter of the currently acquired framing content and exposing the currently displayed image on the first screen according to the first exposure parameter. The first exposure parameter may be obtained according to the brightness of the current ambient light, or may be obtained by receiving a setting operation of a user. If the second image which is exposed already exists, the exposure parameter of the first image can be set according to the exposure parameter of the second image. Therefore, the user can flexibly configure the exposure parameters to obtain the exposure effect desired by the user, and the interaction degree between the user and the electronic equipment is improved.
The second exposure parameter of the second image is obtained, and the second exposure parameter can be directly used as the exposure parameter of the first image, and the exposure parameter more suitable for the first image can be obtained by referring to the second exposure parameter. In the actual shooting process, a user can set the exposure parameters of the first image according to the requirements of the user, so that the exposure effect desired by the user is obtained, and the shooting experience of the user is improved.
The first screen can display images collected by the shooting device, can also display a setting interface of shooting parameters at the same time, and obtains corresponding first exposure parameters by receiving first input of an exposure parameter button on the setting interface of the shooting parameters.
As shown in fig. 2 and 3, in an embodiment of the present invention, the photographic subject is a "bridge" shown in fig. 2, and the "bridge" is divided into 3 parts, that is, the "bridge" is divided into 3 pieces of framing content, according to the current shooting distance and the shooting effect desired by the user.
As shown in fig. 3, the first screen 10 displays an exposure degree icon 11, a first image 12, and a photographing parameter setting interface 13, the photographing parameter setting interface 13 including a sensitivity button 131, a framing and remainder button 132, a light reduction button 133, a finish button 134, and a light increase button 135, wherein the first image 12 is displayed in the middle of the first screen 10, the exposure degree icon 11 is displayed in the upper portion of the first screen 10, and the photographing parameter setting interface 13 is displayed in the lower portion of the first screen 10; the second screen 20 displays an exposure image 21 of the contents of the framing that has been exposed and a preview image 12' of the first image 12.
Wherein, the exposure degree icon 11 is used for showing the exposure degree of the first image 12; the sensitivity button 131 is used for adjusting the adjustment range of the exposure parameter; the exposure reduction button 133 is used to reduce the exposure time period, and the exposure increase button 135 is used to increase the exposure time period; the finish button 134 the user finishes the exposure for the first image 12 and proceeds to the shooting of the next framing content; the framing surplus button 132 is used to adjust the number of framed contents.
It should be noted that, for the completion button 134, it may be set, for example, if a long-press operation for the completion button 134 is received, shooting may be directly completed. The manner of completing the input operation of the button 134 and the corresponding function thereof includes, but is not shown.
In the actual shooting process, the user can be given the opportunity to modify the exposure parameters by adjusting the sensitivity button 131, the exposure reduction button 133 and the exposure increase button 135, so as to obtain the exposure effect desired by the user and improve the exposure effect of the first image. In addition, in the process of correcting the exposure parameter, the exposure degree icon 11 may be directly adjusted to adjust the exposure parameter of the first image. Specifically, the exposure parameter of the first image may be adjusted by the exposure parameter adjusting slider 111 of the exposure degree icon 11.
In an embodiment of the present invention, the electronic Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the shooting method provided by the embodiment of the invention, the image acquired by the shooting device is displayed on the first screen; determining whether there is an exposure image of the framing content for which the exposure has been completed; if an exposed image of the exposed framing content exists, displaying a first image and a second image on the second screen, wherein the first image is an image currently displayed on the first screen, the second image is an exposed image of the exposed framing content, and the corresponding framing content of the first image is different from that of the second image; and if the first image is determined to be exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image. In the embodiment of the invention, in the shooting process of the shot object with a large shooting scene, the shot object can be divided into a plurality of view finding contents, and the exposure image of each view finding content is obtained, so that the shooting effect of the shot object with the large scene in a dark environment is improved.
Referring to fig. 4, fig. 4 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device 400 includes a first screen, a second screen, and a camera, and the electronic device 400 further includes:
a first display module 401, configured to display an image acquired by the shooting device on the first screen;
a determination module 402 for determining whether there is an exposure image of the framing content for which the exposure has been completed;
a second display module 403, configured to display, if an exposed image of framing content that has been exposed already exists, a first image and a second image on the second screen, where the first image is an image currently displayed on the first screen, and the second image is an exposed image of framing content that has been exposed already, where the framing content corresponding to the first image is different from that corresponding to the second image;
a synthesizing module 404, configured to synthesize the exposed image of the first image and the second image to obtain a first synthesized image if it is determined that the first image completes exposure, and use the first synthesized image as a panoramic image.
Optionally, the electronic device 400 further includes:
the dividing module is used for dividing a shooting object into N pieces of framing content, wherein the N pieces of framing content comprise the framing content corresponding to the first image and the second image, and N is a positive integer;
the synthesizing module 404 is specifically configured to synthesize the exposed image of the first image and the second image to obtain a second synthesized image, and use the second image as the panoramic image of the photographic object, if it is determined that the first image completes exposure and the framing content corresponding to the first image is the last framing content of the N framing contents.
Optionally, the electronic device 400 further includes:
the calculating module is used for calculating the framing times of the shot object based on a preset framing range;
the dividing module is specifically configured to divide the photographic object into the N pieces of framing content based on the framing times, where if the framing times are M, N is greater than or equal to M, and M is a positive integer.
Optionally, the electronic device 400 further includes:
the acquisition module is used for acquiring a first exposure parameter of the framing content currently acquired by the shooting device;
and the exposure module is used for exposing the image currently displayed on the first screen according to the first exposure parameter to obtain an exposure image of the first image.
Optionally, the obtaining module includes:
the acquisition unit is used for acquiring a second exposure parameter of the exposure image of the exposed framing content, wherein the exposure image of the exposed framing content is obtained;
and the determining unit is used for determining a first exposure parameter of the viewfinder content currently acquired by the shooting device based on the second exposure parameter.
Optionally, the obtaining module includes:
the display unit is used for displaying the images acquired by the shooting device and a shooting parameter setting interface on the first screen;
the receiving unit is used for receiving first input of an exposure parameter control on the shooting parameter setting interface;
an acquisition unit for acquiring the first exposure parameter in response to the first input.
The electronic device 400 can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 3, and details are not repeated here to avoid repetition.
Referring to fig. 5, fig. 5 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in fig. 5, the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to display an image acquired by the photographing device on the first screen; determining whether there is an exposure image of the framing content for which the exposure has been completed; if an exposed image of the exposed framing content exists, displaying a first image and a second image on the second screen, wherein the first image is an image currently displayed on the first screen, the second image is an exposed image of the exposed framing content, and the corresponding framing content of the first image is different from that of the second image; and if the first image is determined to be exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image.
Optionally, the processor 510 is further configured to: dividing a shooting object into N pieces of framing content, wherein the N pieces of framing content comprise the framing content corresponding to the first image and the second image, and N is a positive integer; and if the first image is determined to be exposed and the framing content corresponding to the first image is the last framing content in the N framing contents, synthesizing the exposed image of the first image and the second image to obtain a second synthesized image, and taking the second synthesized image as the panoramic image of the shooting object.
Optionally, the processor 510 is further configured to: calculating the framing times of the shot object based on a preset framing range; and dividing the shooting object into the N pieces of framing content based on the framing times, wherein if the framing times are M, the N is greater than or equal to M, and the M is a positive integer.
Optionally, the processor 510 is further configured to: acquiring a first exposure parameter of framing content currently acquired by the shooting device; and exposing the image currently displayed on the first screen according to the first exposure parameter to obtain an exposed image of the first image.
Optionally, the processor 510 is further configured to: if the exposure image of the exposed framing content exists, acquiring a second exposure parameter of the exposure image of the exposed framing content; and determining a first exposure parameter of the viewfinder content currently acquired by the shooting device based on the second exposure parameter.
Optionally, the processor 510 is further configured to: displaying the image acquired by the shooting device and a shooting parameter setting interface on the first screen; receiving a first input of an exposure parameter control on the shooting parameter setting interface; in response to the first input, the first exposure parameter is acquired.
The electronic device 500 can implement the processes implemented by the electronic device in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 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 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 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 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 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 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the shooting method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A shooting method applied to an electronic device including a first screen, a second screen, and a shooting device, comprising:
displaying the image acquired by the shooting device on the first screen;
determining whether there is an exposure image of the framing content for which the exposure has been completed;
if an exposed image of the exposed framing content exists, displaying a first image and a second image on the second screen, wherein the first image is an image currently displayed on the first screen, the second image is an exposed image of the exposed framing content, and the corresponding framing content of the first image is different from that of the second image;
if the first image is determined to be exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image;
before the first screen displays the image acquired by the shooting device, the method further comprises the following steps:
dividing a shooting object into N pieces of framing content, wherein the N pieces of framing content comprise the framing content corresponding to the first image and the second image, and N is a positive integer;
if it is determined that the first image is exposed, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as a panoramic image, including:
if it is determined that the first image is exposed and the view finding content corresponding to the first image is the last view finding content of the N view finding contents, synthesizing the exposed image of the first image and the second image to obtain a first synthesized image, and taking the first synthesized image as the panoramic image of the shooting object.
2. The method according to claim 1, wherein before the dividing the subject into N framed contents, the method further comprises:
calculating the framing times of the shot object based on a preset framing range;
the dividing of the photographic subject into N viewfinder contents includes:
and dividing the shooting object into the N pieces of framing content based on the framing times, wherein if the framing times are M, the N is greater than or equal to M, and the M is a positive integer.
3. The method according to claim 1 or 2, wherein if it is determined that the first image is completely exposed, the method further includes, before synthesizing the exposed image of the first image and the second image to obtain a first synthesized image and using the first synthesized image as the panoramic image of the subject:
acquiring a first exposure parameter of framing content currently acquired by the shooting device;
and exposing the image currently displayed on the first screen according to the first exposure parameter to obtain an exposed image of the first image.
4. The method of claim 3, wherein the obtaining the first exposure parameter of the viewfinder content currently captured by the camera comprises:
if the exposure image of the exposed framing content exists, acquiring a second exposure parameter of the exposure image of the exposed framing content;
and determining a first exposure parameter of the viewfinder content currently acquired by the shooting device based on the second exposure parameter.
5. The method of claim 3, wherein the obtaining the first exposure parameter of the viewfinder content currently captured by the camera comprises:
displaying the image acquired by the shooting device and a shooting parameter setting interface on the first screen;
receiving a first input of an exposure parameter control on the shooting parameter setting interface;
in response to the first input, the first exposure parameter is acquired.
6. An electronic device, comprising a first screen, a second screen, and a camera, the electronic device further comprising:
the first display module is used for displaying the image acquired by the shooting device on the first screen;
a determination module configured to determine whether there is an exposure image of the framing content for which the exposure has been completed;
the second display module is configured to display a first image and a second image on the second screen if an exposed image of framing content of which exposure is completed exists, where the first image is an image currently displayed on the first screen, and the second image is an exposed image of framing content of which exposure is completed, and corresponding framing contents of the first image and the second image are different;
a synthesis module, configured to synthesize the exposure image of the first image and the second image to obtain a first synthesized image if it is determined that the first image completes exposure, and use the first synthesized image as a panoramic image;
the electronic device further includes:
the dividing module is used for dividing a shooting object into N pieces of framing content, wherein the N pieces of framing content comprise the framing content corresponding to the first image and the second image, and N is a positive integer;
the synthesizing module is specifically configured to synthesize the exposed image of the first image and the second image to obtain a first synthesized image if it is determined that the first image completes exposure and the framing content corresponding to the first image is the last framing content of the N framing contents, and use the first synthesized image as the panoramic image of the photographic object.
7. The electronic device of claim 6, further comprising:
the calculating module is used for calculating the framing times of the shot object based on a preset framing range;
the dividing module is specifically configured to divide the photographic object into the N pieces of framing content based on the framing times, where if the framing times are M, N is greater than or equal to M, and M is a positive integer.
8. The electronic device of claim 6 or 7, further comprising:
the acquisition module is used for acquiring a first exposure parameter of the framing content currently acquired by the shooting device;
and the exposure module is used for exposing the image currently displayed on the first screen according to the first exposure parameter to obtain an exposure image of the first image.
9. The electronic device of claim 8, wherein the acquisition module comprises:
the acquisition unit is used for acquiring a second exposure parameter of the exposure image of the exposed framing content, wherein the exposure image of the exposed framing content is obtained;
and the determining unit is used for determining a first exposure parameter of the viewfinder content currently acquired by the shooting device based on the second exposure parameter.
10. The electronic device of claim 8, wherein the acquisition module comprises:
the display unit is used for displaying the images acquired by the shooting device and a shooting parameter setting interface on the first screen;
the receiving unit is used for receiving first input of an exposure parameter control on the shooting parameter setting interface;
an acquisition unit for acquiring the first exposure parameter in response to the first input.
CN201911234238.XA 2019-12-05 2019-12-05 Shooting method and electronic equipment Active CN110830724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911234238.XA CN110830724B (en) 2019-12-05 2019-12-05 Shooting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911234238.XA CN110830724B (en) 2019-12-05 2019-12-05 Shooting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110830724A CN110830724A (en) 2020-02-21
CN110830724B true CN110830724B (en) 2022-01-18

Family

ID=69544056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911234238.XA Active CN110830724B (en) 2019-12-05 2019-12-05 Shooting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110830724B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499589A (en) * 2022-09-19 2022-12-20 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851555A (en) * 2006-05-19 2006-10-25 李鹏 Method for realizing two-dimensional panoramic true imaging
CN101228477A (en) * 2005-07-28 2008-07-23 微软公司 Real-time preview for panoramic images
CN103685956A (en) * 2013-12-11 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Panoramic photo shooting method and device
CN105516614A (en) * 2015-11-27 2016-04-20 联想(北京)有限公司 Information processing method and electronic device
CN105812650A (en) * 2015-06-29 2016-07-27 维沃移动通信有限公司 Image obtaining method and electronic device
CN107659769A (en) * 2017-09-07 2018-02-02 维沃移动通信有限公司 A kind of image pickup method, first terminal and second terminal
CN108200332A (en) * 2017-12-27 2018-06-22 努比亚技术有限公司 A kind of pattern splicing method, mobile terminal and computer readable storage medium
CN108702452A (en) * 2017-06-09 2018-10-23 华为技术有限公司 A kind of image capturing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9270885B2 (en) * 2012-10-26 2016-02-23 Google Inc. Method, system, and computer program product for gamifying the process of obtaining panoramic images
US10630903B2 (en) * 2018-01-12 2020-04-21 Qualcomm Incorporated Systems and methods for image exposure

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101228477A (en) * 2005-07-28 2008-07-23 微软公司 Real-time preview for panoramic images
CN1851555A (en) * 2006-05-19 2006-10-25 李鹏 Method for realizing two-dimensional panoramic true imaging
CN103685956A (en) * 2013-12-11 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Panoramic photo shooting method and device
CN105812650A (en) * 2015-06-29 2016-07-27 维沃移动通信有限公司 Image obtaining method and electronic device
CN105516614A (en) * 2015-11-27 2016-04-20 联想(北京)有限公司 Information processing method and electronic device
CN108702452A (en) * 2017-06-09 2018-10-23 华为技术有限公司 A kind of image capturing method and device
CN107659769A (en) * 2017-09-07 2018-02-02 维沃移动通信有限公司 A kind of image pickup method, first terminal and second terminal
CN108200332A (en) * 2017-12-27 2018-06-22 努比亚技术有限公司 A kind of pattern splicing method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110830724A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN109639970B (en) Shooting method and terminal equipment
CN108495029B (en) Photographing method and mobile terminal
CN111083379A (en) Shooting method and electronic equipment
CN108307109B (en) High dynamic range image preview method and terminal equipment
CN108881733B (en) Panoramic shooting method and mobile terminal
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110505400B (en) Preview image display adjustment method and terminal
CN108449541B (en) Panoramic image shooting method and mobile terminal
CN111290810B (en) Image display method and electronic equipment
CN111147752B (en) Zoom factor adjusting method, electronic device, and medium
CN109102555B (en) Image editing method and terminal
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN110798621A (en) Image processing method and electronic equipment
CN108174110B (en) Photographing method and flexible screen terminal
CN110933494A (en) Picture sharing method and electronic equipment
CN110830713A (en) Zooming method and electronic equipment
CN111083374B (en) Filter adding method and electronic equipment
CN110536005B (en) Object display adjustment method and terminal
CN110290263B (en) Image display method and mobile terminal
CN110086998B (en) Shooting method and terminal
CN111031246A (en) Shooting method and electronic equipment
CN109005337B (en) Photographing method and terminal
CN108924413B (en) Shooting method and mobile terminal
CN108156386B (en) Panoramic photographing method and mobile terminal

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